]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Retire the separate ChangeLog files in nptl/ and nptl_db/ subdirs.
[thirdparty/glibc.git] / ChangeLog
1 2014-03-03 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5
6 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 [BZ #16639]
9 * nscd/connections.c (nscd_init): Call do_exit.
10 (start_threads): Call do_exit and notify_parent.
11 (begin_drop_privileges): Call do_exit.
12 (finish_drop_privileges): Likewise.
13 * nscd/selinux.c (preserve_capabilities): Likewise.
14 (install_real_capabilities): Likewise.
15 (nscd_selinux_enabled): Likewise.
16 (avc_create_thread): Likewise.
17 (avc_alloc_lock): Likewise.
18 (nscd_avc_init): Likewise.
19 * nscd/nscd.c (parent_fd): New static variable.
20 (main): Create a pipe between parent and child processes.
21 Skip closing parent_fd.
22 (monitor_child): New function.
23 (do_exit): Likewise.
24 (notify_parent): Likewise.
25 * nscd/nscd.h (notify_parent): Likewise.
26 (do_exit): Likewise.
27
28 2014-03-03 Carlos O'Donell <carlos@redhat.com>
29
30 * malloc/malloc.c (__libc_calloc): Revert last change.
31
32 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35
36 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37
38 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40 implementation.
41 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42 (__libc_ifunc_impl_list): Likewise.
43 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
46 * string/strrchr.c: Define STRRCHR.
47
48 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
49
50 * benchtest/bench-strtok.c (simple_strtok): Delete.
51 (strtok_string): Use as benchmark.
52 * string/strtok (STRTOK): New macro.
53
54 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55
56 * manual/threads.texi: Add header and standard comments to all
57 functions.
58
59 * elf/dl-lookup.c (check_match): New function.
60 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
61 (do_lookup_x): Remove nested function check_match. Use non-nested
62 function check_match.
63
64 2014-02-28 Roland McGrath <roland@hack.frob.com>
65
66 * csu/Makefile (generated, before-compile): Use += rather than =.
67 * catgets/Makefile (generated, generated-dirs): Likewise.
68 * debug/Makefile (generated): Likewise.
69 * dlfcn/Makefile (generated): Likewise.
70 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
71 * iconvdata/Makefile (before-compile, generated): Likewise.
72 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
73 * libio/Makefile (generated): Likewise.
74 * malloc/Makefile (generated): Likewise.
75 * manual/Makefile (generated, generated-dirs): Likewise.
76 * misc/Makefile (generated): Likewise.
77 * posix/Makefile (generated): Likewise.
78 * resolv/Makefile (generated): Likewise.
79 * sunrpc/Makefile (generated, generated-dirs): Likewise.
80 * timezone/Makefile (generated, generated-dirs): Likewise.
81
82 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
83
84 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
87 implementation.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
89 POWER8 llround ifunc implementation.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
91 POWER8 implementation.
92 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
93 POWER8 llround implementation.
94
95 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
98 implementation.
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
100 POWER8 llrint ifunc implementation.
101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
102 POWER8 implementation.
103 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
104 POWER8 llrint implementation.
105
106 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
107
108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
109 implementation.
110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
111 POWER8 finite ifunc implementation.
112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
113 POWER8 implementation.
114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
115 Likewise.
116 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
117 POWER8 finite implementation.
118 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
119
120 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
123 implementation.
124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
125 POWER8 isinf ifunc implementation.
126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
127 POWER8 implementation.
128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
129 Likewise.
130 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
131 POWER8 isinf implementation.
132 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
133
134 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
135
136 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
137 Add hwcap2 initialization.
138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
139 implementation.
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
141 POWER8 isnan ifunc implementation.
142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
143 POWER8 implementation.
144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
145 Likewise.
146 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
147 POWER8 isnan implementation.
148 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
149
150 2014-02-27 Joey Ye <joey.ye@arm.com>
151
152 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
153 (_FP_NANFRAC_Q): Set to zero.
154
155 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
156
157 [BZ #16623]
158 * math/auto-libm-test-in: New test inputs.
159 * math/auto-libm-test-out: Regenerate.
160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
161 and DA.
162 (__cos): Likewise.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
164
165 2014-02-27 Joseph Myers <joseph@codesourcery.com>
166
167 * scripts/evaluate-test.sh: Take new argument indicating whether
168 failure is expected.
169 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
170 indicating whether failure is expected.
171 * conform/Makefile (test-xfail-run-conformtest): New variable.
172 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
173 level.
174 * posix/Makefile (test-xfail-annexc): New variable.
175 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
176
177 2014-02-26 Joseph Myers <joseph@codesourcery.com>
178
179 * argp/Makefile: Include Makeconfig immediately after defining
180 subdir.
181 * assert/Makefile: Likewise.
182 * benchtests/Makefile: Likewise.
183 * catgets/Makefile: Likewise.
184 * conform/Makefile: Likewise.
185 * crypt/Makefile: Likewise.
186 * csu/Makefile: Likewise.
187 (all): Remove target.
188 * ctype/Makefile: Include Makeconfig immediately after defining
189 subdir.
190 * debug/Makefile: Likewise.
191 * dirent/Makefile: Likewise.
192 * dlfcn/Makefile: Likewise.
193 * gmon/Makefile: Likewise.
194 * gnulib/Makefile: Likewise.
195 * grp/Makefile: Likewise.
196 * gshadow/Makefile: Likewise.
197 * hesiod/Makefile: Likewise.
198 * hurd/Makefile: Likewise.
199 (all): Remove target.
200 * iconvdata/Makefile: Include Makeconfig immediately after
201 defining subdir.
202 * inet/Makefile: Likewise.
203 * intl/Makefile: Likewise.
204 * io/Makefile: Likewise.
205 * libio/Makefile: Likewise.
206 (all): Remove target.
207 * locale/Makefile: Include Makeconfig immediately after defining
208 subdir.
209 * login/Makefile: Likewise.
210 * mach/Makefile: Likewise.
211 (all): Remove target.
212 * malloc/Makefile: Include Makeconfig immediately after defining
213 subdir.
214 (all): Remove target.
215 * manual/Makefile: Include Makeconfig immediately after defining
216 subdir.
217 * math/Makefile: Likewise.
218 * misc/Makefile: Likewise.
219 * nis/Makefile: Likewise.
220 * nss/Makefile: Likewise.
221 * po/Makefile: Likewise.
222 (all): Remove target.
223 * posix/Makefile: Include Makeconfig immediately after defining
224 subdir.
225 * pwd/Makefile: Likewise.
226 * resolv/Makefile: Likewise.
227 * resource/Makefile: Likewise.
228 * rt/Makefile: Likewise.
229 * setjmp/Makefile: Likewise.
230 * shadow/Makefile: Likewise.
231 * signal/Makefile: Likewise.
232 * socket/Makefile: Likewise.
233 * soft-fp/Makefile: Likewise.
234 * stdio-common/Makefile: Likewise.
235 * stdlib/Makefile: Likewise.
236 * streams/Makefile: Likewise.
237 * string/Makefile: Likewise.
238 * sunrpc/Makefile: Likewise.
239 (all): Remove target.
240 * sysvipc/Makefile: Include Makeconfig immediately after defining
241 subdir.
242 * termios/Makefile: Likewise.
243 * time/Makefile: Likewise.
244 * timezone/Makefile: Likewise.
245 (all): Remove target.
246 * wcsmbs/Makefile: Include Makeconfig immediately after defining
247 subdir.
248 * wctype/Makefile: Likewise.
249
250 2014-02-26 Steve Ellcey <sellcey@mips.com>
251
252 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
253 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
254 (libc_feholdexcept_setround_mips): Ditto.
255 (libc_feholdsetround): New.
256 (libc_feholdsetroundf): New.
257 (libc_feholdsetroundl): New.
258 (libc_feupdateenv_test_mips): New.
259 (libc_feupdateenv_test): New.
260 (libc_feupdateenv_testf): New.
261 (libc_feupdateenv_testl): New.
262 (libc_feresetround): New.
263 (libc_feresetroundf): New.
264 (libc_feresetroundl): New.
265 (libc_fetestexcept_mips): New.
266 (libc_fetestexcept): New.
267 (libc_fetestexceptf): New.
268 (libc_fetestexceptl): New.
269 (HAVE_RM_CTX): New.
270 (libc_feholdexcept_setround_mips_ctx): New.
271 (libc_feholdexcept_setround_ctx): New.
272 (libc_feholdexcept_setroundf_ctx): New.
273 (libc_feholdexcept_setroundl_ctx): New.
274 (libc_fesetenv_mips_ctx): New.
275 (libc_fesetenv_ctx): New.
276 (libc_fesetenv_ctxf): New.
277 (libc_fesetenv_ctxl): New.
278 (libc_feupdateenv_mips_ctx): New.
279 (libc_feupdateenv_ctx): New.
280 (libc_feupdateenvf_ctx): New.
281 (libc_feupdateenvl_ctx): New.
282 (libc_feholdsetround_mips_ctx): New.
283 (libc_feholdsetround_ctx): New.
284 (libc_feholdsetroundf_ctx): New.
285 (libc_feholdsetroundl_ctx): New.
286 (libc_feresetround_mips_ctx): New.
287 (libc_feresetround_ctx): New.
288 (libc_feresetroundf_ctx): New.
289 (libc_feresetroundl_ctx): New.
290
291 2014-02-26 Carlos O'Donell <carlos@redhat.com>
292
293 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
294
295 * manual/ipc.texi: New file.
296 * manual/Makefile (chapters): Add ipc.
297 * manual/job.texi: Add "Inter-Process Communication" to next.
298 * manual/process.texi: Add "Inter-Process Communication" to prev.
299
300 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301
302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
303
304 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
305
306 * malloc/malloc.c (__libc_calloc): Simplify implementation.
307
308 * manual/arith.texi: Fix spaces after sentences.
309 * manual/charset.texi: Likewise.
310 * manual/errno.texi: Likewise.
311 * manual/install.texi: Likewise.
312 * manual/llio.texi: Likewise.
313 * manual/locale.texi: Likewise.
314 * manual/maint.texi: Likewise.
315 * manual/math.texi: Likewise.
316 * manual/memory.texi: Likewise.
317 * manual/message.texi: Likewise.
318 * manual/probes.texi: Likewise.
319 * manual/resource.texi: Likewise.
320 * manual/signal.texi: Likewise.
321 * manual/socket.texi: Likewise.
322 * manual/stdio.texi: Likewise.
323 * manual/string.texi: Likewise.
324 * manual/time.texi: Likewise.
325 * manual/users.texi: Likewise.
326
327 2014-02-25 Carlos O'Donell <carlos@redhat.com>
328
329 [BZ #16632]
330 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
331 _DEFAULT_SOURCE is defined.
332
333 2014-02-25 Ulrich Drepper <drepper@gmail.com>
334 Carlos O'Donell <carlos@redhat.com>
335
336 [BZ #16613]
337 * elf/dl-tls.c (_dl_count_modids): New function.
338 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
339 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
340 audit library and increment generation counter.
341 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
342 * elf/tst-audit9.c: New file.
343 * elf/tst-auditmod9a.c: New file.
344 * elf/tst-auditmod9b.c: New file.
345 * elf/Makefile: Add rules to build and run tst-audit9.
346
347 2014-02-25 Florian Weimer <fweimer@redhat.com>
348
349 [BZ #15347]
350 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
351
352 2014-02-25 Will Newton <will.newton@linaro.org>
353
354 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
355 (__longjmp): Restore sp and lr before restoring callee
356 saved registers. Add longjmp and longjmp_target
357 SystemTap probe point.
358 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
359 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
360 Define to zero to match jmpbuf layout.
361 * sysdeps/arm/setjmp.S: Include stap-probe.h.
362 (__sigsetjmp): Save sp and lr before saving callee
363 saved registers. Add setjmp SystemTap probe point.
364
365 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
366
367 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
368
369 2014-02-24 Andreas Schwab <schwab@suse.de>
370
371 [BZ #15804]
372 * elf/pldd.c (wait_for_ptrace_stop): New function.
373 (main): Call it after attaching.
374
375 2014-02-22 Roland McGrath <roland@hack.frob.com>
376
377 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
378 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
379 Versions files is now verboten.
380 * hurd/Versions (libc: GLIBC_2.0):
381 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
382 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
383 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
384 * mach/Versions: Likewise.
385
386 * csu/Versions: Remove unused %include.
387 * resolv/Versions: Likewise.
388
389 2014-02-21 Joseph Myers <joseph@codesourcery.com>
390
391 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
392 ($(objpfx)check-local-headers.out): Likewise.
393 ($(objpfx)begin-end-check.out): Likewise.
394 * Makerules (check-abi-%.out): Likewise.
395 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
396 ($(objpfx)test2.cat): Likewise.
397 ($(objpfx)de/libc.cat): Likewise.
398 ($(objpfx)test-gencat.out): Likewise.
399 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
400 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
401 ($(objpfx)noload-mem): Likewise.
402 ($(objpfx)tst-pathopt.out): Likewise.
403 ($(objpfx)tst-rtld-load-self.out): Likewise.
404 ($(objpfx)tst-array1-cmp.out): Likewise.
405 ($(objpfx)tst-array1-static-cmp.out): Likewise.
406 ($(objpfx)tst-array2-cmp.out): Likewise.
407 ($(objpfx)tst-array3-cmp.out): Likewise.
408 ($(objpfx)tst-array4-cmp.out): Likewise.
409 ($(objpfx)tst-array5-cmp.out): Likewise.
410 ($(objpfx)tst-array5-static-cmp.out): Likewise.
411 ($(objpfx)check-textrel.out): Likewise.
412 ($(objpfx)check-execstack.out): Likewise.
413 ($(objpfx)check-localplt.out): Likewise.
414 ($(objpfx)order2-cmp.out): Likewise.
415 ($(objpfx)tst-leaks1-mem): Likewise.
416 ($(objpfx)tst-leaks1-static-mem): Likewise.
417 ($(objpfx)tst-initorder-cmp.out): Likewise.
418 ($(objpfx)tst-initorder2-cmp.out): Likewise.
419 ($(objpfx)tst-unused-dep.out): Likewise.
420 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
422 * iconv/Makefile (test-iconvconfig): Likewise.
423 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
424 ($(objpfx)iconv-test.out): Likewise.
425 ($(objpfx)tst-tables.out): Likewise.
426 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
427 ($(objpfx)tst-gettext.out): Likewise.
428 ($(objpfx)tst-translit.out): Likewise.
429 ($(objpfx)tst-gettext2.out): Likewise.
430 ($(objpfx)tst-gettext4.out): Likewise.
431 ($(objpfx)tst-gettext6.out): Likewise.
432 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
433 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
434 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
435 ($(objpfx)tst-fopenloc-mem.out): Likewise.
436 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
437 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
438 * posix/Makefile ($(objpfx)globtest.out): Likewise.
439 ($(objpfx)wordexp-tst.out): Likewise.
440 ($(objpfx)annexc.out): Likewise.
441 ($(objpfx)tst-fnmatch-mem): Likewise.
442 ($(objpfx)bug-regex2-mem): Likewise.
443 ($(objpfx)bug-regex14-mem): Likewise.
444 ($(objpfx)bug-regex21-mem): Likewise.
445 ($(objpfx)bug-regex31-mem): Likewise.
446 ($(objpfx)tst-vfork3-mem): Likewise.
447 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
448 ($(objpfx)tst-pcre-mem): Likewise.
449 ($(objpfx)tst-boost-mem): Likewise.
450 ($(objpfx)tst-getconf.out): Likewise.
451 ($(objpfx)bug-ga2-mem): Likewise.
452 ($(objpfx)bug-glob2-mem): Likewise.
453 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
454 ($(objpfx)mtrace-tst-leaks2): Likewise.
455 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
456 ($(objpfx)tst-printf.out): Likewise.
457 ($(objpfx)tst-setvbuf1.out): Likewise.
458 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
459 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
460 ($(objpfx)tst-fmtmsg.out): Likewise.
461 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
462 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
463
464 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
465 * bits/sigaction.h [__USE_MISC]: Likewise.
466 * bits/waitstatus.h: Update #endif comments.
467 * ctype/ctype.h: Likewise.
468 * dirent/dirent.h: Likewise.
469 [__USE_MISC]: Remove redundant conditionals.
470 * grp/grp.h: Update #endif comments.
471 [__USE_GNU]: Remove redundant conditionals.
472 [__USE_MISC]: Likewise.
473 * inet/netinet/in.h [__USE_GNU]: Likewise.
474 * io/sys/stat.h [__USE_MISC]: Likewise.
475 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
476 * libio/bits/stdio.h: Update #endif comments.
477 [__USE_MISC]: Remove redundant conditionals.
478 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
479 * libio/stdio.h: Update #endif comments.
480 [__USE_MISC]: Remove redundant conditionals.
481 * math/bits/math-finite.h [__USE_MISC]: Likewise.
482 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
483 * math/math.h: Update #else and #endif comments.
484 [__USE_MISC]: Remove redundant conditionals.
485 * misc/sys/uio.h: Update #endif comments.
486 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
487 * posix/glob.h [__USE_MISC]: Likewise.
488 * posix/sys/types.h: Update #endif comments.
489 [__USE_MISC]: Remove redundant conditionals.
490 * posix/sys/wait.h: Update #endif comments.
491 [__USE_MISC]: Remove redundant conditionals.
492 * posix/unistd.h: Update #endif comments.
493 [__USE_MISC]: Remove redundant conditionals.
494 * pwd/pwd.h [__USE_GNU]: Likewise.
495 [__USE_MISC]: Likewise.
496 * resolv/netdb.h [__USE_GNU]: Likewise.
497 * signal/signal.h: Update #endif comments.
498 [__USE_MISC]: Remove redundant conditionals.
499 * stdlib/stdlib.h: Update #else and #endif comments.
500 [__USE_MISC]: Remove redundant conditionals.
501 [__USE_GNU]: Likewise.
502 * string/bits/string2.h [__USE_MISC]: Likewise.
503 * string/string.h: Update #endif comments.
504 [__USE_MISC]: Remove redundant conditionals.
505 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
506 Likewise.
507 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
508 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
509 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
510 Likewise.
511 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
512 Likewise.
513 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
514 comments.
515 [__USE_MISC]: Remove redundant conditionals.
516 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
517 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
518 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
519 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
520 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
521 Likewise.
522 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
523 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
524 Likewise.
525 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
527 Likewise.
528 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
529 Likewise.
530 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
531 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
532 Likewise.
533 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
534 Likewise.
535 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
536 * sysdeps/x86/bits/string.h: Update #endif comments.
537 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
538 conditionals.
539 * time/sys/time.h: Update #endif comments.
540 * time/time.h: Likewise.
541 [__USE_MISC]: Remove redundant conditionals.
542
543 2014-02-21 Yury Gribov <y.gribov@samsung.com>
544
545 [BZ #16600]
546 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
547
548 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
549
550 * Versions.def (librt): Add GLIBC_2.17.
551
552 2014-02-21 Adam Conrad <adconrad@0c3.net>
553
554 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
555 synonym for _SYS_AUXV_H to allow direct inclusion.
556 * sysdeps/sparc/bits/hwcap.h: Likewise.
557 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
558 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
559 * sysdeps/sparc/sysdep.h: Likewise.
560
561 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
564
565 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
566
567 * benchtests/bench-strrchr.c: Print length instead of position.
568
569 2014-02-20 Joseph Myers <joseph@codesourcery.com>
570
571 [BZ #16611]
572 * sysdeps/unix/sysv/linux/kernel-features.h
573 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
574 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
575 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
576 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
577 Likewise.
578 [__i386__ || __powerpc__ || __sh__ || __sparc__]
579 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
580 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
581 (__ASSUME_SENDMMSG): Define instead of using previous
582 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
583 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
584 (__ASSUME_SENDMMSG_SYSCALL): Define.
585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
586 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
587 Likewise.
588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
589 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
590 Likewise.
591 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
592 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
593 Likewise.
594 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
595 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
596 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
597 [__ASSUME_SENDMMSG]: Change conditionals to
598 [__ASSUME_SENDMMSG_SOCKETCALL].
599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
600 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
601 Define.
602 * sysdeps/unix/sysv/linux/mips/kernel-features.h
603 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
604 Likewise.
605 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
606 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
607 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
608 [!__ASSUME_SENDMMSG]: Change conditional to
609 [!__ASSUME_SENDMMSG_SOCKETCALL].
610 * sysdeps/unix/sysv/linux/tile/kernel-features.h
611 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
612 Define.
613
614 [BZ #16610]
615 * sysdeps/unix/sysv/linux/kernel-features.h
616 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
617 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
618 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
619 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
620 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
621 [__i386__ || __sparc__]
622 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
623 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
624 (__ASSUME_RECVMMSG): Define instead of using previous
625 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
626 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
627 (__ASSUME_RECVMMSG_SYSCALL): Define.
628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
629 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
630 Likewise.
631 * sysdeps/unix/sysv/linux/arm/kernel-features.h
632 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
633 Likewise.
634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
636 Likewise.
637 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
638 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
639 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
640 [__ASSUME_RECVMMSG]: Change condition to
641 [__ASSUME_RECVMMSG_SOCKETCALL].
642 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
643 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
644 Define.
645 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
646 * sysdeps/unix/sysv/linux/mips/kernel-features.h
647 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
648 Likewise.
649 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
650 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
651 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
652 [!__ASSUME_RECVMMSG]: Change condition to
653 [!__ASSUME_RECVMMSG_SOCKETCALL].
654 * sysdeps/unix/sysv/linux/tile/kernel-features.h
655 (__ASSUME_RECVMMSG_SYSCALL): Define.
656
657 [BZ #16609]
658 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
659 __powerpc__ || __s390__ || __sh__ || __sparc__]
660 (__ASSUME_SOCKETCALL): Define.
661 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
662 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
663 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
664 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
665 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
666 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
667 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
668 (__ASSUME_ACCEPT4): Define instead of using previous
669 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
670 __powerpc__ || __sparc__ || __s390__)] condition.
671 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
672 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
673 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
674 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
675 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
676 [!__ASSUME_ACCEPT4]: Change condition to
677 [!__ASSUME_ACCEPT4_SOCKETCALL].
678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
679 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
680 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
681 * sysdeps/unix/sysv/linux/arm/kernel-features.h
682 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
683 __ASSUME_ACCEPT4_SYSCALL.
684 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
685 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
686 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
687 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
688 __ASSUME_ACCEPT4_SYSCALL.
689 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
690 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
691 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
692 [__ASSUME_ACCEPT4]: Change condition to
693 [__ASSUME_ACCEPT4_SOCKETCALL].
694 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
695 (__ASSUME_SOCKETCALL): Define.
696 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
698 (__ASSUME_SOCKETCALL): Define.
699 (__ASSUME_ACCEPT4): Remove.
700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
701 Define.
702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
703 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
704 Likewise.
705 * sysdeps/unix/sysv/linux/tile/kernel-features.h
706 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
707
708 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
709 macro.
710 (HWCAP_ARM_LPAE): Likewise.
711 (HWCAP_ARM_EVTSTRM): Likewise.
712 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
713 Add vpfd32, lpae and evtstrm.
714 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
715 Increase to 22.
716
717 2014-02-19 Joseph Myers <joseph@codesourcery.com>
718
719 * math/auto-libm-test-in: Add tests of clog10.
720 * math/auto-libm-test-out: Regenerated.
721 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724
725 2014-02-18 Andreas Schwab <schwab@suse.de>
726
727 [BZ #16574]
728 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
729 Store non-zero if the second buffer was newly allocated.
730 (send_dg): Likewise.
731 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
732 to send_vc and send_dg.
733 (res_nsend): Pass NULL for ansp2_malloced.
734 * resolv/res_query.c (__libc_res_nquery): Add parameter
735 answerp2_malloced and pass it down to __libc_res_nsend.
736 (res_nquery): Pass additional NULL to __libc_res_nquery.
737 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
738 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
739 second answer buffer if answerp2_malloced was set.
740 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
741 (__libc_res_nquerydomain): Add parameter
742 answerp2_malloced and pass it down to __libc_res_nquery.
743 (res_nquerydomain): Pass additional NULL to
744 __libc_res_nquerydomain.
745 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
746 additional NULL to __libc_res_nsend and __libc_res_nquery.
747 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
748 additional NULL to __libc_res_nsearch.
749 (_nss_dns_gethostbyname4_r): Revert last change. Use new
750 parameter of __libc_res_nsearch to check for separately allocated
751 second buffer.
752 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
753 __libc_res_nquery.
754 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
755 additional NULL to __libc_res_nquery.
756 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
757 __libc_res_nsearch.
758 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
759 * include/resolv.h: Update prototypes of __libc_res_nquery,
760 __libc_res_nsearch, __libc_res_nsend.
761
762 2014-02-18 Joseph Myers <joseph@codesourcery.com>
763
764 * math/auto-libm-test-in: Add tests of fma.
765 * math/auto-libm-test-out: Regenerated.
766 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
767 (fma_towardzero_test_data): Likewise.
768 (fma_downward_test_data): Likewise.
769 (fma_upward_test_data): Likewise.
770 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
771 mpc_mode.
772 (rounding_modes): Add values for new field.
773 (func_calc_method): Add value mpfr_fff_f.
774 (func_calc_desc): Add mpfr_fff_f union field.
775 (test_function): Add field exact_args.
776 (FUNC): Add macro argument EXACT_ARGS.
777 (FUNC_mpfr_f_f): Update call to FUNC.
778 (FUNC_mpfr_f_f): Likewise.
779 (FUNC_mpfr_ff_f): Likewise.
780 (FUNC_mpfr_if_f): Likewise.
781 (FUNC_mpc_c_f): Likewise.
782 (FUNC_mpc_c_c): Likewise.
783 (test_functions): Add fma. Update calls to FUNC.
784 (handle_input_arg): Add argument exact_args.
785 (add_test): Update call to handle_input_arg.
786 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
787 (output_for_one_input_case): Update call to calc_generic_results.
788 Recalculate exact zero results in each rounding mode.
789
790 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
791 non-negative before setting low bit.
792 * math/auto-libm-test-in: Mark one asin test possibly having
793 spurious underflow.
794 * math/auto-libm-test-out: Regenerated.
795 * sysdeps/i386/fpu/libm-test-ulps: Update.
796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797
798 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
799
800 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
801 * sysdeps/unix/sysv/linux/microblaze: Move directory from
802 ports/sysdeps/unix/sysv/linux/microblaze.
803 * README: Add missing listing for microblaze*-*-linux-gnu.
804
805 2014-02-16 Mike Frysinger <vapier@gentoo.org>
806
807 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
808 * sysdeps/unix/sysv/linux/ia64: Move directory from
809 ports/sysdeps/unix/sysv/linux/ia64.
810 * README: Update listing for ia64-*-linux-gnu.
811
812 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
813 Joseph Myers <joseph@codesourcery.com>
814
815 * Makeconfig (test-name): New variable.
816 (evaluate-test): Likewise.
817 * Makerules (do-test-clean): Remove .test-result files.
818 (common-mostlyclean): Likewise.
819 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
820 * scripts/evaluate-test.sh: New file.
821
822 2014-02-14 Joseph Myers <joseph@codesourcery.com>
823
824 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
825 separate $(objpfx)tst-fopenloc-cmp.out and
826 $(objpfx)tst-fopenloc-mem.out targets.
827 (tests): Update dependencies.
828 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
829 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
830 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
831 (tst-rxspencer-no-utf8-ARGS): New variable.
832 (tst-rxspencer-no-utf8-ENV): Likewise.
833 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
834 instead of $(objpfx)tst-rxspencer-mem.
835 ($(objpfx)tst-rxspencer-mem): Change target to
836 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
837 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
838 * posix/tst-rxspencer-no-utf8.c: New file.
839
840 * elf/Makefile ($(objpfx)order.out): Remove rule.
841 [$(run-built-tests) = yes] (tests): Depend on
842 $(objpfx)order-cmp.out.
843 ($(objpfx)order-cmp.out): New rule.
844 [$(run-built-tests) = yes] (tests): Depend on
845 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
846 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
847 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
848 $(objpfx)tst-array5-static-cmp.out.
849 ($(objpfx)tst-array1.out): Remove rule.
850 ($(objpfx)tst-array1-cmp.out): New rule.
851 ($(objpfx)tst-array1-static.out): Remove rule.
852 ($(objpfx)tst-array1-static-cmp.out): New rule.
853 ($(objpfx)tst-array2.out): Remove rule.
854 ($(objpfx)tst-array2-cmp.out): New rule.
855 ($(objpfx)tst-array3.out): Remove rule.
856 ($(objpfx)tst-array3-cmp.out): New rule.
857 ($(objpfx)tst-array4.out): Remove rule.
858 ($(objpfx)tst-array4-cmp.out): New rule.
859 ($(objpfx)tst-array5.out): Remove rule.
860 ($(objpfx)tst-array5-cmp.out): New rule.
861 ($(objpfx)tst-array5-static.out): Remove rule.
862 ($(objpfx)tst-array5-static-cmp.out): New rule.
863 [$(run-built-tests) = yes] (tests): Depend on
864 $(objpfx)order2-cmp.out.
865 ($(objpfx)order2.out): Remove rule.
866 ($(objpfx)order2-cmp.out): New rule.
867 ($(objpfx)tst-initorder.out): Remove rule.
868 [$(run-built-tests) = yes] (tests): Depend on
869 $(objpfx)tst-initorder-cmp.out.
870 ($(objpfx)tst-initorder-cmp.out): New rule.
871 ($(objpfx)tst-initorder2.out): Remove rule.
872 [$(run-built-tests) = yes] (tests): Depend on
873 $(objpfx)tst-initorder2-cmp.out.
874 ($(objpfx)tst-initorder2-cmp.out): New rule.
875 [$(run-built-tests) = yes] (tests): Depend on
876 $(objpfx)tst-unused-dep-cmp.out.
877 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
878 ($(objpfx)tst-unused-dep-cmp.out): New rule.
879 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
880 on $(objpfx)tst-setvbuf1-cmp.out.
881 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
882 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
883 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
884 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
885 ($(objpfx)tst-svc.out): Remove rule.
886 ($(objpfx)tst-svc-cmp.out): New rule.
887
888 2014-02-13 Joseph Myers <joseph@codesourcery.com>
889
890 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
891 * ctype/ctype.h [__USE_MISC]: Likewise.
892 * dirent/dirent.h [__USE_MISC]: Likewise.
893 * grp/grp.h [__USE_MISC]: Likewise.
894 * io/fcntl.h [__USE_MISC]: Likewise.
895 * io/sys/stat.h [__USE_MISC]: Likewise.
896 * libio/stdio.h [__USE_MISC]: Likewise.
897 * posix/unistd.h [__USE_MISC]: Likewise.
898 * pwd/pwd.h [__USE_MISC]: Likewise.
899 * stdlib.h [__USE_MISC]: Likewise.
900 * string/bits/string2.h [__USE_MISC]: Likewise.
901 * string/string.h [__USE_MISC]: Likewise.
902 * time/time.h [__USE_MISC]: Likewise.
903
904 2014-02-13 Andreas Schwab <schwab@suse.de>
905
906 [BZ #16574]
907 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
908 second answer buffer if it was separately allocated.
909
910 2014-02-12 Joseph Myers <joseph@codesourcery.com>
911
912 * sysdeps/mips/math-tests.h: Include <features.h>.
913 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
914 (ROUNDING_TESTS_long_double): Do not define.
915 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
916 (EXCEPTION_TESTS_long_double): Likewise.
917 * sysdeps/mips/mips64/libm-test-ulps: Update.
918
919 * include/features.h (__USE_BSD): Remove macro definitions.
920 (__USE_SVID): Likewise.
921 (_BSD_SOURCE): Likewise.
922 (_SVID_SOURCE): Likewise.
923 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
924 from definition of _DEFAULT_SOURCE.
925 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
926 [_DEFAULT_SOURCE].
927 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
928 * bits/mman.h [__USE_BSD]: Likewise.
929 * bits/termios.h [__USE_BSD]: Likewise.
930 * bits/waitstatus.h [__USE_BSD]: Likewise.
931 * ctype/ctype.h [__USE_SVID]: Likewise.
932 * dirent/dirent.h [__USE_BSD]: Likewise.
933 * grp/grp.h [__USE_SVID]: Likewise.
934 [__USE_BSD]: Likewise.
935 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
936 * io/fcntl.h [__USE_BSD]: Likewise.
937 * io/ftw.h [__USE_BSD]: Likewise.
938 * io/sys/stat.h [__USE_BSD]: Likewise.
939 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
940 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
941 * libio/stdio.h [__USE_SVID]: Likewise.
942 [__USE_BSD]: Likewise.
943 * math/math.h [__USE_SVID]: Likewise.
944 [__USE_BSD]: Likewise.
945 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
946 * misc/bits/syslog.h [__USE_BSD]: Likewise.
947 * misc/search.h [__USE_SVID]: Likewise.
948 * misc/sys/mman.h [__USE_BSD]: Likewise.
949 * misc/sys/syslog.h [__USE_BSD]: Likewise.
950 * misc/sys/uio.h [__USE_BSD]: Likewise.
951 * posix/bits/unistd.h [__USE_BSD]: Likewise.
952 * posix/glob.h [__USE_BSD]: Likewise.
953 * posix/regex.h [__USE_BSD]: Likewise.
954 * posix/sys/types.h [__USE_BSD]: Likewise.
955 [__USE_SVID]: Likewise.
956 * posix/sys/utsname.h [__USE_SVID]: Likewise.
957 * posix/sys/wait.h [__USE_BSD]: Likewise.
958 [__USE_SVID]: Likewise.
959 * posix/unistd.h [__USE_BSD]: Likewise.
960 [__USE_SVID]: Likewise.
961 * pwd/pwd.h [__USE_SVID]: Likewise.
962 * resolv/netdb.h [__USE_BSD]: Likewise.
963 * setjmp/setjmp.h [__USE_BSD]: Likewise.
964 * signal/signal.h [__USE_BSD]: Likewise.
965 [__USE_SVID]: Likewise.
966 * socket/sys/socket.h [__USE_BSD]: Likewise.
967 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
968 * stdlib/stdlib.h [__USE_BSD]: Likewise.
969 [__USE_SVID]: Likewise.
970 * string/bits/string2.h [__USE_BSD]: Likewise.
971 [__USE_SVID]: Likewise.
972 * string/bits/string3.h [__USE_BSD]: Likewise.
973 * string/endian.h [__USE_BSD]: Likewise.
974 * string/string.h [__USE_SVID]: Likewise.
975 [__USE_BSD]: Likewise.
976 * string/strings.h [__USE_BSD]: Likewise.
977 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
978 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
979 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
980 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
981 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
982 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
983 Likewise.
984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
985 Likewise.
986 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
987 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
988 Likewise.
989 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
990 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
991 Likewise.
992 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
993 Likewise.
994 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
995 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
997 Likewise.
998 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
999 Likewise.
1000 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1001 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1002 * termios/termios.h [__USE_BSD]: Likewise.
1003 * time/sys/time.h [__USE_BSD]: Likewise.
1004 * time/time.h [__USE_BSD]: Likewise.
1005 [__USE_SVID]: Likewise.
1006
1007 * Makefile (subdir_targets): Remove subdir_lint.out.
1008
1009 * stdio-common/Makefile (do-tst-unbputc): Remove target.
1010 (do-tst-printf): Likewise.
1011 (tests): Depend directly on $(objpfx)tst-unbputc.out and
1012 $(objpfx)tst-printf.out.
1013
1014 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1015
1016 * Makerules (check-abi-%): Change target to
1017 $(objpfx)check-abi-%.out.
1018 (check-abi target): Update dependencies.
1019 (check-abi-pattern variable): Redirect output of diff to $@.
1020 (check-abi variable): Likewise.
1021 * elf/Makefile (check-abi): Update dependencies.
1022
1023 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1024 unused.
1025 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1026 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1027 subnormal range.
1028 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1029 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1030 value has largest subnormal exponent.
1031 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1032 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1033 * sysdeps/aarch64/soft-fp/sfp-machine.h
1034 (_FP_TININESS_AFTER_ROUNDING): New macro.
1035 * sysdeps/alpha/soft-fp/sfp-machine.h
1036 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1037 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1038 Likewise.
1039 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1040 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1041 * sysdeps/mips/soft-fp/sfp-machine.h
1042 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1043 * sysdeps/powerpc/soft-fp/sfp-machine.h
1044 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1045 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1046 Likewise.
1047 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1048 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1049 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1050 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1051 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1052 Likewise.
1053
1054 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
1055
1056 [BZ #16545]
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1058 model 1.
1059
1060 2014-02-12 Richard Henderson <rth@redhat.com>
1061
1062 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1063 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1064 * sysdeps/unix/sysv/linux/alpha: Move directory from
1065 ports/sysdeps/unix/sysv/linux/alpha.
1066 * README: Update listing for alpha-*-linux-gnu.
1067
1068 2014-02-11 Joseph Myers <joseph@codesourcery.com>
1069
1070 * include/features.h: Update comment documenting feature test
1071 macros.
1072 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1073 _DEFAULT_SOURCE.
1074 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1075 (_SVID_SOURCE): Likewise.
1076 (_DEFAULT_SOURCE): Update description of default features.
1077 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1078 with _GNU_SOURCE.
1079 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1080 (S_ISVTX): Likewise.
1081 * manual/math.texi (Mathematical Constants): Likewise.
1082 * manual/signal.texi (Interrupted Primitives): Likewise.
1083 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1084 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1085 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1086 Don't refer to _SVID_SOURCE in warning text.
1087
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1089
1090 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1091 already defined.
1092 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1093 * sysdeps/mips/dl-lookup.c: Remove.
1094 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1095
1096 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1097
1098 [BZ #16447]
1099 * math/auto-libm-test-in: Add testcase for expl.
1100 * math/auto-libm-test-out: Regenerate.
1101 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1102 calculation of unsafe.
1103 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1104
1105 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1106
1107 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1108 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1109 ports/sysdeps/unix/sysv/linux/aarch64.
1110 * README: Update listing for aarch64*-*-linux-gnu.
1111
1112 2014-02-11 Will Newton <will.newton@linaro.org>
1113
1114 * manual/probes.texi (Mathematical Function Probes): Use
1115 "triggered" instead of "hit".
1116
1117 2014-02-11 Will Newton <will.newton@linaro.org>
1118
1119 * manual/probes.texi (Internal Probes): Add documentation
1120 of setjmp, longjmp and longjmp_target probes.
1121
1122 2014-02-11 Will Newton <will.newton@linaro.org>
1123
1124 * include/stap-probe.h: Add comment about probe argument
1125 format.
1126
1127 2014-02-11 Will Newton <will.newton@linaro.org>
1128
1129 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1130 definition. (tr_where, tr_freehook, tr_mallochook,
1131 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1132
1133 2014-02-11 David S. Miller <davem@davemloft.net>
1134
1135 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1136 processing int_tests.
1137
1138 2014-02-10 Joseph Myers <joseph@codesourcery.com>
1139
1140 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1141 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1142 * sysdeps/unix/sysv/linux/mips: Move directory from
1143 ports/sysdeps/unix/sysv/linux/mips.
1144 * README: Update listing for mips-*-linux-gnu and
1145 mips64-*-linux-gnu.
1146
1147 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1148
1149 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1150 * sysdeps/unix/sysv/linux/m68k: Move directory from
1151 ports/sysdeps/unix/sysv/linux/m68k.
1152 * README: Update listing for m68k-*-linux-gnu.
1153
1154 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1155
1156 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1157 * sysdeps/unix/sysv/linux/generic: Move directory from
1158 ports/sysdeps/unix/sysv/linux/generic.
1159 * sysdeps/unix/sysv/linux/tile: Move directory from
1160 ports/sysdeps/unix/sysv/linux/tile.
1161 * README: Update listing for tile*-*-linux-gnu.
1162
1163 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1164
1165 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1166 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1167 * catgets/open_catalog.c (__open_catalog): Likewise.
1168 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1169 * debug/confstr_chk.c: Likewise.
1170 * debug/fread_chk.c (__fread_chk): Likewise.
1171 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1172 * debug/getgroups_chk.c: Likewise.
1173 * debug/mbsnrtowcs_chk.c: Likewise.
1174 * debug/mbsrtowcs_chk.c: Likewise.
1175 * debug/mbstowcs_chk.c: Likewise.
1176 * debug/memcpy_chk.c: Likewise.
1177 * debug/memmove_chk.c: Likewise.
1178 * debug/mempcpy_chk.c: Likewise.
1179 * debug/memset_chk.c: Likewise.
1180 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1181 * debug/strcat_chk.c (__strcat_chk): Likewise.
1182 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1183 * debug/strncat_chk.c (__strncat_chk): Likewise.
1184 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1185 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1186 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1187 * debug/wcpncpy_chk.c: Likewise.
1188 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1189 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1190 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1191 * debug/wcsncpy_chk.c: Likewise.
1192 * debug/wcsnrtombs_chk.c: Likewise.
1193 * debug/wcsrtombs_chk.c: Likewise.
1194 * debug/wcstombs_chk.c: Likewise.
1195 * debug/wmemcpy_chk.c: Likewise.
1196 * debug/wmemmove_chk.c: Likewise.
1197 * debug/wmempcpy_chk.c: Likewise.
1198 * debug/wmemset_chk.c: Likewise.
1199 * dirent/scandirat.c (SCANDIRAT): Likewise.
1200 * dlfcn/dladdr1.c (dladdr1): Likewise.
1201 * dlfcn/dladdr.c (dladdr): Likewise.
1202 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1203 * dlfcn/dlerror.c (__dlerror): Likewise.
1204 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1205 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1206 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1207 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1208 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1209 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1210 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1211 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1212 Likewise.
1213 * elf/dl-conflict.c: Likewise.
1214 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1215 * elf/dl-dst.h: Likewise.
1216 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1217 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1219 * elf/dl-init.c (call_init, _dl_init): Likewise.
1220 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1221 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1222 _dl_map_object_from_fd, open_verify, open_path,
1223 _dl_map_object): Likewise.
1224 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1225 Likewise.
1226 * elf/dl-minimal.c (__libc_memalign): Likewise.
1227 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1228 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1229 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1230 * elf/dl-sym.c (do_sym): Likewise.
1231 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1232 _dl_tls_get_addr_soft): Likewise.
1233 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1234 * elf/dl-writev.h (_dl_writev): Likewise.
1235 * elf/ldconfig.c (search_dir): Likewise.
1236 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1237 dl_main): Likewise.
1238 * elf/setup-vdso.h (setup_vdso): Likewise.
1239 * grp/compat-initgroups.c (compat_call): Likewise.
1240 * grp/fgetgrent.c (fgetgrent): Likewise.
1241 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1242 * grp/putgrent.c (putgrent): Likewise.
1243 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1244 Likewise.
1245 * hurd/hurdinit.c: Likewise.
1246 * iconvdata/8bit-gap.c (struct): Likewise.
1247 * iconvdata/ansi_x3.110.c : Likewise.
1248 * iconvdata/big5.c : Likewise.
1249 * iconvdata/big5hkscs.c : Likewise.
1250 * iconvdata/cp1255.c: Likewise.
1251 * iconvdata/cp1258.c : Likewise.
1252 * iconvdata/cp932.c : Likewise.
1253 * iconvdata/euc-cn.c: Likewise.
1254 * iconvdata/euc-jisx0213.c : Likewise.
1255 * iconvdata/euc-jp.c: Likewise.
1256 * iconvdata/euc-jp-ms.c : Likewise.
1257 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1258 * iconvdata/gb18030.c : Likewise.
1259 * iconvdata/gbbig5.c (const): Likewise.
1260 * iconvdata/gbgbk.c: Likewise.
1261 * iconvdata/gbk.c : Likewise.
1262 * iconvdata/ibm1364.c : Likewise.
1263 * iconvdata/ibm930.c : Likewise.
1264 * iconvdata/ibm932.c: Likewise.
1265 * iconvdata/ibm933.c : Likewise.
1266 * iconvdata/ibm935.c : Likewise.
1267 * iconvdata/ibm937.c : Likewise.
1268 * iconvdata/ibm939.c : Likewise.
1269 * iconvdata/ibm943.c: Likewise.
1270 * iconvdata/iso_11548-1.c: Likewise.
1271 * iconvdata/iso-2022-cn.c : Likewise.
1272 * iconvdata/iso-2022-cn-ext.c : Likewise.
1273 * iconvdata/iso-2022-jp-3.c: Likewise.
1274 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1275 * iconvdata/iso-2022-kr.c : Likewise.
1276 * iconvdata/iso646.c (gconv_end): Likewise.
1277 * iconvdata/iso_6937-2.c : Likewise.
1278 * iconvdata/iso_6937.c : Likewise.
1279 * iconvdata/iso8859-1.c: Likewise.
1280 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1281 * iconvdata/shift_jisx0213.c : Likewise.
1282 * iconvdata/sjis.c : Likewise.
1283 * iconvdata/t.61.c : Likewise.
1284 * iconvdata/tcvn5712-1.c : Likewise.
1285 * iconvdata/tscii.c: Likewise.
1286 * iconvdata/uhc.c : Likewise.
1287 * iconvdata/unicode.c (gconv_end): Likewise.
1288 * iconvdata/utf-16.c (gconv_end): Likewise.
1289 * iconvdata/utf-32.c (gconv_end): Likewise.
1290 * iconvdata/utf-7.c (base64): Likewise.
1291 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1292 * iconv/gconv_close.c (__gconv_close): Likewise.
1293 * iconv/gconv_open.c (__gconv_open): Likewise.
1294 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1295 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1296 internal_ucs4le_loop_single, ucs4le_internal_loop,
1297 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1298 * iconv/iconv.c (iconv): Likewise.
1299 * iconv/iconv_close.c: Likewise.
1300 * iconv/loop.c (SINGLE): Likewise.
1301 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1302 * include/atomic.h: Likewise.
1303 * inet/inet6_option.c (option_alloc): Likewise.
1304 * intl/bindtextdom.c (set_binding_values): Likewise.
1305 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1306 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1307 * intl/localealias.c (read_alias_file): Likewise.
1308 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1309 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1310 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1311 * libio/fmemopen.c (fmemopen): Likewise.
1312 * libio/iofgets.c (_IO_fgets): Likewise.
1313 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1314 * libio/iofgetws.c (fgetws): Likewise.
1315 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1316 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1317 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1318 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1319 * locale/findlocale.c (_nl_find_locale): Likewise.
1320 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1321 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1322 Likewise.
1323 * locale/setlocale.c (setlocale): Likewise.
1324 * login/programs/pt_chown.c (main): Likewise.
1325 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1326 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1327 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1328 mmap, mmap64, mremap, munmap): Likewise.
1329 * math/e_exp2l.c: Likewise.
1330 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1331 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1332 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1333 * math/s_catan.c (__catan): Likewise.
1334 * math/s_catanf.c (__catanf): Likewise.
1335 * math/s_catanh.c (__catanh): Likewise.
1336 * math/s_catanhf.c (__catanhf): Likewise.
1337 * math/s_catanhl.c (__catanhl): Likewise.
1338 * math/s_catanl.c (__catanl): Likewise.
1339 * math/s_ccosh.c (__ccosh): Likewise.
1340 * math/s_ccoshf.c (__ccoshf): Likewise.
1341 * math/s_ccoshl.c (__ccoshl): Likewise.
1342 * math/s_cexp.c (__cexp): Likewise.
1343 * math/s_cexpf.c (__cexpf): Likewise.
1344 * math/s_cexpl.c (__cexpl): Likewise.
1345 * math/s_clog10.c (__clog10): Likewise.
1346 * math/s_clog10f.c (__clog10f): Likewise.
1347 * math/s_clog10l.c (__clog10l): Likewise.
1348 * math/s_clog.c (__clog): Likewise.
1349 * math/s_clogf.c (__clogf): Likewise.
1350 * math/s_clogl.c (__clogl): Likewise.
1351 * math/s_csin.c (__csin): Likewise.
1352 * math/s_csinf.c (__csinf): Likewise.
1353 * math/s_csinh.c (__csinh): Likewise.
1354 * math/s_csinhf.c (__csinhf): Likewise.
1355 * math/s_csinhl.c (__csinhl): Likewise.
1356 * math/s_csinl.c (__csinl): Likewise.
1357 * math/s_csqrt.c (__csqrt): Likewise.
1358 * math/s_csqrtf.c (__csqrtf): Likewise.
1359 * math/s_csqrtl.c (__csqrtl): Likewise.
1360 * math/s_ctan.c (__ctan): Likewise.
1361 * math/s_ctanf.c (__ctanf): Likewise.
1362 * math/s_ctanh.c (__ctanh): Likewise.
1363 * math/s_ctanhf.c (__ctanhf): Likewise.
1364 * math/s_ctanhl.c (__ctanhl): Likewise.
1365 * math/s_ctanl.c (__ctanl): Likewise.
1366 * math/w_pow.c: Likewise.
1367 * math/w_powf.c: Likewise.
1368 * math/w_powl.c: Likewise.
1369 * math/w_scalb.c (sysv_scalb): Likewise.
1370 * math/w_scalbf.c (sysv_scalbf): Likewise.
1371 * math/w_scalbl.c (sysv_scalbl): Likewise.
1372 * misc/error.c (error_tail): Likewise.
1373 * misc/pselect.c (__pselect): Likewise.
1374 * nis/nis_callback.c (__nis_create_callback): Likewise.
1375 * nis/nis_call.c (__nisfind_server): Likewise.
1376 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1377 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1379 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1380 * nis/nis_lookup.c (nis_lookup): Likewise.
1381 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1382 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1383 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1384 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1385 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1386 internal_getgrgid_r): Likewise.
1387 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1388 Likewise.
1389 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1390 internal_getpwuid_r): Likewise.
1391 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1392 internal_getspnam_r): Likewise.
1393 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1394 _nss_nis_getaliasbyname_r): Likewise.
1395 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1396 _nss_nis_getntohost_r): Likewise.
1397 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1398 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1399 Likewise.
1400 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1401 internal_nis_gethostent_r, internal_gethostbyname2_r,
1402 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1403 _nss_nis_gethostbyname4_r): Likewise.
1404 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1405 initgroups_netid): Likewise.
1406 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1407 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1408 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1409 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1410 _nss_nis_getprotobynumber_r): Likewise.
1411 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1412 _nss_nis_getsecretkey): Likewise.
1413 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1414 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1415 Likewise.
1416 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1417 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1418 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1419 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1420 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1421 _nss_nis_getspnam_r): Likewise.
1422 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1423 Likewise.
1424 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1425 _nss_nisplus_getntohost_r): Likewise.
1426 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1427 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1428 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1429 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1430 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1431 Likewise.
1432 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1433 _nss_nisplus_getnetbyaddr_r): Likewise.
1434 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1435 _nss_nisplus_getprotobynumber_r): Likewise.
1436 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1437 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1438 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1439 Likewise.
1440 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1441 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1442 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1443 _nss_nisplus_getspnam_r): Likewise.
1444 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1445 * nscd/aicache.c (addhstaiX): Likewise.
1446 * nscd/cache.c (cache_search, prune_cache): Likewise.
1447 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1448 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1449 * nscd/grpcache.c (addgrbyX): Likewise.
1450 * nscd/hstcache.c (addhstbyX): Likewise.
1451 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1452 * nscd/mem.c (gc, mempool_alloc): Likewise.
1453 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1454 Likewise.
1455 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1456 Likewise.
1457 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1458 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1459 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1460 Likewise.
1461 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1463 * nscd/nscd_helper.c (__readvall, open_socket,
1464 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1465 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1466 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1467 * nscd/pwdcache.c (addpwbyX): Likewise.
1468 * nscd/selinux.c (preserve_capabilities): Likewise.
1469 * nscd/servicescache.c (addservbyX): Likewise.
1470 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1471 * posix/fnmatch.c (fnmatch): Likewise.
1472 * posix/getopt.c (_getopt_internal_r): Likewise.
1473 * posix/glob.c (glob, glob_in_dir): Likewise.
1474 * posix/wordexp.c (exec_comm_child): Likewise.
1475 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1476 gaih_getanswer_slice): Likewise.
1477 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1478 * resolv/res_init.c: Likewise.
1479 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1480 * resolv/res_query.c (__libc_res_nquery): Likewise.
1481 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1482 Likewise.
1483 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1484 * stdio-common/perror.c (perror): Likewise.
1485 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1486 * stdio-common/tmpnam.c (tmpnam): Likewise.
1487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1488 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1489 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1490 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1491 * stdlib/putenv.c (putenv): Likewise.
1492 * stdlib/setenv.c (__add_to_environ): Likewise.
1493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1494 * stdlib/strtol_l.c (INTERNAL): Likewise.
1495 * string/memmem.c (memmem): Likewise.
1496 * string/strerror.c (strerror): Likewise.
1497 * string/strnlen.c (__strnlen): Likewise.
1498 * string/test-memmem.c (simple_memmem): Likewise.
1499 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1500 * sunrpc/pm_getport.c (__get_socket): Likewise.
1501 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1502 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1503 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1504 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1505 Likewise.
1506 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1507 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1508 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1509 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1510 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1511 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1512 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1513 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1514 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1515 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1516 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1517 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1519 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1520 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1521 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1522 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1523 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1524 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1525 Likewise.
1526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1527 Likewise.
1528 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1529 Likewise.
1530 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1533 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1534 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1535 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1536 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1545 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1547 Likewise.
1548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1549 Likewise.
1550 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1551 Likewise.
1552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1554 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1555 Likewise.
1556 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1557 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1558 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1559 * sysdeps/posix/sleep.c: Likewise.
1560 * sysdeps/posix/tempname.c: Likewise.
1561 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1562 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1563 Likewise.
1564 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1565 elf_machine_rela): Likewise.
1566 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1568 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1569 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1570 Likewise.
1571 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1573 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1574 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1575 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1576 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1577 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1578 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1579 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1580 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1582 elf_machine_lazy_rel): Likewise.
1583 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1585 elf_machine_lazy_rel): Likewise.
1586 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1587 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1588 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1589 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1590 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1591 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1594 Likewise.
1595 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1596 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1597 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1598 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1599 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1600 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1601 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1602 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1603 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1604 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1605 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1608 (__posix_fallocate64_l64): Likewise.
1609 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1610 (posix_fallocate): Likewise.
1611 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1612 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1613 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1614 getifaddrs_internal): Likewise.
1615 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1616 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1617 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1618 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1619 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1620 (__posix_fallocate64_l64): Likewise.
1621 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1627 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1628 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1631 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1632 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1633 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1634 Likewise.
1635 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1636 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1637 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1639 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1640 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1641 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1642 Likewise.
1643 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1644 (posix_fallocate): Likewise.
1645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1646 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1647 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1648 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1649 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1650 Likewise.
1651 * time/asctime.c (asctime_internal): Likewise.
1652 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1653 * time/tzset.c (__tzset_parse_tz): Likewise.
1654 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1655 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1656 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1657 * wcsmbs/wcsmbsload.h: Likewise.
1658
1659 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1660
1661 [BZ #15894]
1662 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1663
1664 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1665
1666 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1667 arena_get2): Remove THREAD_STATS conditionals.
1668 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1669 __malloc_stats, int): Likewise.
1670
1671 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1672
1673 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1674 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1675
1676 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1677
1678 * manual/setjmp.texi: Fix typos/grammar errors.
1679
1680 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1681
1682 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1683 Only return early when n is <= 0. Delete unused return statement.
1684
1685 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1686
1687 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1688 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1689 * debug/tst-longjmp_chk3.c: New file.
1690
1691 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1692
1693 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1694 (test_main): Replace code with set_fortify_handler call.
1695 * debug/test-strcpy_chk.c: Likewise.
1696 * debug/tst-chk1.c: Likewise.
1697 * debug/tst-longjmp_chk.c: Likewise.
1698 * test-skeleton.c: Include fcntl.h & paths.h
1699 (set_fortify_handler): Define.
1700
1701 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1702
1703 * debug/tst-longjmp_chk.c: Add header comment and include
1704 ../test-skeleton.c.
1705 (do_test): Mark static.
1706 (TEST_FUNCTION): Define.
1707
1708 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1709
1710 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1711 (IP_PMTUDISC_INTERFACE): Likewise.
1712 (IP_MULTICAST_IF): Likewise.
1713 (IP_MULTICAST_TTL): Likewise.
1714 (IP_MULTICAST_LOOP): Likewise.
1715 (IP_ADD_MEMBERSHIP): Likewise.
1716 (IP_DROP_MEMBERSHIP): Likewise.
1717 (IP_UNBLOCK_SOURCE): Likewise.
1718 (IP_BLOCK_SOURCE): Likewise.
1719 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1720 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1721 (IP_MSFILTER): Likewise.
1722 (MCAST_JOIN_GROUP): Likewise.
1723 (MCAST_BLOCK_SOURCE): Likewise.
1724 (MCAST_UNBLOCK_SOURCE): Likewise.
1725 (MCAST_LEAVE_GROUP): Likewise.
1726 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1727 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1728 (MCAST_MSFILTER): Likewise.
1729 (IP_MULTICAST_ALL): Likewise.
1730 (IP_UNICAST_IF): Likewise.
1731
1732 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1733
1734 * timezone/Makefile: Delete $(have-ksh) check.
1735 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1736 * timezone/tzselect.ksh: Add +x mode bits.
1737
1738 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1739
1740 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1741 (ANON_INODE_FS_MAGIC): Likewise.
1742 (BDEVFS_MAGIC): Likewise.
1743 (BINFMTFS_MAGIC): Likewise.
1744 (BTRFS_TEST_MAGIC): Likewise.
1745 (CRAMFS_MAGIC_WEND): Likewise.
1746 (DEBUGFS_MAGIC): Likewise.
1747 (ECRYPTFS_SUPER_MAGIC): Likewise.
1748 (EXT3_SUPER_MAGIC): Likewise.
1749 (EXT4_SUPER_MAGIC): Likewise.
1750 (FUTEXFS_SUPER_MAGIC): Likewise.
1751 (HOSTFS_SUPER_MAGIC): Likewise.
1752 (HUGETLBFS_MAGIC): Likewise.
1753 (MINIX3_SUPER_MAGIC): Likewise.
1754 (MTD_INODE_FS_MAGIC): Likewise.
1755 (NILFS_SUPER_MAGIC): Likewise.
1756 (OPENPROM_SUPER_MAGIC): Likewise.
1757 (PIPEFS_MAGIC): Likewise.
1758 (PSTOREFS_MAGIC): Likewise.
1759 (QNX6_SUPER_MAGIC): Likewise.
1760 (RAMFS_MAGIC): Likewise.
1761 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1762 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1763 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1764 (SECURITYFS_MAGIC): Likewise.
1765 (SELINUX_MAGIC): Likewise.
1766 (SMACK_MAGIC): Likewise.
1767 (SOCKFS_MAGIC): Likewise.
1768 (SQUASHFS_MAGIC): Likewise.
1769 (STACK_END_MAGIC): Likewise.
1770 (TMPFS_MAGIC): Likewise.
1771 (USBDEVICE_SUPER_MAGIC): Likewise.
1772 (V9FS_MAGIC): Likewise.
1773 (XENFS_SUPER_MAGIC): Likewise.
1774 (CRAMFS_MAGIC): Fix typo in comment.
1775 (EXT2_SUPER_MAGIC): Update comment.
1776 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1777
1778 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1779
1780 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1781 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1782 * sysdeps/unix/sysv/linux/arm: Move directory from
1783 ports/sysdeps/unix/sysv/linux/arm.
1784 * README: Update listing for arm-*-linux-gnueabi.
1785
1786 * README: Remove mention of am33.
1787
1788 2014-02-07 Roland McGrath <roland@hack.frob.com>
1789
1790 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1791 than the comma operator, to avoid "rhs of comma has no effect"
1792 compiler warnings.
1793 (__sigfillset, __sigandset, __sigorset): Likewise.
1794 * include/signal.h (__sigemptyset): Likewise.
1795 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1796
1797 2014-02-07 Allan McRae <allan@archlinux.org>
1798
1799 * version.h (RELEASE): Set to "development".
1800 (VERSION): Set to "2.19.90"
1801 * NEWS: Add 2.20 section.
1802
1803 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1804
1805 [BZ #16529]
1806 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1807
1808 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1809
1810 * manual/contrib.texi: Update entry for Carlos O'Donell,
1811 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1812
1813 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1814
1815 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1816
1817 * sysdeps/unix/sysv/linux/kernel-features.h
1818 [__LINUX_KERNEL_VERSION >= 0x020621]
1819 (__ASSUME_PROC_PID_TASK_COMM): Define.
1820
1821 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1822
1823 [BZ #16398]
1824 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1825 conversion when destination buffer does not have enough space.
1826 * libio/tst-ftell-partial-wide.c: New test case.
1827 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1828
1829 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1830 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1831 Leonard and Allan McRae.
1832
1833 2014-02-04 David S. Miller <davem@davemloft.net>
1834
1835 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1836 32-bit.
1837
1838 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1841 file
1842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1843 New file
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1845 file.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1847 file.
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1849 New file.
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1851 file.
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1853 file.
1854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1855 New file.
1856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1857 New file.
1858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1859 New file.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1861 New file.
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1863 New file.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1865 New file.
1866
1867 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868
1869 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1870 * shlib-versions: Likewise.
1871
1872 2014-02-04 Roland McGrath <roland@hack.frob.com>
1873 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1876 (abilist-pattern): New variable, set to %-le.abilist.
1877
1878 * Makerules (abilist-pattern): New variable.
1879 (vpath): Use $(abilist-pattern) in place of %.abilist.
1880 (check-abi-% pattern rule): Likewise.
1881 (check-abi, update-abi): Likewise.
1882
1883 2014-02-04 Eric Wong <normalperson@yhbt.net>
1884
1885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1886
1887 2014-02-04 Eric Wong <normalperson@yhbt.net>
1888
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1890
1891 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1892
1893 * manual/startup.texi: Add next, previous, and top entries for
1894 the `Program Arguments' and `Environment Variables' nodes.
1895
1896 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1897
1898 * manual/macros.texi: Add comments before MTASC-safety macros.
1899
1900 * manual/users.texi: Document MTASC-safety properties.
1901
1902 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1903 pthread_getspecific, pthread_setspecific): Format with
1904 @deftypefun, and add @safety note.
1905 * manual/signal.texi: Move comments that analyze the above
1906 functions to their home place.
1907
1908 2014-02-03 Allan McRae <allan@archlinux.org>
1909
1910 * po/sl.po: Update Slovenian translation from translation project.
1911
1912 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1913
1914 * manual/time.texi (timegm): Add missing blank after @c.
1915 Reported by Joseph Myers <joseph@codesourcery.com>.
1916
1917 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1918
1919 * manual/check-safety.sh: New.
1920 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1921
1922 * manual/terminal.texi: Document MTASC-safety properties.
1923
1924 * manual/filesys.texi: Document MTASC-safety properties.
1925
1926 * manual/errno.texi: Document MTASC-safety properties.
1927
1928 * manual/intro.texi: Document safety identifiers and
1929 conditionals.
1930
1931 * manual/string.texi (wcstok): Fix prototype.
1932 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1933
1934 * manual/time.texi: Document MTASC-safety properties.
1935
1936 * manual/string.texi: Document MTASC-safety properties.
1937
1938 * manual/threads.texi: Document MTASC-safety properties.
1939
1940 * manual/stdio.texi: Document MTASC-safety properties.
1941
1942 * manual/syslog.texi: Document MTASC-safety properties.
1943
1944 * manual/sysinfo.texi: Document MTASC-safety properties.
1945
1946 * manual/startup.texi: Document MTASC-safety properties.
1947
1948 * manual/socket.texi: Document MTASC-safety properties.
1949
1950 * manual/signal.texi: Document MTASC-safety properties.
1951
1952 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1953
1954 * manual/setjmp.texi: Document MTASC-safety properties.
1955
1956 * manual/search.texi: Document MTASC-safety properties.
1957
1958 * manual/resource.texi: Document MTASC-safety properties.
1959
1960 * manual/process.texi: Document MTASC-safety properties.
1961
1962 * manual/platform.texi: Document MTASC-safety properties.
1963
1964 * manual/pipe.texi: Document MTASC-safety properties.
1965
1966 * manual/pattern.texi: Document MTASC-safety properties.
1967
1968 * manual/message.texi: Document MTASC-safety properties.
1969
1970 [BZ #12751]
1971 * manual/memory.texi: Document MTASC-safety properties.
1972
1973 * manual/math.texi: Document MTASC-safety properties.
1974
1975 * manual/locale.texi: Document MTASC-safety properties.
1976
1977 * manual/llio.texi: Document MTASC-safety properties.
1978
1979 * manual/libdl.texi: New.
1980
1981 * manual/lang.texi: Document MTASC-safety properties.
1982
1983 * manual/job.texi: Document MTASC-safety properties.
1984
1985 * manual/getopt.texi: Document MTASC-safety properties.
1986
1987 * manual/ctype.texi: Document MTASC-safety properties.
1988
1989 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1990
1991 [BZ #16046]
1992 * csu/libc-tls.c (static_map): Remove variable.
1993 (__libc_setup_tls): Use main executable's link map for TLS data.
1994 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1995 casing for LM_ID_BASE and GL(dl_nns).
1996 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1997 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1998 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1999 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2000 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2001 member.
2002 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2003 l_phnum members.
2004
2005 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
2006
2007 * manual/debug.texi: Document MTASC-safety properties.
2008
2009 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 [BZ #16510]
2012 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2013 of __x86_64__ when disabling x87 inline functions.
2014
2015 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
2016
2017 * manual/charset.texi: Document MTASC-safety properties.
2018
2019 * manual/crypt.texi: Document MTASC-safety properties.
2020
2021 * manual/conf.texi: Document MTASC-safety properties.
2022
2023 * manual/arith.texi: Document MTASC-safety properties.
2024
2025 * manual/argp.texi: Document MTASC-safety properties.
2026
2027 * manual/macros.texi: Introduce macros to document multi
2028 thread, asynchronous signal and asynchronous cancellation
2029 safety properties.
2030 * manual/intro.texi: Introduce the properties themselves.
2031
2032 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2033
2034 * sysdeps/sh/sh4/Makefile: New file.
2035
2036 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
2037
2038 * math/gen-libm-test.pl ($srcdir): New variable.
2039 ($auto_input): Use it.
2040
2041 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2042
2043 [BZ #16506]
2044 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2045 access beyond array bounds when parsing netgroups file.
2046
2047 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2048 the old buffer before realloc.
2049
2050 2014-01-27 Allan McRae <allan@archlinux.org>
2051
2052 * po/fr.po: Update French translation from translation project.
2053
2054 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2055
2056 * sysdeps/sh/libm-test-ulps: Regenerate.
2057
2058 2014-01-24 David S. Miller <davem@davemloft.net>
2059
2060 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2061
2062 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2063
2064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2065 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2066
2067 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
2069 [BZ #16474]
2070 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2071 string pointers after reallocation.
2072
2073 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2074
2075 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2076 __SH4A__ instead of __SH_FPU_ANY__.
2077
2078 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2079
2080 * sysdeps/sh/fpu_control.h: New file.
2081 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2082 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2083 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2084 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2085 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2086 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2087 * sysdeps/sh/sys/ucontext.h: Remove.
2088 * sysdeps/sh/sys: Remove directory.
2089
2090 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2091
2092 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2093 s390/sys/ucontext.h.
2094 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2095 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2096
2097 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2098
2099 [BZ #15605]
2100 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2101
2102 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103
2104 [BZ#16431]
2105 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2106 Adjust the vDSO correctly for internal calls.
2107 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2108
2109 2014-01-20 Allan McRae <allan@archlinux.org>
2110
2111 * po/ca.po: Update Catalan translation from translation project.
2112
2113 2014-01-16 Mike Frysinger <vapier@gentoo.org>
2114
2115 * sysdeps/s390/sotruss-lib.c: New file.
2116
2117 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118
2119 [BZ#16430]
2120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2121 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2122 local calls issues by not having a PLT stub required for IFUNC calls.
2123 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2124
2125 2014-01-16 Joseph Myers <joseph@codesourcery.com>
2126
2127 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2128 * math/test-fpucw-static.c: Likewise.
2129
2130 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2131
2132 [BZ #16453]
2133 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2134
2135 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2138 implementation for powerpc.
2139
2140 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
2141
2142 [BZ #14782]
2143 * sysdeps/posix/system.c (__libc_system): Do not enable
2144 asynchronous cancellation.
2145
2146 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2147
2148 [BZ #16427]
2149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2150 handling only for numbers special also in the IEEE case.
2151
2152 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2153
2154 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2155
2156 2014-01-11 Allan McRae <allan@archlinux.org>
2157
2158 * po/bg.po: Update Bulgarian translation from translation project.
2159
2160 * po/de.po: Update German translation from translation project.
2161
2162 2014-01-10 Roland McGrath <roland@hack.frob.com>
2163
2164 * sysdeps/generic/gcc-compat.h: New file.
2165
2166 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2167
2168 * benchtests/asin-inputs: Correct slow inputs.
2169 * benchtests/acos-inputs: Likewise.
2170
2171 2014-01-10 Allan McRae <allan@archlinux.org>
2172
2173 * po:sv.po: Update Swedish translation from translation project.
2174
2175 * po/vi.po: Update Vietnamese translation from translation project.
2176
2177 * po/eo.po: Update Esperanto translation from translation project.
2178
2179 * po/cs.po: Update Czech translation from translation project.
2180
2181 * po/nl.po: Update Dutch translation from translation project.
2182
2183 * po/pl.po: Update Polish translation from translation project.
2184
2185 * po/ru.po: Update Russian translation from translation project.
2186
2187 * po/uk.po: Update Ukrainian translation from translation project.
2188
2189 2014-01-08 Brooks Moses <bmoses@google.com>
2190
2191 * elf/dl-load.c: Fix comment typo.
2192
2193 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2194
2195 * po/header.pot: Rename to...
2196 * po/pot.header: ... this.
2197 * po/Makefile: Use pot.header.
2198
2199 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2200 Maxim Kuvyrkov <maxim@kugelworks.com>
2201
2202 [BZ #16394]
2203 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2204 SRC and DEST against LEN.
2205
2206 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2207
2208 [BZ #16414]
2209 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2210 implementation.
2211 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2212
2213 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
2215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2216
2217 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2218
2219 [BZ #16408]
2220 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2221 for large positive arguments.
2222
2223 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2224
2225 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2226
2227 * math/auto-libm-test-in: Mark various tests with
2228 xfail-rounding:ldbl-128ibm.
2229 * math/auto-libm-test-out: Regenerated.
2230
2231 [BZ #16407]
2232 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2233 Increase overflow threshold.
2234
2235 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2236
2237 [BZ #14286]
2238 * stdio-common/vfprintf.c: Check for integer overflow.
2239
2240 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2241
2242 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2243 the first argument and return value of __tls_get_addr_internal.
2244
2245 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2246
2247 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2248 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2249
2250 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2251
2252 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2253 * sysdeps/s390/rtld-global-offsets.sym: New file.
2254 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2255 GLIBC_2.19 symbol.
2256 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2257 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2258 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2259 ... this.
2260 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2261 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2262 ... this.
2263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2264 Regenerate.
2265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2266 Regenerate.
2267 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2268 halfs of GPRs for high_gprs contexts.
2269 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2270 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2271 field.
2272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2273 uc_flags field.
2274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2275 64 bit versions:
2276 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2277 for high GPRs (uc_high_gprs) and for future extensions
2278 (__reserved).
2279 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2280 for future extensions (__reserved).
2281 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2282 64 bit versions:
2283 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2284 SC_HIGHGPRS offset definition.
2285 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2286 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2287
2288 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2289
2290 * Versions.def: Add GLIBC_2.19 for libpthread.
2291 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2292 siglongjmp for libpthread with GLIBC_2.19 symver.
2293 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2294 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2295 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2296 * sysdeps/s390/__longjmp.c: New file.
2297 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2298 * sysdeps/s390/longjmp.c: New file.
2299 * sysdeps/s390/setjmp.S: New file.
2300 * sysdeps/s390/sigjmp.S: New file.
2301 * sysdeps/s390/v1-longjmp.c: New file.
2302 * sysdeps/s390/v1-setjmp.h: New file.
2303 * sysdeps/s390/v1-sigjmp.c: New file.
2304 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2305 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2306 GLIBC_2.19 version.
2307 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2308 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2309 versioned symbols for ____longjmp_chk.
2310 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2311 Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2313 Regenerate.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2315 Regenerate.
2316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2317 Regenerate.
2318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2319 Regenerate.
2320 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2321 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2322 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2323 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2324 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2325 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2326 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2327 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2328 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2329 * sysdeps/s390/rtld-__longjmp.c: New file.
2330 * sysdeps/s390/rtld-setjmp.S: New file.
2331
2332 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #16400]
2335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2336 Return -__logl (x) for small positive arguments without evaluating
2337 a polynomial.
2338
2339 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2340
2341 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2342 Rename to ...
2343 (__ptrace_peeksiginfo_args): ... this.
2344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2346 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2347
2348 2014-01-06 Allan McRae <allan@archlinux.org>
2349
2350 * inet/netinet/in.h: Fix typo in comment.
2351
2352 2014-01-05 Andreas Jaeger <aj@suse.de>
2353
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355
2356 2014-01-05 Allan McRae <allan@archlinux.org>
2357
2358 * po/libc.pot: Regenerated.
2359
2360 * malloc/memusagestat.c: Fix gettext call formatting.
2361
2362 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2363
2364 * nscd/nscd.c: Improve usage() output.
2365
2366 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2367
2368 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2369 * sysdeps/unix/sysv/linux/configure: Regenerated.
2370 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2371 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2372
2373 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2374
2375 [BZ #16390]
2376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2377 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2378
2379 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380
2381 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2382 extra tokens at end of #undef directive.
2383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2386
2387 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2388
2389 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2390
2391 * math/auto-libm-test-in: Mark various tests with
2392 xfail-rounding:ldbl-128ibm.
2393 * math/auto-libm-test-out: Regenerated.
2394
2395 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2396
2397 [BZ #16386]
2398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2399 numbers with subnormal high part when calculating exponent.
2400
2401 [BZ #16385]
2402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2403 fabs.
2404
2405 [BZ #16384]
2406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2407 M_LN2l.
2408 (__ieee754_acoshl): Use __log1pl not __log1p.
2409
2410 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2411
2412 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2413 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2414 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2415 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2416 Convert to GNU style.
2417 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2418 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2419 memalign_check, __malloc_set_state): Likewise.
2420 * malloc/mallocbug.c (main): Likewise.
2421 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2422 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2423 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2424 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2425 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2426 * malloc/malloc.h: Likewise.
2427 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2428 memalignhook, reallochook, mabort): Likewise.
2429 * malloc/mcheck.h: Likewise.
2430 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2431 mmap64, mremap, munmap, dest): Likewise.
2432 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2433 * malloc/morecore.c (__default_morecore): Likewise.
2434 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2435 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2436 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2437 print_and_abort): Likewise.
2438 * malloc/obstack.h: Likewise.
2439 * malloc/set-freeres.c (__libc_freeres): Likewise.
2440 * malloc/tst-mallocstate.c (main): Likewise.
2441 * malloc/tst-mtrace.c (main): Likewise.
2442 * malloc/tst-realloc.c (do_test): Likewise.
2443
2444 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #16366]
2447 * nscd/netgroupcache.c (do_notfound): New function.
2448 (addgetnetgrentX): Use it.
2449
2450 [BZ # 16365]
2451 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2452 NSS_STATUS_NOTFOUND.
2453
2454 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2455
2456 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2458
2459 2014-01-01 Allan McRae <allan@archlinux.org>
2460
2461 * scripts/update-copyrights: Update configure input file suffix.
2462
2463 * NEWS: Update copyright year.
2464 * catgets/gencat.c: Likewise.
2465 * csu/version.c: Likewise.
2466 * debug/catchsegv.sh: Likewise.
2467 * debug/pcprofiledump.c: Likewise.
2468 * debug/xtrace.sh: Likewise.
2469 * elf/ldconfig.c: Likewise.
2470 * elf/ldd.bash.in: Likewise.
2471 * elf/pldd.c: Likewise.
2472 * elf/sotruss.ksh: Likewise.
2473 * elf/sprof.c: Likewise.
2474 * iconv/iconv_prog.c: Likewise.
2475 * iconv/iconvconfig.c: Likewise.
2476 * locale/programs/locale.c: Likewise.
2477 * locale/programs/localedef.c: Likewise.
2478 * login/programs/pt_chown.c: Likewise.
2479 * malloc/memusage.sh: Likewise.
2480 * malloc/memusagestat.c: Likewise.
2481 * malloc/mtrace.pl: Likewise.
2482 * manual/libc.texinfo: Likewise.
2483 * nscd/nscd.c: Likewise.
2484 * nss/getent.c: Likewise.
2485 * nss/makedb.c: Likewise.
2486 * posix/getconf.c: Likewise.
2487 * scripts/test-installation.pl: Likewise.
2488
2489 * All files with FSF copyright notices: Update copyright dates
2490 using scripts/update-copyrights.
2491 * intl/plural.c: Regenerated.
2492 * locale/programs/charmap-kw.h: Likewise.
2493 * locale/programs/locfile-kw.h: Likewise.
2494
2495 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2496
2497 * sysdeps/unix/sysv/linux/configure: Regenerated.
2498 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2499 the linux/fanotify.h header.
2500 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2501 HAVE_LINUX_FANOTIFY_H is defined.
2502
2503 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2504
2505 * benchtests/cos-inputs: New inputs.
2506 * benchtests/sin-inputs: Likewise.
2507
2508 * benchtests/atan-inputs: New inputs. Fix name of multiple
2509 precision fallback inputs.
2510
2511 * benchtests/atanh-inputs: New inputs.
2512 * benchtests/tanh-inputs: Likewise.
2513
2514 * benchtests/acosh-inputs: New inputs.
2515 * benchtests/asinh-inputs: Likewise.
2516
2517 * benchtests/cosh-inputs: New inputs.
2518 * benchtests/sinh-inputs: Likewise.
2519
2520 * benchtests/acos-inputs: Add more inputs.
2521 * benchtests/asin-inputs: Likewise.
2522
2523 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2524
2525 [BZ #16375]
2526 * manual/arith.texi: Fix spelling.
2527 * manual/charset.texi: Likewise.
2528 * manual/errno.texi: Likewise.
2529 * manual/filesys.texi: Likewise.
2530 * manual/lang.texi: Likewise.
2531 * manual/llio.texi: Likewise.
2532 * manual/locale.texi: Likewise.
2533 * manual/message.texi: Likewise.
2534 * manual/resource.texi: Likewise.
2535 * manual/search.texi: Likewise.
2536 * manual/setjmp.texi: Likewise.
2537 * manual/stdio.texi: Likewise.
2538 * manual/string.texi: Likewise.
2539 * manual/sysinfo.texi: Likewise.
2540 * manual/time.texi: Likewise.
2541
2542 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2543
2544 * po/sl.po: New file.
2545
2546 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2547
2548 * .gitignore: Add core/.gdbinit/.gdb_history.
2549
2550 2013-12-27 Allan McRae <allan@archlinux.org>
2551
2552 [BZ #16369]
2553 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2554 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2555
2556 2013-12-24 Brooks Moses <bmoses@google.com>
2557
2558 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2559 all compilers that claim C++98 compliance, not just GCC.
2560 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2561 Likewise.
2562
2563 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2564
2565 * NEWS: Restore accidentally deleted bug-fix entries.
2566
2567 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2568 Ondřej Bílka <neleai@seznam.cz>
2569
2570 [BZ #15073]
2571 * malloc/malloc.c (_int_free): Perform sanity check only if we
2572 have_lock.
2573
2574 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2575
2576 [BZ #12986]
2577 * manual/stdio.texi (String Input Conversions): Clarify that character
2578 classes are not supported.
2579
2580 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2581
2582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2583
2584 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2585
2586 [BZ #16337]
2587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2588 Calculate results for small negative arguments directly rather
2589 than using reflection formula with special underflow handling.
2590
2591 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2592 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2593 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2594 (fchflags): Likewise.
2595 (revoke): Likewise.
2596 (setlogin): Likewise.
2597 (sigaltstack): Likewise.
2598 (wait4): Likewise.
2599 (sigblock): Remove.
2600 (sigsetmask): Likewise.
2601 (wait3): Likewise.
2602 (waitpid): Likewise.
2603 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2604 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2605 file.
2606 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2607 * sysdeps/unix/bsd/Makefile: ... here.
2608 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2609 * sysdeps/unix/bsd/Versions: ... here.
2610 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2611 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2612 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2613 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2614 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2615 * sysdeps/unix/bsd/sigblock.c: ... here.
2616 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2617 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2618 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2619 * sysdeps/unix/bsd/sigvec.c: ... here.
2620 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2621 * sysdeps/unix/bsd/tcdrain.c: ... here.
2622 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2623 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2624 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2625 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2626 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2627 * sysdeps/unix/bsd/wait.c: ... here.
2628 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2629 * sysdeps/unix/bsd/wait3.c: ... here.
2630 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2631 * sysdeps/unix/bsd/waitpid.c: ... here.
2632
2633 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2634
2635 [BZ #16356]
2636 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2637 round-to-nearest for [!USE_AS_EXPM1L].
2638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2639 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2640 more tests of exp and exp10. Expect some exp10 tests to miss
2641 exceptions or fail in directed rounding modes.
2642 * math/auto-libm-test-out: Regenerated.
2643 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2644 (exp10_test_tonearest): New function.
2645 (exp10_towardzero_test_data): New array.
2646 (exp10_test_towardzero): New function.
2647 (exp10_downward_test_data): New array.
2648 (exp10_test_downward): New function.
2649 (exp10_upward_test_data): New array.
2650 (exp10_test_upward): New function.
2651 (main): Call the new functions.
2652 * sysdeps/i386/fpu/libm-test-ulps: Update.
2653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2654
2655 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2656
2657 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2658 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2659 * math/auto-libm-test-out: Regenerated.
2660 * math/libm-test.inc (acosh_test_data): Add more tests.
2661 (atanh_test_data): Likewise.
2662 (ceil_test_data): Likewise.
2663 (copysign_test_data): Likewise.
2664 * sysdeps/i386/fpu/libm-test-ulps: Update.
2665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666
2667 * timezone/checktab.awk: Update from tzcode 2013i.
2668 * timezone/private.h: Likewise.
2669 * timezone/scheck.c: Likewise.
2670 * timezone/tzfile.h: Likewise.
2671 * timezone/tzselect.ksh: Likewise.
2672 * timezone/zdump.c: Likewise.
2673 * timezone/zic.c: Likewise.
2674
2675 * math/auto-libm-test-in: Add tests of cpow.
2676 * math/auto-libm-test-out: Regenerated.
2677 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2678 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2679 mpc_cc_c.
2680 (func_calc_desc): Add mpc_cc_c union field.
2681 (test_functions): Add cpow.
2682 (special_fill_2pi): New function.
2683 (special_real_inputs): Add 2pi.
2684 (calc_generic_results): Handle mpc_cc_c.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2687
2688 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2689 csqrt, ctan and ctanh.
2690 * math/auto-libm-test-out: Regenerated.
2691 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2692 (TEST_COND_x86): Likewise.
2693 (ccos_test_data): Use AUTO_TESTS_c_c.
2694 (ccosh_test_data): Likewise.
2695 (cexp_test_data): Likewise.
2696 (clog_test_data): Likewise.
2697 (csqrt_test_data): Likewise.
2698 (ctan_test_data): Likewise.
2699 (ctan_tonearest_test_data): Likewise.
2700 (ctan_towardzero_test_data): Likewise.
2701 (ctan_downward_test_data): Likewise.
2702 (ctan_upward_test_data): Likewise.
2703 (ctanh_test_data): Likewise.
2704 (ctanh_tonearest_test_data): Likewise.
2705 (ctanh_towardzero_test_data): Likewise.
2706 (ctanh_downward_test_data): Likewise.
2707 (ctanh_upward_test_data): Likewise.
2708 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2709 mpc_c_c.
2710 (func_calc_desc): Add mpc_c_c union field.
2711 (FUNC_mpc_c_c): New macro.
2712 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2713 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2714 ctanh.
2715 (special_fill_min_subnorm_p120): New function.
2716 (special_real_inputs): Add min_subnorm_p120.
2717 (calc_generic_results): Handle mpc_c_c.
2718 * sysdeps/i386/fpu/libm-test-ulps: Update.
2719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2720
2721 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
2723 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2724 do_sin_slow): New functions.
2725 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2726 cslow2, csloww1, csloww2): Use the new functions.
2727
2728 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2729 Use M to change sign of result instead of X. Assume X is
2730 positive.
2731 (csloww1): Likewise.
2732 (__sin): Adjust.
2733 (__cos): Adjust.
2734
2735 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2736 arguments A and DA.
2737 (__sin): Adjust.
2738 (__cos): Likewise.
2739
2740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2741 (__cos): Likewise.
2742 (sloww1): Don't adjust sign of DX.
2743 (csloww1): Likewise.
2744 (sloww2): Use X directly and don't adjust sign of DX.
2745 (csloww2): Likewise.
2746
2747 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2748
2749 * math/auto-libm-test-in: Add tests of cabs and carg.
2750 * math/auto-libm-test-out: Regenerated.
2751 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2752 (carg_test_data): Likewise.
2753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2754 mpc_c_f.
2755 (func_calc_desc): Add mpc_c_f union field.
2756 (test_functions): Add cabs and carg.
2757 (calc_generic_results): Handle mpc_c_f.
2758
2759 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2760 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2761 as a macro and a compat symbol.
2762 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2763 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2764 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2765 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2766 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2767 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2768 not use .hidden.
2769 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2770 Likewise.
2771 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2772 Likewise.
2773 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2774 Likewise.
2775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2776 Likewise.
2777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2778 Likewise.
2779 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2780 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2781 from GLIBC_2.3.2.
2782
2783 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2784
2785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2786
2787 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2788
2789 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2790 trailing whitespace removed.
2791 * scripts/config.guess: Update to version 2013-11-29.
2792 * scripts/config.sub: Update to version 2013-10-01.
2793
2794 * math/auto-libm-test-in: Add tests of sincos.
2795 * math/auto-libm-test-out: Regenerated.
2796 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2797 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2798 mpfr_f_11.
2799 (func_calc_desc): Add mpfr_f_11 union field.
2800 (test_functions): Add sincos.
2801 (calc_generic_results): Handle mpfr_f_11.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804
2805 2013-12-19 Andreas Schwab <schwab@suse.de>
2806
2807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2808 CALL_MCOUNT.
2809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2811 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2812
2813 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2814
2815 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2816 * sysdeps/i386/fpu/libm-test-ulps: Update.
2817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818
2819 [BZ #16293]
2820 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2821 round-to-nearest mode when using frndint.
2822 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2823 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2824 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2825 Likewise.
2826 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2827 sinh test to fail.
2828 * math/auto-libm-test-out: Regenerated.
2829 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2830 (TEST_COND_x86): Likewise.
2831 (expm1_tonearest_test_data): New array.
2832 (expm1_test_tonearest): New function.
2833 (expm1_towardzero_test_data): New array.
2834 (expm1_test_towardzero): New function.
2835 (expm1_downward_test_data): New array.
2836 (expm1_test_downward): New function.
2837 (expm1_upward_test_data): New array.
2838 (expm1_test_upward): New function.
2839 (main): Run the new test functions.
2840 * sysdeps/i386/fpu/libm-test-ulps: Update.
2841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842
2843 * include/features.h: Update comment documenting feature test
2844 macros. Mention _DEFAULT_SOURCE in comment.
2845 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2846 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2847 _BSD_SOURCE and _SVID_SOURCE.
2848 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2849 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2850 !_SVID_SOURCE]: Likewise.
2851 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2852 (__USE_POSIX_IMPLICITLY): Define.
2853 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2854 (_POSIX_SOURCE): Undefine and redefine.
2855 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2856 (_POSIX_C_SOURCE): Likewise.
2857 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2858 (Feature Test Macros): Update documentation of default features.
2859
2860 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2861
2862 * benchtests/Makefile: Add bench-strtok.
2863 * benchtests/bench-strtok.c: New file: strtok benchtest.
2864
2865 2013-12-19 Allan McRae <allan@archlinux.org>
2866
2867 * manual/install.texi: Suppress menu for plain text output.
2868 * INSTALL: Regenerated.
2869
2870 2013-12-18 Brooks Moses <bmoses@google.com>
2871
2872 [BZ #15846]
2873 * misc/getauxval.c: Include errno.h.
2874 (__getauxval): Set errno to ENOENT if the requested type is not
2875 found.
2876 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2877 don't declare with __attribute_const__.
2878 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2879 * manual/startup.texi: Document that getauxval sets errno.
2880
2881 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2882
2883 * math/auto-libm-test-in: Add tests of jn and yn.
2884 * math/auto-libm-test-out: Regenerated.
2885 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2886 (yn_test_data): Likewise.
2887 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2888 mpfr_if_f.
2889 (func_calc_desc): Add mpfr_if_f union field.
2890 (FUNC_mpfr_if_f): New macro.
2891 (test_functions): Add jn and yn.
2892 (calc_generic_results): Assert type of second input for
2893 mpfr_ff_f. Handle mpfr_if_f.
2894 (output_for_one_input_case): Disable all checking for arguments
2895 fitting floating-point types in case of an integer argument.
2896 * sysdeps/i386/fpu/libm-test-ulps: Update.
2897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2900 Don't expect fegetround reference in libm.so.
2901
2902 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2903
2904 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2905 $(config-cflags-nofma).
2906
2907 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2908
2909 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2910 * math/auto-libm-test-out: Regenerated.
2911
2912 [BZ #16338]
2913 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2914 to determine exponent and adjust argument to have exponent of -1.
2915 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2916 log2.
2917 * math/auto-libm-test-out: Regenerated.
2918 * sysdeps/i386/fpu/libm-test-ulps: Update.
2919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920
2921 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2922
2923 * manual/probes.texi: Remove cases when per-thread arenas are
2924 disabled.
2925
2926 2013-12-18 Andreas Schwab <schwab@suse.de>
2927
2928 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2929 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2930 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2931 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2932 * sysdeps/i386/i686/multiarch/Makefile: Update.
2933 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2934
2935 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2936
2937 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2938 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2939
2940 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2941
2942 [BZ #15968]
2943 Support TZ transition times < 00:00:00.
2944 This is needed for version-3 tz-format files; it supports time
2945 stamps past 2037 for America/Godthab (the only entry in the tz
2946 database for which this change is relevant).
2947 * manual/time.texi (TZ Variable): Document transition times
2948 from -167:59:59 through -00:00:01.
2949 * time/tzset.c (tz_rule): Time of day is now signed.
2950 (__tzset_parse_tz): Parse negative time of day.
2951
2952 Document TZ transition times >= 25:00:00.
2953 * manual/time.texi (TZ Variable): Document transition times from
2954 25:00:00 through 167:59:59. These are already supported, and this
2955 support will help with version-3 tz-format files.
2956
2957 * manual/time.texi (TZ Variable): Modernize North America example
2958 to reflect current (i.e., 2007-and-later) daylight saving rules.
2959
2960 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2961
2962 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2963
2964 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2965 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2968 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2969 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2970 * sysdeps/unix/bsd/clock.c: Likewise.
2971 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2972 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2973 * sysdeps/unix/bsd/init-posix.c: Likewise.
2974 * sysdeps/unix/bsd/poll.c: Likewise.
2975 * sysdeps/unix/bsd/ptsname.c: Likewise.
2976 * sysdeps/unix/bsd/seekdir.c: Likewise.
2977 * sysdeps/unix/bsd/setegid.c: Likewise.
2978 * sysdeps/unix/bsd/seteuid.c: Likewise.
2979 * sysdeps/unix/bsd/setgid.c: Likewise.
2980 * sysdeps/unix/bsd/setrgid.c: Likewise.
2981 * sysdeps/unix/bsd/setruid.c: Likewise.
2982 * sysdeps/unix/bsd/setsid.c: Likewise.
2983 * sysdeps/unix/bsd/setuid.c: Likewise.
2984 * sysdeps/unix/bsd/sigaction.c: Likewise.
2985 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2986 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2987 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2988 * sysdeps/unix/bsd/telldir.c: Likewise.
2989 * sysdeps/unix/bsd/times.c: Likewise.
2990 * sysdeps/unix/bsd/usleep.c: Likewise.
2991
2992 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2993 ($(objpfx)libbsd-compat.a): Remove rule.
2994
2995 * include/features.h (__FAVOR_BSD): Do not define.
2996 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2997 features conflicting with POSIX.
2998 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2999 (_BSD_SOURCE): Remove description of not being a subset of other
3000 feature test macros.
3001 * manual/job.texi (getpgrp): Do not document BSD version.
3002 (getpgid): Do not document by reference to BSD getpgrp.
3003 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3004 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3005 * signal/signal.h [__FAVOR_BSD]: Likewise.
3006 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3007 instead of making contents conditional on [__FAVOR_BSD].
3008 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3009
3010 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3011
3012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3013
3014 2013-12-17 Joseph Myers <joseph@codesourcery.com>
3015
3016 [BZ #16314]
3017 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3018 values below 2**-450, not 2**-500.
3019 * math/auto-libm-test-in: Don't allow spurious underflow from
3020 hypot.
3021 * math/auto-libm-test-out: Regenerated.
3022
3023 [BZ #16316]
3024 [BZ #16330]
3025 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3026 values of ha and hb and sort them after adjusting subnormal
3027 arguments.
3028 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3029 Likewise.
3030 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3031 values of ea and eb and sort them after adjusting subnormal
3032 arguments.
3033 * math/auto-libm-test-in: Do not expect some hypot tests of
3034 subnormals to fail. Add more hypot tests.
3035 * math/auto-libm-test-out: Regenerated.
3036
3037 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3038
3039 [BZ #13304]
3040 * sysdeps/sh/s_fma.c: New file.
3041 * sysdeps/sh/s_fmaf.c: New file.
3042 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
3043 version.
3044 * sysdeps/sh/Implies: Add sh/soft-fp.
3045
3046 2013-12-16 Roland McGrath <roland@hack.frob.com>
3047
3048 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
3049 level of indirection to members `objname', `errstring', `malloced'.
3050 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3051 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
3052 it as the __longjmp argument (just pass 1 instead).
3053 (_dl_catch_error): Initialize C with argument pointers and address of
3054 volatile local ERRCODE rather than copying values out of C at return.
3055
3056 2013-12-16 Joseph Myers <joseph@codesourcery.com>
3057
3058 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3059 * math/auto-libm-test-out: Regenerated.
3060 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3061 (hypot_test_data): Likewise.
3062 (pow_test_data): Likewise.
3063 (pow_tonearest_test_data): Likewise.
3064 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3065 mpfr_ff_f.
3066 (func_calc_desc): Add mpfr_ff_f union field.
3067 (FUNC_mpfr_ff_f): New macro.
3068 (test_functions): Add atan2, hypot and pow.
3069 (special_fill_min): New function.
3070 (special_fill_minus_min): Likewise.
3071 (special_fill_min_subnorm): Likewise.
3072 (special_fill_minus_min_subnorm): Likewise.
3073 (special_real_inputs): Add min, -min, min_subnorm and
3074 -min_subnorm.
3075 (calc_generic_results): Handle mpfr_ff_f.
3076 * sysdeps/i386/fpu/libm-test-ulps: Update.
3077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3078
3079 2013-12-16 Will Newton <will.newton@linaro.org>
3080
3081 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3082 (Aligned Memory Blocks): Add documentation for aligned_alloc
3083 and suggest it as an alternative to posix_memalign.
3084 (Hooks for Malloc): Document __memalign_hook is also called
3085 for aligned_alloc. (Summary of Malloc): Add summary for
3086 aligned alloc. Document __memalign_hook is also called
3087 for aligned_alloc.
3088
3089 2013-12-16 Will Newton <will.newton@linaro.org>
3090
3091 * manual/memory.texi (Malloc Examples): Clarify default
3092 alignment documentation. Suggest posix_memalign rather
3093 than memalign or valloc.
3094 (Aligned Memory Blocks): Remove suggestion to use memalign
3095 or valloc. Remove obsolete comment about BSD.
3096 Document memalign errno values and mark the function obsolete.
3097 Document posix_memalign returned error codes. Mark valloc
3098 as obsolete. (Hooks for Malloc): __memalign_hook is also
3099 called for posix_memalign and valloc.
3100 (Summary of Malloc): Add posix_memalign to function summary.
3101 __memalign_hook is also called for posix_memalign and valloc.
3102
3103 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3104
3105 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3106 TAYLOR_SIN.
3107 (__sin): Adjust.
3108 (__cos): Likewise.
3109 (sloww): Use mynumber union. Expand ternary operator into
3110 if-else statements.
3111 (cslow): use mynumber union.
3112
3113 2013-12-16 Allan McRae <allan@archlinux.org>
3114
3115 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3116 * configure: Regenerated.
3117
3118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3119
3120 [BZ #14120]
3121 * configure.ac: Added --enable-maintainer-mode. Check for
3122 autoconf when enabled.
3123 * configure: Regenerated.
3124
3125 * nscd/nscd.service: New file.
3126 * nscd/nscd.tmpfiles: New file.
3127
3128 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
3129
3130 [BZ #12100]
3131 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3132 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3133 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3134 (strstr): Add __strstr_sse2_unaligned ifunc.
3135 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3136 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3137 (strcasestr): Remove __strcasestr_sse42 ifunc.
3138 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3141
3142 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3143
3144 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3145 * sysdeps/sh/bits/fenv.h: ... here.
3146 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3147
3148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3149
3150 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3151
3152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3153
3154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3155 hypotf multiarch implementations.
3156 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3159 multiarch hypot for PPC64.
3160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3163 multiarch hypotf for PPC64.
3164
3165 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3168 modff multiarch implementations.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3172 multiarch modf for PPC64.
3173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3176 multiarch modff for PPC64.
3177
3178 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3181 and logl multiarch implementations.
3182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3185 multiarch logb for PPC64.
3186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3189 multiarch logb for PPC64.
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3193 multiarch logb for PPC64.
3194
3195 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196
3197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3198 isinff multiarch implementation.
3199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3200 file.
3201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3203 multiarch isinf for PPC64.
3204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3205 file.
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3207 multiarch isinff for PPC64.
3208
3209 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210
3211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3212 finitef multiarch implementation.
3213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3214 file.
3215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3217 multiarch finite for PPC64.
3218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3219 file.
3220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3221 multiarch finitef for PPC64.
3222
3223 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3226 lrint multiarch implementation.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3228 file.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3231 multiarch llrint for PPC64.
3232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3233 multiarch lrint for PPC64.
3234
3235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3238 copysignf multiarch implementation.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3240 file.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3242 file.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3244 multiarch copysign for PPC64.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3246 multiarch copysignf for PPC64.
3247
3248 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3251 multiarch implementation.
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3253 file.
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3255 file.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3257 file.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3259 file.
3260 multiarch llround for PPC64.
3261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3262 multiarch trunc for PPC64.
3263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3264 multiarch truncf for PPC64.
3265
3266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3269 multiarch implementation.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3271 file.
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3273 file.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3275 file.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3277 file.
3278 multiarch llround for PPC64.
3279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3280 multiarch round for PPC64.
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3282 multiarch roundf for PPC64.
3283
3284 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3285
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3287 multiarch implementation.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3289 file.
3290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3291 file.
3292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3293 file.
3294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3295 file.
3296 multiarch llround for PPC64.
3297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3298 multiarch floor for PPC64.
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3300 multiarch floorf for PPC64.
3301
3302 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3303
3304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3305 multiarch implementation.
3306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3307 file.
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3309 file.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3311 file.
3312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3313 file.
3314 multiarch llround for PPC64.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3316 multiarch ceil for PPC64.
3317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3318 multiarch ceilf for PPC64.
3319
3320 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3321
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3323 multiarch implementation.
3324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3325 file.
3326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3327 file.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3329 file.
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3331 multiarch llround for PPC64.
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3333 multiarch lround for PPC64.
3334
3335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3338 multiarch implementation.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3342 file.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3346 multiarch isnan for PPC64.
3347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3348 multiarch isnanf for PPC64.
3349
3350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351
3352 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3353 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3354 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3355 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3356 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3358
3359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360
3361 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3365
3366 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3367
3368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3369 multiarch implementations.
3370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Likewise.
3372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3373 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3374 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3375 multiarch stpcpy for PPC64.
3376
3377 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378
3379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3380 multiarch implementations.
3381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3382 (__libc_ifunc_impl_list): Likewise.
3383 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3384 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3385 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3386 multiarch strcpy for PPC64.
3387
3388 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3389
3390 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3391 redefine function name.
3392 (_wordcopy_fwd_dest_aligned): Likewise.
3393 (_wordcopy_bwd_aligned): Likewise.
3394 (_wordcopy_bwd_dest_aligned): Likewise.
3395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3396 multiarch implementations.
3397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3398 (__libc_ifunc_impl_list): Likewise.
3399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3400 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3401 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3402 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3403 multiarch wcscpy for PPC64.
3404
3405 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3406
3407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3408 multiarch implementations.
3409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3410 (__libc_ifunc_impl_list): Likewise.
3411 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3412 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3413 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3414 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3415 multiarch wcscpy for PPC64.
3416
3417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418
3419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3420 multiarch implementations.
3421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3422 (__libc_ifunc_impl_list): Likewise.
3423 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3424 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3425 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3426 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3427 multiarch wcsrchr for PPC64.
3428
3429 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3430
3431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3432 multiarch implementations.
3433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3434 (__libc_ifunc_impl_list): Likewise.
3435 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3436 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3437 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3438 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3439 multiarch wcschr for PPC64.
3440
3441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3442
3443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3444 multiarch implementations.
3445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3446 (__libc_ifunc_impl_list): Likewise.
3447 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3448 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3449 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3450 multiarch strchrnul for PPC64.
3451
3452 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3453
3454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3455 implementations.
3456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3457 (__libc_ifunc_impl_list): Likewise.
3458 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3459 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3460 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3461 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3462 strchr for PPC64.
3463
3464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3465
3466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3467 implementations.
3468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3469 (__libc_ifunc_impl_list): Likewise.
3470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3473 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3474 strncmp for PPC64.
3475
3476 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477
3478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3479 multiarch implementations.
3480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3481 (__libc_ifunc_impl_list): Likewise.
3482 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3483 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3484 strncasecmp for PPC64.
3485 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3486 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3487 multiarch strncasecmp_l for PPC64.
3488
3489 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3490
3491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3492 multiarch implementations.
3493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3494 (__libc_ifunc_impl_list): Likewise.
3495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3497 multiarch strcasecmp for PPC64.
3498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3499 file.
3500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3501 multiarch strcasecmp_l for PPC64.
3502
3503 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3504
3505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3506 implementations.
3507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3508 (__libc_ifunc_impl_list): Likewise.
3509 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3510 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3511 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3512 strnlen for PPC64.
3513
3514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515
3516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3517 implementations.
3518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3519 (__libc_ifunc_impl_list): Likewise.
3520 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3521 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3522 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3523 strlen for PPC64.
3524
3525 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526
3527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3528 implementations.
3529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3530 (__libc_ifunc_impl_list): Likewise.
3531 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3532 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3533 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3534 rawmemrchr for PPC64.
3535
3536 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537
3538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3539 implementation.
3540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3541 (__libc_ifunc_impl_list): Likewise.
3542 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3543 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3544 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3545 memrchr for PPC64.
3546
3547 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3550 implementation.
3551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3552 (__libc_ifunc_impl_list): Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3554 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3555 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3556 memchr for PPC64.
3557
3558 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559
3560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3561 implementation.
3562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3563 (__libc_ifunc_impl_list): Likewise.
3564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3565 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3566 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3567 mempcpy for PPC64.
3568
3569 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570
3571 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3572 avoid cretion of __bzero symbol.
3573 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3574 Likewise.
3575 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3576 Likewise.
3577 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3578 Likewise.
3579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3580 multiarch implementations.
3581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3582 (__libc_ifunc_impl_list): Likewise.
3583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3585 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3586 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3587 bzero for PPC32.
3588 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3589 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3590 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3592 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3593 memset for PPC64.
3594 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3595
3596 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3600 implementations.
3601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3602 (__libc_ifunc_impl_list): Likewise.
3603 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3604 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3605 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3606 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3607 memcmp for PPC64.
3608
3609 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3610
3611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3612 multiarch for POWER/PPC64.
3613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3614 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3615 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3616 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3617 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3618 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3619 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3620 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3621 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3622 memcpy for PPC64.
3623
3624 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3625
3626 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3627 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3628 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3629 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3630 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3631 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3632 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3633 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3634 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3635 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3636 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3637 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3638 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3639 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3640 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3648
3649 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3650
3651 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3652
3653 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3654
3655 * benchtests/Makefile (bench): Add exp2 and log2.
3656 (LDLIBS-bench-exp2): Add -lm.
3657 (LDLIBS-bench-log2): Likewise.
3658 * benchtests/exp2-inputs: New inputs file.
3659 * benchtests/log2-inputs: New inputs file.
3660 * benchtests/log-inputs: Add new inputs.
3661 * benchtests/tan-inputs: Likewise.
3662
3663 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
3665 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3666 definition...
3667 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3668 csloww1, csloww2): ... from here.
3669
3670 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3671 instead of structures.
3672 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3673 (POLYNOMIAL): Likewise.
3674 (TAYLOR_SLOW): Likewise.
3675 (__sin): Likewise.
3676 (__cos): Likewise.
3677 (slow1): Likewise.
3678 (slow2): Likewise.
3679 (sloww): Likewise.
3680 (sloww1); Likewise.
3681 (sloww2): Likewise.
3682 (bsloww1): Likewise.
3683 (bsloww2): Likewise.
3684 (cslow2): Likewise.
3685 (csloww): Likewise.
3686 (csloww1): Likewise.
3687 (csloww2): Likewise.
3688
3689 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3690
3691 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3692 (__malloc_assert, __libc_realloc, __libc_calloc,
3693 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3694 memcpy and memset.
3695 * malloc/hooks.c (realloc_check): Likewise.
3696
3697 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3698
3699 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3700 * malloc/arena.c: Remove PER_THREAD conditional.
3701 [!PER_THREAD]: Remove code.
3702 (ptmalloc_unlock_all2): Likewise.
3703 (ptmalloc_init): Likewise.
3704 (_int_new_arena): Likewise.
3705 (arena_get2): Likewise.
3706 * malloc/hooks.c (__malloc_get_state): Likewise.
3707 (__malloc_set_state): Likewise.
3708 * malloc/malloc.c: Likewise.
3709 (struct malloc_state): Likewise.
3710 (struct malloc_par): Likewise.
3711 (__libc_realloc): Likewise.
3712 (__libc_mallopt): Likewise.
3713
3714 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3715
3716 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3717
3718 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3719
3720 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3721 macro to a function. Check for zero perturb_byte.
3722 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3723
3724 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3725
3726 * malloc/malloc.c: (force_reg): Remove.
3727 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3728 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3729 force_reg by atomic_forced_read.
3730 * malloc/arena.c (ptmalloc_init): Likewise.
3731 * malloc/hooks.c (top_check): Likewise.
3732
3733 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
3735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3736
3737 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3738
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3740
3741 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3742
3743 * math/auto-libm-test-in: Add tests of lgamma.
3744 * math/auto-libm-test-out: Regenerated.
3745 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3746 (M_LOG_2_SQRT_PIl): Likewise.
3747 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3748 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3749 mpfr_f_f1.
3750 (func_calc_desc): Add mpfr_f_f1 union field.
3751 (ARGS1): New macro.
3752 (ARGS2): Likewise.
3753 (ARGS3): Likewise.
3754 (ARGS4): Likewise.
3755 (RET1): Likewise.
3756 (RET2): Likewise.
3757 (CALC): Likewise.
3758 (FUNC): Likewise.
3759 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3760 (test_functions): Add lgamma.
3761 (calc_generic_results): Handle mpfr_f_f1.
3762 * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3764
3765 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3768 __mpn_add_n for PowerPC64/POWER7.
3769 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3770 __mpn_sub_n for PowerPC64/POWER7.
3771
3772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3773
3774 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3775 __mpn_addmul_1 for PowerPC64.
3776 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3777 __mpn_submul_1 for PowerPC64.
3778 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3779 for PowerPC64.
3780 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3781 for PowerPC64.
3782
3783 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3784
3785 [BZ #15089]
3786 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3787
3788 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3789
3790 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3791
3792 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793
3794 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3795 add multiarch folders.
3796 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3797 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3798 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3799 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3800 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3801 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3802 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3803 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3804 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3805 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3806 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3813
3814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815
3816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3817 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3819 New file.
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3821 New file.
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3823 multiarch __ieee754_hypot for PowerPC32.
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3825 New file.
3826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3827 New file.
3828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3829 multiarch __ieee754_hypotf for PowerPC32.
3830
3831 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832
3833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3834 long_double_symbol only if __logbl is defined.
3835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3836 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3838 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3840 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3842 path for implementation.
3843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3846 logb, and logbl multiarch implementations for PowerPC32.
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3848 file.
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3850 file.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3852 multiarch logb for PowerPC32.
3853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3854 file.
3855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3856 file.
3857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3858 multiarch logbf for PowerPC32.
3859 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3861 file.
3862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3863 multiarch logbl implementation for PowerPC32.
3864
3865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3866
3867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3868 and modff multiarch implementations.
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3870 New file.
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3872 New file.
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3874 multiarch modf for PowerPC32.
3875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3876 New file.
3877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3878 New file.
3879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3880 multiarch modff for PowerPC32.
3881
3882 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883
3884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3885 and lrintf multiarch implementations.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3887 New file.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3889 New file.
3890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3891 multiarch lrint for PowerPC32.
3892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3893 file: multiarch lrintf for PowerPC32.
3894
3895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3896
3897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3898 and lroundf multiarch implementations.
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3900 New file.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3902 New file.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3904 New file.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3906 multiarch lround for PowerPC32.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3908 file: multiarch lroundf for PowerPC32.
3909
3910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3911
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3913 copysign and copysignf multiarch implementations.
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3915 New file.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3917 New file.
3918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3919 file: multiarch copysign for PowerPC32.
3920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3921 file: multiarch copysignf for PowerPC32.
3922
3923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3924
3925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3926 and truncf multiarch implementations.
3927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3928 New file.
3929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3930 file.
3931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3932 multiarch trunc for PowerPC32.
3933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3934 New file.
3935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3936 New file.
3937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3938 multiarch truncf for PowerPC32.
3939
3940 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3941
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3943 and roundf multiarch implementations.
3944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3945 New file.
3946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3947 file.
3948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3949 multiarch round for PowerPC32.
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3951 New file.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3953 New file.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3955 multiarch roundf for PowerPC32.
3956
3957 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3958
3959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3960 and floorf multiarch implementations.
3961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3962 New file.
3963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3964 file.
3965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3966 multiarch floor for PowerPC32.
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3968 New file.
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3970 New file.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3972 multiarch floorf for PowerPC32.
3973
3974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975
3976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3977 and ceilf multiarch implementations.
3978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3979 New file.
3980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3981 file.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3983 multiarch ceil for PowerPC32.
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3985 New file.
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3987 file.
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3989 multiarch ceilf for PowerPC32.
3990
3991 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3992
3993 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3994 is defined.
3995 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3996 FINITEF is defined.
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3998 and finitef multiarch implementations.
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4000 New file.
4001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4002 file.
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4004 multiarch finite for PowerPC32.
4005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4006 New file.
4007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4008 file: multiarch finitef for PowerPC32.
4009
4010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011
4012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4013 and isinff multiarch implementations.
4014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4015 file.
4016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4017 file.
4018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4019 multiarch isinf for PowerPC32.
4020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4021 New file.
4022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4023 multiarch isinff for PowerPC32.
4024
4025 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4026
4027 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4028 alias when __isnan is defined.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4030 and isnanf multiarch implementations.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4032 file.
4033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4034 file.
4035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4036 file.
4037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4038 file.
4039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4040 multiarch isnan for PowerPC32.
4041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4042 New file.
4043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4044 New file.
4045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4046 multiarch isnanf for PowerPC32.
4047
4048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4049
4050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4051 and sqrtf multiarch implementations.
4052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4053 file.
4054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4055 file.
4056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4057 multiarch sqrt for PowerPC32.
4058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4059 file.
4060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4061 file.
4062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4063 multiarch sqrtf for PowerPC32.
4064
4065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4066
4067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4068 and llroundf multiarch implementations.
4069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4070 New file.
4071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4072 New file.
4073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4074 New file.
4075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4076 file: multiarch llround for PowerPC32.
4077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4078 file: multiarch llroundf for PowerPC32.
4079
4080 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081
4082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4083 multiarch PowerPC32 fpu implementations.
4084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4085 New file.
4086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4087 New file.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4089 multiarch llrint for PowerPC32.
4090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4091 New file.
4092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4093 New file.
4094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4095 file.
4096
4097 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4100
4101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4102
4103 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4104 file.
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4106 file.
4107 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4108 file.
4109 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4110 multiarch wordcopy for PPC32.
4111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4112 wordcopy objects.
4113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4114 (__libc_ifunc_impl_list): Likewise.
4115 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4116 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4118 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4120 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4121
4122 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4123
4124 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4126 file.
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4128 file.
4129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4130 file.
4131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4132 multiarch wcscpy for PPC32.
4133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4134 multiarch objects.
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4136 (__libc_ifunc_impl_list): Likewise.
4137 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4138 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4139 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4140 sysdeps/powerpc/power6/wcscpy.c.
4141
4142 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143
4144 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4146 file.
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4148 file.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4150 file.
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4152 multiarch wcsrchr for PPC32.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4154 multiarch objects.
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4156 (__libc_ifunc_impl_list): Likewise.
4157 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4158 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4159 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4160 sysdeps/powerpc/power6/wcsrchr.c.
4161
4162 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163
4164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4165 file.
4166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4167 file.
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4170 multiarch wcschr for PPc32.
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4172 multiarch objects.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4174 (__libc_ifunc_impl_list): Likewise.
4175 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4176 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4177 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4178 sysdeps/powerpc/power6/wcschr.c.
4179
4180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4183 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4184 file.
4185 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4186 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4187 file: multiarch strchr for PPC32.
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4189 multiarch objects.
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4191 (__libc_ifunc_impl_list): Likewise.
4192
4193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4194
4195 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4196 name.
4197 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4198 file.
4199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4200 file.
4201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4202 multiarch strchrnul for PPC32.
4203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4204 multiarch objects.
4205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4206 (__libc_ifunc_impl_list): Likewise.
4207
4208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4211 file.
4212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4213 multiarch strncasecmp for PPC32.
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4215 file.
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4217 multiarch strncasecmp_l for PPC32.
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4219 strncasecmp multiarch objects.
4220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4221 (__libc_ifunc_impl_list): Likewise.
4222
4223 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4226 file.
4227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4228 multiarch strncasecmp for PPC32.
4229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4230 New file.
4231 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4232 multiarch strcasecmp_l for PPC32.
4233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4234 multiarch objects.
4235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4236 (__libc_ifunc_impl_list): Likewise.
4237
4238 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4239
4240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4241 file.
4242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4243 file.
4244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4245 multiarch strncmp for PPC32.
4246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4247 multiarch objects.
4248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4249 (__libc_ifunc_impl_list): Likewise.
4250
4251 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4254 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4255 file.
4256 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4257 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4259 multiarch objects.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4261 (__libc_ifunc_impl_list): Likewise.
4262
4263 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4264
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4266 file.
4267 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4268 file.
4269 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4271 multiarch objects.
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4273 (__libc_ifunc_impl_list): Likewise.
4274
4275 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276
4277 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4278 file.
4279 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4280 file.
4281 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4282 multiarch rawmemchr for PPC32.
4283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4284 multiarch objects.
4285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4286 (__libc_ifunc_impl_list): Likewise.
4287
4288 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4289
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4291 file.
4292 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4293 file.
4294 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4295 file: memrchr multiarch for PPC32.
4296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4297 multiarch objects.
4298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4299 (__libc_ifunc_impl_list): Likewise.
4300
4301 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302
4303 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4304 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4305 file.
4306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4308 multiarch memchr for PPC32.
4309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4310 multiarch objects.
4311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4312 (__libc_ifunc_impl_list): Likewise.
4313
4314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315
4316 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4318 file.
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4320 file.
4321 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4322 file: multiarch mempcpy for PPC32.
4323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4324 multiarch objects.
4325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4326 (__libc_ifunc_impl_list): Likewise.
4327
4328 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329
4330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4333 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4334 multiarch bzero for PPC32.
4335 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4336 file.
4337 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4338 file.
4339 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4340 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4341 file: multiarch memset for PPC32.
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4344 memset multiarch objects.
4345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4346 (__libc_ifunc_impl_list): Likewise.
4347
4348 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4349
4350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4351 file.
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4353 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4354 memcmp for PPC32.
4355 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4357 multiarch objects.
4358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4359 (__libc_ifunc_impl_list): Likewise.
4360
4361 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362
4363 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4366 file.
4367 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4368 file.
4369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4370 file.
4371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4372 multiarch memcpy for PPC32.
4373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4374 multiarch objects.
4375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4376 (__libc_ifunc_impl_list): Likewise.
4377
4378 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4379
4380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4381 support multiarch for POWER/PPC32.
4382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4383 Likewise.
4384 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4386 Implies file to make multiarch folder appers before the fpu and
4387 default folder for power4 configuration.
4388
4389 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
4391 * scripts/bench.pl: Append volatile keyword to type.
4392
4393 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4394
4395 * sysdeps/sh/sotruss-lib.c: New file.
4396 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4397
4398 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399
4400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4401
4402 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4403
4404 [BZ #6810]
4405 * math/w_tgamma.c: Include <errno.h>.
4406 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4407 * math/w_tgammaf.c: Include <errno.h>.
4408 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4409 * math/w_tgammal.c: Include <errno.h>.
4410 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4411 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4412 underflow. Add more tgamma tests.
4413 * math/auto-libm-test-out: Regenerated.
4414 * sysdeps/i386/fpu/libm-test-ulps: Update.
4415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4416
4417 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4418 sin, sinh, tan, tanh, tgamma, y0 and y1.
4419 * math/auto-libm-test-out: Regenerated.
4420 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4421 (TEST_COND_x86): Likewise.
4422 (M_E2l): Remove macro.
4423 (M_E3l): Likewise.
4424 (M_2_SQRT_PIl): Likewise.
4425 (M_SQRT_PIl): Likewise.
4426 (M_1_DIV_El): Likewise.
4427 (log_test_data): Use AUTO_TESTS_f_f.
4428 (log10_test_data): Likewise.
4429 (log1p_test_data): Likewise.
4430 (log2_test_data): Likewise.
4431 (sin_test_data): Likewise.
4432 (sin_tonearest_test_data): Likewise.
4433 (sin_towardzero_test_data): Likewise.
4434 (sin_downward_test_data): Likewise.
4435 (sin_upward_test_data): Likewise.
4436 (sinh_test_data): Likewise.
4437 (sinh_tonearest_test_data): Likewise.
4438 (sinh_towardzero_test_data): Likewise.
4439 (sinh_downward_test_data): Likewise.
4440 (sinh_upward_test_data): Likewise.
4441 (tan_test_data): Likewise.
4442 (tan_tonearest_test_data): Likewise.
4443 (tan_towardzero_test_data): Likewise.
4444 (tan_downward_test_data): Likewise.
4445 (tan_upward_test_data): Likewise.
4446 (tanh_test_data): Likewise.
4447 (tgamma_test_data): Likewise.
4448 (y0_test_data): Likewise.
4449 (y1_test_data): Likewise.
4450 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4451 (special_real_inputs): Add pi/4.
4452 * sysdeps/i386/fpu/libm-test-ulps: Update.
4453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4454
4455 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4456
4457 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4458 "longjmp_target" static probes.
4459 (__longjmp): Rename to __longjmp_symbol.
4460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4461 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4462 on which longjmp to generate.
4463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4464 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4465 probe.
4466 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4467 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4469 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4470 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4471 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4473 __longjmp_symbol based on which __longjmp to generate.
4474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4475 probe.
4476 (setjmp): Rename to setjmp_symbol.
4477 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4478 (_setjmp): Rename to _setjmp_symbol.
4479 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4480 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4481 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4482 which setjmp to generate.
4483 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4484 "longjmp_target" static probes.
4485
4486 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
4488 * benchtests/README: Add note about output arguments.
4489 * benchtests/bench-sincos.c: Remove file.
4490 * benchtests/sincos-inputs: New file.
4491 * scripts/bench.pl: Identify output arguments and define
4492 static variables for them.
4493
4494 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4495
4496 [BZ #15941]
4497 * Makefile (INSTALL): Add install-plain.texi as the primary
4498 dependency.
4499 * manual/install-plain.texi: New file.
4500 * manual/install.texi: Include node directive only for
4501 non-plaintext output.
4502
4503 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4504
4505 * stdlib/longlong.h: Update from GCC.
4506
4507 [BZ #6807]
4508 [BZ #15901]
4509 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4510 * math/w_j0f.c (y0f): Likewise.
4511 * math/w_j0l.c (__y0l): Likewise.
4512 * math/w_j1.c (y1): Likewise.
4513 * math/w_j1f.c (y1f): Likewise.
4514 * math/w_j1l.c (__y1l): Likewise
4515 * math/w_jn.c (yn): Likewise.
4516 * math/w_jnf.c (ynf): Likewise.
4517 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4518 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4519 value for Bessel function domain errors outside _SVID_ mode.
4520 Adjust sign of return value for yn (negative integer, 0).
4521 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4522 by zero in return for negative x and set sign appropriately for
4523 negative n.
4524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4526 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4527 expectations in error cases.
4528 (y1_test_data): Likewise.
4529 (yn_test_data): Likewise.
4530 * sysdeps/i386/fpu/libm-test-ulps: Update.
4531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4532
4533 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4534
4535 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4536 "64" to "64-v1". Add "64-v2".
4537 (abi-64-options): Rename to ...
4538 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4539 (abi-64-condition): Rename to ...
4540 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4541 (abi-64-ld-soname): Rename to ...
4542 (abi-64-v1-ld-soname): ... this.
4543 (abi-64-v2-options): Define.
4544 (abi-64-v2-condition): Likewise.
4545 (abi-64-v2-ld-soname): Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4547 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4551
4552 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4553 Alan Modra <amodra@gmail.com>
4554
4555 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4556 New versions for use with the ELFv2 ABI.
4557 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4558 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4559 declaration.
4560 (struct La_ppc64v2_retval): Likewise.
4561 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4562 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4563 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4564 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4565 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4567 Do not save or restore CR.
4568 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4569 (_dl_profile_resolve): Do no save or restore CR. Support extended
4570 return values for ELFv2 ABI. Fix location of FPR return registers.
4571 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4572 updated values for _CALL_ELF == 2.
4573 (La_regs, La_retval, int_retval): Likewise.
4574
4575 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4576
4577 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4578 (FRAME_MIN_SIZE_PARM): Likewise.
4579 (FRAME_BACKCHAIN): Likewise.
4580 (FRAME_CR_SAVE): Likewise.
4581 (FRAME_LR_SAVE): Likewise.
4582 (FRAME_TOC_SAVE): Likewise.
4583 (FRAME_PARM_SAVE): Likewise.
4584 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4585 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4586 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4587 (call_mcount_parm_offset): New macro.
4588 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4589 (PROF): Use symbolic stack frame offsets.
4590 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4592 Redefine in terms of FRAME_MIN_SIZE.
4593 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4594 (_dl_profile_resolve): Likewise. Update comment.
4595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4596 symbols stack frame offsets.
4597 (__sigsetjmp): Likewise.
4598 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4599 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4600 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4601 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4602
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4604 (FRAME_BACKCHAIN): Remove.
4605 (FRAME_CR_SAVE): Likewise.
4606 (FRAME_LR_SAVE): Likewise.
4607 (FRAME_COMPILER_DW): Likewise.
4608 (FRAME_LINKER_DW): Likewise.
4609 (FRAME_TOC_SAVE): Likewise.
4610 (FRAME_PARM_SAVE): Likewise.
4611 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4612 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4613 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4615 (CHECK_SP): Use symbolic stack frame offsets.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4617 zone" instead of caller's parameter save area for temp storage.
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4619 Likewise. Also, use symbolic stack frame offsets.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4621 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4622 our own stack frame instead of the caller's.
4623 (__socket): Use symbolic stack frame offsets.
4624
4625 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4626 Alan Modra <amodra@gmail.com>
4627
4628 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4629 Define.
4630 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4631 PPC64_LOCAL_ENTRY_OFFSET): Define.
4632 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4633 New function.
4634 (elf_machine_fixup_plt): Call it.
4635 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4636 reloc arguments.
4637 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4638 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4639 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4640 r2 before calling target.
4641
4642 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4643 Alan Modra <amodra@gmail.com>
4644
4645 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4646 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4647 versions of macros to support ELFv2 ABI.
4648 (LOCALENTRY): New macro.
4649 (ENTRY, EALIGN): Use it.
4650 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4651 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4652 fall through into ENTRY entry point.
4653 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4654 Only define if _CALL_ELF != 2.
4655
4656 (elf_machine_matches_host): Verify ABI version matches.
4657 (RTLD_START): Use LOCALENTRY.
4658 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4659 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4660 (PLT_ENTRY_WORDS): New macro.
4661 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4662 (elf_machine_runtime_setup): Support ELFv2 ABI.
4663 (elf_machine_fixup_plt): Likewise.
4664 (elf_machine_plt_conflict): Likewise.
4665 (resolve_ifunc): Likewise.
4666 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4668 Likewise.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4670 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4672 (makecontext): Support ELFv2 ABI.
4673 * elf/elf.h (EF_PPC64_ABI): Define.
4674
4675 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4676
4677 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4678 New assembler macro.
4679 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4680 [ASSEMBLER] (ENTRY): ... but instead here ...
4681 [ASSEMBLER] (EALIGN): ... and here.
4682 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4683 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4684 [!ASSEMBLER] (ENTRY_2): Use it.
4685 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4686 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4688 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4689 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4691 Use PPC64_LOAD_FUNCPTR.
4692
4693 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4694
4695 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4696
4697 2013-12-04 Alan Modra <amodra@gmail.com>
4698
4699 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4700 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4701 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4702 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4703
4704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4705 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4706 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4707 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4708 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4709 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4710
4711 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4712
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4714 (__makecontext): Fix incorrect CFI when backtracing out of
4715 context created via makecontext.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4717 (__setcontext): Fix incorrect CFI during switch to new context.
4718 (__novec_setcontext): Likewise.
4719
4720 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4721
4722 [BZ #4772]
4723 * time/strptime_l.c (__strptime_internal): Allow modifiers
4724 in strptime.
4725 * time/tst-strptime.c (day_tests): Add testcase.
4726
4727
4728 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4729
4730 * scripts/bench.pl: Skip over blank lines.
4731
4732 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4733
4734 [BZ #926]
4735 * manual/time.texi (Calendar Time): Clarify what timezone functions
4736 use.
4737
4738 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4739
4740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4741
4742 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4743
4744 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4745 implementation.
4746 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4747 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4748 * debug/memset_chk.c (__memset_chk): Likewise.
4749 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4750 * debug/strncpy_chk.c: Likewise.
4751
4752 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4753
4754 [BZ #15268]
4755 [BZ #15425]
4756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4757 (__ieee754_exp): For possibly underflowing results, check size of
4758 result and force underflow exception if required.
4759 * math/auto-libm-test-in: Add more tests of exp.
4760 * math/auto-libm-test-out: Regenerated.
4761 * sysdeps/i386/fpu/libm-test-ulps: Update.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
4764 [BZ #16283]
4765 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4766 * math/w_exp2f.c (__exp2f): Likewise.
4767 * math/w_exp2l.c (__exp2l): Likewise.
4768 * math/auto-libm-test-in: Do not allow missing errno on exp2
4769 underflow.
4770 * math/auto-libm-test-out: Regenerated.
4771
4772 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4773
4774 [BZ #16274]
4775 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4776 handle filename validation.
4777 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4778 (do_open): Delete.
4779
4780 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4781
4782 [BZ #6786]
4783 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4784 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4785 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4786 <float.h>.
4787 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4789 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4791 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4793 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4794 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4795 Add more erfc tests.
4796 * math/auto-libm-test-out: Regenerated.
4797 * sysdeps/i386/fpu/libm-test-ulps: Update.
4798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4799
4800 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4801 exp2, expm1, j0 and j1.
4802 * math/auto-libm-test-out: Regenerated.
4803 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4804 (erfc_test_data): Likewise.
4805 (exp_test_data): Likewise.
4806 (exp_tonearest_test_data): Likewise.
4807 (exp_towardzero_test_data): Likewise.
4808 (exp_downward_test_data): Likewise.
4809 (exp_upward_test_data): Likewise.
4810 (exp10_test_data): Likewise.
4811 (exp2_test_data): Likewise.
4812 (expm1_test_data): Likewise.
4813 (j0_test_data): Likewise.
4814 (j1_test_data): Likewise.
4815 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4816 (input_flag_type): Add flag_xfail_rounding.
4817 (input_flags): Add xfail-rounding.
4818 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4819 (output_for_one_input_case): Handle flag_xfail_rounding.
4820 * sysdeps/i386/fpu/libm-test-ulps: Update.
4821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4822
4823 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4824
4825 [BZ #16289]
4826 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4827 division by 0.
4828
4829 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4830
4831 [BZ #16195]
4832 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4833 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4834 (STAP_PROBE0): New macro.
4835 (STAP_PROBE1): Likewise.
4836 (STAP_PROBE2): Likewise.
4837 (STAP_PROBE3): Likewise.
4838 (STAP_PROBE4): Likewise.
4839
4840 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4841
4842 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4843
4844 2013-12-02 Steve Ellcey <sellcey@mips.com>
4845
4846 * benchtests/Makefile (bench): Add sqrt.
4847 (LDLIBS-bench-sqrt): New.
4848 * benchtests/sqrt-input: New.
4849
4850 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4851
4852 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4853 (GAIH_EAI): Likewise.
4854 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4855 (gaih_inet): Likewise.
4856 (getaddrinfo): Don't use GAIH_EAI.
4857
4858 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4859 (struct gaih): Remove definition.
4860
4861 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
4863 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4864 Use HERRNOP directly.
4865
4866 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867
4868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4869
4870 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4871
4872 * math/gen-auto-libm-tests.c (test_functions): Add more
4873 single-argument functions.
4874 (special_fill_pi_2): New function.
4875 (special_fill_minus_pi_2): Likewise.
4876 (special_fill_pi_6): Likewise.
4877 (special_fill_minus_pi_6): Likewise.
4878 (special_fill_pi_3): Likewise.
4879 (special_fill_2pi_3): Likewise.
4880 (special_fill_e): Likewise.
4881 (special_fill_1_e): Likewise.
4882 (special_fill_e_minus_1): Likewise.
4883 (special_real_inputs): Add more special inputs.
4884 (output_for_one_input_case): Do not require ERANGE on underflow to
4885 zero if round-to-nearest result does not underflow to zero, unless
4886 exact results required.
4887 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4888 atan, atanh, cbrt, cos and cosh.
4889 * math/auto-libm-test-out: Regenerated.
4890 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4891 (acos_tonearest_test_data): Likewise.
4892 (acos_towardzero_test_data): Likewise.
4893 (acos_downward_test_data): Likewise.
4894 (acos_upward_test_data): Likewise.
4895 (acosh_test_data): Likewise.
4896 (asin_test_data): Likewise.
4897 (asin_tonearest_test_data): Likewise.
4898 (asin_towardzero_test_data): Likewise.
4899 (asin_upward_test_data): Likewise.
4900 (asinh_test_data): Likewise.
4901 (atan_test_data): Likewise.
4902 (atanh_test_data): Likewise.
4903 (cbrt_test_data): Likewise.
4904 (cos_test_data): Likewise.
4905 (cos_tonearest_test_data): Likewise.
4906 (cos_towardzero_test_data): Likewise.
4907 (cos_downward_test_data): Likewise.
4908 (cos_upward_test_data): Likewise.
4909 (cosh_test_data): Likewise.
4910 (cosh_tonearest_test_data): Likewise.
4911 (cosh_towardzero_test_data): Likewise.
4912 (cosh_downward_test_data): Likewise.
4913 (cosh_upward_test_data): Likewise.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916
4917 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4918
4919 [BZ #6787]
4920 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4921 * math/w_exp10f.c (__exp10f): Likewise.
4922 * math/w_exp10l.c (__exp10l): Likewise.
4923 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4924 errno settings in existing tests.
4925
4926 [BZ #14032]
4927 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4928 precision control set to double precision.
4929 * sysdeps/i386/fpu/w_sqrt.c: New file.
4930 * math/auto-libm-test-in: Add more tests.
4931 * math/auto-libm-test-out: Update.
4932
4933 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4934 (sqrt_test_tonearest): New function.
4935 (sqrt_towardzero_test_data): New variable.
4936 (sqrt_test_towardzero): New function.
4937 (sqrt_downward_test_data): New variable.
4938 (sqrt_test_downward): New function.
4939 (sqrt_upward_test_data): New variable.
4940 (sqrt_test_upward): New function.
4941 (main): Call the new functions.
4942
4943 * math/gen-auto-libm-tests.c: New file.
4944 * math/auto-libm-test-in: Likewise.
4945 * math/auto-libm-test-out: New generated file.
4946 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4947 variables.
4948 (%beautify): Add generated representations of zero.
4949 (top level): Set $auto_input and call parse_auto_input.
4950 (beautify): Remove trailing "f" from hex float constants.
4951 (parse_args): Handle XFAIL_TEST.
4952 (convert_condition): New function.
4953 (or_value): Likewise.
4954 (or_cond_value): Likewise.
4955 (generate_testfile): Handle AUTO_TESTS_* lines.
4956 (parse_auto_input): New function.
4957 * math/libm-test.inc (XFAIL_TEST): New macro.
4958 (ERRNO_UNCHANGED): Update value.
4959 (ERRNO_EDOM): Likewise.
4960 (ERRNO_ERANGE): Likewise.
4961 (IGNORE_RESULT): Likewise.
4962 (TEST_COND_flt_32): New macro.
4963 (TEST_COND_dbl_64): Likewise.
4964 (TEST_COND_ldbl_96_intel): Likewise.
4965 (TEST_COND_ldbl_96_m68k): Likewise.
4966 (TEST_COND_ldbl_128): Likewise.
4967 (TEST_COND_ldbl_128ibm): Likewise.
4968 (TEST_COND_long32): Likewise.
4969 (TEST_COND_long64): Likewise.
4970 (TEST_COND_before_rounding): Likewise.
4971 (TEST_COND_after_rounding): Likewise.
4972 (enable_test): Handle XFAIL_TEST flag.
4973 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4974 with finite results.
4975 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4976 auto-libm-test-out.
4977
4978 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4979 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4980
4981 [BZ #16214]
4982 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4983 __tls_get_addr_internal instead of __tls_get_offset in order to
4984 avoid GOT pointer dependency. Make rtld export
4985 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4986 __tls_get_addr since we are a __tls_get_offset platform.
4987 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4988 GOT pointer being set up before.
4989 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4990
4991 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4992
4993 * manual/math.texi (Errors in Math Functions): Document accuracy
4994 goals.
4995
4996 [BZ #15004]
4997 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4998 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5001 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5013
5014 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5015 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5016 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5017 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5018 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5019 Likewise.
5020 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5021 Likewise.
5022 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5023 Likewise.
5024 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5025 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5026 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5027 atomic-feupdateenv and flt-rounds.
5028 * sysdeps/powerpc/nofpu/Versions (libc): Add
5029 __atomic_feholdexcept, __atomic_feclearexcept,
5030 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5031 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5032 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5033 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5034 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5035 here.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5037 Update.
5038
5039 * manual/arith.texi (FP Exceptions): Document that exceptions may
5040 not be raised when matherr is used.
5041 (Math Error Reporting): Document overflow in directed rounding
5042 modes. Document that errno may not be set when finite values are
5043 returned on overflow. Document intent to set errno on underflow
5044 only for underflow to zero.
5045
5046 [BZ #16271]
5047 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5048 round-to-nearest then adjust result for other rounding modes.
5049 * include/fenv.h (fegetround): Use libm_hidden_proto.
5050 * math/fegetround.c (fegetround): Use libm_hidden_def.
5051 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5052 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5053 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5055 Likewise.
5056 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5057 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5058 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5059 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5060
5061 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 [BZ #16077]
5064 * nss/Versions (libnss_files): Add
5065 _nss_files_gethostbyname3_r.
5066 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5067 New function.
5068 (HOST_DB_LOOKUP): Remove macro.
5069 (_nss_files_gethostbyname_r): Implement function without the
5070 HOST_DB_LOOKUP macro.
5071 (_nss_files_gethostbyname2_r): Likewise.
5072
5073 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
5074
5075 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5076
5077 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
5078
5079 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5080 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5081 warning.
5082
5083 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084
5085 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5086 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5087 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5088 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5089 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5090 __fe_nomask_env_priv and attribute_hidden.
5091 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5092 (libc_feupdateenv_test_ppc): Likewise.
5093 (libc_feresetround_ppc): Likewise.
5094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5095 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5096 compat_symbol macro.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5098 (__fe_nomask_env): Likewise.
5099 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5100
5101 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5102
5103 * string/Makefile: Remove ifunc tests.
5104 * string/test-string.h: Define TEST_IFUNC.
5105 * string/test-bcopy-ifunc.c: Remove.
5106 * string/test-bzero-ifunc.c: Likewise.
5107 * string/test-memccpy-ifunc.c: Likewise.
5108 * string/test-memchr-ifunc.c: Likewise.
5109 * string/test-memcmp-ifunc.c: Likewise.
5110 * string/test-memcpy-ifunc.c: Likewise.
5111 * string/test-memmem-ifunc.c: Likewise.
5112 * string/test-memmove-ifunc.c: Likewise.
5113 * string/test-mempcpy-ifunc.c: Likewise.
5114 * string/test-memrchr-ifunc.c: Likewise.
5115 * string/test-memset-ifunc.c: Likewise.
5116 * string/test-rawmemchr-ifunc.c: Likewise.
5117 * string/test-stpcpy-ifunc.c: Likewise.
5118 * string/test-stpncpy-ifunc.c: Likewise.
5119 * string/test-strcasecmp-ifunc.c: Likewise.
5120 * string/test-strcasestr-ifunc.c: Likewise.
5121 * string/test-strcat-ifunc.c: Likewise.
5122 * string/test-strchr-ifunc.c: Likewise.
5123 * string/test-strchrnul-ifunc.c: Likewise.
5124 * string/test-strcmp-ifunc.c: Likewise.
5125 * string/test-strcpy-ifunc.c: Likewise.
5126 * string/test-strcspn-ifunc.c: Likewise.
5127 * string/test-strlen-ifunc.c: Likewise.
5128 * string/test-strncasecmp-ifunc.c: Likewise.
5129 * string/test-strncat-ifunc.c: Likewise.
5130 * string/test-strncmp-ifunc.c: Likewise.
5131 * string/test-strncpy-ifunc.c: Likewise.
5132 * string/test-strnlen-ifunc.c: Likewise.
5133 * string/test-strpbrk-ifunc.c: Likewise.
5134 * string/test-strrchr-ifunc.c: Likewise.
5135 * string/test-strspn-ifunc.c: Likewise.
5136 * string/test-strstr-ifunc.c: Likewise.
5137
5138 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5139
5140 * benchtests/Makefile: Remove ifunc tests.
5141 * benchtests/bench-string.h: Define TEST_IFUNC.
5142 * benchtests/bench-bcopy-ifunc.c: Remove.
5143 * benchtests/bench-bzero-ifunc.c: Likewise.
5144 * benchtests/bench-memccpy-ifunc.c: Likewise.
5145 * benchtests/bench-memchr-ifunc.c: Likewise.
5146 * benchtests/bench-memcmp-ifunc.c: Likewise.
5147 * benchtests/bench-memcpy-ifunc.c: Likewise.
5148 * benchtests/bench-memmem-ifunc.c: Likewise.
5149 * benchtests/bench-memmove-ifunc.c: Likewise.
5150 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5151 * benchtests/bench-memrchr-ifunc.c: Likewise.
5152 * benchtests/bench-memset-ifunc.c: Likewise.
5153 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5154 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5155 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5156 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5157 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5158 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5159 * benchtests/bench-strcat-ifunc.c: Likewise.
5160 * benchtests/bench-strchr-ifunc.c: Likewise.
5161 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5162 * benchtests/bench-strcmp-ifunc.c: Likewise.
5163 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5164 * benchtests/bench-strcpy-ifunc.c: Likewise.
5165 * benchtests/bench-strcspn-ifunc.c: Likewise.
5166 * benchtests/bench-strlen-ifunc.c: Likewise.
5167 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5168 * benchtests/bench-strncat-ifunc.c: Likewise.
5169 * benchtests/bench-strncmp-ifunc.c: Likewise.
5170 * benchtests/bench-strncpy-ifunc.c: Likewise.
5171 * benchtests/bench-strnlen-ifunc.c: Likewise.
5172 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5173 * benchtests/bench-strrchr-ifunc.c: Likewise.
5174 * benchtests/bench-strsep-ifunc.c: Likewise.
5175 * benchtests/bench-strspn-ifunc.c: Likewise.
5176 * benchtests/bench-strstr-ifunc.c: Likewise.
5177
5178 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5179
5180 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5181
5182 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5183
5184 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5185 * rt/aio.h: Likewise.
5186 * sysdeps/gnu/bits/utmp.h: Likewise.
5187 * sysdeps/gnu/bits/utmpx.h: Likewise.
5188 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5189 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5190 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5191 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5192 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5193 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5194 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5195 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5196 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5198 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5199 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5204 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5205 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5206 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5207 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5208 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5209 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5210 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5211 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5214 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5215 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5217 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5218 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5220 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5221 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5223 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5224 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5225 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5226 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5227 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5228 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5229 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5230
5231 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5232
5233 [BZ #16245]
5234 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5235 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5236
5237 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5238
5239 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5240 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5241 Likewise.
5242
5243 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5244
5245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5246 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5247 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5248 (__fesetround): Remove define.
5249 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5250 rounding and exceptions handling.
5251 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5252 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5253 (__fe_nomask_env): Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5255 __fegetround instead of fegetround.
5256 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5258
5259 2013-11-21 Roland McGrath <roland@hack.frob.com>
5260
5261 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5262 it's there.
5263
5264 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5265
5266 2013-11-21 Meador Inge <meadori@codesourcery.com>
5267
5268 [BZ #11157]
5269 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5270 (encrypt_r): Likewise.
5271 * malloc/obstack.h (obstack_free): Likewise.
5272 * posix/unistd.h (encrypt): Likewise.
5273
5274 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5275
5276 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5277 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5278 DL_CALL_DT_FINI() that call the functions directly.
5279 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5280 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5281 * elf/dl-fini.c: Likewise.
5282
5283 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5284
5285 * malloc/hooks.c (memalign_check): Add alignment rounding.
5286 * malloc/malloc.c (_mid_memalign): New function.
5287 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5288 Implement by calling _mid_memalign.
5289 * manual/probes.texi (Memory Allocation Probes): Remove
5290 memory_valloc_retry and memory_pvalloc_retry.
5291
5292 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
5294 * locale/programs/locarchive.c (open_archive): Add const
5295 qualifier to ARCHIVEFNAME and copy default fname to
5296 DEFAULT_FNAME.
5297
5298 [BZ #15601]
5299 * libio/tst-widetext.input: Rename Oriya to Odia.
5300 * locale/iso-639.def: Likewise.
5301
5302 * manual/probes.texi (Mathematical Function Probes): Add
5303 documentation for sin, cos, asin and acos probes.
5304 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5305 (__sin32): Add slowasin probe.
5306 (__cos32): Add slowacos probe.
5307 (__mpsin): Add slowsin probe.
5308 (__mpcos): Add slowcos probe.
5309
5310 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5311
5312 [BZ #15483]
5313 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5314 thread-local __sim_exceptions_thread and global
5315 __sim_exceptions_global.
5316 (__sim_disabled_exceptions): Change to thread-local
5317 __sim_disabled_exceptions_thread and global
5318 __sim_disabled_exceptions_global.
5319 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5320 and global __sim_round_mode_global.
5321 (__simulate_exceptions): Use thread-local floating-point state and
5322 set global state from it as needed.
5323 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5324 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5325 __sim_round_mode_thread.
5326 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5327 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5328 and global __sim_exceptions_global.
5329 (__sim_disabled_exceptions): Change to thread-local
5330 __sim_disabled_exceptions_thread and global
5331 __sim_disabled_exceptions_global.
5332 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5333 and global __sim_round_mode_global.
5334 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5335 (SIM_SET_GLOBAL): Likewise.
5336 * sysdeps/powerpc/soft-fp/sfp-machine.h
5337 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5338 __sim_round_mode_thread.
5339 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5340 __sim_disabled_exceptions_thread.
5341 (__sim_exceptions): Change to __sim_exceptions_thread.
5342 (__sim_disabled_exceptions): Change to
5343 __sim_disabled_exceptions_thread.
5344 (__sim_round_mode): Change to __sim_round_mode_thread.
5345 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5346 thread-local floating-point state and set global state from it as
5347 needed.
5348 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5349 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5350 (__sim_disabled_exceptions): Remove extern declaration.
5351 (feenableexcept): Use thread-local floating-point state and set
5352 global state from it as needed.
5353 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5354 extern declaration.
5355 (__sim_disabled_exceptions): Likewise.
5356 (__sim_round_mode): Likewise.
5357 (__fegetenv): Use thread-local floating-point state.
5358 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5359 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5360 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5361 floating-point state and set global state from it as needed.
5362 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5363 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5364 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5365 Likewise.
5366 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5367 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5368 Likewise.
5369 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5370 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5371 Use __sim_round_mode_thread.
5372 * math/test-fenv-tls.c: New file.
5373 * math/Makefile (tests): Add test-fenv-tls.
5374 ($(objpfx)test-fenv-tls): Depend on
5375 $(common-objpfx)nptl/libpthread.so.
5376
5377 2013-11-19 Andreas Schwab <schwab@suse.de>
5378
5379 * locale/programs/locale.c (show_info): Decode wordarray elements.
5380 * locale/categories.def (LC_MONETARY): Add element for
5381 _NL_MONETARY_CRNCYSTR.
5382 * locale/C-monetary.c (conversion_rate): New variable.
5383 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5384 element.
5385
5386 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5387
5388 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5389 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5390
5391 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5392
5393 * elf/Makefile (tst-auxv): New test.
5394 * elf/tst-auxv.c: New
5395 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5396
5397 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5398
5399 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5400 (hidden_proto): Caller changed.
5401 (hidden_tls_proto): New macro.
5402 (libc_hidden_tls_proto): Likewise.
5403 (rtld_hidden_tls_proto): Likewise.
5404 (libm_hidden_tls_proto): Likewise.
5405 (libresolv_hidden_tls_proto): Likewise.
5406 (librt_hidden_tls_proto): Likewise.
5407 (libdl_hidden_tls_proto): Likewise.
5408 (libnss_files_hidden_tls_proto): Likewise.
5409 (libnsl_hidden_tls_proto): Likewise.
5410 (libnss_nisplus_hidden_tls_proto): Likewise.
5411 (libutil_hidden_tls_proto): Likewise.
5412
5413 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5414
5415 [BZ #10253]
5416 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5417 (decompose_rpath): Defer expansion to fillin_rpath.
5418 (_dl_init_paths): Pass linkmap to fillin_rpath.
5419
5420 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5421
5422 * benchtests/Makefile: Add strsep.
5423 * benchtests/bench-strsep.c: New file: strsep benchtest.
5424 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5425
5426 2013-11-18 Andreas Schwab <schwab@suse.de>
5427
5428 * locale/programs/locale.c (show_info) [case byte]: Check for
5429 '\377' instead of '\177'.
5430 * locale/C-monetary.c (not_available): Always use "\377".
5431 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5432 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5433 detect unavailable sign_posn locale elements.
5434 * locale/localeconv.c (__localeconv): For grouping and
5435 mon_grouping handle "\177" and "\377" like no grouping.
5436 (INT_ELEM): New macro. Use it to set all numeric members.
5437 * locale/programs/ld-monetary.c (monetary_read)
5438 <tok_mon_grouping>: Normalize single -1 to the empty string.
5439 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5440 Likewise.
5441
5442 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5443
5444 [BZ #16055]
5445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5446 when we match (nil).
5447 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5448
5449 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5450
5451 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5452 (NO_TEST_INLINE): Update value.
5453 (ERRNO_UNCHANGED): Likewise.
5454 (ERRNO_EDOM): Likewise.
5455 (ERRNO_ERANGE): Likewise.
5456 (IGNORE_RESULT): Likewise.
5457 (check_float_internal): Check signs of NaN results if
5458 TEST_NAN_SIGN used.
5459 (check_complex): Pass TEST_NAN_SIGN flag through to second
5460 check_float_internal call.
5461 (copysign_test_data): Add tests with quiet NaNs as second
5462 argument. Use TEST_NAN_SIGN.
5463 (fabs_test_data): Add test of negative quiet NaN argument. Use
5464 TEST_NAN_SIGN.
5465 (signbit_test_data): Add tests of quiet NaN argument.
5466 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5467
5468 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5469 $ignore_result.
5470 (parse_args): Handle function results specified as IGNORE.
5471 * math/libm-test.inc (IGNORE_RESULT): New macro.
5472 (check_float_internal): Do not check numerical result if flag
5473 IGNORE_RESULT set.
5474 (check_complex): Pass through IGNORE_RESULT to second
5475 check_float_internal call.
5476 (check_int): Do not check numerical result if flag IGNORE_RESULT
5477 set.
5478 (check_long): Likewise.
5479 (check_bool): Likewise.
5480 (check_longlong): Likewise.
5481 (lrint_test_data): Add tests of infinite and NaN arguments.
5482 (lrint_tonearest_test_data): Likewise.
5483 (lrint_towardzero_test_data): Likewise.
5484 (lrint_downward_test_data): Likewise.
5485 (lrint_upward_test_data): Likewise.
5486 (llrint_test_data): Likewise.
5487 (llrint_tonearest_test_data): Likewise.
5488 (llrint_towardzero_test_data): Likewise.
5489 (llrint_downward_test_data): Likewise.
5490 (llrint_upward_test_data): Likewise.
5491 (lround_test_data): Likewise.
5492 (llround_test_data): Likewise.
5493
5494 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5495 (ERRNO_UNCHANGED): Update value.
5496 (ERRNO_EDOM): Likewise.
5497 (ERRNO_ERANGE): Likewise.
5498 (NO_TEST_INLINE_FLOAT): New macro.
5499 (NO_TEST_INLINE_DOUBLE): Likewise.
5500 (enable_test): New function.
5501 (RUN_TEST_f_f): Check enable_test before running test.
5502 (RUN_TEST_2_f): Likewise.
5503 (RUN_TEST_fff_f): Likewise.
5504 (RUN_TEST_c_f): Likewise.
5505 (RUN_TEST_f_f1): Likewise.
5506 (RUN_TEST_fF_f1): Likewise.
5507 (RUN_TEST_fI_f1): Likewise.
5508 (RUN_TEST_ffI_f1): Likewise.
5509 (RUN_TEST_c_c): Likewise.
5510 (RUN_TEST_cc_c): Likewise.
5511 (RUN_TEST_f_i): Likewise.
5512 (RUN_TEST_f_i_tg): Likewise.
5513 (RUN_TEST_ff_i_tg): Likewise.
5514 (RUN_TEST_f_b): Likewise.
5515 (RUN_TEST_f_b_tg): Likewise.
5516 (RUN_TEST_f_l): Likewise.
5517 (RUN_TEST_f_L): Likewise.
5518 (RUN_TEST_fFF_11): Likewise.
5519 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5520 conditionals.
5521 (cosh_test_data): Likewise.
5522 (exp_test_data): Likewise.
5523 (expm1_test_data): Likewise.
5524 (hypot_test_data): Likewise.
5525 (pow_test_data): Likewise.
5526 (sinh_test_data): Likewise.
5527 (tanh_test_data): Likewise.
5528 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5529 flags argument.
5530
5531 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5532 tests with quiet NaN input and output.
5533 (acosh_test_data): Likewise.
5534 (asin_test_data): Likewise.
5535 (asinh_test_data): Likewise.
5536 (atan_test_data): Likewise.
5537 (atanh_test_data): Likewise.
5538 (atan2_test_data): Likewise.
5539 (cbrt_test_data): Likewise.
5540 (cos_test_data): Likewise.
5541 (cosh_test_data): Likewise.
5542 (erf_test_data): Likewise.
5543 (erfc_test_data): Likewise.
5544 (exp_test_data): Likewise.
5545 (exp10_test_data): Likewise.
5546 (exp2_test_data): Likewise.
5547 (expm1_test_data): Likewise.
5548 (hypot_test_data): Likewise.
5549 (j0_test_data): Likewise.
5550 (j1_test_data): Likewise.
5551 (jn_test_data): Likewise.
5552 (lgamma_test_data): Likewise.
5553 (log_test_data): Likewise.
5554 (log10_test_data): Likewise.
5555 (log1p_test_data): Likewise.
5556 (log2_test_data): Likewise.
5557 (pow_test_data): Likewise.
5558 (scalb_test_data): Likewise.
5559 (sin_test_data): Likewise.
5560 (sincos_test_data): Likewise.
5561 (sinh_test_data): Likewise.
5562 (tan_test_data): Likewise.
5563 (tanh_test_data): Likewise.
5564 (tgamma_test_data): Likewise.
5565 (y0_test_data): Likewise.
5566 (y1_test_data): Likewise.
5567 (yn_test_data): Likewise.
5568
5569 [BZ #16167]
5570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5571 argument being NaN and avoid computations with second argument in
5572 that case.
5573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5574 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5575 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5576
5577 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5578
5579 * locale/iso-639.def: Add Chitwani Tharu (the).
5580
5581 2013-11-14 Andreas Schwab <schwab@suse.de>
5582
5583 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5584 word instead of empty string.
5585
5586 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5589 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5591 (__fe_nomask_env): Likewise.
5592
5593 2013-11-13 Steve Ellcey <sellcey@mips.com>
5594
5595 * benchtests/bench-timing.h: Include time.h.
5596
5597 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5598
5599 [BZ #15997]
5600 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5601 to 3.4.0 for x32.
5602 * sysdeps/unix/sysv/linux/configure: Regenerated.
5603
5604 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5605
5606 [BZ #16151]
5607 * stdlib/strtod_l.c (round_and_return): Do not consider
5608 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5609 exponent one less than half the least subnormal exponent.
5610 * stdlib/test-strtod-round-data: Add more tests.
5611 * stdlib/tst-strtod-round.c (tests): Regenerated.
5612
5613 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5614
5615 [BZ #14143]
5616 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5617 (__fe_mask_env): Likewise.
5618 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5619 libm_hidden_proto and add function prototype.
5620 (__fe_mask_env): Add function prototype.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5622 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5624 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5626 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5627
5628 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5629
5630 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5631 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5632
5633 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5634
5635 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5636 of htab_find_slot().
5637
5638 2013-11-11 David S. Miller <davem@davemloft.net>
5639
5640 [BZ #16150]
5641 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5642 symbol in the non-vis3 case in static builds.
5643 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5644 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5645 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5646 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5647
5648 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5649
5650 [BZ #387]
5651 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5652 it is empty.
5653
5654 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655
5656 * benchtests/Makefile: Add bench-strtod.
5657 * benchtests/bench-strtod.c: New file: strtod benchtest
5658
5659 2013-11-11 Andreas Schwab <schwab@suse.de>
5660
5661 [BZ #16153]
5662 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5663 terminating NUL in key length.
5664
5665 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666
5667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5668 Add artificial ODP entry for vDSO symbol for PPC64.
5669 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5670 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5671
5672 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5673
5674 [BZ #15374]
5675 * nss/getent.c (services_keys): Recognize services starting with digit.
5676
5677 2013-11-06 David S. Miller <davem@davemloft.net>
5678
5679 [BZ #15985]
5680 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5681 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5682
5683 2013-11-06 Will Newton <will.newton@linaro.org>
5684
5685 * manual/memory.texi (Malloc Examples): Remove register
5686 keyword from examples.
5687
5688 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5689
5690 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5691
5692 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5693
5694 [BZ #6981]
5695 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5696 depending on [__GCC_IEC_559 > 0].
5697 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5698 depending on [__GCC_IEC_559_COMPLEX > 0].
5699
5700 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5701
5702 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5703 to iso-639.def.
5704
5705 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5706
5707 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5708
5709 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5710
5711 [BZ #16112]
5712 * malloc/malloc (malloc_info): Do not handle first bin as
5713 special case.
5714
5715 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5716
5717 * locale/iso-639.def: Add Central Nahuatl (nhn).
5718
5719 2013-11-01 Bruno Haible <bruno@clisp.org>
5720
5721 [BZ #7003]
5722 * manual/math.texi (BSD Random): Specify range upper bound as
5723 in POSIX.
5724
5725 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5726
5727 * locale/iso-639.def: Add Meadow Mari (mhr).
5728
5729 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5730
5731 [BZ #14752], [BZ #15763]
5732 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5733 Validate name.
5734 * rt/tst_shm.c: Add test for escaping directory.
5735
5736 2013-10-31 Andreas Schwab <schwab@suse.de>
5737
5738 [BZ #15917]
5739 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5740 followed by 'x' as part of digit sequence.
5741 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5742
5743 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5744
5745 [BZ #16037]
5746 * configure.ac: allow GNU Make 4.0 and greater.
5747 * configure: Regenerated.
5748
5749 2013-10-30 Will Newton <will.newton@linaro.org>
5750
5751 [BZ #16038]
5752 * malloc/hooks.c (memalign_check): Limit alignment to the
5753 maximum representable power of two.
5754 * malloc/malloc.c (__libc_memalign): Likewise.
5755 * malloc/tst-memalign.c (do_test): Add test for very
5756 large alignment values.
5757 * malloc/tst-posix_memalign.c (do_test): Likewise.
5758
5759 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5760
5761 [BZ #11087]
5762 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5763 (munmap_chunk): Likewise.
5764 (mremap_chunk): Likewise.
5765
5766 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5767
5768 [BZ #15799]
5769 * stdlib/div.c (div): Remove obsolete code.
5770 * stdlib/ldiv.c (ldiv): Likewise.
5771 * stdlib/lldiv.c (lldiv): Likewise.
5772
5773 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5774
5775 [BZ #16071]
5776 * nss/nss_files/files-XXX.c (get_contents_ret): New
5777 enumerator.
5778 (get_contents): New function.
5779 (internal_getent): Use it. Expand size of LINEBUFLEN.
5780
5781 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5782
5783 * configure.in: Moved to ...
5784 * configure.ac: ... here. Change reference to configure.in
5785 to configure.ac.
5786 * sysdeps/arm/preconfigure.ac: ... here.
5787 configure.in to configure.ac.
5788 * sysdeps/gnu/configure.in: Moved to ...
5789 * sysdeps/gnu/configure.ac: ... here.
5790 * sysdeps/i386/configure.in: Moved to ...
5791 * sysdeps/i386/configure.ac: ... here.
5792 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5793 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5794 * sysdeps/mach/configure.in: Moved to ...
5795 * sysdeps/mach/configure.ac: ... here.
5796 * sysdeps/mach/hurd/configure.in: Moved to ...
5797 * sysdeps/mach/hurd/configure.ac: ... here.
5798 * sysdeps/powerpc/configure.in: Moved to ...
5799 * sysdeps/powerpc/configure.ac: ... here.
5800 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5801 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5802 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5803 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5804 * sysdeps/s390/s390-32/configure.in: Moved to ...
5805 * sysdeps/s390/s390-32/configure.ac: ... here.
5806 * sysdeps/s390/s390-64/configure.in: Moved to ...
5807 * sysdeps/s390/s390-64/configure.ac: ... here.
5808 * sysdeps/sh/configure.in: Moved to ...
5809 * sysdeps/sh/configure.ac: ... here.
5810 * sysdeps/sparc/configure.in: Moved to ...
5811 * sysdeps/sparc/configure.ac: ... here.
5812 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5813 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5814 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5815 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5816 * sysdeps/x86_64/configure.in: Moved to ...
5817 * sysdeps/x86_64/configure.ac: ... here.
5818 * sysdeps/x86_64/preconfigure.in: Moved to ...
5819 * sysdeps/x86_64/preconfigure.ac: ... here.
5820 * aclocal.m4: Change reference to configure.in to configure.ac.
5821 * config.h.in: Likewise.
5822 * manual/install.texi: Likewise.
5823 * manual/maint.texi: Likewise.
5824 * Makefile: Likewise.
5825 * malloc/Makefile: Likewise.
5826 * nscd/Makefile: Likewise.
5827 * Makeconfig: Change reference to configure.in and
5828 preconfigure.in to configure.ac and preconfigure.ac
5829 respectively.
5830 * INSTALL: Regenerated.
5831 * configure: Likewise.
5832 * sysdeps/gnu/configure: Likewise.
5833 * sysdeps/i386/configure: Likewise.
5834 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5835 * sysdeps/mach/configure: Likewise.
5836 * sysdeps/mach/hurd/configure: Likewise.
5837 * sysdeps/powerpc/configure: Likewise.
5838 * sysdeps/powerpc/powerpc32/configure: Likewise.
5839 * sysdeps/powerpc/powerpc64/configure: Likewise.
5840 * sysdeps/s390/s390-32/configure: Likewise.
5841 * sysdeps/s390/s390-64/configure: Likewise.
5842 * sysdeps/sh/configure: Likewise.
5843 * sysdeps/sparc/configure: Likewise.
5844 * sysdeps/unix/sysv/linux/configure: Likewise.
5845 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5846 * sysdeps/x86_64/configure: Likewise.
5847 * sysdeps/x86_64/preconfigure: Likewise.
5848
5849 2013-10-29 Andreas Schwab <schwab@suse.de>
5850
5851 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5852
5853 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5854
5855 * benchtests/pow-inputs: Add new inputs.
5856
5857 * benchtests/exp-inputs: Add new inputs.
5858
5859 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5860 conditional check for return value.
5861 (__cos32): Likewise.
5862
5863 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5864
5865 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5866 to provide a boost for large inputs with word alignment.
5867 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5868 implementation based on optimized PPC64 strcpy.
5869 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5870 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5871 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5872 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5873
5874 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5875
5876 [BZ #2801]
5877 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5878
5879 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5880
5881 [BZ #14876]
5882 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5883 * time/tst-strptime.c (day_tests): Add testcase.
5884
5885 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5886
5887 [BZ #14029]
5888 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5889
5890 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5891
5892 [BZ #16074]
5893 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5894 MAP_FAILED on error.
5895
5896 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5897
5898 [BZ #16072]
5899 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5900 heap for large requests.
5901
5902 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5903
5904 [BZ #9954]
5905 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5906 result if the result has no associated interface.
5907 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5908 interface for all 127.X.Y.Z addresses.
5909
5910 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5911
5912 * locale/iso-639.def: Add Ligurian (lij)
5913
5914 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5915
5916 [BZ #15825]
5917 * sunrpc/rpc_main.c: Document rpcgen -5.
5918
5919 2013-10-19 Michael Stahl <mstahl@redhat.com>
5920
5921 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5922
5923 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5924
5925 [BZ #10278]
5926 * posix/glob.c: Match only directories when trailing slash is present.
5927 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5928 (main): Add testcase.
5929
5930 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5931
5932 [BZ #15670]
5933 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5934
5935 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5936
5937 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5938 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5939 AUTH_DES and cindex for FIPS 140-2.
5940 (DES Encryption): Add cindex FIPS 46-3.
5941
5942 * locale/locarchive.h (struct locarhandle): Add fname.
5943 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5944 if an optional argument was specified to --list-archive,
5945 otherwise NULL.
5946 * locale/programs/locarchive.c (show_archive_content): Take new
5947 argument fname and pass it via ah.fname to open_archive.
5948 * locale/programs/localedef.h: Update decl.
5949 (open_archive): If AH->fname is non-null, open that file
5950 rather than the default file name, and don't ignore ENOENT.
5951 (create_archive): Set AH.fname to NULL.
5952 (delete_locales_from_archive): Likewise.
5953 (add_locales_to_archive): Likewise.
5954 * locale/programs/locfile.c (write_all_categories): Likewise.
5955
5956 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5957 Aldy Hernandez <aldyh@redhat.com>
5958
5959 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5960 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5961 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5962 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5963 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5964 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5966 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5967 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5969 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5970 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5971 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5972 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5973 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5974 Likewise.
5975 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5976 Likewise.
5977 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5978 Likewise.
5979 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5980 Likewise.
5981 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5982 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5983 Likewise.
5984 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5985 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5986 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5987 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5988 Likewise.
5989 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5990 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5991 * sysdeps/powerpc/preconfigure: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5993 Likewise.
5994 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5995 Replace contents of file by #include of <fenv_libc.h>.
5996 * sysdeps/powerpc/soft-fp/sfp-machine.h
5997 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5998 and <sys/prctl.h>.
5999 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6004 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6012 Allow copysignl PLT reference to be missing.
6013
6014 2013-10-18 Richard Sandiford <richard@codesourcery.com>
6015 Joseph Myers <joseph@codesourcery.com
6016
6017 [BZ #15948]
6018 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6019 single character.
6020 (add_to_tablewc): Assert sequence of wide characters is nonempty.
6021
6022 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
6024 * elf/tst-tls-dlinfo.c: Don't include tls.h.
6025 * elf/tst-tls1.c: Likewise.
6026 * elf/tst-tls10.h: Likewise.
6027 * elf/tst-tls14.c: Likewise.
6028 * elf/tst-tls2.c: Likewise.
6029 * elf/tst-tls3.c: Likewise.
6030 * elf/tst-tls4.c: Likewise.
6031 * elf/tst-tls5.c: Likewise.
6032 * elf/tst-tls6.c: Likewise.
6033 * elf/tst-tls7.c: Likewise.
6034 * elf/tst-tls8.c: Likewise.
6035 * elf/tst-tls9.c: Likewise.
6036 * elf/tst-tlsmod1.c: Likewise.
6037 * elf/tst-tlsmod13.c: Likewise.
6038 * elf/tst-tlsmod13a.c: Likewise.
6039 * elf/tst-tlsmod14a.c: Likewise.
6040 * elf/tst-tlsmod16a.c: Likewise.
6041 * elf/tst-tlsmod16b.c: Likewise.
6042 * elf/tst-tlsmod2.c: Likewise.
6043 * elf/tst-tlsmod3.c: Likewise.
6044 * elf/tst-tlsmod4.c: Likewise.
6045 * elf/tst-tlsmod5.c: Likewise.
6046 * elf/tst-tlsmod6.c: Likewise.
6047
6048 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
6049
6050 [BZ #12486]
6051 * malloc/malloc.c: remove checks for statistics.
6052
6053 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6054
6055 [BZ #15277]
6056 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6057 * inet/tst-network.c: Add testcase.
6058
6059 2013-10-17 Andreas Schwab <schwab@suse.de>
6060
6061 [BZ #15218]
6062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6063 to determine canonical name.
6064
6065 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6066
6067 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6068 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6091 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6092 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6097 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6107 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6108 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6125
6126 2013-10-17 Joseph Myers <joseph@codesourcery.com>
6127
6128 [BZ #16041]
6129 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6130 make result into a quiet NaN.
6131
6132 2013-10-16 Joseph Myers <joseph@codesourcery.com>
6133
6134 * soft-fp/adddf3.c: Fix horizontal whitespace.
6135 * soft-fp/addsf3.c: Likewise.
6136 * soft-fp/addtf3.c: Likewise.
6137 * soft-fp/divdf3.c: Likewise.
6138 * soft-fp/divsf3.c: Likewise.
6139 * soft-fp/divtf3.c: Likewise.
6140 * soft-fp/double.h: Likewise.
6141 * soft-fp/eqdf2.c: Likewise.
6142 * soft-fp/eqsf2.c: Likewise.
6143 * soft-fp/eqtf2.c: Likewise.
6144 * soft-fp/extenddftf2.c: Likewise.
6145 * soft-fp/extended.h: Likewise.
6146 * soft-fp/extendsfdf2.c: Likewise.
6147 * soft-fp/extendsftf2.c: Likewise.
6148 * soft-fp/extendxftf2.c: Likewise.
6149 * soft-fp/fixdfdi.c: Likewise.
6150 * soft-fp/fixdfsi.c: Likewise.
6151 * soft-fp/fixdfti.c: Likewise.
6152 * soft-fp/fixsfdi.c: Likewise.
6153 * soft-fp/fixsfsi.c: Likewise.
6154 * soft-fp/fixsfti.c: Likewise.
6155 * soft-fp/fixtfdi.c: Likewise.
6156 * soft-fp/fixtfsi.c: Likewise.
6157 * soft-fp/fixtfti.c: Likewise.
6158 * soft-fp/fixunsdfdi.c: Likewise.
6159 * soft-fp/fixunsdfsi.c: Likewise.
6160 * soft-fp/fixunsdfti.c: Likewise.
6161 * soft-fp/fixunssfdi.c: Likewise.
6162 * soft-fp/fixunssfsi.c: Likewise.
6163 * soft-fp/fixunssfti.c: Likewise.
6164 * soft-fp/fixunstfdi.c: Likewise.
6165 * soft-fp/fixunstfsi.c: Likewise.
6166 * soft-fp/fixunstfti.c: Likewise.
6167 * soft-fp/floatdidf.c: Likewise.
6168 * soft-fp/floatdisf.c: Likewise.
6169 * soft-fp/floatditf.c: Likewise.
6170 * soft-fp/floatsidf.c: Likewise.
6171 * soft-fp/floatsisf.c: Likewise.
6172 * soft-fp/floatsitf.c: Likewise.
6173 * soft-fp/floattidf.c: Likewise.
6174 * soft-fp/floattisf.c: Likewise.
6175 * soft-fp/floattitf.c: Likewise.
6176 * soft-fp/floatundidf.c: Likewise.
6177 * soft-fp/floatundisf.c: Likewise.
6178 * soft-fp/floatunditf.c: Likewise.
6179 * soft-fp/floatunsidf.c: Likewise.
6180 * soft-fp/floatunsisf.c: Likewise.
6181 * soft-fp/floatunsitf.c: Likewise.
6182 * soft-fp/floatuntidf.c: Likewise.
6183 * soft-fp/floatuntisf.c: Likewise.
6184 * soft-fp/floatuntitf.c: Likewise.
6185 * soft-fp/fmadf4.c: Likewise.
6186 * soft-fp/fmasf4.c: Likewise.
6187 * soft-fp/fmatf4.c: Likewise.
6188 * soft-fp/gedf2.c: Likewise.
6189 * soft-fp/gesf2.c: Likewise.
6190 * soft-fp/getf2.c: Likewise.
6191 * soft-fp/ledf2.c: Likewise.
6192 * soft-fp/lesf2.c: Likewise.
6193 * soft-fp/letf2.c: Likewise.
6194 * soft-fp/muldf3.c: Likewise.
6195 * soft-fp/mulsf3.c: Likewise.
6196 * soft-fp/multf3.c: Likewise.
6197 * soft-fp/negdf2.c: Likewise.
6198 * soft-fp/negsf2.c: Likewise.
6199 * soft-fp/negtf2.c: Likewise.
6200 * soft-fp/op-1.h: Likewise.
6201 * soft-fp/op-2.h: Likewise.
6202 * soft-fp/op-4.h: Likewise.
6203 * soft-fp/op-8.h: Likewise.
6204 * soft-fp/op-common.h: Likewise.
6205 * soft-fp/quad.h: Likewise.
6206 * soft-fp/single.h: Likewise.
6207 * soft-fp/soft-fp.h: Likewise.
6208 * soft-fp/sqrtdf2.c: Likewise.
6209 * soft-fp/sqrtsf2.c: Likewise.
6210 * soft-fp/sqrttf2.c: Likewise.
6211 * soft-fp/subdf3.c: Likewise.
6212 * soft-fp/subsf3.c: Likewise.
6213 * soft-fp/subtf3.c: Likewise.
6214 * soft-fp/truncdfsf2.c: Likewise.
6215 * soft-fp/trunctfdf2.c: Likewise.
6216 * soft-fp/trunctfsf2.c: Likewise.
6217 * soft-fp/trunctfxf2.c: Likewise.
6218 * soft-fp/unorddf2.c: Likewise.
6219 * soft-fp/unordsf2.c: Likewise.
6220 * soft-fp/unordtf2.c: Likewise.
6221
6222 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6223
6224 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6225 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6226
6227 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6228
6229 * elf/dl-libc.c: Clear initfini list after freeing.
6230
6231 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6232
6233 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6234 * soft-fp/addsf3.c: Likewise.
6235 * soft-fp/addtf3.c: Likewise.
6236 * soft-fp/divdf3.c: Likewise.
6237 * soft-fp/divsf3.c: Likewise.
6238 * soft-fp/divtf3.c: Likewise.
6239 * soft-fp/double.h: Likewise.
6240 * soft-fp/eqdf2.c: Likewise.
6241 * soft-fp/eqsf2.c: Likewise.
6242 * soft-fp/eqtf2.c: Likewise.
6243 * soft-fp/extenddftf2.c: Likewise.
6244 * soft-fp/extended.h: Likewise.
6245 * soft-fp/extendsfdf2.c: Likewise.
6246 * soft-fp/extendsftf2.c: Likewise.
6247 * soft-fp/extendxftf2.c: Likewise.
6248 * soft-fp/fixdfdi.c: Likewise.
6249 * soft-fp/fixdfsi.c: Likewise.
6250 * soft-fp/fixdfti.c: Likewise.
6251 * soft-fp/fixsfdi.c: Likewise.
6252 * soft-fp/fixsfsi.c: Likewise.
6253 * soft-fp/fixsfti.c: Likewise.
6254 * soft-fp/fixtfdi.c: Likewise.
6255 * soft-fp/fixtfsi.c: Likewise.
6256 * soft-fp/fixtfti.c: Likewise.
6257 * soft-fp/fixunsdfdi.c: Likewise.
6258 * soft-fp/fixunsdfsi.c: Likewise.
6259 * soft-fp/fixunsdfti.c: Likewise.
6260 * soft-fp/fixunssfdi.c: Likewise.
6261 * soft-fp/fixunssfsi.c: Likewise.
6262 * soft-fp/fixunssfti.c: Likewise.
6263 * soft-fp/fixunstfdi.c: Likewise.
6264 * soft-fp/fixunstfsi.c: Likewise.
6265 * soft-fp/fixunstfti.c: Likewise.
6266 * soft-fp/floatdidf.c: Likewise.
6267 * soft-fp/floatdisf.c: Likewise.
6268 * soft-fp/floatditf.c: Likewise.
6269 * soft-fp/floatsidf.c: Likewise.
6270 * soft-fp/floatsisf.c: Likewise.
6271 * soft-fp/floatsitf.c: Likewise.
6272 * soft-fp/floattidf.c: Likewise.
6273 * soft-fp/floattisf.c: Likewise.
6274 * soft-fp/floattitf.c: Likewise.
6275 * soft-fp/floatundidf.c: Likewise.
6276 * soft-fp/floatundisf.c: Likewise.
6277 * soft-fp/floatunsidf.c: Likewise.
6278 * soft-fp/floatunsisf.c: Likewise.
6279 * soft-fp/floatuntidf.c: Likewise.
6280 * soft-fp/floatuntisf.c: Likewise.
6281 * soft-fp/floatuntitf.c: Likewise.
6282 * soft-fp/fmadf4.c: Likewise.
6283 * soft-fp/fmasf4.c: Likewise.
6284 * soft-fp/fmatf4.c: Likewise.
6285 * soft-fp/gedf2.c: Likewise.
6286 * soft-fp/gesf2.c: Likewise.
6287 * soft-fp/getf2.c: Likewise.
6288 * soft-fp/ledf2.c: Likewise.
6289 * soft-fp/lesf2.c: Likewise.
6290 * soft-fp/letf2.c: Likewise.
6291 * soft-fp/muldf3.c: Likewise.
6292 * soft-fp/mulsf3.c: Likewise.
6293 * soft-fp/multf3.c: Likewise.
6294 * soft-fp/negdf2.c: Likewise.
6295 * soft-fp/negsf2.c: Likewise.
6296 * soft-fp/negtf2.c: Likewise.
6297 * soft-fp/op-1.h: Likewise.
6298 * soft-fp/op-2.h: Likewise.
6299 * soft-fp/op-4.h: Likewise.
6300 * soft-fp/op-8.h: Likewise.
6301 * soft-fp/op-common.h: Likewise.
6302 * soft-fp/quad.h: Likewise.
6303 * soft-fp/single.h: Likewise.
6304 * soft-fp/soft-fp.h: Likewise.
6305 * soft-fp/sqrtdf2.c: Likewise.
6306 * soft-fp/sqrtsf2.c: Likewise.
6307 * soft-fp/sqrttf2.c: Likewise.
6308 * soft-fp/subdf3.c: Likewise.
6309 * soft-fp/subsf3.c: Likewise.
6310 * soft-fp/subtf3.c: Likewise.
6311 * soft-fp/truncdfsf2.c: Likewise.
6312 * soft-fp/trunctfdf2.c: Likewise.
6313 * soft-fp/trunctfsf2.c: Likewise.
6314 * soft-fp/trunctfxf2.c: Likewise.
6315 * soft-fp/unorddf2.c: Likewise.
6316 * soft-fp/unordsf2.c: Likewise.
6317 * soft-fp/unordtf2.c: Likewise.
6318
6319 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6320
6321 [BZ #15672]
6322 * misc/error.c (error_tail): Fix possible buffer overflow.
6323
6324 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6325
6326 [BZ #13028]
6327 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6328 address.
6329
6330 2013-10-14 P. J. McDermott <pj@pehjota.net>
6331
6332 [BZ #832]
6333 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6334 testing pipefail option.
6335
6336 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6337
6338 * soft-fp/double.h: Indent preprocessor directives inside #if.
6339 * soft-fp/extended.h: Likewise.
6340 * soft-fp/op-2.h: Likewise.
6341 * soft-fp/op-4.h: Likewise.
6342 * soft-fp/op-common.h: Likewise.
6343 * soft-fp/quad.h: Likewise.
6344 * soft-fp/single.h: Likewise.
6345 * soft-fp/soft-fp.h: Likewise.
6346
6347 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6348
6349 * iconv/iconv_prog.c: Fix typos.
6350 * stdio-common/psiginfo-data.h: Likewise.
6351
6352 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6353
6354 [BZ #15764]
6355 * locale/setlocale.c: Fix typo.
6356
6357 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6358
6359 [BZ #16036]
6360 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6361 signaling NaN arguments.
6362 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6363 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6364
6365 [BZ #14910]
6366 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6367 unordered operands.
6368 * soft-fp/gesf2.c (__gesf2): Likewise.
6369 * soft-fp/getf2.c (__getf2): Likewise.
6370 * soft-fp/ledf2.c (__ledf2): Likewise.
6371 * soft-fp/lesf2.c (__lesf2): Likewise.
6372 * soft-fp/letf2.c (__letf2): Likewise.
6373
6374 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6375 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6376 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6377 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6378 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6379 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6380 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6381 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6382 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6383 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6384 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6385 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6386 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6387 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6388 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6389 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6390 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6391 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6392 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6393 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6394 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6395 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6396 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6397 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6398 * soft-fp/floattidf.c (__floattidf): Likewise.
6399 * soft-fp/floattisf.c (__floattisf): Likewise.
6400 * soft-fp/floattitf.c (__floattitf): Likewise.
6401 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6402 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6403 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6404 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6405 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6406 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6407 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6408 * soft-fp/gesf2.c (__gesf2): Likewise.
6409 * soft-fp/getf2.c (__getf2): Likewise.
6410 * soft-fp/ledf2.c (__ledf2): Likewise.
6411 * soft-fp/lesf2.c (__lesf2): Likewise.
6412 * soft-fp/letf2.c (__letf2): Likewise.
6413
6414 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6415 Undefine and redefine.
6416 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6417 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6418 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6419 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6420 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6421 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6422 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6423 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6424 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6425 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6426 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6427 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6428 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6429 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6430 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6431
6432 [BZ #16032]
6433 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6434 without decrementing exponent if mantissa >= that for the
6435 denominator, not >.
6436 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6437 denominator, not >. Decrement exponent in < case instead of
6438 incrementing in >= case.
6439 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6440 without decrementing exponent if mantissa >= that for the
6441 denominator, not >.
6442
6443 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6444 computing saturated result for unsigned overflow.
6445
6446 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6447 Jeff Law <law@redhat.com>
6448
6449 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6450 (atan2Mp): Add systemtap probe marker.
6451 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6452 (__ieee754_log): Add systemtap probe marker.
6453 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6454 (atanMp): Add systemtap probe marker.
6455 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6456 (tanMp): Add systemtap probe marker.
6457 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6458 (__slowexp): Add systemtap probe marker.
6459 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6460 (__slowpow): Add systemtap probe marker.
6461 * manual/probes.texi: Document probes.
6462
6463 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6464
6465 [BZ #15362]
6466 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6467 written.
6468 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6469 written.
6470 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6471 written to buffer but not flushed.
6472 * libio/iofwrite_u.c: Likewise.
6473 * libio/iopadn.c: Return bytes returned even if EOF was
6474 encountered.
6475 * libio/iowpadn.c: Likewise.
6476 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6477 if _IO_padn does not write the whole buffer.
6478 [!COMPILE_WPRINTF] (PAD): Likewise.
6479
6480 2013-10-10 David S. Miller <davem@davemloft.net>
6481
6482 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6483 directory block.
6484
6485 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6486
6487 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6488 instead of FSF address.
6489 * soft-fp/fixdfti.c: Likewise.
6490 * soft-fp/fixsfti.c: Likewise.
6491 * soft-fp/fixtfti.c: Likewise.
6492 * soft-fp/fixunsdfti.c: Likewise.
6493 * soft-fp/fixunssfti.c: Likewise.
6494 * soft-fp/fixunstfti.c: Likewise.
6495 * soft-fp/floattidf.c: Likewise.
6496 * soft-fp/floattisf.c: Likewise.
6497 * soft-fp/floattitf.c: Likewise.
6498 * soft-fp/floatuntidf.c: Likewise.
6499 * soft-fp/floatuntisf.c: Likewise.
6500 * soft-fp/floatuntitf.c: Likewise.
6501 * soft-fp/trunctfxf2.c: Likewise.
6502
6503 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6504 * soft-fp/fixdfti.c: Likewise.
6505 * soft-fp/fixsfti.c: Likewise.
6506 * soft-fp/fixtfti.c: Likewise.
6507 * soft-fp/fixunsdfti.c: Likewise.
6508 * soft-fp/fixunssfti.c: Likewise.
6509 * soft-fp/fixunstfti.c: Likewise.
6510 * soft-fp/floattidf.c: Likewise.
6511 * soft-fp/floattisf.c: Likewise.
6512 * soft-fp/floattitf.c: Likewise.
6513 * soft-fp/floatuntidf.c: Likewise.
6514 * soft-fp/floatuntisf.c: Likewise.
6515 * soft-fp/floatuntitf.c: Likewise.
6516 * soft-fp/trunctfxf2.c: Likewise.
6517
6518 2013-10-10 David S. Miller <davem@davemloft.net>
6519
6520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6521
6522 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6523
6524 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6525 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6526 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6527 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6528 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6529 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6530 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6531
6532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6533 for NaNs before doing comparisons on argument.
6534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6535 Likewise.
6536
6537 2013-10-10 Will Newton <will.newton@linaro.org>
6538
6539 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6540 passed to _int_memalign does not overflow.
6541
6542 2013-10-10 Torvald Riegel <triegel@redhat.com>
6543
6544 * scripts/bench.pl: Add include-sources directive.
6545 * benchtests/README: Update documentation.
6546
6547 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6548
6549 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6550 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6551 instead of FP_INIT_ROUNDMODE.
6552 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6553 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6554
6555 [BZ #16034]
6556 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6557 copy class of input value.
6558 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6559 not handle exceptions.
6560 * soft-fp/negsf2.c (__negsf2): Likewise.
6561 * soft-fp/negtf2.c (__negtf2): Likewise.
6562 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6563
6564 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6565
6566 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6567 semicolon. From Linux kernel.
6568
6569 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6570
6571 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6572
6573 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6574
6575 [BZ #156]
6576 * manual/socket.texi: Added statement about buffer
6577 for gethostbyname2_r.
6578
6579 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6580
6581 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6582 Use .p2align directive instead, throughout.
6583 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6584 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6585 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6587 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6588 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6589 * sysdeps/x86_64/strchr.S: Likewise.
6590 * sysdeps/x86_64/strrchr.S: Likewise.
6591
6592 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6593
6594 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6595
6596 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6597
6598 * sysdeps/generic/math_private.h (__mpsin1): Remove
6599 declaration.
6600 (__mpcos1): Likewise.
6601 (__mpsin): New argument __range_reduce.
6602 (__mpcos): Likewise.
6603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6604 (slow): Use __mpsin and __mpcos.
6605 (slow1): Likewise.
6606 (slow2): Likewise.
6607 (sloww): Likewise.
6608 (sloww1): Likewise.
6609 (sloww2): Likewise.
6610 (bsloww): Likewise.
6611 (bsloww1): Likewise.
6612 (bsloww2): Likewise.
6613 (cslow2): Likewise.
6614 (csloww): Likewise.
6615 (csloww1): Likewise.
6616 (csloww2): Likewise.
6617 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6618 range_reduce. Merge in __mpsin1.
6619 (__mpcos): Likewise.
6620 (__mpsin1): Remove.
6621 (__mpcos1): Likewise.
6622
6623 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6624
6625 * locale/loadlocale.c (_nl_intern_locale_data): Use
6626 LOCFILE_ALIGNED_P.
6627 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6628 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6629 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6630 obstack data is appropriately aligned.
6631 (obstack_int32_grow_fast): Likewise.
6632 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6633 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6634 (add_locale_uint32_array): Likewise.
6635
6636 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6637
6638 * benchtests/Makefile: Remove ARGLIST and RET variables.
6639 ($(objpfx)bench-%.c): Pass only function name to the script.
6640 * benchtests/README: Update documentation.
6641 * benchtests/acos-inputs: Add new directives.
6642 * benchtests/acosh-inputs: Likewise.
6643 * benchtests/asin-inputs: Likewise.
6644 * benchtests/asinh-inputs: Likewise.
6645 * benchtests/atan-inputs: Likewise.
6646 * benchtests/atanh-inputs: Likewise.
6647 * benchtests/cos-inputs: Likewise.
6648 * benchtests/cosh-inputs: Likewise.
6649 * benchtests/exp-inputs: Likewise.
6650 * benchtests/log-inputs: Likewise.
6651 * benchtests/pow-inputs: Likewise.
6652 * benchtests/rint-inputs: Likewise.
6653 * benchtests/sin-inputs: Likewise.
6654 * benchtests/sinh-inputs: Likewise.
6655 * benchtests/tan-inputs: Likewise.
6656 * benchtests/tanh-inputs: Likewise.
6657 * scripts/bench.pl: Add support for new directives.
6658
6659 2013-10-07 Alan Modra <amodra@gmail.com>
6660
6661 * README: Fix careless merge.
6662
6663 2013-10-05 Alan Modra <amodra@gmail.com>
6664
6665 * NEWS: Mention powerpc64le support and bugs fixed.
6666 * README: Both big-endian and little-endian powerpc64 supported.
6667
6668 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6669
6670 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6671 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6672 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6673 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6674
6675 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6676
6677 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6678 match prototype.
6679
6680 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6681
6682 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6683 Move -mhard-float appending from
6684 ports/sysdeps/powerpc/powerpc32/Makefile.
6685 [$(with-fp) = yes] (ASFLAGS): Likewise.
6686 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6687 * sysdeps/powerpc/nofpu: Move directory from
6688 ports/sysdeps/powerpc/nofpu.
6689 * sysdeps/powerpc/soft-fp: Move directory from
6690 ports/sysdeps/powerpc/soft-fp.
6691 * sysdeps/powerpc/powerpc32/405: Move directory from
6692 ports/sysdeps/powerpc/powerpc32/405.
6693 * sysdeps/powerpc/powerpc32/440: Move directory from
6694 ports/sysdeps/powerpc/powerpc32/440.
6695 * sysdeps/powerpc/powerpc32/464: Move directory from
6696 ports/sysdeps/powerpc/powerpc32/464.
6697 * sysdeps/powerpc/powerpc32/476: Move directory from
6698 ports/sysdeps/powerpc/powerpc32/476.
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6700 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6702 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6704 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6706 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6708 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6709 * README: Update for powerpc-*-linux-gnu software floating point
6710 support in libc.
6711
6712 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6713 case to powerpc/powerpc32*.
6714 * sysdeps/unix/sysv/linux/configure: Regenerated.
6715
6716 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6717 (_FPU_MASK_OM): Define as 0x04.
6718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6720 0x00c10080.
6721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6722 0x0000003c.
6723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6724
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6726 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6727 getcontext_e500.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6729 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6730 setcontext_e500.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6732 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6733 and setcontext_e500.
6734
6735 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6736
6737 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6738
6739 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6740
6741 * manual/threads.texi (Default Thread Attributes): Fix typo.
6742
6743 2013-10-04 Will Newton <will.newton@linaro.org>
6744
6745 * malloc/Makefile: Add tst-memalign.
6746 * malloc/tst-memalign.c: New file.
6747
6748 * malloc/tst-posix_memalign.c: Add comments.
6749 (do_test): Add comments and call free on all potentially
6750 allocated pointers. Add space after cast.
6751
6752 * malloc/tst-pvalloc.c: Add comments.
6753 (do_test): Add comments and call free on all potentially
6754 allocated pointers. Remove duplicate check for NULL pointer.
6755 Add space after cast.
6756
6757 * malloc/tst-valloc.c: Add comments.
6758 (do_test): Add comments and call free on all potentially
6759 allocated pointers. Remove duplicate check for NULL pointer.
6760 Add space after cast.
6761
6762 2013-10-04 Alan Modra <amodra@gmail.com>
6763
6764 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6765 Use stdint types in rather than __attribute__((mode())).
6766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6767
6768 2013-10-04 Alan Modra <amodra@gmail.com>
6769
6770 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6771 Correct handling of unaligned relocs for little-endian.
6772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6773
6774 2013-10-04 Alan Modra <amodra@gmail.com>
6775
6776 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6777 * configure: Regenerate.
6778 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6779 * shlib-versions: Likewise.
6780
6781 2013-10-04 Alan Modra <amodra@gmail.com>
6782
6783 * string/tester.c (test_memrchr): Increment reported test cycle.
6784
6785 2013-10-04 Alan Modra <amodra@gmail.com>
6786
6787 * string/test-memcpy.c (do_one_test): When reporting errors, print
6788 string address and don't overrun end of string.
6789
6790 2013-10-04 Alan Modra <amodra@gmail.com>
6791
6792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6793 insrdi. Make better use of reg selection to speed exit slightly.
6794 Schedule entry path a little better. Remove useless "are we done"
6795 checks on entry to main loop. Handle wrapping around zero address.
6796 Correct main loop count. Handle single left-over word from main
6797 loop inline rather than by using loop_small. Remove extra word
6798 case in loop_small caused by wrong loop count. Add little-endian
6799 support.
6800 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6801 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6802 cache hint.
6803 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6805 support. Avoid rlwimi.
6806 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6807
6808 2013-10-04 Alan Modra <amodra@gmail.com>
6809
6810 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6811 insrdi. Formatting.
6812 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6814 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6815 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6817 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6818
6819 2013-10-04 Alan Modra <amodra@gmail.com>
6820
6821 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6824 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6826 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6829 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6830 use of regs. Use power7 mtocrf. Tidy function tails.
6831
6832 2013-10-04 Alan Modra <amodra@gmail.com>
6833
6834 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6835 Formatting. Consistently use rXXX register defines or rN defines.
6836 Use early exit labels that avoid restoring unused non-volatile regs.
6837 Make cr field use more consistent with rWORDn compares. Rename
6838 regs used as shift registers for unaligned loop, using rN defines
6839 for short lifetime/multiple use regs.
6840 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6841 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6842 addi 1,1,64 to pop stack frame. Simplify return value code.
6843 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6844
6845 2013-10-04 Alan Modra <amodra@gmail.com>
6846
6847 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6848 support. Correct typos, formatting. Optimize tail. Use insrdi
6849 rather than rlwimi.
6850 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6851 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6852 little-endian support. Correct typos.
6853 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6854 rather than rlwimi.
6855 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6856 in loop and entry code to keep "and." results.
6857 (strchr): Add little-endian support. Comment. Move cntlzd
6858 earlier in tail.
6859 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6860
6861 2013-10-04 Alan Modra <amodra@gmail.com>
6862
6863 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6864 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6865 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6866 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6867
6868 2013-10-04 Alan Modra <amodra@gmail.com>
6869
6870 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6871 (rTMP): Define as r11.
6872 (strcmp): Add little-endian support. Optimise tail.
6873 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6874 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6875 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6876 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6880
6881 2013-10-04 Alan Modra <amodra@gmail.com>
6882
6883 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6884 little-endian support. Remove unnecessary "are we done" tests.
6885 Handle "s" wrapping around zero and extremely large "size".
6886 Correct main loop count. Handle single left-over word from main
6887 loop inline rather than by using small_loop. Correct comments.
6888 Delete "zero" tail, use "end_max" instead.
6889 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6890
6891 2013-10-04 Alan Modra <amodra@gmail.com>
6892
6893 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6894 support. Don't branch over align.
6895 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6896 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6897 support. Rearrange tmp reg use to suit. Comment.
6898 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6899
6900 2013-10-04 Alan Modra <amodra@gmail.com>
6901
6902 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6903
6904 2013-10-04 Alan Modra <amodra@gmail.com>
6905
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6907 conditional form of branch and link when obtaining pc.
6908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6909
6910 2013-10-04 Alan Modra <amodra@gmail.com>
6911
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6913 HIWORD/LOWORD.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6916
6917 2013-10-04 Alan Modra <amodra@gmail.com>
6918
6919 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6920 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6921 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6922 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6923 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6925 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6926 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6928 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6929
6930 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6931 Alistair Popple <alistair@ozlabs.au.ibm.com>
6932 Alan Modra <amodra@gmail.com>
6933
6934 [BZ #15723]
6935 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6936 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6937 _dl_hwcap access for little-endian.
6938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6939 destroy vmx regs when saving unaligned.
6940 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6941 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6942 destroy vmx regs when saving unaligned.
6943
6944 2013-10-04 Alan Modra <amodra@gmail.com>
6945
6946 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6947 Don't use a union to pack hi/low value.
6948
6949 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6950
6951 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6952 for little-endian.
6953 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6955 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6956 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6958
6959 2013-10-04 Alan Modra <amodra@gmail.com>
6960
6961 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6962 constants to usual value for .cst8 section, and remove redundant
6963 high address load.
6964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6965 constant for 0x1p52. Load little-endian words of double from
6966 correct stack offsets.
6967
6968 2013-10-04 Alan Modra <amodra@gmail.com>
6969
6970 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6971 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6972 words of double from correct stack offsets.
6973 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6974 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6975 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6978 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6980 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6981 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6985 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6986 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6987 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6988 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6989 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6990
6991 2013-10-04 Alan Modra <amodra@gmail.com>
6992
6993 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6994 64-bit int/double union.
6995 (_FPU_SETCW): Likewise.
6996 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6997 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6998
6999 2013-10-04 Alan Modra <amodra@gmail.com>
7000
7001 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7002 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7003
7004 2013-10-04 Alan Modra <amodra@gmail.com>
7005
7006 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7007 use vector int constants.
7008 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7009
7010 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7011
7012 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7013 array with long long.
7014 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7015 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7016 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7017 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7018 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7019 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7020 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7021 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7022 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7023 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7024 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7025 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7026 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7027
7028 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7029
7030 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7031 (__signbit): Likewise. Correct for little-endian.
7032 (__signbitl): Call __signbit.
7033 (lrint): Correct for little-endian.
7034 (lrintf): Call lrint.
7035
7036 2013-10-04 Alan Modra <amodra@gmail.com>
7037
7038 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7039 union 32-bit int array member with 64-bit int array.
7040 (t515, tm256): Double rather than long double.
7041 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7042
7043 2013-10-04 Alan Modra <amodra@gmail.com>
7044
7045 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7046 Delete.
7047 (IEEE854_LONG_DOUBLE_BIAS): Delete.
7048 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7049 version of math_ldbl.h.
7050
7051 2013-10-04 Alan Modra <amodra@gmail.com>
7052
7053 [BZ #15734], [BZ #15735]
7054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7055 all uses of ieee875 long double macros and unions. Simplify test
7056 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7057 ldbl_extract_mantissa value for ix,iy exponents. Properly
7058 normalize after ldbl_extract_mantissa, and don't add hidden bit
7059 already handled. Don't treat low word of ieee854 mantissa like
7060 low word of IBM long double and mask off bit when testing for
7061 zero.
7062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7063 all uses of ieee875 long double macros and unions. Simplify tests
7064 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7065 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7066 two1022, instead use their values. Recognise that tests for large
7067 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7068 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7069 Rewrite all uses of ieee875 long double macros and unions. Simplify
7070 test for 0.0L and nan. Correct negation.
7071 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7072 ieee875 long double macros and unions. Correct output for large
7073 magnitude x. Correct absolute value calculation.
7074 (__erfcl): Likewise.
7075 * math/libm-test.inc: Add tests for errors discovered in IBM long
7076 double versions of fmodl, remainderl, erfl and erfcl.
7077
7078 2013-10-04 Alan Modra <amodra@gmail.com>
7079
7080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7081 all uses of ieee854 long double macros and unions. Simplify tests
7082 for long doubles that are fully specified by the high double.
7083 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7084 Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7086 Remove dead code too.
7087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7088 (__ieee754_ynl): Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7092 Remove dead code too.
7093 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7097 Simplify.
7098 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7099 Simplify.
7100 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7103 Comment on variable precision.
7104 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7106 Likewise.
7107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7109 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7111 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7112
7113 2013-10-04 Alan Modra <amodra@gmail.com>
7114
7115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7117 all uses of ieee854 long double macros and unions.
7118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7122 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7123 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7124 Likewise.
7125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7131 Simplify sign and nan test too.
7132 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7136 Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7139 Likewise.
7140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7142 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7143 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7144 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7146
7147 2013-10-04 Alan Modra <amodra@gmail.com>
7148
7149 * stdio-common/printf_size.c (__printf_size): Don't use
7150 union ieee854_long_double in fpnum union.
7151 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7152 signbit macro to retrieve sign from long double.
7153 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7154 retrieve sign from long double.
7155 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7156 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7157 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7158 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7159 * math/test-misc.c (main): Don't use union ieee854_long_double.
7160
7161 2013-10-04 Alan Modra <amodra@gmail.com>
7162
7163 [BZ #15680]
7164 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7165 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7166 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7167 calculation. Remove unnecessary test for denormal exponent.
7168 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7169 Correct handling of denormals. Avoid undefined shift behaviour.
7170 Correct normalisation of low mantissa when low double is denormal.
7171 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7172 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7173 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7174 Correct normalisation of low mantissa. Test for overflow of high
7175 mantissa and normalise.
7176 (ldbl_nearbyint): Use more readable constant for two52.
7177 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7178 (__mpn_construct_long_double): Fix test for overflow of high
7179 mantissa and correct normalisation. Avoid undefined shift.
7180
7181 2013-10-04 Alan Modra <amodra@gmail.com>
7182
7183 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7184 (union ibm_extended_long_double): Define as an array of ieee754_double.
7185 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7186 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7187 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7188 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7194 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7195 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7196
7197 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7198
7199 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7200 page size instead of calling getpagesize.
7201
7202 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7203 (LOCFILE_ALIGN_MASK): Likewise.
7204 (LOCFILE_ALIGN_UP): Likewise.
7205 (LOCFILE_ALIGNED_P): Likewise.
7206 * locale/programs/ld-collate.c (collate_output): Use the new
7207 macros instead of __alignof__ (int32_t).
7208 * locale/weight.h (findidx): Likewise.
7209
7210 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7211
7212 [BZ #431]
7213 * manual/string.texi: Fix strncat and wcsncat.
7214
7215 2013-10-03 Brooks Moses <bmoses@google.com>
7216
7217 [BZ #15915]
7218 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7219 * Makerules: ...here, and adjust associated comments.
7220
7221 2013-10-02 Will Newton <will.newton@linaro.org>
7222
7223 * malloc/Makefile: Add tst-pvalloc.
7224 * malloc/tst-pvalloc.c: New file.
7225
7226 2013-10-02 Will Newton <will.newton@linaro.org>
7227
7228 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7229 improve test coverage.
7230
7231 2013-10-02 Will Newton <will.newton@linaro.org>
7232
7233 * malloc/Makefile: Add tst-posix_memalign.
7234 * malloc/tst-posix_memalign.c: New file.
7235
7236 2013-10-01 Eric Blake <eblake@redhat.com>
7237
7238 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7239 Use __THROWNL rather than __THROW on static functions.
7240
7241 2013-09-30 Petr Machata <pmachata@redhat.com>
7242
7243 * elf/elf.h (R_AARCH64_ABS16): New macro.
7244 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7245 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7246 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7247 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7248 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7249 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7250 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7251 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7252 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7253 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7254 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7255 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7256 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7257 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7258 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7259 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7260 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7261 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7262 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7263 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7264 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7265 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7266 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7267 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7268 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7269 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7270 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7271 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7272 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7273 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7274 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7275 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7276 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7277 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7278 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7279 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7280 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7281 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7282 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7283 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7284 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7285 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7286 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7287 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7288 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7289 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7290 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7291 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7292 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7293 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7294 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7295 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7296 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7297 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7298 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7299 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7300 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7301 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7302 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7303 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7304 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7305 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7306 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7307 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7308 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7309 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7310 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7311 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7312 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7313 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7314 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7315 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7316 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7317 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7318 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7319 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7320 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7321 (R_AARCH64_TLSDESC_LDR): Likewise.
7322 (R_AARCH64_TLSDESC_ADD): Likewise.
7323 (R_AARCH64_TLSDESC_CALL): Likewise.
7324
7325 2013-09-30 Andreas Schwab <schwab@suse.de>
7326
7327 [BZ #15048]
7328 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7329 the nss database lookup.
7330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7332
7333 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7334
7335 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7336
7337 2013-09-28 P. J. McDermott <pj@pehjota.net>
7338
7339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7340 ${Bash-specific parameter/pattern/string} parameter expansion.
7341 * sysdeps/unix/make-syscalls.sh: Likewise.
7342
7343 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7344
7345 * sysdeps/sh/stackguard-macros.h: New file.
7346
7347 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7348
7349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7351 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7353 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7354 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7355
7356 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7357
7358 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7359 Fix thread ID register.
7360
7361 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7362
7363 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7364 [POSIX || UNIX98]: Require rather than permitting all symbols from
7365 <time.h>.
7366 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7367 element of struct sched_param.
7368 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7369 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7370 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7371 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7372 constant.
7373
7374 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7375
7376 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7377 argument calculation.
7378
7379 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7380
7381 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7382 Expect macro.
7383 [POSIX] (pthread_attr_t): Do not require type.
7384 [POSIX] (pthread_cond_t): Likewise.
7385 [POSIX] (pthread_condattr_t): Likewise.
7386 [POSIX] (pthread_key_t): Likewise.
7387 [POSIX] (pthread_mutex_t): Likewise.
7388 [POSIX] (pthread_mutexattr_t): Likewise.
7389 [POSIX] (pthread_once_t): Likewise.
7390 [POSIX] (pthread_t): Likewise.
7391 [POSIX-based standards] (pthread_atfork): Expect function.
7392
7393 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7394 Richard Sandiford <richard@codesourcery.com>
7395
7396 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7397 (swap_endianness_p): New extern variable.
7398 (set_big_endian): New inline function.
7399 (maybe_swap_uint32): Likewise.
7400 (maybe_swap_uint32_array): Likewise.
7401 (maybe_swap_uint32_obstack): Likewise.
7402 * locale/programs/locfile.c: Include <stdbool.h>.
7403 (swap_endianness_p): New variable.
7404 (add_locale_uint32): Call maybe_swap_uint32.
7405 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7406 (write_locale_data): Call maybe_swap_uint32_array.
7407 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7408 maybe_swap_uint32.
7409 (obstack_int32_grow_fast): Likewise.
7410 (output_weightwc): Call maybe_swap_uint32_obstack.
7411 (collate_output): Likewise.
7412 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7413 (OPT_LITTLE_ENDIAN): Likewise.
7414 (options): Add --little-endian and --big-endian options.
7415 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7416 * locale/programs/locarchive.c: Include "locfile.h".
7417 (GET): New macro.
7418 (SET): Likewise.
7419 (INC): Likewise.
7420 (create_archive): Use the new macros to access fields of
7421 structures directly mapped from or written to locale archives.
7422 (oldlocrecentcmp): Likewise.
7423 (enlarge_archive): Likewise.
7424 (insert_name): Likewise.
7425 (add_alias): Likewise.
7426 (add_locale): Likewise.
7427 (delete_locales_from_archive): Likewise.
7428 (show_archive_content): Likewise.
7429 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7430 locale data.
7431
7432 2013-09-24 Roland McGrath <roland@hack.frob.com>
7433
7434 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7435 http://www.gnu.org/doc/freemanuals.texi.
7436 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7437
7438 2013-09-24 Will Newton <will.newton@linaro.org>
7439
7440 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7441 macro.
7442
7443 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7444
7445 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7446 unsigned char.
7447
7448 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7449
7450 * manual/threads.texi (POSIX Threads): Fix a typo.
7451
7452 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7453
7454 [BZ #14547]
7455 * string/tst-strcoll-overflow.c: New test case.
7456 * string/Makefile (xtests): Add tst-strcoll-overflow.
7457 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7458 cache if string sizes may cause integer overflow.
7459
7460 [BZ #14547]
7461 * string/strcoll_l.c (coll_seq): New members rule, idx,
7462 save_idx and back_us.
7463 (get_next_seq_nocache): New function.
7464 (do_compare_nocache): New function.
7465 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7466 when malloc fails.
7467
7468 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7469
7470 [BZ #15754]
7471 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7472 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7473 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7474
7475 [BZ #15754]
7476 * elf/Makefile (tests): Add tst-ptrguard1.
7477 (tests-static): Add tst-ptrguard1-static.
7478 (tst-ptrguard1-ARGS): Define.
7479 (tst-ptrguard1-static-ARGS): Define.
7480 * elf/tst-ptrguard1.c: New file.
7481 * elf/tst-ptrguard1-static.c: New file.
7482 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7483 * sysdeps/i386/stackguard-macros.h: Likewise.
7484 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7485 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7486 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7487 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7488 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7489 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7490
7491 2013-09-23 Hector Marco <hecmargi@upv.es>
7492 Ismael Ripoll <iripoll@disca.upv.es>
7493 Carlos O'Donell <carlos@redhat.com>
7494
7495 [BZ #15754]
7496 * sysdeps/generic/stackguard-macros.h: Define
7497 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7498 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7499 Define __pointer_chk_guard_local.
7500 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7501 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7502
7503 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7504
7505 [BZ #15859]
7506 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7507
7508 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7509
7510 * include/string.h (__ffs): Declare as hidden.
7511 * string/ffs.c (__ffs): Define as hidden.
7512 * sysdeps/i386/ffs.c (__ffs): Likewise.
7513 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7514 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7515 * sysdeps/s390/ffs.c (__ffs): Likewise.
7516 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7517
7518 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7519
7520 * NEWS: Mention malloc probes.
7521
7522 * malloc/arena.c (new_heap): New memory_heap_new probe.
7523 (grow_heap): New memory_heap_more probe.
7524 (shrink_heap): New memory_heap_less probe.
7525 (heap_trim): New memory_heap_free probe.
7526 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7527 (systrim): New memory_sbrk_less probe.
7528 * manual/probes.texi: Document them.
7529
7530 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7531 * manual/probes.texi: Document it.
7532
7533 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7534 (__libc_realloc): Add memory_realloc_retry probe.
7535 (__libc_memalign): Add memory_memalign_retry probe.
7536 (__libc_valloc): Add memory_valloc_retry probe.
7537 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7538 (__libc_calloc): Add memory_calloc_retry probe.
7539 * manual/probes.texi: Document them.
7540
7541 * malloc/arena.c (get_free_list): Add probe
7542 memory_arena_reuse_free_list.
7543 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7544 and memory_arena_reuse.
7545 (arena_get2) [!PER_THREAD]: Likewise.
7546 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7547 memory_arena_reuse_realloc.
7548 * manual/probes.texi: Document them.
7549
7550 * malloc/malloc.c (__libc_free): Add
7551 memory_mallopt_free_dyn_thresholds probe.
7552 (__libc_mallopt): Add multiple memory_mallopt probes.
7553 * manual/probes.texi: Document them.
7554
7555 * malloc/malloc.c: Include stap-probe.h.
7556 (__libc_mallopt): Add memory_mallopt probe.
7557 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7558 * manual/probes.texi: New.
7559 * manual/Makefile (chapters): Add probes.
7560 * manual/threads.texi: Set next node.
7561
7562 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7563
7564 [BZ #15963, #13985]
7565 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7566 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7567 Add `Chinese' to `nan' entry name.
7568
7569 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7570
7571 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7572 (POLYNOMIAL): Likewise.
7573 (TAYLOR_SINCOS): Likewise.
7574 (TAYLOR_SLOW): Likewise.
7575 (__sin): Use TAYLOR_SINCOS.
7576 (__cos): Likewise.
7577 (slow): Use TAYLOR_SLOW.
7578 (sloww): Likewise.
7579 (bsloww): Likewise.
7580 (csloww): Likewise.
7581
7582 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7583
7584 * stdlib/strtod_l.c: Fix buffer overrun.
7585
7586 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
7588 * benchtests/Makefile (bench): Add sincos.
7589 * benchtests/bench-sincos.c: New file.
7590
7591 * math/libm-test.inc (cos_test_data): New test inputs.
7592 (sin_test_data): Likewise.
7593
7594 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7595 macro.
7596 (__sin): Use it.
7597 (__cos): Likewise.
7598 (slow1): Likewise.
7599 (slow2): Likewise.
7600 (sloww1): Likewise.
7601 (sloww2): Likewise.
7602 (bsloww1): Likewise.
7603 (bsloww2): Likewise.
7604 (cslow2): Likewise.
7605 (csloww1): Likewise.
7606 (csloww2): Likewise.
7607
7608 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7609 function.
7610 (__sin): Use it.
7611 (__cos): Likewise.
7612
7613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7614 gotos.
7615 (__cos): Likewise.
7616
7617 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7618
7619 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7620 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7621 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7622 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7623 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7624 * elf/cache.c (print_entry): Handle the new cache flags.
7625
7626 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7627 Aldy Hernandez <aldyh@redhat.com>
7628
7629 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7630 Change condition to [_SOFT_FLOAT].
7631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7643 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7646 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7647 declaration.
7648
7649 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7650
7651 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7652 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7653 (__longjmp): Use LOAD_GP to load saved GPRs.
7654 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7655 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7656 (__sigsetjmp): Use SAVE_GP to save GPRs.
7657
7658 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7659 Do not append -msoft-float.
7660 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7661
7662 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7663
7664 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7665
7666 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7667
7668 [BZ #15966]
7669 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7670 (_FPU_GETCW): Use initial "__" on variable and field names but not
7671 on macro parameter name.
7672 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7673 parentheses around reference to macro parameter.
7674
7675 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7676
7677 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7678 prototype.
7679 (ctype_startup): Use uint32_t in cast and sizeof for
7680 ctype->charnames.
7681
7682 2013-09-11 Jia Liu <proljc@gmail.com>
7683
7684 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7685 __daddr_t_defined.
7686 [__FreeBSD__]: Likewise.
7687
7688 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7689
7690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7691 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7692 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7693 (strchr): Remove __strchr_sse42 ifunc selection.
7694 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7695 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7696
7697 2013-09-11 Will Newton <will.newton@linaro.org>
7698
7699 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7700 parameter to RES. Remove hardcoded 1000 value.
7701 * benchtests/bench-skeleton.c (main): Pass RES parameter
7702 to TIMING_INIT and multiply result by 1000.
7703
7704 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705
7706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7707
7708 2013-09-11 Andreas Schwab <schwab@suse.de>
7709
7710 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7711 if not defined.
7712 (O_TMPFILE) [__USE_GNU]: Define.
7713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7714 Define.
7715
7716 2013-09-11 Will Newton <will.newton@linaro.org>
7717
7718 [BZ #15857]
7719 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7720 does not overflow.
7721
7722 2013-09-11 Will Newton <will.newton@linaro.org>
7723
7724 [BZ #15856]
7725 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7726 does not overflow.
7727
7728 2013-09-11 Will Newton <will.newton@linaro.org>
7729
7730 [BZ #15855]
7731 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7732 does not overflow.
7733
7734 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7735
7736 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7737 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7741
7742 2013-09-10 Allan McRae <allan@archlinux.org>
7743
7744 [BZ #15748]
7745 * manual/arith.texi (Parsing of Floats): Clarify
7746 cross-reference.
7747
7748 [BZ #15849]
7749 * manual/install.texi (Running make install): Mention
7750 --enable-pt-chown.
7751 * INSTALL: Regenerated.
7752
7753 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7754
7755 * csu/init-first.c (_init): Remove the !SHARED condition around
7756 FPU control word initialization.
7757 * elf/dl-support.c (_dl_fpu_control): New variable.
7758 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7759 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7760 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7761 * math/test-fpucw-static.c: New file.
7762 * math/test-fpucw-ieee.c: New file.
7763 * math/test-fpucw-ieee-static.c: New file.
7764 * math/Makefile (tests): Add `test-fpucw-ieee' and
7765 `$(tests-static)'.
7766 (tests-static): New variable.
7767 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7768 dependency to...
7769 [($(build-shared),yes)]
7770 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7771 ... this.
7772 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7773 New dependency.
7774
7775 2013-09-09 Allan McRae <allan@archlinux.org>
7776
7777 [BZ #15939]
7778 * manual/string.texi (Collation Functions): Fix typo in
7779 strcoll example.
7780 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7781
7782 [BZ #15893]
7783 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7784
7785 [BZ #15892]
7786 * libio/memstream.c (open_memstream): Fix memory leak.
7787 * libio/wmemstream.c (open_wmemstream): Likewise.
7788
7789 [BZ #15895]
7790 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7791
7792 2013-09-09 Will Newton <will.newton@linaro.org>
7793
7794 * malloc/Makefile: Add tst-realloc to tests.
7795 * malloc/tst-realloc.c: New file.
7796
7797 2013-09-09 Allan McRae <allan@archlinux.org>
7798
7799 [BZ #15844]
7800 * COPYING: Update from GNU website to fix FSF address.
7801 * COPYING.LIB: Likewise.
7802
7803 2013-09-06 David S. Miller <davem@davemloft.net>
7804
7805 * po/zh_TW.po: Update Chinese (traditional) translation from
7806 translation project.
7807
7808 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7809 Joseph Myers <joseph@codesourcery.com>
7810
7811 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7812 "localeinfo.h".
7813 (obstack_chunk_alloc): New macro.
7814 (obstack_chunk_free): Likewise.
7815 (record_offset): New function.
7816 (init_locale_data): Likewise.
7817 (align_locale_data): Likewise.
7818 (add_locale_empty): Likewise.
7819 (add_locale_raw_data): Likewise.
7820 (add_locale_raw_obstack): Likewise.
7821 (add_locale_string): Likewise.
7822 (add_locale_wstring): Likewise.
7823 (add_locale_uint32): Likewise.
7824 (add_locale_uint32_array): Likewise.
7825 (add_locale_char): Likewise.
7826 (start_locale_structure): Likewise.
7827 (end_locale_structure): Likewise.
7828 (start_locale_prelude): Likewise.
7829 (end_locale_prelude): Likewise.
7830 (write_locale_data): Take locale_file structure rather than an
7831 iovec.
7832 * locale/programs/locfile.h: Include "obstack.h".
7833 (struct locale_file): Change to store locale file contents instead
7834 of header.
7835 (init_locale_data): New prototype.
7836 (align_locale_data): Likewise.
7837 (add_locale_empty): Likewise.
7838 (add_locale_raw_data): Likewise.
7839 (add_locale_raw_obstack): Likewise.
7840 (add_locale_string): Likewise.
7841 (add_locale_wstring): Likewise.
7842 (add_locale_uint32): Likewise.
7843 (add_locale_uint32_array): Likewise.
7844 (add_locale_char): Likewise.
7845 (start_locale_structure): Likewise.
7846 (end_locale_structure): Likewise.
7847 (start_locale_prelude): Likewise.
7848 (end_locale_prelude): Likewise.
7849 (write_locale_data): Update prototype.
7850 * locale/programs/3level.h (struct TABLE): Remove result field.
7851 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7852 Use new locale_file interface.
7853 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7854 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7855 * locale/programs/ld-address.c (address_output): Use new
7856 locale_file interface.
7857 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7858 NO_ADD_LOCALE.
7859 (collate_finish): Don't call collseq_table_finalize.
7860 (collate_output): Use new locale_file interface.
7861 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7862 in file.
7863 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7864 (TABLE): Move defines earlier in file.
7865 (ELEMENT): Likewise.
7866 (DEFAULT): Likewise.
7867 (wctrans_table_add): Move macro and inline function earlier in
7868 file.
7869 (struct wctype_table): Move type earlier in file.
7870 (add_locale_wctype_table): New static prototype.
7871 (struct locale_ctype_t): Use logical types instead of struct iovec
7872 pointers for members.
7873 (ctype_output): Use new locale_file interface.
7874 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7875 new locale_file interface.
7876 (allocate_arrays): Update for use of new locale_file interface.
7877 * locale/programs/ld-identification.c (identification_output): Use
7878 new locale_file interface.
7879 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7880 * locale/programs/ld-messages.c (messages_output): Likewise.
7881 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7882 * locale/programs/ld-name.c (name_output): Likewise.
7883 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7884 * locale/programs/ld-paper.c (paper_output): Likewise.
7885 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7886 * locale/programs/ld-time.c (time_output): Likewise.
7887
7888 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7889
7890 * benchtests/Makefile: Add memrchr benchmark.
7891 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7892 benchmark as memrchr.
7893 * benchtests/bench-memrchr-ifunc.c: New file.
7894 * benchtests/bench-memrchr.c: New file.
7895
7896 2013-09-06 Will Newton <will.newton@linaro.org>
7897
7898 * benchtests/Makefile (string-bench): Add memcpy.
7899
7900 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7901 Cong Wang <amwang@redhat.com>
7902
7903 [BZ #15850]
7904 * sysdeps/unix/sysv/linux/bits/in.h
7905 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7906 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7907 before __USE_KERNEL_IPV6_DEFS uses.
7908 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7909 IPPROTO_BEETPH.
7910 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7911 sockaddr_in6, or ipv6_mreq.
7912
7913 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7914
7915 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7916 memory access for final bytes in some large inputs.
7917 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7918
7919 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7920
7921 * string/test-memrchr.c: New file.
7922 * string/test-memrchr-ifunc.c: New file.
7923 * string/Makefile: Add new memrchr testcase.
7924
7925 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7926
7927 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7928 fanotify_init returns EPERM.
7929
7930 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7931
7932 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7933 errors.
7934 (top level): Treat second token from macro or constant entries for
7935 allowed headers as allowed.
7936 * include/complex.h: Condition internal declarations on
7937 [!_ISOMAC].
7938 * include/fenv.h: Condition include of <stdbool.h> and internal
7939 declarations on [!_ISOMAC].
7940
7941 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7942
7943 [BZ #15923]
7944 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7945
7946 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7947
7948 * configure.in (--enable-versioning): Remove configure option.
7949 (libc_cv_asm_symver_directive): Remove configure test.
7950 (libc_cv_ld_version_script_option): Likewise.
7951 (VERSIONING): Remove variable and AC_SUBST.
7952 (DO_VERSIONING): Remove AC_DEFINE.
7953 * configure: Regenerated.
7954 * config.h.in (DO_VERSIONING): Remove macro.
7955 * Makerules [$(versioning) = yes]: Change conditionals to
7956 [$(build-shared) = yes].
7957 * config.make.in (versioning): Remove variable.
7958 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7959 [$(build-shared) = yes].
7960 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7961 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7962 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7963 [$(build-shared) = yes].
7964 * extra-lib.mk [$(versioning) = yes]: Likewise.
7965 * hurd/Makefile [$(versioning) = yes]: Likewise.
7966 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7967 [SHARED].
7968 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7969 [SHARED].
7970 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7971 [SHARED && !NO_HIDDEN].
7972 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7973 [SHARED].
7974 [SHARED && DO_VERSIONING]: Likewise..
7975 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7976 [$(build-shared) = yes].
7977 * manual/install.texi (--disable-versioning): Remove
7978 documentation.
7979 * INSTALL: Regenerated.
7980 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7981 to [SHARED].
7982 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7983 [$(build-shared) = yes].
7984 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7985 * sysdeps/i386/i686/multiarch/strstr-c.c
7986 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7987 [SHARED && !NO_HIDDEN].
7988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7989 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7990 * sysdeps/powerpc/powerpc32/dl-machine.c
7991 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7992 * sysdeps/powerpc/powerpc32/sysdep.h
7993 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7994 to [SHARED && PIC && !NO_HIDDEN].
7995 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7996 conditional to [SHARED].
7997
7998 2013-09-04 Will Newton <will.newton@linaro.org>
7999
8000 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8001 * benchtests/bench-string.h: Include bench-timing.h instead
8002 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8003 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8004 call to HP_TIMING_DIFF_INIT.
8005 * benchtests/bench-memccpy.c: Use bench-timing.h macros
8006 instead of hp-timing.h macros.
8007 * benchtests/bench-memchr.c: Likewise.
8008 * benchtests/bench-memcmp.c: Likewise.
8009 * benchtests/bench-memcpy.c: Likewise.
8010 * benchtests/bench-memmem.c: Likewise.
8011 * benchtests/bench-memmove.c: Likewise.
8012 * benchtests/bench-memset.c: Likewise.
8013 * benchtests/bench-rawmemchr.c: Likewise.
8014 * benchtests/bench-strcasecmp.c: Likewise.
8015 * benchtests/bench-strcasestr.c: Likewise.
8016 * benchtests/bench-strcat.c: Likewise.
8017 * benchtests/bench-strchr.c: Likewise.
8018 * benchtests/bench-strcmp.c: Likewise.
8019 * benchtests/bench-strcpy.c: Likewise.
8020 * benchtests/bench-strcpy_chk.c: Likewise.
8021 * benchtests/bench-strlen.c: Likewise.
8022 * benchtests/bench-strncasecmp.c: Likewise.
8023 * benchtests/bench-strncat.c: Likewise.
8024 * benchtests/bench-strncmp.c: Likewise.
8025 * benchtests/bench-strncpy.c: Likewise.
8026 * benchtests/bench-strnlen.c: Likewise.
8027 * benchtests/bench-strpbrk.c: Likewise.
8028 * benchtests/bench-strrchr.c: Likewise.
8029 * benchtests/bench-strspn.c: Likewise.
8030 * benchtests/bench-strstr.c: Likewise.
8031
8032 2013-09-04 Will Newton <will.newton@linaro.org>
8033
8034 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8035
8036 2013-09-03 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #15427]
8039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8040 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8041 * math/libm-test.inc (lgamma_test_data): Add more tests.
8042 * sysdeps/i386/fpu/libm-test-ulps: Update.
8043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8044
8045 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
8046
8047 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8049 Add ifunc.
8050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8051 Add strcmp-sse2-unaligned
8052 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8053
8054 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8055
8056 * Versions.def (libc): Add GLIBC_2.19.
8057
8058 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8059
8060 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8061 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8062
8063 2013-09-02 Joseph Myers <joseph@codesourcery.com>
8064
8065 [BZ #14155]
8066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8067 intermediate calculations in recurrence.
8068 (__ieee754_ynf): Likewise.
8069 * math/libm-test.inc (jn_test_data): Do not allow spurious
8070 underflow exception. Add more tests.
8071 (yn_test_data): Add more tests.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074
8075 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
8076
8077 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8078
8079 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8080
8081 * csu/init-first.c: Fix then/than typos.
8082 * locale/programs/ld-collate.c: Likewise.
8083 * locale/programs/linereader.h: Likewise.
8084 * manual/charset.texi: Likewise.
8085 * manual/filesys.texi: Likewise.
8086 * manual/stdio.texi: Likewise.
8087 * manual/string.texi: Likewise.
8088 * stdlib/fmtmsg.c: Likewise.
8089 * sysdeps/i386/stpncpy.S: Likewise.
8090 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8091 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8092 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8093 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8094
8095 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8096
8097 * elf/dl-open.c: Fix typos.
8098 * iconvdata/gbbig5.c: Likewise.
8099 * iconvdata/iso-2022-jp.c: Likewise.
8100 * iconv/gconv_int.h: Likewise.
8101 * iconv/loop.c: Likewise.
8102 * nis/rpcsvc/nis.h: Likewise.
8103 * resolv/ns_name.c: Likewise.
8104 * stdio-common/vfscanf.c: Likewise.
8105 * streams/stropts.h: Likewise.
8106 * sunrpc/rpc_thread.c: Likewise.
8107 * sysdeps/i386/strpbrk.S: Likewise.
8108 * sysdeps/ieee754/k_standard.c: Likewise.
8109 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8111 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8112 * sysdeps/mach/hurd/profil.c: Likewise.
8113 * sysdeps/s390/dl-procinfo.h: Likewise.
8114 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8117 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8119
8120 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8121
8122 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8124
8125 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8126
8127 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8128 aix specific files.
8129 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8130 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8132 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8134 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8136 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8137
8138 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8139 Roland McGrath <roland@hack.frob.com>
8140
8141 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8142 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8143
8144 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8145
8146 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8147 __executable_start symbol instead of _start.
8148
8149 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8150
8151 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8152 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8153 Move macros to...
8154 * sysdeps/gnu/ldsodefs.h: ... this new file.
8155
8156 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8157 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8158 instead of ELFOSABI_LINUX.
8159
8160 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8161 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8162 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8163 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8164 Likewise.
8165 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8166 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8167 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8168 Likewise.
8169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8170 (ibm_extended_long_double): Add ieee_nan member.
8171 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8172 (do_test): New function.
8173
8174 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8175 TEST_TRUNC.
8176 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8177 functions, renamed from truncdfsf_test, trunctfsf_test,
8178 trunctfdf_test.
8179 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8180 functions.
8181 (do_test): Run all these.
8182
8183 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8184
8185 * argp/argp-help.c: Fix typos.
8186 * argp/argp-parse.c: Likewise.
8187 * debug/backtracesyms.c: Likewise.
8188 * elf/elf.h: Likewise.
8189 * malloc/malloc.c: Likewise.
8190 * nis/nis_print.c: Likewise.
8191 * resolv/res_comp.c: Likewise.
8192 * stdlib/stdlib.h: Likewise.
8193 * sunrpc/clnt_tcp.c: Likewise.
8194 * sunrpc/clnt_udp.c: Likewise.
8195 * sunrpc/clnt_unix.c: Likewise.
8196 * sysdeps/unix/bsd/ptsname.c: Likewise.
8197 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8198 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8200 Likewise.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8202 Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8204 Likewise.
8205 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8206
8207 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8208
8209 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8211
8212 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8213
8214 [BZ #15897]
8215 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8216 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8217 ($(objpfx)bug-dl-leaf): New rule.
8218 ($(objpfx)bug-dl-leaf.so): Likewise.
8219 ($(objpfx)bug-dl-leaf.out): Likewise.
8220 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8221 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8222 * dlfcn/bug-dl-leaf.c: New test.
8223 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8224 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8225 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8226 (dlclose): Likewise.
8227 (dlmopen): Likewise.
8228
8229 2013-08-27 Roland McGrath <roland@hack.frob.com>
8230
8231 * include/netdb.h [!_ISOMAC]:
8232 Don't include <tls.h>.
8233 (h_errno, __libc_h_errno): Move declaration and macros out of
8234 [_LIBC_REENTRANT].
8235
8236 * include/resolv.h [_RESOLV_H_]:
8237 Don't include <tls.h>.
8238 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8239 * resolv/res_libc.c: Don't include <tls.h>.
8240 (_res): Use __attribute__ ((nocommon)) in place of
8241 __attribute__ ((section (".bss"))).
8242
8243 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8244 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8245
8246 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8247
8248 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8249 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8250
8251 * resolv/res_mkquery.c: Include <sys/time.h>.
8252
8253 * inet/ifreq.c: Moved to ...
8254 * sysdeps/unix/ifreq.c: ... here.
8255 * inet/ifreq.c: New file, true stub version.
8256
8257 * socket/sa_len.c: New file.
8258 * socket/Makefile (aux): Add it.
8259 * sysdeps/unix/sysv/linux/Makefile
8260 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8261 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8262 and #include <socket/sa_len.c>.
8263 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8264 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8265
8266 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8267 * bits/socket.h: ... here.
8268
8269 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8270 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8271 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8272
8273 2013-08-27 Andreas Schwab <schwab@suse.de>
8274
8275 [BZ #15736]
8276 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8277 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8278 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8279 * string/test-strcasecmp.c (test_main): Run tests in several
8280 locales.
8281 * string/test-strncasecmp.c (test_main): Likewise.
8282
8283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8284 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8285 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8287 (__strncasecmp_ssse3) [PIC]: Likewise.
8288
8289 2013-08-26 Roland McGrath <roland@hack.frob.com>
8290
8291 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8292
8293 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8294 instead of explicitly declaring xdecrypt.
8295 * nis/nss_nis/nis-publickey.c: Likewise.
8296
8297 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8298
8299 [BZ #15890]
8300 * nscd/aicache.c: Include res_hconf.h.
8301 (addhstaiX): Initialize res_hconf.
8302
8303 2013-08-26 Andreas Schwab <schwab@suse.de>
8304
8305 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8306 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8307
8308 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8309
8310 * nscd/aicache.c (addhstaiX): Fix indentation.
8311
8312 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8313
8314 * configure.ac: Quote $build_pt_chown test.
8315 * configure: Regenerated.
8316
8317 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8318
8319 [BZ #15532]
8320 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8321 * math/s_cexpf.c (__cexpf): Likewise.
8322 * math/s_cexpl.c (__cexpl): Likewise.
8323 * math/libm-test.inc (cexp_test_data): Correct expected return
8324 value for NaN + i0. Add another test.
8325
8326 2013-08-22 David S. Miller <davem@davemloft.net>
8327
8328 * po/ca.po: Update Catalan translation from translation project.
8329 * po/uk.po: Add Ukrainian translations from translation project.
8330
8331 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8332
8333 [BZ #15797]
8334 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8335 is infinite, not alongside NaN test.
8336 * math/s_fdimf.c (__fdimf): Likewise.
8337 * math/s_fdiml.c (__fdiml): Likewise.
8338 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8339 errno is unchanged.
8340
8341 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8342
8343 * argp/argp-help.c: Fix typos.
8344 * crypt/speeds.c: Likewise.
8345 * csu/check_fds.c: Likewise.
8346 * elf/dl-load.c: Likewise.
8347 * elf/dl-open.c: Likewise.
8348 * elf/reldep3.c: Likewise.
8349 * elf/reldep.c: Likewise.
8350 * elf/sprof.c: Likewise.
8351 * iconv/iconv_charmap.c: Likewise.
8352 * iconv/skeleton.c: Likewise.
8353 * iconv/strtab.c: Likewise.
8354 * io/lockf64.c: Likewise.
8355 * libio/libioP.h: Likewise.
8356 * resolv/gai_notify.c: Likewise.
8357 * resolv/ns_name.c: Likewise.
8358 * resolv/ns_samedomain.c: Likewise.
8359 * resolv/res_send.c: Likewise.
8360 * stdlib/random.c: Likewise.
8361 * sunrpc/rpc/xdr.h: Likewise.
8362 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8364 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8365 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8366 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8370 * sysdeps/mach/hurd/check_fds.c: Likewise.
8371 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8372 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8375 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8376 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8377 * sysdeps/pthread/aio_notify.c: Likewise.
8378 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8379 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8380 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8382 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8383
8384 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8385
8386 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8387 version if bit_Slow_SSE4_2 is set.
8388 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8389 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8390
8391 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8392
8393 [BZ #15867]
8394 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8395 trampoline stack frame information.
8396 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8398 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8399 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8400 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8401 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8402 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8403 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8404 sa_flags value.
8405 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8406 interrupting a syscall and set with option SA_SIGINFO.
8407
8408 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8409
8410 [BZ #15531]
8411 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8412 argument is infinite.
8413 * math/s_cprojf.c (__cprojf): Likewise.
8414 * math/s_cprojl.c (__cprojl): Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8416 * math/libm-test.inc (cproj_test_data): Add more tests.
8417
8418 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8419
8420 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8421 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8422 size. Use __ffs to determine corresponding shift.
8423
8424 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8425 Roland McGrath <roland@hack.frob.com>
8426
8427 * Makefile (INSTALL): Remove trailing blank lines from output of
8428 makeinfo.
8429
8430 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8431
8432 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8433 Align 32 bit compat elf_greg to 8 bytes.
8434
8435 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8436
8437 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8438
8439 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8440
8441 * string/strcoll_l.c (coll_seq): New structure.
8442 (get_next_seq_cached): New function.
8443 (get_next_seq): New function.
8444 (do_compare): New function.
8445 (STRCOLL): Use GNU style definition. Simplify implementation
8446 by using get_next_seq, get_next_seq_cached and do_compare.
8447
8448 2013-08-16 Florian Weimer <fweimer@redhat.com>
8449
8450 [BZ #14699]
8451 CVE-2013-4237
8452 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8453 member.
8454 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8455 member.
8456 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8457 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8458 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8459 conditional.
8460 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8461 GETDENTS_64BIT_ALIGNED.
8462 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8463 * manual/filesys.texi (Reading/Closing Directory): Document
8464 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8465 strongly.
8466 * manual/conf.texi (Limits for Files): Add portability note to
8467 NAME_MAX, PATH_MAX.
8468 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8469
8470 2013-08-13 Andreas Schwab <schwab@suse.de>
8471
8472 [BZ #15749]
8473 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8474 of fabs.
8475 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8476 LDBL_MAX_EXP >= 16384]: Add tests for it.
8477
8478 2013-08-12 David S. Miller <davem@davemloft.net>
8479
8480 * version.h (RELEASE): Set to "development".
8481 (VERSION): Set to "2.18.90".
8482 * NEWS: Add 2.19 section.
8483
8484 2013-08-03 David S. Miller <davem@davemloft.net>
8485
8486 * po/ko.po: Update Korean translation from translation project.
8487
8488 2013-08-01 David S. Miller <davem@davemloft.net>
8489
8490 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8491 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8492 Bilka.
8493
8494 2013-07-30 David S. Miller <davem@davemloft.net>
8495
8496 * po/fr.po: Update French translation from translation project.
8497
8498 2013-07-28 David S. Miller <davem@davemloft.net>
8499
8500 * po/cs.po: Update Czech translation from translation project.
8501
8502 * po/sv.po: Update Swedish translation from translation project.
8503
8504 2013-07-27 David S. Miller <davem@davemloft.net>
8505
8506 * po/eo.po: Update Esperanto translation from translation project.
8507
8508 * po/vi.po: Update Vietnamese translation from translation project.
8509
8510 * po/de.po: Update German translation from translation project.
8511
8512 2013-07-26 David S. Miller <davem@davemloft.net>
8513
8514 * po/bg.po: Update Bulgarian translation from translation project.
8515
8516 * po/nl.po: Update Dutch translation from translation project.
8517 * po/pl.po: Update Polish translation from translation project.
8518 * po/ru.po: Update Russian translation from translation project.
8519
8520 2013-07-24 David S. Miller <davem@davemloft.net>
8521
8522 * po/libc.pot: Update.
8523
8524 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8525
8526 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8527 variable page size.
8528 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8529 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8531
8532 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8533
8534 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8535
8536 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8537 Andreas Schwab <schwab@suse.de>
8538 Roland McGrath <roland@hack.frob.com>
8539 Joseph Myers <joseph@codesourcery.com>
8540 Carlos O'Donell <carlos@redhat.com>
8541
8542 [BZ #15755]
8543 * config.h.in: Define HAVE_PT_CHOWN.
8544 * config.make.in (build-pt-chown): New variable.
8545 * configure.in (--enable-pt_chown): New configure option.
8546 * configure: Regenerate.
8547 * login/Makefile: Include Makeconfig. Build pt_chown only if
8548 build-pt-chown is enabled.
8549 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8550 pt_chown to fix pty ownership.
8551 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8552 CLOSE_ALL_FDS.
8553 * manual/install.texi (Configuring and compiling): Mention
8554 --enable-pt_chown. Add @findex for grantpt.
8555 * INSTALL: Regenerate.
8556
8557 2013-07-20 David S. Miller <davem@davemloft.net>
8558
8559 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8560 difference between 32-bit and 64-bit.
8561
8562 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8563
8564 [BZ #15711]
8565 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8566 Avoid system header dependency with -ffreestanding.
8567 ($(objpfx)bits/syscall%d): Likewise.
8568
8569 2013-07-13 David S. Miller <davem@davemloft.net>
8570
8571 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8572 underflows from atanl/atan2l due to bug 15319.
8573 (casinh_test_data): Likewise.
8574
8575 2013-07-07 David S. Miller <davem@davemloft.net>
8576
8577 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8578
8579 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8580
8581 * sysdeps/i386/fpu/libm-test-ulps: Update.
8582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8583
8584 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8585
8586 * configure.in (--enable-lock-elision): Fix message text.
8587 * INSTALL: Regenerate.
8588 * configure: Regenerate.
8589
8590 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8591
8592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8593
8594 2013-07-03 Andreas Jaeger <aj@suse.de>
8595
8596 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8597 define.
8598 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8599 (ptrace_peeksiginfo_args): Add.
8600 (__ptrace_peeksiginfo_flags): Add.
8601 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8603 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8604
8605 2013-07-03 Allan McRae <allan@archlinux.org>
8606
8607 * sysdeps/i386/fpu/libm-test-ulps: Update.
8608
8609 2013-07-02 David S. Miller <davem@davemloft.net>
8610
8611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8612
8613 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8614
8615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8616
8617 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8618
8619 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8621
8622 2013-07-02 Andi Kleen <ak@linux.intel.com>
8623
8624 * config.h.in (ENABLE_LOCK_ELISION): Add.
8625 * configure.in (--enable-lock-elision): Add option.
8626 * manual/install.texi: Document --enable lock elision.
8627 * configure: Regenerate
8628 * INSTALL: Regenerate.
8629
8630 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8633 SSE4.2 strcasecmp for libc.a.
8634 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8635
8636 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8637
8638 [BZ #13304]
8639 * soft-fp/op-common.h (_FP_FMA): New macro.
8640 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8641 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8642 (_FP_MUL_MEAT_1_imm): ... here.
8643 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8644 (_FP_MUL_MEAT_1_wide): ... here.
8645 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8646 (_FP_MUL_MEAT_1_hard): ... here.
8647 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8648 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8649 (_FP_MUL_MEAT_2_wide): ... here.
8650 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8651 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8652 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8653 (_FP_MUL_MEAT_2_gmp): ... here.
8654 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8655 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8656 (_FP_MUL_MEAT_4_wide): ... here.
8657 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8658 (_FP_MUL_MEAT_4_gmp): ... here.
8659 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8660 (_FP_WFRACBITS_DW_S): Likewise.
8661 (_FP_WFRACXBITS_DW_S): Likewise.
8662 (_FP_HIGHBIT_DW_S): Likewise.
8663 (FP_FMA_S): Likewise.
8664 (_FP_FRAC_HIGH_DW_S): Likewise.
8665 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8666 (_FP_WFRACBITS_DW_D): Likewise.
8667 (_FP_WFRACXBITS_DW_D): Likewise.
8668 (_FP_HIGHBIT_DW_D): Likewise.
8669 (FP_FMA_D): Likewise.
8670 (_FP_FRAC_HIGH_DW_D): Likewise.
8671 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8672 (_FP_WFRACBITS_DW_E): Likewise.
8673 (_FP_WFRACXBITS_DW_E): Likewise.
8674 (_FP_HIGHBIT_DW_E): Likewise.
8675 (FP_FMA_E): Likewise.
8676 (_FP_FRAC_HIGH_DW_E): Likewise.
8677 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8678 (_FP_WFRACBITS_DW_Q): Likewise.
8679 (_FP_WFRACXBITS_DW_Q): Likewise.
8680 (_FP_HIGHBIT_DW_Q): Likewise.
8681 (FP_FMA_Q): Likewise.
8682 (_FP_FRAC_HIGH_DW_Q): Likewise.
8683 * soft-fp/fmasf4.c: New file.
8684 * soft-fp/fmadf4.c: Likewise.
8685 * soft-fp/fmatf4.c: Likewise.
8686
8687 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8688
8689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8690 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8691 Silvermont.
8692 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8693 macro.
8694 (index_Slow_SSE4_2): Likewise.
8695 (index_Prefer_PMINUB_for_stringop): Likewise.
8696 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8697 bit_Slow_SSE4_2 is set.
8698 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8699 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8700
8701 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8702
8703 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8704 rtld_global._dl_hwcap2.
8705 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8706 POWER8.
8707 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8708 POWER8 feature descriptions defined in _dl_hwcap2.
8709 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8710 string handling for POWER8 feature bits.
8711 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8712 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8713 _dl_powerpc_cap_flags.
8714 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8715 * sysdeps/powerpc/rtld-global-offsets.sym
8716 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8717 _dl_hwcap2 in the rtld_global_ro structure.
8718
8719 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8720
8721 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8722 hardware capabilities in support of AT_HWCAP2.
8723 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8724 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8725 GLRO(dl_hwcap2).
8726 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8727 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8728 explicitly the unknown a_type display mechanism is used.
8729 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8730 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8731 struct member.
8732 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8733 to macro prototype for AT_HWCAP2 support.
8734 * sysdeps/i386/dl-procinfo.h: Likewise.
8735 * sysdeps/s390/dl-procinfo.h: Likewise.
8736 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8737 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8738 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8739 return -1 for unknown a_type display fallback.
8740 * sysdeps/sparc/dl-procinfo.h: Likewise.
8741 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8742 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8743
8744 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8745
8746 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8747 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8748
8749 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8750
8751 [BZ #12492]
8752 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8753 mprotect making __stack_prot writable.
8754
8755 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8756 Joseph Myers <joseph@codesourcery.com>
8757
8758 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8759 as being properly aligned.
8760
8761 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8762
8763 * dlfcn/modstatic5.c: New file.
8764 * dlfcn/tststatic5.c: New file.
8765 * dlfcn/Makefile (tests): Add tststatic5.
8766 (tests-static): Likewise.
8767 (modules-names): Add modstatic5.
8768 (tststatic5-ENV): New variable.
8769 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8770
8771 [BZ #15022]
8772 * elf/dl-support.c (_dl_main_map): New variable.
8773 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8774 (_dl_nns, _dl_load_adds): Set to 1.
8775 (_dl_initial_searchlist): Refer to _dl_main_map.
8776 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8777 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8778 call to _dl_get_origin.
8779 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8780 around call_map.
8781 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8782 * dlfcn/modstatic3.c: New file.
8783 * dlfcn/tststatic3.c: New file.
8784 * dlfcn/tststatic4.c: New file.
8785 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8786 (tests-static): Likewise.
8787 (modules-names): Add modstatic3.
8788 (tststatic3-ENV, tststatic4-ENV): New variables.
8789 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8790 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8791
8792 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8793
8794 * configure.in (CC): Require GCC version 4.4 or later.
8795 * configure: Regenerated.
8796 * manual/install.texi (Tools for Compilation): Update GCC version
8797 requirement.
8798 * INSTALL: Regenerated.
8799
8800 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8801
8802 [BZ #15674]
8803 * string/test-memcmp.c (check2): New.
8804 (main): Call check2.
8805
8806 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8807
8808 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8809
8810 [BZ #15022]
8811 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8812 over to...
8813 (dl_open_worker) [!SHARED]: ... here.
8814
8815 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8816
8817 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8818
8819 2013-06-25 Richard Henderson <rth@redhat.com>
8820
8821 * locale/programs/locarchive.c: Include <libc-internal.h>
8822
8823 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8824
8825 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8826 trailing whitespace removed.
8827
8828 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8829
8830 [BZ #10283]
8831 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8832 * locale/programs/locarchive.c: Include libc-mmap.h.
8833 (prepare_address_space): Take two new outputs (the mmap base and len).
8834 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8835 values.
8836 (create_archive): Declare new mmap base and len values for
8837 prepare_address_space, and store the result in ah.
8838 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8839 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8840 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8841 Declare new mmap base and len values for
8842 prepare_address_space, and store the result in new_ah.
8843 (open_archive): Declare new mmap base and len values for
8844 prepare_address_space, and store the result in ah.
8845 (close_archive): If ah->mmap_base is not NULL, use that and
8846 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8847 * sysdeps/generic/libc-mmap.h: New file.
8848
8849 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8850
8851 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8852 (ALIGN_UP): Likewise.
8853 (PTR_ALIGN_DOWN): Likewise.
8854 (PTR_ALIGN_UP): Likewise.
8855
8856 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8857
8858 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8859 entry mapped to PPC_PLATFORM_POWER8.
8860 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8861 POWER8.
8862 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8863 (_dl_string_platform): Add case for exporting platform position for
8864 POWER8.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8866 search path to sysdeps/powerpc/powerpc32/power8 directory.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8868 search path to sysdeps/powerpc/powerpc64/power8 directory.
8869 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8870 power7 directories.
8871 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8872 power7 directories.
8873
8874 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8875
8876 * INSTALL: Regenerate.
8877
8878 * nscd/connections.c (nscd_init): Fix comment.
8879
8880 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8881
8882 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8883
8884 [BZ #15667]
8885 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8886 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8887
8888 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8889
8890 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8891 DL_DST_REQ_STATIC.
8892 (DL_DST_REQ_STATIC): Remove macro.
8893
8894 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8895
8896 [BZ #7006]
8897 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8898 with a shift of 0 bits.
8899
8900 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8901
8902 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8903 $(tststatic-ENV).
8904
8905 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8906
8907 [BZ #15655]
8908 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8909
8910 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8911
8912 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8913 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8914 accepts -fno-tree-loop-distribute-patterns.
8915 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8916 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8917 recursive call.
8918 * string/memset.c (memset): Likewise.
8919 * string/test-memmove.c (simple_memmove): Disable loop transformation
8920 to library calls.
8921 * string/test-memset.c (simple_memset): Likewise.
8922 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8923 * benchtests/bench-memset.c (simple_memset): Likewise.
8924 * configure: Regenerated.
8925
8926 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8927
8928 * math/test-misc.c (main): Ignore fesetround failure when failures
8929 of subsequent rounding tests would be ignored.
8930
8931 [BZ #15654]
8932 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8933 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8934 * math/fegetenv.c (__fegetenv): Return 0.
8935 * math/fegetexcept.c (fegetexcept): Return 0.
8936 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8937 FE_TONEAREST.
8938 * math/feholdexcpt.c (feholdexcept): Return 0.
8939 * math/fesetenv.c (__fesetenv): Return 0.
8940 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8941 argument FE_TONEAREST.
8942 * math/feupdateenv.c (__feupdateenv): Return 0.
8943 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8944
8945 2013-06-18 Roland McGrath <roland@hack.frob.com>
8946
8947 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8948 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8949 ($(objpfx)rtld-%.os rules): Use them.
8950
8951 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8952
8953 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8954 fields.
8955
8956 2013-06-17 Roland McGrath <roland@hack.frob.com>
8957
8958 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8959 length of target pattern, then descending length of dependency pattern.
8960 * configure.in (AWK): Require gawk 3.1.2 or newer.
8961 * manual/install.texi (Tools for Compilation): Say that we do.
8962 * configure: Regenerated.
8963
8964 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8965 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8966 * scripts/sysd-rules.awk: ... this new script.
8967 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8968 than a glob-style pattern.
8969
8970 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8971
8972 * math/test-misc.c (main): Do not treat incorrectly rounded
8973 conversions as failure unless ROUNDING_TESTS passes.
8974
8975 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8976
8977 [BZ #15631]
8978 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8979 restore exception state around main square root computation, then
8980 check for inexactness explicitly.
8981
8982 * math/libm-test.inc (fma_test_data): Add another test.
8983
8984 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8985
8986 * manual/threads.texi (Non-POSIX Extensions): New document
8987 node. Document pthread_getattr_default_np and
8988 pthread_setattr_default_np.
8989
8990 * Versions.def (libpthread): Add GLIBC_2.18.
8991 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8993 Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8995 Likewise.
8996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8997 Likewise.
8998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8999 Likewise.
9000 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9001 Likewise.
9002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9003 Likewise.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9005 Likewise.
9006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9007 Likewise.
9008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9009 Likewise.
9010
9011 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9012
9013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9014 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9015
9016 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9017 H.J. Lu <hjl.tools@gmail.com>
9018
9019 [BZ #15627]
9020 * sysdeps/x86_64/rtld-memset.c: Remove file.
9021 * sysdeps/x86_64/rtld-memset.S: New file.
9022
9023 2013-06-14 Joseph Myers <joseph@codesourcery.com>
9024
9025 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9026 (test_in_one_mode): Take arguments for whether the rounding mode
9027 is supported for each floating-point type.
9028 (do_test): Pass new arguments to test_in_one_mode using
9029 ROUNDING_TESTS.
9030
9031 2013-06-13 Roland McGrath <roland@hack.frob.com>
9032
9033 * posix/tst-waitid.c (do_test): Distinguish different instances of
9034 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
9035 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9036 before entering the kernel for waitpid.
9037
9038 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9039
9040 * NEWS: Fix note on clock function precision. Text by Roland
9041 McGrath.
9042
9043 2013-06-13 Roland McGrath <roland@hack.frob.com>
9044
9045 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9046 it into place only when and if the sanity check passes.
9047
9048 2013-06-13 Joseph Myers <joseph@codesourcery.com>
9049
9050 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9051 output for whether conversion result is exact. Take argument
9052 indicating whether type is IBM long double.
9053 (round_for_all): Change need_exact field to ibm_ld.
9054 * stdlib/tst-strtod-round.c (struct exactness): New type.
9055 (struct test): Change bool ld_ok field to struct exactness exact.
9056 (TEST): Update all definitions for change to field.
9057 (tests): Regenerate array contents.
9058 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9059 field value. Check for IBM long double here.
9060 (do_test): Update calls to test_in_one_mode.
9061
9062 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9063
9064 [BZ #12515]
9065 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9066 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9067
9068 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9069
9070 [BZ #15605]
9071 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9072 generated by the compiler on loop optimizations.
9073 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9074 general definitions.
9075
9076 2013-06-12 Joseph Myers <joseph@codesourcery.com>
9077
9078 * math/bug-nextafter.c: Include <math-tests.h>.
9079 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9080 the relevant type.
9081 * math/bug-nexttoward.c: Include <math-tests.h>.
9082 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9083 the relevant type.
9084 * math/test-misc.c: Include <math-tests.h>.
9085 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9086 the relevant type.
9087
9088 2013-06-12 Andreas Jaeger <aj@suse.de>
9089
9090 * po/ia.po: Update Interlingua translation from translation
9091 project.
9092
9093 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9094
9095 * include/fenv.h: Include stdbool.h.
9096 (struct rm_ctx): New structure.
9097 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9098 Define macro.
9099 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9100 (SET_RESTORE_ROUNDF): Likewise.
9101 (SET_RESTORE_ROUNDL): Likewise.
9102 (SET_RESTORE_ROUND_NOEX): Likewise.
9103 (SET_RESTORE_ROUND_NOEXF): Likewise.
9104 (SET_RESTORE_ROUND_NOEXL): Likewise.
9105 (SET_RESTORE_ROUND_53BIT): Likewise.
9106 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9107 (libc_feresetround_noexf_ctx): Likewise.
9108 (libc_feresetround_noexl_ctx): Likewise.
9109 (libc_feholdsetround_53bit_ctx): Likewise.
9110 (libc_feresetround_53bit_ctx): Likewise.
9111 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9112 (libc_feholdexcept_setround_sse_ctx): New function.
9113 (libc_fesetenv_sse_ctx): Likewise.
9114 (libc_feupdateenv_sse_ctx): Likewise.
9115 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9116 (libc_feholdexcept_setround_387_ctx): Likewise.
9117 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9118 (libc_feholdsetround_387_prec_ctx): Likewise.
9119 (libc_feholdsetround_387_ctx): Likewise.
9120 (libc_feholdsetround_387_53bit_ctx): Likewise.
9121 (libc_feholdsetround_sse_ctx): Likewise.
9122 (libc_feresetround_sse_ctx): Likewise.
9123 (libc_feresetround_387_ctx): Likewise.
9124 (libc_feupdateenv_387_ctx): Likewise.
9125 (libc_feholdexcept_setroundf_ctx): Define macro.
9126 (libc_fesetenvf_ctx): Likewise.
9127 (libc_feupdateenvf_ctx): Likewise.
9128 (libc_feholdsetroundf_ctx): Likewise.
9129 (libc_feresetroundf_ctx): Likewise.
9130 (libc_feholdexcept_setround_ctx): Likewise.
9131 (libc_fesetenv_ctx): Likewise.
9132 (libc_feupdateenv_ctx): Likewise.
9133 (libc_feholdsetround_ctx): Likewise.
9134 (libc_feresetround_ctx): Likewise.
9135 (libc_feholdexcept_setroundl_ctx): Likewise.
9136 (libc_feupdateenvl_ctx): Likewise.
9137 (libc_feholdsetroundl_ctx): Likewise.
9138 (libc_feresetroundl_ctx): Likewise.
9139 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9140 (libc_feresetround_53bit_ctx): Likewise.
9141
9142 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 * locale/iso-639.def: Convert to UTF-8.
9145
9146 2013-06-11 Joseph Myers <joseph@codesourcery.com>
9147
9148 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9149 (EXCEPTION_TESTS_double): Likewise.
9150 (EXCEPTION_TESTS_long_double): Likewise.
9151 (EXCEPTION_TESTS): Likewise.
9152 * math/libm-test.inc (test_exceptions): Only test exceptions if
9153 EXCEPTION_TESTS (FLOAT).
9154
9155 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9156
9157 * benchtests/Makefile (string-bench): Add strcpy_chk and
9158 stpcpy_chk.
9159 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9160 * benchtests/bench-stpcpy_chk.c: New file.
9161 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9162 * benchtests/bench-strcpy_chk.c: New file.
9163 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9164 code.
9165 (do_test): Likewise.
9166
9167 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9168
9169 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9170 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9171 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9172 with tabs where appropriate.
9173 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9174 dl-procinfo.h.
9175 [PPC_PLATFORM_PPC440]: Likewise.
9176 [PPC_PLATFORM_PPC464]: Likewise.
9177 [PPC_PLATFORM_PPC476]: Likewise.
9178 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9179 ppc464, and ppc476 platform strings merging from ports/
9180 dl-procinfo.h.
9181
9182 2013-06-11 Andreas Schwab <schwab@suse.de>
9183
9184 [BZ #14991]
9185 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9186 (from_ucs4_idx): Regenerate.
9187 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9188 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9189 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9190 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9191 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9192 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9193 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9194 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9195 from FROM_LOOP and TO_LOOP specific macros.
9196 (BODY): Handle combining characters.
9197 * iconvdata/BIG5HKSCS.irreversible: Update.
9198 * iconvdata/BIG5HKSCS.precomposed: New file.
9199 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9200 characters.
9201 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9202
9203 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9204
9205 * include/sys/time.h: Fix indentation and add copyright header.
9206
9207 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9208 (do_test): Likewise.
9209 * string/test-memchr.c (do_one_test): Likewise.
9210 (do_test): Likewise.
9211 * string/test-memcmp.c (do_one_test): Likewise.
9212 (do_test): Likewise.
9213 * string/test-memcpy.c (do_one_test): Likewise.
9214 (do_test): Likewise.
9215 * string/test-memmem.c (do_one_test): Likewise.
9216 (do_test): Likewise.
9217 (do_random_tests): Likewise.
9218 * string/test-memmove.c (do_one_test): Likewise.
9219 (do_test): Likewise.
9220 * string/test-memset.c (do_one_test): Likewise.
9221 (do_test): Likewise.
9222 * string/test-rawmemchr.c (do_one_test): Likewise.
9223 (do_test): Likewise.
9224 * string/test-strcasecmp.c (do_one_test): Likewise.
9225 (do_test): Likewise.
9226 * string/test-strcasestr.c (do_one_test): Likewise.
9227 (do_test): Likewise.
9228 * string/test-strcat.c (do_one_test): Likewise.
9229 (do_test): Likewise.
9230 * string/test-strchr.c (do_one_test): Likewise.
9231 (do_test): Likewise.
9232 * string/test-strcmp.c (do_one_test): Likewise.
9233 (do_test): Likewise.
9234 * string/test-strcpy.c (do_one_test): Likewise.
9235 (do_test): Likewise.
9236 * string/test-string.h: Likewise.
9237 (test_init): Likewise.
9238 * string/test-strlen.c (do_one_test): Likewise.
9239 (do_test): Likewise.
9240 * string/test-strncasecmp.c (do_one_test): Likewise.
9241 (do_test): Likewise.
9242 * string/test-strncat.c (do_one_test): Likewise.
9243 (do_test): Likewise.
9244 * string/test-strncmp.c (do_one_test): Likewise.
9245 (do_test_limit): Likewise.
9246 (do_test): Likewise.
9247 * string/test-strncpy.c (do_one_test): Likewise.
9248 (do_test): Likewise.
9249 * string/test-strnlen.c (do_one_test): Likewise.
9250 (do_test): Likewise.
9251 * string/test-strpbrk.c (do_one_test): Likewise.
9252 (do_test): Likewise.
9253 * string/test-strrchr.c (do_one_test): Likewise.
9254 (do_test): Likewise.
9255 * string/test-strspn.c (do_one_test): Likewise.
9256 (do_test): Likewise.
9257 * string/test-strstr.c (do_one_test): Likewise.
9258 (do_test): Likewise.
9259
9260 * benchtests/Makefile (string-bench): Add string benchmarks.
9261 * benchtests/bench-bcopy-ifunc.c: New file.
9262 * benchtests/bench-bcopy.c: New file.
9263 * benchtests/bench-bzero-ifunc.c: New file.
9264 * benchtests/bench-bzero.c: New file.
9265 * benchtests/bench-memccpy-ifunc.c: New file.
9266 * benchtests/bench-memccpy.c: New file.
9267 * benchtests/bench-memchr-ifunc.c: New file.
9268 * benchtests/bench-memchr.c: New file.
9269 * benchtests/bench-memcmp-ifunc.c: New file.
9270 * benchtests/bench-memcmp.c: New file.
9271 * benchtests/bench-memmem-ifunc.c: New file.
9272 * benchtests/bench-memmem.c: New file.
9273 * benchtests/bench-memmove-ifunc.c: New file.
9274 * benchtests/bench-memmove.c: New file.
9275 * benchtests/bench-mempcpy-ifunc.c: New file.
9276 * benchtests/bench-mempcpy.c: New file.
9277 * benchtests/bench-memset-ifunc.c: New file.
9278 * benchtests/bench-memset.c: New file.
9279 * benchtests/bench-rawmemchr-ifunc.c: New file.
9280 * benchtests/bench-rawmemchr.c: New file.
9281 * benchtests/bench-stpcpy-ifunc.c: New file.
9282 * benchtests/bench-stpcpy.c: New file.
9283 * benchtests/bench-stpncpy-ifunc.c: New file.
9284 * benchtests/bench-stpncpy.c: New file.
9285 * benchtests/bench-strcasecmp-ifunc.c: New file.
9286 * benchtests/bench-strcasecmp.c: New file.
9287 * benchtests/bench-strcasestr-ifunc.c: New file.
9288 * benchtests/bench-strcasestr.c: New file.
9289 * benchtests/bench-strcat-ifunc.c: New file.
9290 * benchtests/bench-strcat.c: New file.
9291 * benchtests/bench-strchr-ifunc.c: New file.
9292 * benchtests/bench-strchr.c: New file.
9293 * benchtests/bench-strchrnul-ifunc.c: New file.
9294 * benchtests/bench-strchrnul.c: New file.
9295 * benchtests/bench-strcmp-ifunc.c: New file.
9296 * benchtests/bench-strcmp.c: New file.
9297 * benchtests/bench-strcpy-ifunc.c: New file.
9298 * benchtests/bench-strcpy.c: New file.
9299 * benchtests/bench-strcspn-ifunc.c: New file.
9300 * benchtests/bench-strcspn.c: New file.
9301 * benchtests/bench-strlen-ifunc.c: New file.
9302 * benchtests/bench-strlen.c: New file.
9303 * benchtests/bench-strncasecmp-ifunc.c: New file.
9304 * benchtests/bench-strncasecmp.c: New file.
9305 * benchtests/bench-strncat-ifunc.c: New file.
9306 * benchtests/bench-strncat.c: New file.
9307 * benchtests/bench-strncmp-ifunc.c: New file.
9308 * benchtests/bench-strncmp.c: New file.
9309 * benchtests/bench-strncpy-ifunc.c: New file.
9310 * benchtests/bench-strncpy.c: New file.
9311 * benchtests/bench-strnlen-ifunc.c: New file.
9312 * benchtests/bench-strnlen.c: New file.
9313 * benchtests/bench-strpbrk-ifunc.c: New file.
9314 * benchtests/bench-strpbrk.c: New file.
9315 * benchtests/bench-strrchr-ifunc.c: New file.
9316 * benchtests/bench-strrchr.c: New file.
9317 * benchtests/bench-strspn-ifunc.c: New file.
9318 * benchtests/bench-strspn.c: New file.
9319 * benchtests/bench-strstr-ifunc.c: New file.
9320 * benchtests/bench-strstr.c: New file.
9321
9322 * benchtests/Makefile: Disable parallel execution of targets.
9323 (string-bench): Add memcpy.
9324 (benchset): New variable to store a list of benchmark sets.
9325 (bench-func): Renamed from bench.
9326 (bench-set): New target.
9327 (bench): Depend on bench-func and bench-set.
9328 * benchtests/README: Add section on benchmark sets.
9329 * benchtests/bench-memcpy-ifunc.c: New file.
9330 * benchtests/bench-memcpy.c: New file.
9331 * benchtests/bench-string.h: New file.
9332
9333 2013-06-11 Andreas Schwab <schwab@suse.de>
9334
9335 [BZ #15577]
9336 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9337 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9338 values in the triple.
9339 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9340 terminator in the group key.
9341
9342 2013-06-11 Andreas Jaeger <aj@suse.de>
9343
9344 * po/zh_TW.po: Update Chinese (traditional) translation from
9345 translation project.
9346
9347 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9348
9349 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9350 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9351 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9352 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9353 (clock_getcpuclockid): Likewise.
9354 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9355 Add weak_alias and libc_hidden_def.
9356 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9357 * rt/clock_gettime.c (clock_gettime): Rename to
9358 __clock_gettime. Add weak_alias and libc_hidden_def.
9359 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9360 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9361 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9362 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9363 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9364 Likewise.
9365 * rt/clock_settime.c (clock_settime): Rename to
9366 __clock_settime. Add weak_alias and libc_hidden_def.
9367 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9368
9369 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9370
9371 * mach/err_boot.sub: Remove trailing whitespace.
9372 * mach/err_ipc.sub: Likewise.
9373 * mach/err_mach.sub: Likewise.
9374
9375 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9376 (ROUNDING_TESTS_double): Likewise.
9377 (ROUNDING_TESTS_long_double): Likewise.
9378 (ROUNDING_TESTS): Likewise.
9379 * math/libm-test.inc: Include <math-tests.h>.
9380 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9381 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9382 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9383 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9384
9385 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9386
9387 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9388 of assigning.
9389
9390 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9391
9392 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9393 otherwise empty TRANS lines.
9394 * sysdeps/gnu/errlist.c: Regenerated.
9395
9396 * catgets/gencat.c (error_print): Use (void) in function
9397 definition.
9398 * crypt/crypt_util.c (__init_des): Likewise.
9399 * crypt/speeds.c (Stop): Likewise.
9400 (main): Likewise.
9401 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9402 * inet/ruserpass.c (token): Likewise.
9403 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9404 * intl/localealias.c (extend_alias_table): Likewise.
9405 * intl/plural-exp.c (init_germanic_plural): Likewise.
9406 * libio/fcloseall.c (__fcloseall): Likewise.
9407 * libio/genops.c (_IO_flush_all): Likewise.
9408 (_IO_flush_all_linebuffered): Likewise.
9409 (_IO_cleanup): Likewise.
9410 (_IO_iter_begin): Likewise.
9411 (_IO_iter_end): Likewise.
9412 (_IO_list_lock): Likewise.
9413 (_IO_list_unlock): Likewise.
9414 (_IO_list_resetlock): Likewise.
9415 * libio/getchar.c (getchar): Likewise.
9416 * libio/getchar_u.c (getchar_unlocked): Likewise.
9417 * libio/getwchar.c (getwchar): Likewise.
9418 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9419 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9420 * login/getpt.c (__getpt): Likewise.
9421 * login/tst-utmp.c (main): Likewise.
9422 * malloc/hooks.c (__malloc_check_init): Likewise.
9423 * malloc/malloc.c (__malloc_stats): Likewise.
9424 * malloc/mtrace.c (tr_break): Likewise.
9425 (mtrace): Likewise.
9426 (muntrace): Likewise.
9427 * misc/fstab.c (endfsent): Likewise.
9428 * misc/getclktck.c (__getclktck): Likewise.
9429 * misc/getdtsz.c (__getdtablesize): Likewise.
9430 * misc/gethostid.c (gethostid): Likewise.
9431 * misc/getpagesize.c (__getpagesize): Likewise.
9432 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9433 (__get_nprocs): Likewise.
9434 (__get_phys_pages): Likewise.
9435 (__get_avphys_pages): Likewise.
9436 * misc/getttyent.c (getttyent): Likewise.
9437 (setttyent): Likewise.
9438 (endttyent): Likewise.
9439 * misc/getusershell.c (getusershell): Likewise.
9440 (endusershell): Likewise.
9441 (setusershell): Likewise.
9442 (initshells): Likewise.
9443 * misc/hsearch.c (__hdestroy): Likewise.
9444 * misc/sync.c (sync): Likewise.
9445 * misc/syslog.c (closelog_internal): Likewise.
9446 (closelog): Likewise.
9447 * misc/ttyslot.c (ttyslot): Likewise.
9448 * misc/vhangup.c (vhangup): Likewise.
9449 * posix/fork.c (__fork): Likewise.
9450 * posix/getegid.c (__getegid): Likewise.
9451 * posix/geteuid.c (__geteuid): Likewise.
9452 * posix/getgid.c (__getgid): Likewise.
9453 * posix/getpid.c (__getpid): Likewise.
9454 * posix/getppid.c (__getppid): Likewise.
9455 * posix/getuid.c (__getuid): Likewise.
9456 * posix/pause.c (pause): Likewise.
9457 * posix/setpgrp.c (setpgrp): Likewise.
9458 * posix/setsid.c (__setsid): Likewise.
9459 * posix/test-vfork.c (noop): Likewise.
9460 * resolv/gethnamaddr.c (_endhtent): Likewise.
9461 (_gethtent): Likewise.
9462 (ht_endhostent): Likewise.
9463 (gethostent): Likewise.
9464 (dns_service): Likewise.
9465 * stdlib/drand48.c (drand48): Likewise.
9466 * stdlib/lrand48.c (lrand48): Likewise.
9467 * stdlib/mrand48.c (mrand48): Likewise.
9468 * stdlib/rand.c (rand): Likewise.
9469 * stdlib/random.c (__random): Likewise.
9470 * stdlib/setenv.c (clearenv): Likewise.
9471 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9472 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9473 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9474 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9475 (__get_nprocs): Likewise.
9476 (__get_phys_pages): Likewise.
9477 (__get_avphys_pages): Likewise.
9478 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9479 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9480 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9481 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9482 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9483 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9484 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9485 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9486 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9487 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9488 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9489 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9490 * sysdeps/posix/clock.c (clock): Likewise.
9491 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9492 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9493 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9494 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9495 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9497 (__get_nprocs_conf): Likewise.
9498 (__get_phys_pages): Likewise.
9499 (__get_avphys_pages): Likewise.
9500 * time/clock.c (clock): Likewise.
9501 * time/tzset.c (__tzname_max): Likewise.
9502
9503 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9504
9505 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9506 (__bswap_32): Do not use "register".
9507 * crypt/crypt.c (_ufc_doit_r): Likewise.
9508 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9509 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9510 * gmon/gmon.c (__monstartup): Likewise.
9511 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9512 * hurd/hurdmalloc.c (more_memory): Likewise.
9513 (malloc): Likewise.
9514 (free): Likewise.
9515 (realloc): Likewise.
9516 (malloc_fork_prepare): Likewise.
9517 (malloc_fork_parent): Likewise.
9518 (malloc_fork_child): Likewise.
9519 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9520 (_svcauth_des): Likewise.
9521 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9522 * inet/inet_net.c (inet_network): Likewise.
9523 * inet/inet_netof.c (inet_netof): Likewise.
9524 * inet/rcmd.c (__validuser2_sa): Likewise.
9525 * io/fts.c (fts_open): Likewise.
9526 (fts_load): Likewise.
9527 (fts_close): Likewise.
9528 (fts_read): Likewise.
9529 (fts_children): Likewise.
9530 (fts_build): Likewise.
9531 (fts_stat): Likewise.
9532 (fts_sort): Likewise.
9533 (fts_alloc): Likewise.
9534 (fts_lfree): Likewise.
9535 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9536 (_IO_file_xsgetn): Likewise.
9537 (_IO_file_xsgetn_mmap): Likewise.
9538 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9539 (_IO_cookie_write): Likewise.
9540 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9541 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9542 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9543 * malloc/obstack.c (_obstack_begin): Likewise.
9544 (_obstack_begin_1): Likewise.
9545 (_obstack_newchunk): Likewise.
9546 (_obstack_allocated_p): Likewise.
9547 (obstack_free): Likewise.
9548 (_obstack_memory_used): Likewise.
9549 * misc/getttyent.c (getttynam): Likewise.
9550 (getttyent): Likewise.
9551 (skip): Likewise.
9552 (value): Likewise.
9553 * misc/getusershell.c (initshells): Likewise.
9554 * misc/syslog.c (__vsyslog_chk): Likewise.
9555 * misc/ttyslot.c (ttyslot): Likewise.
9556 * nis/nis_hash.c (__nis_hash): Likewise.
9557 * posix/fnmatch_loop.c (FCT): Likewise.
9558 * posix/getconf.c (print_all): Likewise.
9559 (main): Likewise.
9560 * posix/getopt.c (exchange): Likewise.
9561 * posix/glob.c (globfree): Likewise.
9562 (prefix_array): Likewise.
9563 (__glob_pattern_type): Likewise.
9564 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9565 (NS_GET32): Likewise.
9566 (NS_PUT16): Likewise.
9567 (NS_PUT32): Likewise.
9568 * resolv/gethnamaddr.c (getanswer): Likewise.
9569 (gethostbyname2): Likewise.
9570 (gethostbyaddr): Likewise.
9571 (_gethtent): Likewise.
9572 (_gethtbyname2): Likewise.
9573 (_gethtbyaddr): Likewise.
9574 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9575 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9576 * resolv/res_init.c (__res_vinit): Likewise.
9577 (net_mask): Likewise.
9578 * resolv/res_mkquery.c (outchar): Likewise.
9579 (PRINT): Likewise.
9580 * stdio-common/printf_fp.c (outchar): Likewise.
9581 (PRINT): Likewise.
9582 * stdio-common/printf_fphex.c (outchar): Likewise.
9583 (PRINT): Likewise.
9584 * stdio-common/printf_size.c (outchar): Likewise.
9585 (PRINT): Likewise.
9586 * stdio-common/test_rdwr.c (main): Likewise.
9587 * stdio-common/tfformat.c (matches): Likewise.
9588 * stdio-common/vfprintf.c (outchar): Likewise.
9589 (printf_unknown): Likewise.
9590 (buffered_vfprintf): Likewise.
9591 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9592 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9593 (ReadFile): Likewise.
9594 * stdlib/qsort.c (SWAP): Likewise.
9595 (_quicksort): Likewise.
9596 * stdlib/setenv.c (__add_to_environ): Likewise.
9597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9598 * stdlib/strtol_l.c (__strtol_l): Likewise.
9599 * stdlib/tst-strtod.c (main): Likewise.
9600 * stdlib/tst-strtol.c (main): Likewise.
9601 * stdlib/tst-strtoll.c (main): Likewise.
9602 * string/bits/string2.h (__strcmp_cc): Likewise.
9603 (__strcmp_cg): Likewise.
9604 (__strcspn_c1): Likewise.
9605 (__strcspn_c2): Likewise.
9606 (__strcspn_c3): Likewise.
9607 (__strspn_c1): Likewise.
9608 (__strspn_c2): Likewise.
9609 (__strspn_c3): Likewise.
9610 (__strsep_1c): Likewise.
9611 (__strsep_2c): Likewise.
9612 (__strsep_3c): Likewise.
9613 * string/memccpy.c (__memccpy): Likewise.
9614 * string/stpcpy.c (__stpcpy): Likewise.
9615 * string/strcmp.c (strcmp): Likewise.
9616 * string/strrchr.c (strrchr): Likewise.
9617 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9618 Likewise.
9619 * sysdeps/mach/hurd/getcwd.c
9620 (_hurd_canonicalize_directory_name_internal): Likewise.
9621 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9622 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9623 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9624 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9625 Likewise, in both definitions.
9626 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9627 definitions.
9628 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9629 64] (__bswap_64): Likewise.
9630 * time/test_time.c (main): Likewise.
9631 * time/tzfile.c (__tzfile_read): Likewise.
9632 (__tzfile_compute): Likewise.
9633 * time/tzset.c (__tzset_parse_tz): Likewise.
9634 (tzset_internal): Likewise.
9635 (compute_change): Likewise.
9636 * wcsmbs/wcscat.c (__wcscat): Likewise.
9637 * wcsmbs/wcschr.c (wcschr): Likewise.
9638 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9639 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9640 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9641 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9642 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9643 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9644 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9645 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9646 * wcsmbs/wmemset.c (wmemset): Likewise.
9647
9648 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9649
9650 * scripts/config.guess: Update to version 2013-05-16.
9651 * scripts/config.sub: Update to version 2013-04-24.
9652 * scripts/install-sh: Update to version 2011-11-20.07.
9653 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9654 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9655
9656 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9657
9658 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9659 * elf/sln.c: Likewise.
9660 * hurd/hurd/ioctl.h: Likewise.
9661 * hurd/hurdmalloc.c: Likewise.
9662 * hurd/xattr.c: Likewise.
9663 * include/shlib-compat.h: Likewise.
9664 * inet/ruserpass.c: Likewise.
9665 * libio/iofgets_u.c: Likewise.
9666 * libio/iofgetws_u.c: Likewise.
9667 * locale/programs/ld-identification.c: Likewise.
9668 * locale/programs/ld-time.c: Likewise.
9669 * mach/msg-destroy.c: Likewise.
9670 * nss/nss_files/files-netgrp.c: Likewise.
9671 * resolv/res_data.c: 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-common.h: Likewise.
9676 * stdio-common/printf_fphex.c: Likewise.
9677 * stdlib/strtod_l.c: Likewise.
9678 * sunrpc/rpc/clnt.h: Likewise.
9679 * sysdeps/generic/framestate.c: Likewise.
9680 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9681 * sysdeps/i386/bsd-setjmp.S: Likewise.
9682 * sysdeps/i386/__longjmp.S: Likewise.
9683 * sysdeps/i386/setjmp.S: Likewise.
9684 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9685 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9702 * sysdeps/ieee754/support.c: Likewise.
9703 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9704 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9705 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9706 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9707 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9708 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9709 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9710 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9711 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9712 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9713 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9714 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9715 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9718 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9719 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9721
9722 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9723
9724 * posix/transbug.c: Remove executable mode.
9725
9726 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9727
9728 * crypt/speeds.c: Remove trailing whitespace.
9729 * dlfcn/default.c: Likewise.
9730 * elf/ifuncdep2.c: Likewise.
9731 * elf/ifuncmain1.c: Likewise.
9732 * elf/ifuncmain1vis.c: Likewise.
9733 * elf/testobj.h: Likewise.
9734 * elf/tst-stackguard1.c: Likewise.
9735 * gmon/sys/gmon.h: Likewise.
9736 * hurd/hurdmsg.c: Likewise.
9737 * hurd/new-fd.c: Likewise.
9738 * hurd/ports-get.c: Likewise.
9739 * iconvdata/ibm1008_420.c: Likewise.
9740 * inet/tst-getni1.c: Likewise.
9741 * inet/tst-getni2.c: Likewise.
9742 * libio/ioungetc.c: Likewise.
9743 * libio/wfiledoalloc.c: Likewise.
9744 * manual/libm-err-tab.pl: Likewise.
9745 * math/w_dremf.c: Likewise.
9746 * misc/ftruncate.c: Likewise.
9747 * posix/bug-glob2.c: Likewise.
9748 * posix/tst-pcre.c: Likewise.
9749 * posix/wait4.c: Likewise.
9750 * resolv/README: Likewise.
9751 * resolv/res_debug.h: Likewise.
9752 * resolv/tst-inet_ntop.c: Likewise.
9753 * setjmp/bug269-setjmp.c: Likewise.
9754 * soft-fp/extended.h: Likewise.
9755 * soft-fp/op-1.h: Likewise.
9756 * soft-fp/op-2.h: Likewise.
9757 * soft-fp/op-4.h: Likewise.
9758 * soft-fp/op-8.h: Likewise.
9759 * soft-fp/testit.c: Likewise.
9760 * stdio-common/bug16.c: Likewise.
9761 * stdlib/random.c: Likewise.
9762 * sunrpc/rpcsvc/rquota.x: Likewise.
9763 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9764 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9766 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9767 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9768 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9769 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9773 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9792 * sysdeps/ieee754/s_lib_version.c: Likewise.
9793 * sysdeps/mach/hurd/check_fds.c: Likewise.
9794 * sysdeps/mach/hurd/getsockname.c: Likewise.
9795 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9796 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9797 * sysdeps/powerpc/bits/link.h: Likewise.
9798 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9799 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9800 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9801 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9802 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9803 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9804 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9805 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9806 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9808 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9809 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9810 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9811 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9812 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9813 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9817 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9821 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9822 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9827 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9831 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9832 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9833 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9834 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9835 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9836 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9837 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9838 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9839 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9840 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9841 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9842 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9843 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9845 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9846 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9847 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9850 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9852 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9853 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9854 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9856 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9857 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9859 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9860 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9861 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9862 * sysdeps/powerpc/sysdep.h: Likewise.
9863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9864 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9865 * sysdeps/sh/dl-trampoline.S: Likewise.
9866 * sysdeps/sh/memset.S: Likewise.
9867 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9868 * sysdeps/sh/strlen.S: Likewise.
9869 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9870 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9871 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9872 * sysdeps/sparc/sparc32/rem.S: Likewise.
9873 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9874 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9875 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9876 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9877 * sysdeps/sparc/sparc32/urem.S: Likewise.
9878 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9879 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9880 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9881 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9882 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9883 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9884 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9885 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9886 * sysdeps/unix/bsd/times.c: Likewise.
9887 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9888 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9894 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9895 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9896 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9897 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9898 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9899 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9901 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9902 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9903 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9904 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9905 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9906 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9907 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9908 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9909 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9910 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9911 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9912 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9914 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9915 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9916 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9917 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9918 * sysdeps/x86_64/strcspn.S: Likewise.
9919
9920 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9921
9922 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9923 generated file. Regenerate properly from gen-translit.pl.
9924 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9925 locale/C-translit.h.
9926
9927 2013-06-05 Andreas Schwab <schwab@suse.de>
9928
9929 [BZ #15100]
9930 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9931 week as 6 instead of -1.
9932 * time/tst-strptime.c (day_tests): Add test case.
9933
9934 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9935
9936 * sysdeps/generic/math_private.h
9937 (libc_feholdexcept_setround_53bit): Replace with
9938 libc_feholdsetround_53bit.
9939 (libc_feupdateenv_53bit): Replace with
9940 libc_feresetround_53bit.
9941 (SET_RESTORE_ROUND_53BIT): Adjust.
9942
9943 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9944
9945 * string/test-strchrnul.c: Add copyright header.
9946
9947 * posix/tst-getaddrinfo4.c: Increase test timeout.
9948
9949 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9950
9951 [BZ #15536]
9952 * math/libm-test.inc (MAX_EXP): Remove
9953 (MIN_EXP): Define.
9954 (ulp): Use MIN_EXP - MANT_DIG.
9955 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9956
9957 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9958
9959 * po/be.po: Revert last change.
9960 * po/zh_CN.po: Likewise.
9961 * po/header.pot: Likewise.
9962
9963 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9964
9965 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9966 link-libc-deps to empty as target-specific variable.
9967 * Makerules (link-libc-args): New variable.
9968 (libc-for-link): Likewise.
9969 (link-libc-deps): Likewise.
9970 (lib%.so): Depend on $(link-libc-deps). Link with
9971 $(link-libc-args).
9972 (build-module): Link with $(link-libc-args).
9973 (build-module-asneeded): Likewise.
9974 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9975 list of objects.
9976 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9977 target-specific variable.
9978 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9979 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9980 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9981 libc.
9982 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9983 libc and ld.so.
9984 ($(objpfx)libpcprofile.so): Likewise.
9985 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9986 libc_nonshared.a.
9987 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9988 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9989 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9990 $(link-libc-deps).
9991 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9992 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9993 * login/Makefile ($(objpfx)libutil.so): Likewise.
9994 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9995 * math/Makefile ($(objpfx)libm.so): Likewise.
9996 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9997 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9998 variable instead of depending directly on libc.
9999 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10000 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10001 $(link-libc-deps).
10002 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10003 libc.
10004 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10005 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10006 ($(objpfx)libanl.so): Likewise.
10007 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10008 ld.so.
10009 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10010 $(link-libc-deps).
10011 * sysdeps/i386/fpu/Makefile: Remove file.
10012 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10013 ($(objpfx)libm.so): Remove dependency on ld.so.
10014
10015 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
10016
10017 [BZ # 15553]
10018 * nis/yp_xdr.c (XDRMAXNAME): Define.
10019 (XDRMAXRECORD): Define.
10020 (xdr_domainname): Use XDRMAXNAME.
10021 (xdr_mapname): Likewise.
10022 (xdr_peername): Likewise.
10023 (xdr_keydat): Use XDRMAXRECORD.
10024 (xdr_valdat): Likewise.
10025
10026 2013-05-30 Jeff Law <law@redhat.com>
10027
10028 [BZ #14256]
10029 * manual/errno.texi (ESTALE): Update to account for more than
10030 just NFS file systems.
10031 * sysdeps/gnu/errlist.c: Regenerated.
10032
10033 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10034
10035 [BZ #15465]
10036 * elf/Makefile (tests): Add tst-null-argv.
10037 (modules-names): Add tst-null-argv-lib.
10038 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10039 (tst-null-argv-ENV): Set environment for tst-null-argv.
10040 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10041 (RTLD_PROGNAME): New macro.
10042 * elf/tst-null-argv.c: New test case.
10043 * elf/tst-null-argv-lib.c: Library for test case.
10044 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10045 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10046 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10047 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10048 * elf/dl-init.c (call_init): Likewise.
10049 (_dl_init): Likewise.
10050 * elf/dl-load.c (print_search_path): Likewise.
10051 (_dl_map_object): Likewise.
10052 * elf/dl-lookup.c (do_lookup_x): Likewise.
10053 (add_dependency): Likewise.
10054 (_dl_lookup_symbol_x): Likewise.
10055 (_dl_debug_bindings): Likewise.
10056 * elf/dl-open.c (_dl_show_scope): Likewise.
10057 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10058 * elf/dl-version.c (match_symbol): Likewise.
10059 (_dl_check_map_versions): Likewise.
10060 * elf/rtld.c (dl_main): Likewise.
10061 (print_unresolved): Use RTLD_PROGNAME.
10062 (print_missing_version): Likewise.
10063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10064 (elf_machine_rela): Likewise.
10065 * sysdeps/powerpc/powerpc32/dl-machine.c
10066 (__process_machine_rela): Likewise.
10067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10068 Likewise.
10069 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10070 Likewise.
10071 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10072 Likewise.
10073 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10075 Likewise.
10076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10077 Likewise.
10078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10079
10080 2013-05-28 Carlos O'Donell <carlos@redhat.com>
10081
10082 * po/be.po: Add descriptive title.
10083 * po/zh_CN.po: Likewise.
10084 * po/header.pot: Likewise.
10085
10086 2013-05-28 Mike Frysinger <vapier@gentoo.org>
10087
10088 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10089 error message.
10090 (enlarge_archive): Likewise.
10091
10092 2013-05-28 Ben North <ben@redfrontdoor.org>
10093
10094 * manual/arith.texi (frexp): It is the magnitude of the return
10095 value which lies in [0.5, 1), not the return value itself.
10096
10097 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10098
10099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10100
10101 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10102
10103 * stdio-common/bug26.c (main): Correct fscanf template.
10104
10105 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10106 declare _dl_skip_args.
10107
10108 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10109 Don't declare.
10110
10111 * manual/platform.texi: Add missing @end deftypefun.
10112
10113 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #15529]
10116 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10117 bit of mantissa of 2^16382.
10118 * math/libm-test.inc (hypot_test_data): Add more tests.
10119
10120 * math/libm-test.inc: Add drem and pow10 to list of tested
10121 functions.
10122 (pow10_test): New function.
10123 (drem_test): Likewise.
10124 (drem_test_tonearest): Likewise.
10125 (drem_test_towardzero): Likewise.
10126 (drem_test_downward): Likewise.
10127 (drem_test_upward): Likewise.
10128 (main): Call the new functions.
10129
10130 * math/libm-test.inc (finite_test_data): Remove.
10131 (finite_test): Run tests from isfinite_test_data.
10132 (gamma_test_data): Remove.
10133 (gamma_test): Run tests from lgamma_test_data.
10134 * sysdeps/i386/fpu/libm-test-ulps: Update.
10135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10136
10137 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10138
10139 * manual/platform.texi: Add PowerPC PPR function set documentation.
10140 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10141 implementation.
10142
10143 2013-05-24 Carlos O'Donell <carlos@redhat.com>
10144
10145 * math/libm-test.inc (MAX_EXP): Define.
10146 (ULPDIFF): Define.
10147 (ulp): New function.
10148 (check_float_internal): Use ULPDIFF.
10149 (cpow_test): Disable failing test.
10150 (check_ulp): Test ulp() implemetnation.
10151 (main): Call check_ulp before starting tests.
10152
10153 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10154
10155 * math/gen-libm-test.pl (generate_testfile): Do not handle
10156 START_DATA and END_DATA.
10157 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10158 END_DATA.
10159 (acos_tonearest_test_data): Likewise.
10160 (acos_towardzero_test_data): Likewise.
10161 (acos_downward_test_data): Likewise.
10162 (acos_upward_test_data): Likewise.
10163 (acosh_test_data): Likewise.
10164 (asin_test_data): Likewise.
10165 (asin_tonearest_test_data): Likewise.
10166 (asin_towardzero_test_data): Likewise.
10167 (asin_downward_test_data): Likewise.
10168 (asin_upward_test_data): Likewise.
10169 (asinh_test_data): Likewise.
10170 (atan_test_data): Likewise.
10171 (atanh_test_data): Likewise.
10172 (atan2_test_data): Likewise.
10173 (cabs_test_data): Likewise.
10174 (cacos_test_data): Likewise.
10175 (cacosh_test_data): Likewise.
10176 (carg_test_data): Likewise.
10177 (casin_test_data): Likewise.
10178 (casinh_test_data): Likewise.
10179 (catan_test_data): Likewise.
10180 (catanh_test_data): Likewise.
10181 (cbrt_test_data): Likewise.
10182 (ccos_test_data): Likewise.
10183 (ccosh_test_data): Likewise.
10184 (ceil_test_data): Likewise.
10185 (cexp_test_data): Likewise.
10186 (cimag_test_data): Likewise.
10187 (clog_test_data): Likewise.
10188 (clog10_test_data): Likewise.
10189 (conj_test_data): Likewise.
10190 (copysign_test_data): Likewise.
10191 (cos_test_data): Likewise.
10192 (cos_tonearest_test_data): Likewise.
10193 (cos_towardzero_test_data): Likewise.
10194 (cos_downward_test_data): Likewise.
10195 (cos_upward_test_data): Likewise.
10196 (cosh_test_data): Likewise.
10197 (cosh_tonearest_test_data): Likewise.
10198 (cosh_towardzero_test_data): Likewise.
10199 (cosh_downward_test_data): Likewise.
10200 (cosh_upward_test_data): Likewise.
10201 (cpow_test_data): Likewise.
10202 (cproj_test_data): Likewise.
10203 (creal_test_data): Likewise.
10204 (csin_test_data): Likewise.
10205 (csinh_test_data): Likewise.
10206 (csqrt_test_data): Likewise.
10207 (ctan_test_data): Likewise.
10208 (ctan_tonearest_test_data): Likewise.
10209 (ctan_towardzero_test_data): Likewise.
10210 (ctan_downward_test_data): Likewise.
10211 (ctan_upward_test_data): Likewise.
10212 (ctanh_test_data): Likewise.
10213 (ctanh_tonearest_test_data): Likewise.
10214 (ctanh_towardzero_test_data): Likewise.
10215 (ctanh_downward_test_data): Likewise.
10216 (ctanh_upward_test_data): Likewise.
10217 (erf_test_data): Likewise.
10218 (erfc_test_data): Likewise.
10219 (exp_test_data): Likewise.
10220 (exp_tonearest_test_data): Likewise.
10221 (exp_towardzero_test_data): Likewise.
10222 (exp_downward_test_data): Likewise.
10223 (exp_upward_test_data): Likewise.
10224 (exp10_test_data): Likewise.
10225 (exp2_test_data): Likewise.
10226 (expm1_test_data): Likewise.
10227 (fabs_test_data): Likewise.
10228 (fdim_test_data): Likewise.
10229 (finite_test_data): Likewise.
10230 (floor_test_data): Likewise.
10231 (fma_test_data): Likewise.
10232 (fma_towardzero_test_data): Likewise.
10233 (fma_downward_test_data): Likewise.
10234 (fma_upward_test_data): Likewise.
10235 (fmax_test_data): Likewise.
10236 (fmin_test_data): Likewise.
10237 (fmod_test_data): Likewise.
10238 (fpclassify_test_data): Likewise.
10239 (frexp_test_data): Likewise.
10240 (gamma_test_data): Likewise.
10241 (hypot_test_data): Likewise.
10242 (ilogb_test_data): Likewise.
10243 (isfinite_test_data): Likewise.
10244 (isgreater_test_data): Likewise.
10245 (isgreaterequal_test_data): Likewise.
10246 (isinf_test_data): Likewise.
10247 (isless_test_data): Likewise.
10248 (islessequal_test_data): Likewise.
10249 (islessgreater_test_data): Likewise.
10250 (isnan_test_data): Likewise.
10251 (isnormal_test_data): Likewise.
10252 (issignaling_test_data): Likewise.
10253 (isunordered_test_data): Likewise.
10254 (j0_test_data): Likewise.
10255 (j1_test_data): Likewise.
10256 (jn_test_data): Likewise.
10257 (ldexp_test_data): Likewise.
10258 (lgamma_test_data): Likewise.
10259 (lrint_test_data): Likewise.
10260 (lrint_tonearest_test_data): Likewise.
10261 (lrint_towardzero_test_data): Likewise.
10262 (lrint_downward_test_data): Likewise.
10263 (lrint_upward_test_data): Likewise.
10264 (llrint_test_data): Likewise.
10265 (llrint_tonearest_test_data): Likewise.
10266 (llrint_towardzero_test_data): Likewise.
10267 (llrint_downward_test_data): Likewise.
10268 (llrint_upward_test_data): Likewise.
10269 (log_test_data): Likewise.
10270 (log10_test_data): Likewise.
10271 (log1p_test_data): Likewise.
10272 (log2_test_data): Likewise.
10273 (logb_test_data): Likewise.
10274 (logb_downward_test_data): Likewise.
10275 (lround_test_data): Likewise.
10276 (llround_test_data): Likewise.
10277 (modf_test_data): Likewise.
10278 (nearbyint_test_data): Likewise.
10279 (nextafter_test_data): Likewise.
10280 (nexttoward_test_data): Likewise.
10281 (pow_test_data): Likewise.
10282 (pow_tonearest_test_data): Likewise.
10283 (pow_towardzero_test_data): Likewise.
10284 (pow_downward_test_data): Likewise.
10285 (pow_upward_test_data): Likewise.
10286 (remainder_test_data): Likewise.
10287 (remainder_tonearest_test_data): Likewise.
10288 (remainder_towardzero_test_data): Likewise.
10289 (remainder_downward_test_data): Likewise.
10290 (remainder_upward_test_data): Likewise.
10291 (remquo_test_data): Likewise.
10292 (rint_test_data): Likewise.
10293 (rint_tonearest_test_data): Likewise.
10294 (rint_towardzero_test_data): Likewise.
10295 (rint_downward_test_data): Likewise.
10296 (rint_upward_test_data): Likewise.
10297 (round_test_data): Likewise.
10298 (scalb_test_data): Likewise.
10299 (scalbn_test_data): Likewise.
10300 (scalbln_test_data): Likewise.
10301 (signbit_test_data): Likewise.
10302 (sin_test_data): Likewise.
10303 (sin_tonearest_test_data): Likewise.
10304 (sin_towardzero_test_data): Likewise.
10305 (sin_downward_test_data): Likewise.
10306 (sin_upward_test_data): Likewise.
10307 (sincos_test_data): Likewise.
10308 (sinh_test_data): Likewise.
10309 (sinh_tonearest_test_data): Likewise.
10310 (sinh_towardzero_test_data): Likewise.
10311 (sinh_downward_test_data): Likewise.
10312 (sinh_upward_test_data): Likewise.
10313 (sqrt_test_data): Likewise.
10314 (tan_test_data): Likewise.
10315 (tan_tonearest_test_data): Likewise.
10316 (tan_towardzero_test_data): Likewise.
10317 (tan_downward_test_data): Likewise.
10318 (tan_upward_test_data): Likewise.
10319 (tanh_test_data): Likewise.
10320 (tgamma_test_data): Likewise.
10321 (trunc_test_data): Likewise.
10322 (y0_test_data): Likewise.
10323 (y1_test_data): Likewise.
10324 (yn_test_data): Likewise.
10325 (significand_test_data): Likewise.
10326
10327 * math/gen-libm-test.pl (@functions): Remove variable.
10328 (generate_testfile): Don't handle START and END lines.
10329 * math/libm-test.inc (START): New macro.
10330 (END): Likewise.
10331 (END_COMPLEX): Likewise.
10332 (acos_test): Use END macro without arguments.
10333 (acos_test_tonearest): Likewise.
10334 (acos_test_towardzero): Likewise.
10335 (acos_test_downward): Likewise.
10336 (acos_test_upward): Likewise.
10337 (acosh_test): Likewise.
10338 (asin_test): Likewise.
10339 (asin_test_tonearest): Likewise.
10340 (asin_test_towardzero): Likewise.
10341 (asin_test_downward): Likewise.
10342 (asin_test_upward): Likewise.
10343 (asinh_test): Likewise.
10344 (atan_test): Likewise.
10345 (atanh_test): Likewise.
10346 (atan2_test): Likewise.
10347 (cabs_test): Likewise.
10348 (cacos_test): Use END_COMPLEX macro without arguments.
10349 (cacosh_test): Likewise.
10350 (carg_test): Use END macro without arguments.
10351 (casin_test): Use END_COMPLEX macro without arguments.
10352 (casinh_test): Likewise.
10353 (catan_test): Likewise.
10354 (catanh_test): Likewise.
10355 (cbrt_test): Use END macro without arguments.
10356 (ccos_test): Use END_COMPLEX macro without arguments.
10357 (ccosh_test): Likewise.
10358 (ceil_test): Use END macro without arguments.
10359 (cexp_test): Use END_COMPLEX macro without arguments.
10360 (cimag_test): Use END macro without arguments.
10361 (clog_test): Use END_COMPLEX macro without arguments.
10362 (clog10_test): Likewise.
10363 (conj_test): Likewise.
10364 (copysign_test): Use END macro without arguments.
10365 (cos_test): Likewise.
10366 (cos_test_tonearest): Likewise.
10367 (cos_test_towardzero): Likewise.
10368 (cos_test_downward): Likewise.
10369 (cos_test_upward): Likewise.
10370 (cosh_test): Likewise.
10371 (cosh_test_tonearest): Likewise.
10372 (cosh_test_towardzero): Likewise.
10373 (cosh_test_downward): Likewise.
10374 (cosh_test_upward): Likewise.
10375 (cpow_test): Use END_COMPLEX macro without arguments.
10376 (cproj_test): Likewise.
10377 (creal_test): Use END macro without arguments.
10378 (csin_test): Use END_COMPLEX macro without arguments.
10379 (csinh_test): Likewise.
10380 (csqrt_test): Likewise.
10381 (ctan_test): Likewise.
10382 (ctan_test_tonearest): Likewise.
10383 (ctan_test_towardzero): Likewise.
10384 (ctan_test_downward): Likewise.
10385 (ctan_test_upward): Likewise.
10386 (ctanh_test): Likewise.
10387 (ctanh_test_tonearest): Likewise.
10388 (ctanh_test_towardzero): Likewise.
10389 (ctanh_test_downward): Likewise.
10390 (ctanh_test_upward): Likewise.
10391 (erf_test): Use END macro without arguments.
10392 (erfc_test): Likewise.
10393 (exp_test): Likewise.
10394 (exp_test_tonearest): Likewise.
10395 (exp_test_towardzero): Likewise.
10396 (exp_test_downward): Likewise.
10397 (exp_test_upward): Likewise.
10398 (exp10_test): Likewise.
10399 (exp2_test): Likewise.
10400 (expm1_test): Likewise.
10401 (fabs_test): Likewise.
10402 (fdim_test): Likewise.
10403 (finite_test): Likewise.
10404 (floor_test): Likewise.
10405 (fma_test): Likewise.
10406 (fma_test_towardzero): Likewise.
10407 (fma_test_downward): Likewise.
10408 (fma_test_upward): Likewise.
10409 (fmax_test): Likewise.
10410 (fmin_test): Likewise.
10411 (fmod_test): Likewise.
10412 (fpclassify_test): Likewise.
10413 (frexp_test): Likewise.
10414 (gamma_test): Likewise.
10415 (hypot_test): Likewise.
10416 (ilogb_test): Likewise.
10417 (isfinite_test): Likewise.
10418 (isgreater_test): Likewise.
10419 (isgreaterequal_test): Likewise.
10420 (isinf_test): Likewise.
10421 (isless_test): Likewise.
10422 (islessequal_test): Likewise.
10423 (islessgreater_test): Likewise.
10424 (isnan_test): Likewise.
10425 (isnormal_test): Likewise.
10426 (issignaling_test): Likewise.
10427 (isunordered_test): Likewise.
10428 (j0_test): Likewise.
10429 (j1_test): Likewise.
10430 (jn_test): Likewise.
10431 (ldexp_test): Likewise.
10432 (lgamma_test): Likewise.
10433 (lrint_test): Likewise.
10434 (lrint_test_tonearest): Likewise.
10435 (lrint_test_towardzero): Likewise.
10436 (lrint_test_downward): Likewise.
10437 (lrint_test_upward): Likewise.
10438 (llrint_test): Likewise.
10439 (llrint_test_tonearest): Likewise.
10440 (llrint_test_towardzero): Likewise.
10441 (llrint_test_downward): Likewise.
10442 (llrint_test_upward): Likewise.
10443 (log_test): Likewise.
10444 (log10_test): Likewise.
10445 (log1p_test): Likewise.
10446 (log2_test): Likewise.
10447 (logb_test): Likewise.
10448 (logb_test_downward): Likewise.
10449 (lround_test): Likewise.
10450 (llround_test): Likewise.
10451 (modf_test): Likewise.
10452 (nearbyint_test): Likewise.
10453 (nextafter_test): Likewise.
10454 (nexttoward_test): Likewise.
10455 (pow_test): Likewise.
10456 (pow_test_tonearest): Likewise.
10457 (pow_test_towardzero): Likewise.
10458 (pow_test_downward): Likewise.
10459 (pow_test_upward): Likewise.
10460 (remainder_test): Likewise.
10461 (remainder_test_tonearest): Likewise.
10462 (remainder_test_towardzero): Likewise.
10463 (remainder_test_downward): Likewise.
10464 (remainder_test_upward): Likewise.
10465 (remquo_test): Likewise.
10466 (rint_test): Likewise.
10467 (rint_test_tonearest): Likewise.
10468 (rint_test_towardzero): Likewise.
10469 (rint_test_downward): Likewise.
10470 (rint_test_upward): Likewise.
10471 (round_test): Likewise.
10472 (scalb_test): Likewise.
10473 (scalbn_test): Likewise.
10474 (scalbln_test): Likewise.
10475 (signbit_test): Likewise.
10476 (sin_test): Likewise.
10477 (sin_test_tonearest): Likewise.
10478 (sin_test_towardzero): Likewise.
10479 (sin_test_downward): Likewise.
10480 (sin_test_upward): Likewise.
10481 (sincos_test): Likewise.
10482 (sinh_test): Likewise.
10483 (sinh_test_tonearest): Likewise.
10484 (sinh_test_towardzero): Likewise.
10485 (sinh_test_downward): Likewise.
10486 (sinh_test_upward): Likewise.
10487 (sqrt_test): Likewise.
10488 (tan_test): Likewise.
10489 (tan_test_tonearest): Likewise.
10490 (tan_test_towardzero): Likewise.
10491 (tan_test_downward): Likewise.
10492 (tan_test_upward): Likewise.
10493 (tanh_test): Likewise.
10494 (tgamma_test): Likewise.
10495 (trunc_test): Likewise.
10496 (y0_test): Likewise.
10497 (y1_test): Likewise.
10498 (yn_test): Likewise.
10499 (significand_test): Likewise.
10500
10501 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10502
10503 [BZ #15381]
10504 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10505
10506 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10507
10508 [BZ #14894]
10509 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10510 __ppc_mdoio and __ppc_mdoom.
10511 * manual/platform.texi: Document new functions __ppc_yield,
10512 __ppc_mdoio and __ppc_mdoom.
10513
10514 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10515
10516 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10517 (main): Mention "tls" pseudo-hwcap is legacy.
10518 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10519
10520 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10521
10522 * math/gen-libm-test.pl (parse_args): Output only string of
10523 arguments as text for test name, not full call or descriptions of
10524 tests for extra outputs.
10525 (generate_testfile): Do not pass function name to parse_args.
10526 Generate this_func variable from START.
10527 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10528 field to arg_str.
10529 (struct test_ff_f_data): Likewise.
10530 (test_ff_f_data_nexttoward): Likewise.
10531 (struct test_fi_f_data): Likewise.
10532 (struct test_fl_f_data): Likewise.
10533 (struct test_if_f_data): Likewise.
10534 (struct test_fff_f_data): Likewise.
10535 (struct test_c_f_data): Likewise.
10536 (struct test_f_f1_data): Likewise. Remove field extra_name.
10537 (struct test_fF_f1_data): Likewise.
10538 (struct test_ffI_f1_data): Likewise.
10539 (struct test_c_c_data): Rename test_name field to arg_str.
10540 (struct test_cc_c_data): Likewise.
10541 (struct test_f_i_data): Likewise.
10542 (struct test_ff_i_data): Likewise.
10543 (struct test_f_l_data): Likewise.
10544 (struct test_f_L_data): Likewise.
10545 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10546 and extra2_name.
10547 (COMMON_TEST_SETUP): New macro.
10548 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10549 (COMMON_TEST_CLEANUP): Likewise.
10550 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10551 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10552 macros.
10553 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10554 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10555 macros.
10556 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10557 (RUN_TEST_fff_f): Take argument string. Call new setup and
10558 cleanup macros.
10559 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10560 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10561 macros.
10562 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10563 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10564 macros.
10565 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10566 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10567 cleanup macros.
10568 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10569 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10570 cleanup macros.
10571 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10572 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10573 cleanup macros.
10574 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10575 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10576 macros.
10577 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10578 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10579 macros.
10580 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10581 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10582 macros.
10583 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10584 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10585 cleanup macros.
10586 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10587 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10588 cleanup macros.
10589 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10590 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10591 macros.
10592 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10593 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10594 cleanup macros.
10595 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10596 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10597 macros.
10598 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10599 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10600 macros.
10601 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10602 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10603 cleanup macros.
10604 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10605
10606 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10607
10608 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10609 to _sifields.sigfault.
10610 (si_addr_lsb): Define new macro.
10611 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10613 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10614
10615 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10616
10617 [BZ #15441]
10618 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10619 returns -1.
10620 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10621 null return -1.
10622 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10623 loading the domain.
10624
10625 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10626
10627 * math/gen-libm-test.pl (parse_args): Do not include expected
10628 result in test name.
10629 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10630 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10631 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10632 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10633 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10635
10636 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10637
10638 * benchtests/Makefile: Sort function entries.
10639
10640 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10641 tanh, asinh, acosh, atanh.
10642 * benchtests/acos-inputs: New file.
10643 * benchtests/acosh-inputs: New file.
10644 * benchtests/asin-inputs: New file.
10645 * benchtests/asinh-inputs: New file.
10646 * benchtests/atanh-inputs: New file.
10647 * benchtests/cosh-inputs: New file.
10648 * benchtests/log-inputs: New file.
10649 * benchtests/sinh-inputs: New file.
10650 * benchtests/tanh-inputs: New file.
10651
10652 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10653
10654 [BZ #15339]
10655 * posix/tst-getaddrinfo4.c: New test.
10656 * posix/Makefile (tests): Add it.
10657
10658 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10659
10660 [BZ #15339]
10661 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10662 when no services were used.
10663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10664 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10665
10666 2013-05-21 Andreas Schwab <schwab@suse.de>
10667
10668 [BZ #15014]
10669 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10670 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10671 successful.
10672 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10673 redundant variable declarations and reallocation of buffer when
10674 parsing as IPv6 address. Always set NSS status when called from
10675 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10676 buffer too small. Correct computation of needed size.
10677 * nss/Makefile (tests): Add test-digits-dots.
10678 * nss/test-digits-dots.c: New test.
10679
10680 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10681
10682 * benchtests/Makefile: Remove instructions for adding
10683 benchmark tests.
10684 * benchtests/README: New file to explain how to execute and
10685 enhance the benchmark tests.
10686
10687 2013-05-21 Andreas Schwab <schwab@suse.de>
10688
10689 [BZ #15493]
10690 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10691 * setjmp/tst-sigsetjmp.c: New test.
10692
10693 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10694
10695 * sysdeps/x86_64/memset.S (memset): New implementation.
10696 (__bzero): Likewise.
10697 (__memset_tail): New function.
10698
10699 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10700
10701 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10702 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10703 __memcpy_sse2_unaligned ifunc selection.
10704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10705 Add memcpy-sse2-unaligned.S.
10706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10707 Add: __memcpy_sse2_unaligned.
10708
10709 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10710
10711 [BZ #15490]
10712 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10713 math_force_eval before restoring floating-point envrionment.
10714 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10716 Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10718 <math_private.h>.
10719 (__nearbyintl): Use math_force_eval before restoring
10720 floating-point environment.
10721 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10722
10723 * math/gen-libm-test.pl (special_functions): Remove.
10724 (parse_args): Don't handle TEST_extra. Handle functions with no
10725 return value.
10726 * math/libm-test.inc (struct test_sincos_data): Replace with
10727 struct test_fFF_11_data.
10728 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10729 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10730 (sincos_test_data): Change element type to struct
10731 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10732 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10733 RUN_TEST_LOOP_sincos.
10734 * math/README.libm-test: Don't mention special handling of
10735 individual functions.
10736 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10737 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10738 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10739 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10740 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
10743 * math/gen-libm-test.pl (get_variable): Remove function.
10744 (parse_args): Don't show pointer parameters to call in test
10745 names. Use "extra output N" in test names for extra outputs
10746 rather than naming variables.
10747
10748 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10749
10750 [BZ #15488]
10751 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10752 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10753 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10754 double tests.
10755 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10756 disable.
10757 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10758 check_long_double.
10759
10760 * math/gen-libm-test.pl (@tests): Remove variable.
10761 ($count): Likewise.
10762 (new_test): Remove function.
10763 (show_exceptions): New function.
10764 (special_functions): Use show_exceptions instead of new_test.
10765 (parse_args): Likewise.
10766 (generate_testfile): Pass only function name in generated call to
10767 print_max_error or print_complex_max_error.
10768 (get_ulps): Do not handle complex tests specially.
10769 (output_test): Rename to ...
10770 (get_all_ulps_for_test): ... this. Return a string rather than
10771 printing to a file. Require ulps to be present.
10772 (output_ulps): Generate arrays rather than #defines.
10773 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10774 (struct ulp_data): New type.
10775 (BUILD_COMPLEX_ULP): Remove macro.
10776 (compare_ulp_data): New function.
10777 (find_ulps): Likewise.
10778 (find_test_ulps): Likewise.
10779 (find_function_ulps): Likewise.
10780 (find_complex_function_ulps): Likewise.
10781 (print_max_error): Determine allowed ulps using
10782 find_function_ulps.
10783 (print_complex_max_error): Determine allowed ulps using
10784 find_complex_function_ulps.
10785 (check_float_internal): Determine max ulps using find_test_ulps.
10786 (check_float): Do not take max_ulp parameter. Update call to
10787 check_float_internal.
10788 (check_complex): Likewise.
10789 (check_int): Do not take max_ulp parameter.
10790 (check_long): Likewise.
10791 (check_bool): Likewise.
10792 (check_longlong): Likewise.
10793 (struct test_f_f_data): Remove max_ulp field.
10794 (struct test_ff_f_data): Likewise.
10795 (struct test_ff_f_data_nexttoward): Likewise.
10796 (struct test_fi_f_data): Likewise.
10797 (struct test_fl_f_data): Likewise.
10798 (struct test_if_f_data): Likewise.
10799 (struct test_fff_f_data): Likewise.
10800 (struct test_c_f_data): Likewise.
10801 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10802 (struct test_fF_f1_data): Likewise.
10803 (struct test_ffI_f1_data): Likewise.
10804 (struct test_c_c_data): Remove max_ulp field.
10805 (struct test_cc_c_data): Likewise.
10806 (struct test_f_i_data): Likewise.
10807 (struct test_ff_i_data): Likewise.
10808 (struct test_f_l_data): Likewise.
10809 (struct test_f_L_data): Likewise.
10810 (struct test_sincos_data): Likewise.
10811 (RUN_TEST_f_f): Do not handle ulps.
10812 (RUN_TEST_LOOP_f_f): Likewise.
10813 (RUN_TEST_2_f): Likewise.
10814 (RUN_TEST_LOOP_2_f): Likewise.
10815 (RUN_TEST_fff_f): Likewise.
10816 (RUN_TEST_LOOP_fff_f): Likewise.
10817 (RUN_TEST_c_f): Likewise.
10818 (RUN_TEST_LOOP_c_f): Likewise.
10819 (RUN_TEST_f_f1): Likewise.
10820 (RUN_TEST_LOOP_f_f1): Likewise.
10821 (RUN_TEST_fF_f1): Likewise.
10822 (RUN_TEST_LOOP_fF_f1): Likewise.
10823 (RUN_TEST_fI_f1): Likewise.
10824 (RUN_TEST_LOOP_fI_f1): Likewise.
10825 (RUN_TEST_ffI_f1): Likewise.
10826 (RUN_TEST_LOOP_ffI_f1): Likewise.
10827 (RUN_TEST_c_c): Likewise.
10828 (RUN_TEST_LOOP_c_c): Likewise.
10829 (RUN_TEST_cc_c): Likewise.
10830 (RUN_TEST_LOOP_cc_c): Likewise.
10831 (RUN_TEST_f_i): Likewise.
10832 (RUN_TEST_LOOP_f_i): Likewise.
10833 (RUN_TEST_f_i_tg): Likewise.
10834 (RUN_TEST_LOOP_f_i_tg): Likewise.
10835 (RUN_TEST_ff_i_tg): Likewise.
10836 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10837 (RUN_TEST_f_b): Likewise.
10838 (RUN_TEST_LOOP_f_b): Likewise.
10839 (RUN_TEST_f_b_tg): Likewise.
10840 (RUN_TEST_LOOP_f_b_tg): Likewise.
10841 (RUN_TEST_f_l): Likewise.
10842 (RUN_TEST_LOOP_f_l): Likewise.
10843 (RUN_TEST_f_L): Likewise.
10844 (RUN_TEST_LOOP_f_L): Likewise.
10845 (RUN_TEST_sincos): Likewise.
10846 (RUN_TEST_LOOP_sincos): Likewise.
10847
10848 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10849
10850 [BZ #15480]
10851 [BZ #15485]
10852 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10853 main case of finite arguments, set rounding mode to FE_TONEAREST
10854 and discard exceptions.
10855 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10856 exceptions.
10857 (remainder_tonearest_test_data): New variable.
10858 (remainder_test_tonearest): New function.
10859 (remainder_towardzero_test_data): New variable.
10860 (remainder_test_towardzero): New function.
10861 (remainder_downward_test_data): New variable.
10862 (remainder_test_downward): New function.
10863 (remainder_upward_test_data): New variable.
10864 (remainder_test_upward): New function.
10865 (main): Call the new test functions.
10866
10867 * math/libm-test.inc (struct test_f_f1_data): Remove field
10868 extra_init.
10869 (struct test_fF_f1_data): Likewise.
10870 (struct test_ffI_f1_data): Likewise.
10871 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10872 based on value of EXTRA_EXPECTED.
10873 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10874 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10875 EXTRA_VAR based on value of EXTRA_EXPECTED.
10876 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10877 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10878 EXTRA_VAR based on value of EXTRA_EXPECTED.
10879 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10880 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10881 EXTRA_VAR based on value of EXTRA_EXPECTED.
10882 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10883 * math/gen-libm-test.pl (parse_args): Don't output initializers
10884 for extra output values.
10885
10886 * math/libm-test.inc (check_int): Expect result to be exactly
10887 equal to expected value and do not handle ulps.
10888 (check_long): Likewise.
10889 (check_longlong): Likewise.
10890
10891 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10892 exceptions.
10893 (cimag_test_data): Likewise.
10894 (conj_test_data): Likewise.
10895 (copysign_test_data): Likewise.
10896 (cproj_test_data): Likewise.
10897 (creal_test_data): Likewise.
10898 (fabs_test_data): Likewise.
10899 (fdim_test_data): Likewise.
10900 (finite_test_data): Likewise.
10901 (floor_test_data): Likewise.
10902 (fmax_test_data): Likewise.
10903 (fmin_test_data): Likewise.
10904 (fmod_test_data): Likewise.
10905 (fpclassify_test_data): Likewise.
10906 (frexp_test_data): Likewise.
10907 (ilogb_test_data): Likewise.
10908 (isfinite_test_data): Likewise.
10909 (isgreater_test_data): Likewise.
10910 (isgreaterequal_test_data): Likewise.
10911 (isinf_test_data): Likewise.
10912 (isless_test_data): Likewise.
10913 (islessequal_test_data): Likewise.
10914 (islessgreater_test_data): Likewise.
10915 (isnan_test_data): Likewise.
10916 (isnormal_test_data): Likewise.
10917 (issignaling_test_data): Likewise.
10918 (isunordered_test_data): Likewise.
10919 (ldexp_test_data): Likewise.
10920 (lrint_test_data): Likewise.
10921 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10922 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10923 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10924 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10925 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10926 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10927 test input.
10928 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10929 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10930 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10931 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10932 that test input.
10933 (lrint_downward_test_data): Test for "inexact" exceptions.
10934 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10935 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10936 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10937 test input.
10938 (lrint_upward_test_data): Test for "inexact" exceptions.
10939 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10940 test input.
10941 (llrint_test_data): Test for "inexact" exceptions.
10942 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10943 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10944 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10945 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10946 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10947 (llrint_downward_test_data): Test for "inexact" exceptions.
10948 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10949 (llrint_upward_test_data): Test for "inexact" exceptions.
10950 (logb_test_data): Likewise.
10951 (logb_downward_test_data): Likewise.
10952 (nextafter_test_data): Likewise.
10953 (nexttoward_test_data): Likewise.
10954 (remainder_test_data): Likewise.
10955 (remquo_test_data): Likewise.
10956 (scalbn_test_data): Likewise.
10957 (scalbln_test_data): Likewise.
10958 (signbit_test_data): Likewise.
10959 (sqrt_test_data): Likewise.
10960 (significand_test_data): Likewise.
10961
10962 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10963
10964 [BZ #15424]
10965 * benchtests/bench-modf.c (struct args): Mark arg0 as
10966 volatile.
10967 * scripts/bench.pl: Mark members of struct args as volatile.
10968
10969 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10970
10971 [BZ # 15497]
10972 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10973 negative infinity on POWER6 or lower.
10974 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10975
10976 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10977
10978 [BZ #15442]
10979 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10980 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10981 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10982 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10983 (_FP_SETQNAN): New macro.
10984 (_FP_SETQNAN_SEMIRAW): Likewise.
10985 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10986 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10987 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10988 (FP_EXTEND): Use _FP_FRAC_SNANP.
10989 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10990 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10991 into account.
10992 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10993 New macro.
10994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10995 Likewise.
10996
10997 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10998
10999 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11000 with DIVIDE_BY_ZERO_EXCEPTION.
11001 (gamma_test_data): Likewise.
11002 (lgamma_test_data): Likewise.
11003 (log_test_data): Likewise.
11004 (log10_test_data): Likewise.
11005 (log2_test_data): Likewise.
11006 (tgamma_test_data): Likewise.
11007
11008 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11009 (acos_test_tonearest): Likewise.
11010 (acos_test_towardzero): Likewise.
11011 (acos_test_downward): Likewise.
11012 (acos_test_upward): Likewise.
11013 (acosh_test): Likewise.
11014 (asin_test): Likewise.
11015 (asin_test_tonearest): Likewise.
11016 (asin_test_towardzero): Likewise.
11017 (asin_test_downward): Likewise.
11018 (asin_test_upward): Likewise.
11019 (asinh_test): Likewise.
11020 (atan_test): Likewise.
11021 (atanh_test): Likewise.
11022 (atan2_test): Likewise.
11023 (cabs_test): Likewise.
11024 (cacos_test): Likewise.
11025 (cacosh_test): Likewise.
11026 (casin_test): Likewise.
11027 (casinh_test): Likewise.
11028 (catan_test): Likewise.
11029 (catanh_test): Likewise.
11030 (cbrt_test): Likewise.
11031 (ccos_test): Likewise.
11032 (ccosh_test): Likewise.
11033 (cexp_test): Likewise.
11034 (clog_test): Likewise.
11035 (clog10_test): Likewise.
11036 (cos_test): Likewise.
11037 (cos_test_tonearest): Likewise.
11038 (cos_test_towardzero): Likewise.
11039 (cos_test_downward): Likewise.
11040 (cos_test_upward): Likewise.
11041 (cosh_test): Likewise.
11042 (cosh_test_tonearest): Likewise.
11043 (cosh_test_towardzero): Likewise.
11044 (cosh_test_downward): Likewise.
11045 (cosh_test_upward): Likewise.
11046 (cpow_test): Likewise.
11047 (csin_test): Likewise.
11048 (csinh_test): Likewise.
11049 (csqrt_test): Likewise.
11050 (ctan_test): Likewise.
11051 (ctan_test_tonearest): Likewise.
11052 (ctan_test_towardzero): Likewise.
11053 (ctan_test_downward): Likewise.
11054 (ctan_test_upward): Likewise.
11055 (ctanh_test): Likewise.
11056 (ctanh_test_tonearest): Likewise.
11057 (ctanh_test_towardzero): Likewise.
11058 (ctanh_test_downward): Likewise.
11059 (ctanh_test_upward): Likewise.
11060 (erf_test): Likewise.
11061 (erfc_test): Likewise.
11062 (exp_test): Likewise.
11063 (exp_test_tonearest): Likewise.
11064 (exp_test_towardzero): Likewise.
11065 (exp_test_downward): Likewise.
11066 (exp_test_upward): Likewise.
11067 (exp10_test): Likewise.
11068 (exp2_test): Likewise.
11069 (expm1_test): Likewise.
11070 (fmod_test): Likewise.
11071 (gamma_test): Likewise.
11072 (hypot_test): Likewise.
11073 (j0_test): Likewise.
11074 (j1_test): Likewise.
11075 (jn_test): Likewise.
11076 (lgamma_test): Likewise.
11077 (log_test): Likewise.
11078 (log10_test): Likewise.
11079 (log1p_test): Likewise.
11080 (log2_test): Likewise.
11081 (logb_test_downward): Likewise.
11082 (pow_test): Likewise.
11083 (pow_test_tonearest): Likewise.
11084 (pow_test_towardzero): Likewise.
11085 (pow_test_downward): Likewise.
11086 (pow_test_upward): Likewise.
11087 (remainder_test): Likewise.
11088 (remquo_test): Likewise.
11089 (sin_test): Likewise.
11090 (sin_test_tonearest): Likewise.
11091 (sin_test_towardzero): Likewise.
11092 (sin_test_downward): Likewise.
11093 (sin_test_upward): Likewise.
11094 (sincos_test): Likewise.
11095 (sinh_test): Likewise.
11096 (sinh_test_tonearest): Likewise.
11097 (sinh_test_towardzero): Likewise.
11098 (sinh_test_downward): Likewise.
11099 (sinh_test_upward): Likewise.
11100 (sqrt_test): Likewise.
11101 (tan_test): Likewise.
11102 (tan_test_tonearest): Likewise.
11103 (tan_test_towardzero): Likewise.
11104 (tan_test_downward): Likewise.
11105 (tan_test_upward): Likewise.
11106 (tanh_test): Likewise.
11107 (tgamma_test): Likewise.
11108 (y0_test): Likewise.
11109 (y1_test): Likewise.
11110 (yn_test): Likewise.
11111
11112 * math/gen-libm-test.pl (adjust_arg): Remove function.
11113 (special_function): Remove argument $in_func. Only handle
11114 generating output for tables of tests, not inside functions.
11115 (parse_args): Likewise.
11116 (generate_testfile): Remove variable $in_func. Update call to
11117 parse_args.
11118 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11119 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11120 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11121 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11122 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11123 (MAX_VALUE_INIT): Rename macro to max_value.
11124 (MIN_VALUE_INIT): Rename macro to min_value.
11125 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11126 (plus_zero): Remove variable.
11127 (minus_zero): Likewise.
11128 (plus_infty): Likewise.
11129 (minus_infty): Likewise.
11130 (qnan_value): Likewise.
11131 (max_value): Likewise.
11132 (min_value): Likewise.
11133 (min_subnorm_value): Likewise.
11134
11135 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11136
11137 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11138 uint64_t or uint32_t usage.
11139 * crypt/sha256-block.c: Likewise.
11140 * crypt/sha256-crypt.c: Likewise.
11141 * crypt/sha256.c: Likewise.
11142 * crypt/sha512-block.c: Likewise.
11143 * crypt/sha512-crypt.c: Likewise.
11144 * crypt/sha512.c: Likewise.
11145 * debug/backtrace-tst.c: Likewise.
11146 * debug/pcprofiledump.c: Likewise.
11147 * elf/cache.c: Likewise.
11148 * elf/dl-cache.c: Likewise.
11149 * elf/dl-misc.c: Likewise.
11150 * elf/dl-profile.c: Likewise.
11151 * elf/dl-support.c: Likewise.
11152 * elf/ldconfig.c: Likewise.
11153 * elf/sprof.c: Likewise.
11154 * iconv/dummy-repertoire.c: Likewise.
11155 * iconv/iconv_charmap.c: Likewise.
11156 * iconv/skeleton.c: Likewise.
11157 * iconvdata/8bit-generic.c: Likewise.
11158 * iconvdata/cp737.h: Likewise.
11159 * iconvdata/cp775.h: Likewise.
11160 * iconvdata/ibm1008.h: Likewise.
11161 * iconvdata/ibm1025.h: Likewise.
11162 * iconvdata/ibm1046.h: Likewise.
11163 * iconvdata/ibm1097.h: Likewise.
11164 * iconvdata/ibm1112.h: Likewise.
11165 * iconvdata/ibm1122.h: Likewise.
11166 * iconvdata/ibm1123.h: Likewise.
11167 * iconvdata/ibm1124.h: Likewise.
11168 * iconvdata/ibm1129.h: Likewise.
11169 * iconvdata/ibm1130.h: Likewise.
11170 * iconvdata/ibm1132.h: Likewise.
11171 * iconvdata/ibm1133.h: Likewise.
11172 * iconvdata/ibm1137.h: Likewise.
11173 * iconvdata/ibm1140.h: Likewise.
11174 * iconvdata/ibm1141.h: Likewise.
11175 * iconvdata/ibm1142.h: Likewise.
11176 * iconvdata/ibm1143.h: Likewise.
11177 * iconvdata/ibm1144.h: Likewise.
11178 * iconvdata/ibm1145.h: Likewise.
11179 * iconvdata/ibm1146.h: Likewise.
11180 * iconvdata/ibm1147.h: Likewise.
11181 * iconvdata/ibm1148.h: Likewise.
11182 * iconvdata/ibm1149.h: Likewise.
11183 * iconvdata/ibm1153.h: Likewise.
11184 * iconvdata/ibm1154.h: Likewise.
11185 * iconvdata/ibm1155.h: Likewise.
11186 * iconvdata/ibm1156.h: Likewise.
11187 * iconvdata/ibm1157.h: Likewise.
11188 * iconvdata/ibm1158.h: Likewise.
11189 * iconvdata/ibm1160.h: Likewise.
11190 * iconvdata/ibm1161.h: Likewise.
11191 * iconvdata/ibm1162.h: Likewise.
11192 * iconvdata/ibm1163.h: Likewise.
11193 * iconvdata/ibm1164.h: Likewise.
11194 * iconvdata/ibm1166.h: Likewise.
11195 * iconvdata/ibm1167.h: Likewise.
11196 * iconvdata/ibm12712.h: Likewise.
11197 * iconvdata/ibm1390.h: Likewise.
11198 * iconvdata/ibm1399.h: Likewise.
11199 * iconvdata/ibm16804.h: Likewise.
11200 * iconvdata/ibm4517.h: Likewise.
11201 * iconvdata/ibm4899.h: Likewise.
11202 * iconvdata/ibm4909.h: Likewise.
11203 * iconvdata/ibm4971.h: Likewise.
11204 * iconvdata/ibm5347.h: Likewise.
11205 * iconvdata/ibm803.h: Likewise.
11206 * iconvdata/ibm856.h: Likewise.
11207 * iconvdata/ibm901.h: Likewise.
11208 * iconvdata/ibm902.h: Likewise.
11209 * iconvdata/ibm9030.h: Likewise.
11210 * iconvdata/ibm9066.h: Likewise.
11211 * iconvdata/ibm921.h: Likewise.
11212 * iconvdata/ibm922.h: Likewise.
11213 * iconvdata/ibm9448.h: Likewise.
11214 * iconvdata/isiri-3342.h: Likewise.
11215 * iconvdata/jis0201.h: Likewise.
11216 * include/link.h: Likewise.
11217 * include/netdb.h: Likewise.
11218 * inet/check_native.c: Likewise.
11219 * inet/check_pf.c: Likewise.
11220 * inet/getipv4sourcefilter.c: Likewise.
11221 * inet/getnameinfo.c: Likewise.
11222 * inet/getsourcefilter.c: Likewise.
11223 * inet/htonl.c: Likewise.
11224 * inet/setipv4sourcefilter.c: Likewise.
11225 * inet/setsourcefilter.c: Likewise.
11226 * inet/test-inet6_opt.c: Likewise.
11227 * inet/tst-network.c: Likewise.
11228 * locale/C-collate.c: Likewise.
11229 * locale/C-ctype.c: Likewise.
11230 * locale/C-time.c: Likewise.
11231 * locale/C-translit.h: Likewise.
11232 * locale/loadarchive.c: Likewise.
11233 * locale/programs/3level.h: Likewise.
11234 * locale/programs/charmap.c: Likewise.
11235 * locale/programs/charmap.h: Likewise.
11236 * locale/programs/ld-address.c: Likewise.
11237 * locale/programs/ld-collate.c: Likewise.
11238 * locale/programs/ld-ctype.c: Likewise.
11239 * locale/programs/ld-identification.c: Likewise.
11240 * locale/programs/ld-measurement.c: Likewise.
11241 * locale/programs/ld-messages.c: Likewise.
11242 * locale/programs/ld-monetary.c: Likewise.
11243 * locale/programs/ld-name.c: Likewise.
11244 * locale/programs/ld-numeric.c: Likewise.
11245 * locale/programs/ld-paper.c: Likewise.
11246 * locale/programs/ld-telephone.c: Likewise.
11247 * locale/programs/ld-time.c: Likewise.
11248 * locale/programs/linereader.c: Likewise.
11249 * locale/programs/locale.c: Likewise.
11250 * locale/programs/locarchive.c: Likewise.
11251 * locale/programs/locfile.h: Likewise.
11252 * locale/programs/repertoire.c: Likewise.
11253 * locale/programs/simple-hash.c: Likewise.
11254 * locale/programs/simple-hash.h: Likewise.
11255 * malloc/memusage.c: Likewise.
11256 * malloc/memusagestat.c: Likewise.
11257 * nis/nis_defaults.c: Likewise.
11258 * nis/nis_hash.c: Likewise.
11259 * nis/nis_print.c: Likewise.
11260 * nis/nis_xdr.c: Likewise.
11261 * nscd/connections.c: Likewise.
11262 * nscd/hstcache.c: Likewise.
11263 * nscd/nscd_gethst_r.c: Likewise.
11264 * nscd/nscd_getserv_r.c: Likewise.
11265 * nscd/nscd_helper.c: Likewise.
11266 * nscd/servicescache.c: Likewise.
11267 * nss/makedb.c: Likewise.
11268 * nss/nss_db/db-XXX.c: Likewise.
11269 * nss/nss_db/db-initgroups.c: Likewise.
11270 * nss/nss_db/db-netgrp.c: Likewise.
11271 * nss/nss_files/files-network.c: Likewise.
11272 * nss/nss_files/files-parse.c: Likewise.
11273 * posix/bug-regex5.c: Likewise.
11274 * posix/fnmatch_loop.c: Likewise.
11275 * posix/regcomp.c: Likewise.
11276 * posix/regexec.c: Likewise.
11277 * posix/tst-rfc3484-2.c: Likewise.
11278 * posix/tst-rfc3484-3.c: Likewise.
11279 * posix/tst-rfc3484.c: Likewise.
11280 * resolv/nss_dns/dns-canon.c: Likewise.
11281 * resolv/nss_dns/dns-network.c: Likewise.
11282 * resolv/res_init.c: Likewise.
11283 * resolv/res_mkquery.c: Likewise.
11284 * resolv/tst-aton.c: Likewise.
11285 * stdlib/cxa_atexit.c: Likewise.
11286 * stdlib/cxa_finalize.c: Likewise.
11287 * stdlib/gen-fpioconst.c: Likewise.
11288 * stdlib/strtol_l.c: Likewise.
11289 * string/tst-endian.c: Likewise.
11290 * sunrpc/auth_des.c: Likewise.
11291 * sunrpc/clnt_udp.c: Likewise.
11292 * sunrpc/rtime.c: Likewise.
11293 * sunrpc/svcauth_des.c: Likewise.
11294 * sunrpc/xdr.c: Likewise.
11295 * sunrpc/xdr_intXX_t.c: Likewise.
11296 * sunrpc/xdr_rec.c: Likewise.
11297 * sysdeps/generic/ldconfig.h: Likewise.
11298 * sysdeps/generic/ldsodefs.h: Likewise.
11299 * sysdeps/generic/memusage.h: Likewise.
11300 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11301 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11306 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11310 * sysdeps/posix/getaddrinfo.c: Likewise.
11311 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11312 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11313 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11314 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11315 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11316 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11317 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11318 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11319 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11321 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11322 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11323 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11324 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11325 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11326 * sysdeps/x86_64/dl-tls.h: Likewise.
11327 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11328 * time/alt_digit.c: Likewise.
11329 * time/era.c: Likewise.
11330 * wcsmbs/tst-c16c32-1.c: Likewise.
11331
11332 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11333
11334 * math/libm-test.inc (struct test_sincos_data): New type.
11335 (RUN_TEST_LOOP_sincos): New macro.
11336 (sincos_test_data): New variable.
11337 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11338
11339 2013-05-16 Richard Henderson <rth@redhat.com>
11340
11341 * math/atest-exp2.c (LIMB64): New macro.
11342 (CONSTSZ): New macro.
11343 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11344 (hexdig): Move ...
11345 (print_mpn_fp): ... to function scope.
11346 (read_mpn_hex): Remove.
11347 (get_log2): Remove.
11348 (exp2_mpn): Use mp_log2.
11349 (main): Use mp_exp1.
11350
11351 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11352
11353 * math/libm-test.inc: Remove comment about not testing "inexact"
11354 exceptions.
11355 (INEXACT_EXCEPTION): New macro.
11356 (NO_INEXACT_EXCEPTION): Likewise.
11357 (INVALID_EXCEPTION_OK): Update value.
11358 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11359 (OVERFLOW_EXCEPTION_OK): Likewise.
11360 (UNDERFLOW_EXCEPTION_OK): Likewise.
11361 (IGNORE_ZERO_INF_SIGN): Likewise.
11362 (ERRNO_UNCHANGED): Likewise.
11363 (ERRNO_EDOM): Likewise.
11364 (ERRNO_ERANGE): Likewise.
11365 (test_exceptions): Handle testing "inexact" exceptions.
11366 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11367 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11368 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11369 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11370 INEXACT_EXCEPTION.
11371 (rint_towardzero_test_data): Likewise.
11372 (rint_downward_test_data): Likewise.
11373 (rint_upward_test_data): Likewise.
11374
11375 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11376 with OVERFLOW_EXCEPTION.
11377 (exp10_test_data): Likewise.
11378 (exp2_test_data): Likewise.
11379 (expm1_test_data): Likewise.
11380 (lgamma_test_data): Likewise.
11381 (pow_test_data): Likewise.
11382 (tgamma_test_data): Likewise.
11383 (yn_test_data): Remove duplicate test of overflow.
11384
11385 * math/libm-test.inc (struct test_cc_c_data): New type.
11386 (RUN_TEST_LOOP_cc_c): New macro.
11387 (cpow_test_data): New variable.
11388 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11389
11390 * math/libm-test.inc (struct test_f_L_data): New type.
11391 (RUN_TEST_LOOP_f_L): New macro.
11392 (llrint_test_data): New variable.
11393 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11394 (llrint_tonearest_test_data): New variable.
11395 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11396 (llrint_towardzero_test_data): New variable.
11397 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11398 (llrint_downward_test_data): New variable.
11399 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11400 (llrint_upward_test_data): New variable.
11401 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11402 (llround_test_data): New variable.
11403 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11404
11405 2013-05-13 Peter Collingbourne <pcc@google.com>
11406
11407 * math/atest-exp2.c (get_log2): Remove const attribute.
11408
11409 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11410
11411 * math/libm-test.inc (struct test_f_l_data): New type.
11412 (RUN_TEST_LOOP_f_l): New macro.
11413 (lrint_test_data): New variable.
11414 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11415 (lrint_tonearest_test_data): New variable.
11416 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11417 (lrint_towardzero_test_data): New variable.
11418 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11419 (lrint_downward_test_data): New variable.
11420 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11421 (lrint_upward_test_data): New variable.
11422 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11423 (lround_test_data): New variable.
11424 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11425
11426 2013-05-15 Peter Collingbourne <pcc@google.com>
11427
11428 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11429 (EXTRACT_WORDS64) Use where appropriate.
11430 (INSERT_WORDS64) Likewise.
11431
11432 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11433 constraints with x constraints.
11434 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11435
11436 * malloc/obstack.c (_obstack_compat): Add initializer.
11437
11438 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11439
11440 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11441 si_trapno and add si_addr_lsb to _sifields.sigfault.
11442 (si_trapno): Remove macro.
11443 (si_addr_lsb): Define new macro.
11444 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11445
11446 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11447
11448 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11449 instead of TEST_f_l.
11450 (llrint_test_tonearest): Likewise.
11451 (llrint_test_towardzero): Likewise.
11452 (llrint_test_downward): Likewise.
11453 (llrint_test_upward): Likewise.
11454 (llround_test): Likewise.
11455
11456 * math/libm-test.inc (struct test_f_i_data): Add comment.
11457 (RUN_TEST_LOOP_f_b): New macro.
11458 (RUN_TEST_LOOP_f_b_tg): Likewise.
11459 (finite_test_data): New variable.
11460 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11461 (isfinite_test_data): New variable.
11462 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11463 (isinf_test_data): New variable.
11464 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11465 (isnan_test_data): New variable.
11466 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11467 (isnormal_test_data): New variable.
11468 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11469 (issignaling_test_data): New variable.
11470 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11471 (signbit_test_data): New variable.
11472 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11473
11474 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11475 with INVALID_EXCEPTION.
11476 (acosh_test_data): Likewise.
11477 (asin_test_data): Likewise.
11478 (atanh_test_data): Likewise.
11479 (fmod_test_data): Likewise.
11480 (log_test_data): Likewise.
11481 (log10_test_data): Likewise.
11482 (log2_test_data): Likewise.
11483 (pow_test_data): Likewise.
11484 (sqrt_test_data): Likewise.
11485 (y0_test_data): Likewise.
11486 (y1_test_data): Likewise.
11487 (yn_test_data): Likewise.
11488
11489 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11490 function contents.
11491
11492 * math/libm-test.inc (struct test_ff_i_data): New type.
11493 (RUN_TEST_LOOP_ff_i_tg): New macro.
11494 (isgreater_test_data): New variable.
11495 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11496 (isgreaterequal_test_data): New variable.
11497 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11498 (isless_test_data): New variable.
11499 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11500 (islessequal_test_data): New variable.
11501 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11502 (islessgreater_test_data): New variable.
11503 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11504 (isunordered_test_data): New variable.
11505 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11506
11507 2013-05-14 David S. Miller <davem@davemloft.net>
11508
11509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11510
11511 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11512
11513 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11514
11515 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11516 extra_test to int.
11517 (struct test_f_i_data): Change type of max_ulp to int.
11518
11519 * math/libm-test.inc (test_ffI_f1_data): New type.
11520 (RUN_TEST_LOOP_ffI_f1): New macro.
11521 (remquo_test_data): New variable.
11522 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11523
11524 * setjmp/tst-setjmp-fp.c: New file.
11525 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11526 (link-libm): New variable.
11527 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11528
11529 * math/libm-test.inc (struct test_f_i_data): New type.
11530 (RUN_TEST_LOOP_f_i): New macro.
11531 (RUN_TEST_LOOP_f_i_tg): Likewise.
11532 (fpclassify_test_data): New variable.
11533 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11534 (ilogb_test_data): New variable.
11535 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11536
11537 * math/libm-test.inc (scalbln_test): Correct function name in END
11538 call.
11539
11540 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11541 (RUN_TEST_LOOP_fI_f1): New macro.
11542 (frexp_test_data): New variable.
11543 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11544
11545 * math/libm-test.inc (struct test_fF_f1_data): New type.
11546 (RUN_TEST_LOOP_fF_f1): New macro.
11547 (modf_test_data): New variable.
11548 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11549
11550 * math/libm-test.inc (struct test_f_f1_data): New type.
11551 (RUN_TEST_LOOP_f_f1): New macro.
11552 (gamma_test_data): New variable.
11553 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11554 (lgamma_test_data): New variable.
11555 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11556
11557 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11558
11559 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11560 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11561 (main): Comment "tls" pseudo-hwcap.
11562
11563 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11564
11565 * math/libm-test.inc (struct test_fl_f_data): New type.
11566 (RUN_TEST_LOOP_fl_f): New variable.
11567 (scalbln_test_data): New variable.
11568 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11569
11570 * math/libm-test.inc (struct test_fi_f_data): New type.
11571 (RUN_TEST_LOOP_fi_f): New macro.
11572 (ldexp_test_data): New variable.
11573 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11574 (scalbn_test_data): New variable.
11575 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11576
11577 * math/libm-test.inc (struct test_c_f_data): New type.
11578 (RUN_TEST_LOOP_c_f): New macro.
11579 (cabs_test_data): New variable.
11580 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11581 (carg_test_data): New variable.
11582 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11583 (cimag_test_data): New variable.
11584 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11585 (creal_test_data): New variable.
11586 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11587
11588 * math/libm-test.inc (struct test_if_f_data): New type.
11589 (RUN_TEST_LOOP_if_f): New macro.
11590 (jn_test_data): New variable.
11591 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11592 (yn_test_data): New variable.
11593 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11594
11595 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11596
11597 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598
11599 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11600 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11601
11602 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
11604 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11605 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11606 (bench-deps): Add bench-timing.h.
11607 * benchtests-bench-skeleton.c: Include bench-timing.h.
11608 (main): Use TIMING_* macros instead of clock_gettime.
11609 * benchtests/bench-timing.h: New file.
11610
11611 [BZ #14582]
11612 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11613 Renamed from _LIB_VERSION.
11614 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11615
11616 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11617
11618 * math/libm-test.inc (struct test_fff_f_data): New type.
11619 (RUN_TEST_LOOP_fff_f): New macro.
11620 (fma_test_data): New variable.
11621 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11622 (fma_towardzero_test_data): New variable.
11623 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11624 (fma_downward_test_data): New variable.
11625 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11626 (fma_upward_test_data): New variable.
11627 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11628
11629 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11630 (struct test_c_c_data): New type.
11631 (RUN_TEST_LOOP_c_c): New macro.
11632 (cacos_test_data): New variable.
11633 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11634 (cacosh_test_data): New variable.
11635 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11636 (casin_test_data): New variable.
11637 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11638 (casinh_test_data): New variable.
11639 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11640 (catan_test_data): New variable.
11641 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11642 (catanh_test_data): New variable.
11643 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11644 (ccos_test_data): New variable.
11645 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11646 (ccosh_test_data): New variable.
11647 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11648 (cexp_test_data): New variable.
11649 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11650 (clog_test_data): New variable.
11651 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11652 (clog10_test_data): New variable.
11653 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11654 (conj_test_data): New variable.
11655 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11656 (cproj_test_data): New variable.
11657 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11658 (csin_test_data): New variable.
11659 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11660 (csinh_test_data): New variable.
11661 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11662 (csqrt_test_data): New variable.
11663 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11664 (ctan_test_data): New variable.
11665 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11666 (ctan_tonearest_test_data): New variable.
11667 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11668 (ctan_towardzero_test_data): New variable.
11669 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11670 (ctan_downward_test_data): New variable.
11671 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11672 (ctan_upward_test_data): New variable.
11673 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11674 (ctanh_test_data): New variable.
11675 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11676 (ctanh_tonearest_test_data): New variable.
11677 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11678 (ctanh_towardzero_test_data): New variable.
11679 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11680 (ctanh_downward_test_data): New variable.
11681 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11682 (ctanh_upward_test_data): New variable.
11683 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11684 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11685 of BUILD_COMPLEX.
11686
11687 * math/libm-test.inc (struct test_ff_f_data): New type.
11688 (struct test_ff_f_data_nexttoward): Likewise.
11689 (RUN_TEST_LOOP_2_f): New macro.
11690 (RUN_TEST_LOOP_ff_f): Likewise.
11691 (atan2_test_data): New variable.
11692 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11693 (copysign_test_data): New variable.
11694 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11695 (fdim_test_data): New variable.
11696 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11697 (fmax_test_data): New variable.
11698 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11699 (fmin_test_data): New variable.
11700 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11701 (fmod_test_data): New variable.
11702 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11703 (hypot_test_data): New variable.
11704 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11705 (nextafter_test_data): New variable.
11706 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11707 (nexttoward_test_data): New variable.
11708 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11709 (pow_test_data): New variable.
11710 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11711 (pow_tonearest_test_data): New variable.
11712 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11713 (pow_towardzero_test_data): New variable.
11714 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11715 (pow_downward_test_data): New variable.
11716 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11717 (pow_upward_test_data): New variable.
11718 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11719 (remainder_test_data): New variable.
11720 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11721 (scalb_test_data): New variable.
11722 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11723 * sysdeps/i386/fpu/libm-test-ulps: Update.
11724
11725 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11726
11727 * math/libm-test.inc (fma_test): Use max_value instead of local
11728 variable fltmax.
11729 (nextafter_test): Likewise.
11730
11731 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11732 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11733 (acos_downward_test_data): New variable.
11734 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11735 (acos_upward_test_data): New variable.
11736 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11737 (acosh_test_data): New variable.
11738 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11739 (asin_test_data): New variable.
11740 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11741 (asin_tonearest_test_data): New variable.
11742 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11743 (asin_towardzero_test_data): New variable.
11744 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11745 (asin_downward_test_data): New variable.
11746 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11747 (asin_upward_test_data): New variable.
11748 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11749 (asinh_test_data): New variable.
11750 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11751 (atan_test_data): New variable.
11752 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11753 (atanh_test_data): New variable.
11754 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11755 (cbrt_test_data): New variable.
11756 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11757 (ceil_test_data): New variable.
11758 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11759 (cos_test_data): New variable.
11760 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11761 (cos_tonearest_test_data): New variable.
11762 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11763 (cos_towardzero_test_data): New variable.
11764 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11765 (cos_downward_test_data): New variable.
11766 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11767 (cos_upward_test_data): New variable.
11768 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11769 (cosh_test_data): New variable.
11770 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11771 (cosh_tonearest_test_data): New variable.
11772 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11773 (cosh_towardzero_test_data): New variable.
11774 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11775 (cosh_downward_test_data): New variable.
11776 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11777 (cosh_upward_test_data): New variable.
11778 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11779 (erf_test_data): New variable.
11780 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11781 (erfc_test_data): New variable.
11782 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11783 (exp_test_data): New variable.
11784 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11785 (exp_tonearest_test_data): New variable.
11786 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11787 (exp_towardzero_test_data): New variable.
11788 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11789 (exp_downward_test_data): New variable.
11790 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11791 (exp_upward_test_data): New variable.
11792 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11793 (exp10_test_data): New variable.
11794 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11795 (exp2_test_data): New variable.
11796 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11797 (expm1_test_data): New variable.
11798 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11799 (fabs_test_data): New variable.
11800 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11801 (floor_test_data): New variable.
11802 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11803 (j0_test_data): New variable.
11804 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11805 (j1_test_data): New variable.
11806 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11807 (log_test_data): New variable.
11808 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11809 (log10_test_data): New variable.
11810 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11811 (log1p_test_data): New variable.
11812 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11813 (log2_test_data): New variable.
11814 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11815 (logb_test_data): New variable.
11816 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11817 (logb_downward_test_data): New variable.
11818 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11819 (nearbyint_test_data): New variable.
11820 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11821 (rint_test_data): New variable.
11822 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11823 (rint_tonearest_test_data): New variable.
11824 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11825 (rint_towardzero_test_data): New variable.
11826 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11827 (rint_downward_test_data): New variable.
11828 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11829 (rint_upward_test_data): New variable.
11830 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11831 (round_test_data): New variable.
11832 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11833 (sin_test_data): New variable.
11834 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11835 (sin_tonearest_test_data): New variable.
11836 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11837 (sin_towardzero_test_data): New variable.
11838 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11839 (sin_downward_test_data): New variable.
11840 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11841 (sin_upward_test_data): New variable.
11842 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11843 (sinh_test_data): New variable.
11844 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11845 (sinh_tonearest_test_data): New variable.
11846 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11847 (sinh_towardzero_test_data): New variable.
11848 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11849 (sinh_downward_test_data): New variable.
11850 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11851 (sinh_upward_test_data): New variable.
11852 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11853 (sqrt_test_data): New variable.
11854 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11855 (tan_test_data): New variable.
11856 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11857 (tan_tonearest_test_data): New variable.
11858 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11859 (tan_towardzero_test_data): New variable.
11860 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11861 (tan_downward_test_data): New variable.
11862 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11863 (tan_upward_test_data): New variable.
11864 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11865 (tanh_test_data): New variable.
11866 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11867 (tgamma_test_data): New variable.
11868 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11869 (trunc_test_data): New variable.
11870 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11871 (y0_test_data): New variable.
11872 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11873 (y1_test_data): New variable.
11874 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11875 (significand_test_data): New variable.
11876 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11877
11878 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11879
11880 [BZ #12387]
11881 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11882
11883 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11884
11885 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11886
11887 2013-05-10 Andreas Jaeger <aj@suse.de>
11888
11889 [BZ #15448]
11890 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11891 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11892
11893 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11894
11895 * math/gen-libm-test.pl (adjust_arg): New function.
11896 (special_functions): Handle generating output in both functions
11897 and arrays.
11898 (parse_args): Likewise.
11899 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11900 $in_func argument to parse_args.
11901 * math/libm-test.inc (struct test_f_f_data): New type.
11902 (IF_ROUND_INIT_): New macro.
11903 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11904 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11905 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11906 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11907 (ROUND_RESTORE_): Likewise.
11908 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11909 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11910 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11911 (ROUND_RESTORE_FE_UPWARD): Likewise.
11912 (RUN_TEST_LOOP_f_f): New macro.
11913 (acos_test_data): New variable.
11914 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11915 (acos_tonearest_test_data): New variable.
11916 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11917
11918 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11919
11920 * benchtests/bench-skeleton.c (startup): Fix coding style.
11921
11922 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11923
11924 [BZ #6809]
11925 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11926 negative infinity argument.
11927 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11928 negative infinity argument.
11929 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11930 negative infinity argument.
11931 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11932 domain errors.
11933
11934 2013-05-10 Florian Weimer <fweimer@redhat.com>
11935
11936 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11937 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11938 * iconv/iconv_prog.c (main): Likewise.
11939 * locale/programs/charmap-dir.c (charmap_readdir)
11940 (fopen_uncompressed): Likewise.
11941 * locale/programs/locfile.c (siblings_uncached)
11942 (write_locale_data): Use lstat64 instead of lstat.
11943 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11944 stat.
11945
11946 2013-05-10 Andreas Jaeger <aj@suse.de>
11947
11948 [BZ #15395]
11949 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11950 localization.
11951 Include <locale.h>.
11952
11953 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11954
11955 * elf/dl-close.c (_dl_close_worker): Add comments.
11956
11957 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11958
11959 [BZ #15359]
11960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11961 high part of pi/2.
11962 (__ieee754_rem_pio2l): Update comments.
11963
11964 [BZ #15429]
11965 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11966 high part of pi/2.
11967 (__ieee754_rem_pio2l): Update comments.
11968
11969 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11970 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11971
11972 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11973 M_PI_4l.
11974
11975 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11976 (M_PI_34_LOG10El): Likewise.
11977 (M_PI2_LOG10El): Likewise.
11978 (M_PI4_LOG10El): Likewise.
11979 (M_PI_LOG10El): Likewise.
11980
11981 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11982
11983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11984
11985 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11986
11987 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11988 (MINUS_ZERO_INIT): Likewise.
11989 (PLUS_INFTY_INIT): Likewise.
11990 (MINUS_INFTY_INIT): Likewise.
11991 (QNAN_VALUE_INIT): Likewise.
11992 (MAX_VALUE_INIT): Likewise.
11993 (MIN_VALUE_INIT): Likewise.
11994 (MIN_SUBNORM_VALUE_INIT): Likewise.
11995 (plus_zero): Initialize with PLUS_ZERO_INIT.
11996 (minus_zero): Initialize with MINUS_ZERO_INIT.
11997 (plus_infty): Initialize with PLUS_INFTY_INIT.
11998 (minus_infty): Initialize with MINUS_INFTY_INIT.
11999 (qnan_value): Initialize with QNAN_VALUE_INIT.
12000 (max_value): Initialize with MAX_VALUE_INIT.
12001 (min_value): Initialize with MIN_VALUE_INIT.
12002 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12003
12004 * math/libm-test.inc (RUN_TEST_if_f): New macro.
12005 (jn_test): Use TEST_if_f instead of TEST_ff_f.
12006 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12007 (yn_test): Use TEST_if_f instead of TEST_ff_f.
12008
12009 * math/libm-test.inc (RUN_TEST_f_f): New macro.
12010 (RUN_TEST_2_f): Likewise.
12011 (RUN_TEST_ff_f): Likewise.
12012 (RUN_TEST_fi_f): Likewise.
12013 (RUN_TEST_fl_f): Likewise.
12014 (RUN_TEST_fff_f): Likewise.
12015 (RUN_TEST_c_f): Likewise.
12016 (RUN_TEST_f_f1): Likewise.
12017 (RUN_TEST_fF_f1): Likewise.
12018 (RUN_TEST_fI_f1): Likewise.
12019 (RUN_TEST_ffI_f1): Likewise.
12020 (RUN_TEST_c_c): Likewise.
12021 (RUN_TEST_cc_c): Likewise.
12022 (RUN_TEST_f_i): Likewise.
12023 (RUN_TEST_f_i_tg): Likewise.
12024 (RUN_TEST_ff_i_tg): Likewise.
12025 (RUN_TEST_f_b): Likewise.
12026 (RUN_TEST_f_b_tg): Likewise.
12027 (RUN_TEST_f_l): Likewise.
12028 (RUN_TEST_f_L): Likewise.
12029 (RUN_TEST_sincos): Likewise.
12030 * math/gen-libm-test.pl (new_test): Take new argument to indicate
12031 whether to show exceptions. Do not include ");\n" in return
12032 value.
12033 (special_functions): Output call to RUN_TEST_sincos instead of
12034 check_float calls. Update calls to new_test.
12035 (parse_args): Output call to single RUN_TEST_* macro instead of
12036 check_* calls and other assignments. Update calls to new_test.
12037
12038 [BZ #2546]
12039 [BZ #2560]
12040 [BZ #5159]
12041 [BZ #15426]
12042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12043 input to result for tgamma overflow.
12044 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12045 (gamma_coeff): New variable.
12046 (NCOEFF): New macro.
12047 (gamma_positive): New function.
12048 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12049 underflow here. Use gamma_positive instead of exp (lgamma) for
12050 other arguments.
12051 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12052 (gamma_coeff): New variable.
12053 (NCOEFF): New macro.
12054 (gammaf_positive): New function.
12055 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12056 underflow here. Use gamma_positive instead of exp (lgamma) for
12057 other arguments.
12058 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12059 (gamma_coeff): New variable.
12060 (NCOEFF): New macro.
12061 (gammal_positive): New function.
12062 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12063 underflow here. Use gamma_positive instead of exp (lgamma) for
12064 other arguments.
12065 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12066 (gamma_coeff): New variable.
12067 (NCOEFF): New macro.
12068 (gammal_positive): New function.
12069 (__ieee754_gammal_r): Handle positive infinity, overflow and
12070 underflow here. Handle NaN the same as positive infinity. Remove
12071 check x < 0xffffffff for negative integers. Use gamma_positive
12072 instead of exp (lgamma) for other arguments.
12073 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12074 (gamma_coeff): New variable.
12075 (NCOEFF): New macro.
12076 (gammal_positive): New function.
12077 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12078 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12082 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12083 * sysdeps/generic/math_private.h (__gamma_productf): New
12084 prototype.
12085 (__gamma_product): Likewise.
12086 (__gamma_productl): Likewise.
12087 * math/Makefile (libm-calls): Add gamma_product.
12088 * math/libm-test.inc (tgamma_test): Add more tests.
12089 * sysdeps/i386/fpu/libm-test-ulps: Update.
12090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12091
12092 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
12093
12094 * benchtests/bench-skeleton.c (main): Preheat CPU.
12095
12096 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12097
12098 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12099
12100 2013-05-07 Roland McGrath <roland@hack.frob.com>
12101
12102 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12103 and _dl_skip_args_internal.
12104
12105 2013-05-07 Carlos O'Donell <carlos@redhat.com>
12106
12107 * manual/message.texi (Message Translation): Talk about users.
12108 Message to key mapping impacts design.
12109
12110 2013-05-06 Roland McGrath <roland@hack.frob.com>
12111
12112 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12113
12114 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12115
12116 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12117 * sysdeps/wordsize-64/glob64.c: ... here.
12118
12119 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12120 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12121 New macros.
12122
12123 * debug/getlogin_r_chk.c: Moved to ...
12124 * login/getlogin_r_chk.c: ... here.
12125 * debug/Makefile (routines): Move getlogin_r_chk to ...
12126 * login/Makefile (routines): ... here.
12127 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12128 * login/Versions (libc: GLIBC_2.4): ... here.
12129
12130 * io/poll.c (__poll): Renamed from poll.
12131 Add libc_hidden_def.
12132 (poll): Define as weak alias.
12133
12134 * debug/ptsname_r_chk.c: Moved to ...
12135 * login/ptsname_r_chk.c: ... here.
12136 * debug/Makefile (routines): Move ptsname_r_chk to ...
12137 * login/Makefile (routines): ... here.
12138 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12139 * login/Versions (libc: GLIBC_2.4): ... here.
12140
12141 * posix/getlogin.c: Moved to ...
12142 * login/getlogin.c: ... here.
12143 * posix/getlogin_r.c: Moved to ...
12144 * login/getlogin_r.c: ... here.
12145 * posix/getlogin_r.c: Moved to ...
12146 * login/getlogin_r.c: ... here.
12147 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12148 * login/Makefile (routines): ... here.
12149 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12150 * login/Versions (libc: GLIBC_2.0): ... here.
12151
12152 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12153 (setrlimit): Define as weak alias.
12154
12155 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12156 Call __ names for open, ftruncate, and close.
12157 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12158 (truncate): Define as weak alias.
12159
12160 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12161
12162 * math/gen-libm-test.pl (parse_args): Initialize x before each
12163 test of frexp, modf and remquo.
12164
12165 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12166 test signgam value.
12167
12168 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12169
12170 [BZ #15418]
12171 [BZ #15419]
12172 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12173 internal tests.
12174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12175
12176 2013-05-06 Roland McGrath <roland@hack.frob.com>
12177
12178 * elf/dl-writev.h: New file.
12179 * elf/dl-misc.c: Include it.
12180 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12181 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12182
12183 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12184
12185 * math/libm-test.inc (noXFails): Remove variable.
12186 (noXPasses): Likewise.
12187 (BUILD_COMPLEX_INT): Remove macro.
12188 (print_screen): Remove xfail argument.
12189 (print_screen_max_error): Likewise.
12190 (update_stats): Likewise.
12191 (print_max_error): Likewise. Update calls to other affected
12192 functions.
12193 (print_complex_max_error): Likewise.
12194 (test_single_exception): Update calls to print_screen.
12195 (test_single_errno): Likewise.
12196 (check_float_internal): Remove xfail argument. Update calls to
12197 other affected functions.
12198 (check_float): Likewise.
12199 (check_complex): Likewise.
12200 (check_int): Likewise.
12201 (check_long): Likewise.
12202 (check_bool): Likewise.
12203 (check_longlong): Likewise.
12204 (main): Don't print noXFails and noXPasses.
12205 * math/gen-libm-test.pl (top level): Don't mention expected
12206 failure handling in comment.
12207 (new_test): Don't handle expected failures.
12208 (parse_args): Don't mention expected failure handling in comment.
12209 (generate_testfile): Don't handle expected failures.
12210 (parse_ulps): Likewise.
12211 (print_ulps_file): Likewise.
12212 (get_failure): Remove function.
12213 (output_test): Don't handle expected failures.
12214 * make/README.libm-test: Don't mention expected failure handling.
12215
12216 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12217 (minus_zero): Likewise.
12218 (plus_infty): Likewise.
12219 (minus_infty): Likewise.
12220 (qnan_value): Likewise.
12221 (max_value): Likewise.
12222 (min_value): Likewise.
12223 (min_subnorm_value): Likewise.
12224 (initialize): Do not initialize those variables dynamically.
12225
12226 2013-05-03 Roland McGrath <roland@hack.frob.com>
12227
12228 * io/open.c (__open_2): Moved to ...
12229 * io/open_2.c: ... this new file.
12230 * io/open64.c (__open64_2): Moved to ...
12231 * io/open64_2.c: ... this new file.
12232 * io/openat.c (__openat_2): Moved to ...
12233 * io/openat_2.c: ... this new file.
12234 * io/openat64.c (__openat64_2): Moved to ...
12235 * io/openat64_2.c: ... this new file.
12236 * io/Makefile (routines): Add them.
12237 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12238 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12239 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12240 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12241 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12242 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12243 (__openat64): Add hidden_ver.
12244 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12245 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12246
12247 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12248 Separately conditionalize setting of GLRO(dl_sysinfo) so
12249 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12250 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12251
12252 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12253
12254 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12255 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12256 definition.
12257 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12258 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12259 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12260 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12261 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12262
12263 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12264
12265 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12266 test signgam value.
12267
12268 * math/libm-test.inc (hypot_test): Do not use
12269 IGNORE_ZERO_INF_SIGN.
12270
12271 2013-05-03 Andreas Jaeger <aj@suse.de>
12272
12273 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12274 Linux 3.9.
12275 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12276 (PF_MAX): Adjust for VSOCK change.
12277
12278 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12279
12280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12281
12282 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12283
12284 [BZ #15264]
12285 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12286 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12287 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12288
12289 2013-05-02 David S. Miller <davem@davemloft.net>
12290
12291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12292
12293 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12294
12295 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12296
12297 2013-05-01 Roland McGrath <roland@hack.frob.com>
12298
12299 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12300
12301 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12302
12303 [BZ #14952]
12304 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12305 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12306 Use __attribute__ ((__gnu_inline__)).
12307 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12308 Don't use __attribute__ ((__gnu_inline__)).
12309
12310 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #15423]
12313 * math/s_catan.c (__catan): Handle small real or imaginary part of
12314 input specially to avoid spurious underflow.
12315 * math/s_catanf.c (__catanf): Likewise.
12316 * math/s_catanh.c (__catanh): Likewise.
12317 * math/s_catanhf.c (__catanhf): Likewise.
12318 * math/s_catanhl.c (__catanhl): Likewise.
12319 * math/s_catanl.c (__catanl): Likewise.
12320 * math/libm-test.inc (catan_test): Add more tests.
12321 (catanh_test): Likewise.
12322 * sysdeps/i386/fpu/libm-test-ulps: Update.
12323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324
12325 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12326
12327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12328
12329 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12330
12331 [BZ #15416]
12332 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12333 accurately for denominator in atan2.
12334 * math/s_catanf.c (__catanf): Likewise.
12335 * math/s_catanh.c (__catanh): Likewise.
12336 * math/s_catanhf.c (__catanhf): Likewise.
12337 * math/s_catanhl.c (__catanhl): Likewise.
12338 * math/s_catanl.c (__catanl): Likewise.
12339 * math/libm-test.inc (catan_test): Add more tests.
12340 (catanh_test): Likewise.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
12344 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12345
12346 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12347
12348 * benchtests/Makefile (bench): Remove slow benchmarks.
12349 * benchtests/atan-inputs: Add slow benchmark inputs.
12350 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12351 (BENCH_FUNC): Accept variant offset.
12352 (VARIANT): Define.
12353 * benchtests/bench-skeleton.c (main): Run benchmark for each
12354 variant.
12355 * benchtests/cos-inputs: Add slow benchmark inputs.
12356 * benchtests/exp-inputs: Likewise.
12357 * benchtests/pow-inputs: Likewise.
12358 * benchtests/sin-inputs: Likewise.
12359 * benchtests/slowatan-inputs: Remove.
12360 * benchtests/slowatan.c: Remove.
12361 * benchtests/slowcos-inputs: Remove.
12362 * benchtests/slowcos.c: Remove.
12363 * benchtests/slowexp-inputs: Remove.
12364 * benchtests/slowexp.c: Remove.
12365 * benchtests/slowpow-inputs: Remove.
12366 * benchtests/slowpow.c: Remove.
12367 * benchtests/slowsin-inputs: Remove.
12368 * benchtests/slowsin.c: Remove.
12369 * benchtests/slowtan-inputs: Remove.
12370 * benchtests/slowtan.c: Remove.
12371 * benchtests/tan-inputs: Add slow benchmark inputs.
12372 * scripts/bench.pl: Parse comments and directives.
12373
12374 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12375 in CPPFLAGS.
12376 ($(objpfx)bench-%.c): Remove *-ITER.
12377 * benchtests/bench-modf.c: Remove definition of ITER.
12378 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12379 (main): Loop for DURATION seconds instead of fixed number of
12380 iterations.
12381 * scripts/bench.pl: Don't expect iterations in parameters.
12382
12383 2013-04-29 Roland McGrath <roland@hack.frob.com>
12384
12385 * io/fchdir.c (__fchdir): Renamed from fchdir.
12386 (fchdir): Define as weak alias.
12387
12388 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12389
12390 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12391 (ERRNO_EDOM): Likewise.
12392 (ERRNO_ERANGE): Likewise.
12393 (noErrnoTests): New variable.
12394 (init_max_error): Set errno to 0.
12395 (test_single_errno): New function.
12396 (test_errno): Likewise.
12397 (check_float_internal): Call test_errno. Set errno to 0.
12398 (check_complex): Refer to errno tests in comment.
12399 (check_int): Call test_errno. Set errno to 0.
12400 (check_long): Likewise.
12401 (check_bool): Likewise.
12402 (check_longlong): Likewise.
12403 (cos_test): Use ERRNO_* flags for errno tests instead of
12404 check_int.
12405 (expm1_test): Likewise.
12406 (fmod_test): Likewise.
12407 (ilogb_test): Likewise.
12408 (lgamma_test): Likewise.
12409 (pow_test): Likewise.
12410 (remainder_test): Likewise.
12411 (sin_test): Likewise.
12412 (tan_test): Likewise.
12413 (yn_test): Likewise.
12414 (initialize): Set errno to 0.
12415 (main): Print number of errno tests.
12416 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12417
12418 2013-04-29 Andreas Jaeger <aj@suse.de>
12419
12420 [BZ #15084]
12421 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12422 and RES_USEVC.
12423
12424 [BZ #15085]
12425 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12426 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12427 unimplemented.
12428
12429 [BZ #15380]
12430 * stdlib/random.c (__initstate): Return NULL if
12431 __initstate fails.
12432
12433 [BZ #15086]
12434 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12435 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12436 RES_SNGLKUPREOP.
12437
12438 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12439
12440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12441
12442 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12443
12444 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12445 of individual tests.
12446 (casin_test): Likewise.
12447 (casinh_test): Likewise.
12448
12449 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12450
12451 [BZ #15409]
12452 * math/s_catan.c (__catan): Handle arguments with large real or
12453 imaginary part separately without squaring.
12454 * math/s_catanf.c (__catanf): Likewise.
12455 * math/s_catanh.c (__catanh): Likewise.
12456 * math/s_catanhf.c (__catanhf): Likewise.
12457 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12458 and redefine.
12459 (__catanhl): Handle arguments with large real or imaginary part
12460 separately without squaring.
12461 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12462 and redefine.
12463 (__catanl): Handle arguments with large real or imaginary part
12464 separately without squaring.
12465 * math/libm-test.inc (catan_test): Add more tests.
12466 (catanh_test): Likewise.
12467 * sysdeps/i386/fpu/libm-test-ulps: Update.
12468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12469
12470 2013-04-27 Andreas Jaeger <aj@suse.de>
12471
12472 [BZ #15007]
12473 * stdlib/stdlib.h: Update guards for qecvt.
12474 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12475 <stdlib.h>.
12476
12477 2013-04-27 Allan McRae <allan@archlinux.org>
12478
12479 * sysdeps/i386/fpu/libm-test-ulps: Update.
12480
12481 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12482
12483 [BZ #15406]
12484 * math/s_catan.c: Include <float.h>.
12485 (__catan): Ensure underflow exception occurs for underflowed
12486 result.
12487 * math/s_catanf.c: Include <float.h>.
12488 (__catanf): Ensure underflow exception occurs for underflowed
12489 result.
12490 * math/s_catanh.c: Include <float.h>.
12491 (__catanh): Ensure underflow exception occurs for underflowed
12492 result.
12493 * math/s_catanhf.c: Include <float.h>.
12494 (__catanhf): Ensure underflow exception occurs for underflowed
12495 result.
12496 * math/s_catanhl.c: Include <float.h>.
12497 (__catanhl): Ensure underflow exception occurs for underflowed
12498 result.
12499 * math/s_catanl.c: Include <float.h>.
12500 (__catanl): Ensure underflow exception occurs for underflowed
12501 result.
12502 * math/libm-test.inc (catan_test): Add more tests.
12503 (catanh_test): Likewise.
12504
12505 [BZ #15405]
12506 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12507 underflowed result.
12508 * math/s_ccoshf.c (__ccoshf): Likewise.
12509 * math/s_ccoshl.c (__ccoshl): Likewise.
12510 * math/s_csin.c (__csin): Likewise.
12511 * math/s_csinf.c (__csinf): Likewise.
12512 * math/s_csinh.c (__csinh): Likewise.
12513 * math/s_csinhf.c (__csinhf): Likewise.
12514 * math/s_csinhl.c (__csinhl): Likewise.
12515 * math/s_csinl.c (__csinl): Likewise.
12516 * math/libm-test.inc (ccos_test): Add more tests.
12517 (ccosh_test): Likewise.
12518 (csin_test): Likewise.
12519 (csinh_test): Likewise.
12520
12521 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12522
12523 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12524 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12525 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12526 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12527 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12528 powerpc/power5+/fpu folders.
12529 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12530
12531
12532 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12533
12534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12535
12536 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12537
12538 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12539 additions to variable.
12540 [$(config-machine) = x86_64] (modules-names): Likewise.
12541 ($(objpfx)tst-audit3): Remove dependency.
12542 ($(objpfx)tst-audit3.out): Likewise.
12543 ($(objpfx)tst-audit4): Likewise.
12544 ($(objpfx)tst-audit4.out): Likewise.
12545 ($(objpfx)tst-audit5): Likewise.
12546 ($(objpfx)tst-audit5.out): Likewise.
12547 ($(objpfx)tst-audit6): Likewise.
12548 ($(objpfx)tst-audit6.out): Likewise.
12549 ($(objpfx)tst-audit7): Likewise.
12550 ($(objpfx)tst-audit7.out): Likewise.
12551 (tst-audit3-ENV): Remove variable.
12552 (tst-audit4-ENV): Likewise.
12553 (tst-audit5-ENV): Likewise.
12554 (tst-audit6-ENV): Likewise.
12555 (tst-audit7-ENV): Likewise.
12556 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12557 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12558 addition to variable.
12559 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12564 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12565 tst-audit3, tst-audit4 and tst-audit5.
12566 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12567 tst-audit6 and tst-audit7.
12568 [$(subdir) = elf] (modules-names): Add audit modules for those
12569 tests.
12570 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12571 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12572 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12573 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12574 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12575 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12576 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12577 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12578 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12579 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12580 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12581 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12582 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12583 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12584 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12585 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12586 Likewise.
12587 [$(subdir) = elf && $(config-cflags-avx) = yes]
12588 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12589 [$(subdir) = elf && $(config-cflags-avx) = yes]
12590 (CFLAGS-tst-auditmod4a.c): Likewise.
12591 [$(subdir) = elf && $(config-cflags-avx) = yes]
12592 (CFLAGS-tst-auditmod4b.c): Likewise.
12593 [$(subdir) = elf && $(config-cflags-avx) = yes]
12594 (CFLAGS-tst-auditmod6b.c): Likewise.
12595 [$(subdir) = elf && $(config-cflags-avx) = yes]
12596 (CFLAGS-tst-auditmod6c.c): Likewise.
12597 [$(subdir) = elf && $(config-cflags-avx) = yes]
12598 (CFLAGS-tst-auditmod7b.c): Likewise.
12599 * elf/tst-audit3.c: Move to ...
12600 * sysdeps/x86_64/tst-audit3.c: ... here.
12601 * elf/tst-audit4.c: Move to ...
12602 * sysdeps/x86_64/tst-audit4.c: ... here.
12603 * elf/tst-audit5.c: Move to ...
12604 * sysdeps/x86_64/tst-audit5.c: ... here.
12605 * elf/tst-audit6.c: Move to ...
12606 * sysdeps/x86_64/tst-audit6.c: ... here.
12607 * elf/tst-audit7.c: Move to ...
12608 * sysdeps/x86_64/tst-audit7.c: ... here.
12609 * elf/tst-auditmod3a.c: Move to ...
12610 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12611 * elf/tst-auditmod3b.c: Move to ...
12612 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12613 * elf/tst-auditmod4a.c: Move to ...
12614 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12615 * elf/tst-auditmod4b.c: Move to ...
12616 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12617 * elf/tst-auditmod5a.c: Move to ...
12618 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12619 * elf/tst-auditmod5b.c: Move to ...
12620 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12621 * elf/tst-auditmod6a.c: Move to ...
12622 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12623 * elf/tst-auditmod6b.c: Move to ...
12624 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12625 * elf/tst-auditmod6c.c: Move to ...
12626 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12627 * elf/tst-auditmod7a.c: Move to ...
12628 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12629 * elf/tst-auditmod7b.c: Move to ...
12630 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12631
12632 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12633
12634 [BZ #15366]
12635 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12636 define unconditionally.
12637 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12638 define unconditionally.
12639 (INT8_C, INT16_C, etc.): Likewise.
12640
12641 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12642
12643 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12644 __ehdr_start with hidden visibility.
12645
12646 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12647
12648 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12649
12650 * math/libm-test.inc (cos_test): Use accurate hex constants.
12651 (sincost_test): Likewise.
12652
12653 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12654
12655 * math/libm-test.inc (catan_test): Add more tests.
12656 (catanh_test): Likewise.
12657
12658 * math/s_catanf.c (__catanf): Use suffixed floating-point
12659 constants.
12660 * math/s_catanhf.c (__catanhf): Likewise.
12661 * math/s_catanhl.c (__catanhl): Likewise.
12662 * math/s_catanl.c (__catanl): Likewise.
12663
12664 [BZ #15394]
12665 * math/s_catan.c (__catan): Calculate imaginary part of result
12666 with log1p not log unless computing log of number close to 0.
12667 * math/s_catanf.c (__catanf): Likewise.
12668 * math/s_catanl.c (__catanl): Likewise.
12669 * math/s_catanh.c (__catanh): Calculate real part of result with
12670 log1p not log unless computing log of number close to 0.
12671 * math/s_catanhf.c (__catanhf): Likewise.
12672 * math/s_catanhl.c (__catanhl): Likewise.
12673 * math/libm-test.inc (catan_test): Add more tests.
12674 (catanh_test): Likewise.
12675 * sysdeps/i386/fpu/libm-test-ulps: Update.
12676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677
12678 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12679
12680 * benchtests/Makefile: Mention files in which fast and slow
12681 paths of math functions are implemented.
12682
12683 2013-04-23 Roland McGrath <roland@hack.frob.com>
12684
12685 * sysdeps/posix/timespec_get.c: New file.
12686
12687 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12688
12689 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12690 POWER.
12691 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12692 for POWER.
12693 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12694 powerpc/power5/fpu folders.
12695 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12696 * benchtests/Makefile: Add modf testcase.
12697 * benchtests/bench-modf.c: New file: Benchmark test for mo
12698
12699 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12700
12701 [BZ #14888]
12702 * time/Makefile (tests): Add tst-strptime-whitespace.
12703 * time/strptime_l.c (get_number): Use ISSPACE.
12704 (__strptime_internal): Likewise.
12705 * time/tst-strptime-whitespace.c: New test case.
12706
12707 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12708
12709 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12710 member.
12711 (_nss_files_init): Set it here.
12712
12713 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12714
12715 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12716 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12717 unsigned.
12718
12719 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12720
12721 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12722
12723 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12724
12725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12726 size just once.
12727
12728 2013-04-21 David S. Miller <davem@davemloft.net>
12729
12730 * po/ru.po: Update Russion translation from translation project.
12731
12732 2013-04-17 Adam Conrad <adconrad@0c3.net>
12733
12734 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12735 and setfsgid.
12736
12737 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12738
12739 * configure.in: Remove i386 configure warning. Remove i386 case.
12740 * configure: Regenerate.
12741 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12742 Add example to error message.
12743 * sysdeps/i386/configure: Regenerate.
12744
12745 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12746
12747 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12748 slowtan.
12749 * benchtests/cos-inputs: New file.
12750 * benchtests/slowcos-inputs: New file.
12751 * benchtests/slowcos.c: New file.
12752 * benchtests/slowtan-inputs: New file.
12753 * benchtests/slowtan.c: New file.
12754 * benchtests/tan-inputs: New file.
12755
12756 2013-04-16 Roland McGrath <roland@hack.frob.com>
12757
12758 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12759 considered kosher.
12760
12761 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 * benchtests/Makefile: Include cppflags-iterator.mk to add
12764 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12765
12766 * Makefile.in (bench-clean): New target.
12767 * benchtests/Makefile (bench-clean): Likewise.
12768
12769 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12770
12771 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12772
12773 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12774
12775 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12776
12777 2013-04-15 Andreas Schwab <schwab@suse.de>
12778
12779 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12780 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12781 * nscd/pwdcache.c (cache_addpw): Likewise.
12782 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12783 more than recsize.
12784
12785 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12786
12787 * benchtests/Makefile (bench): Write all output to
12788 bench-out.tmp together.
12789
12790 2013-04-15 Andreas Schwab <schwab@suse.de>
12791
12792 * nscd/nscd.c (main): Don't fork again after closing files.
12793
12794 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12795
12796 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12797
12798 * benchtests/Rules (bench-deps): Collect dependencies into a
12799 single variable. Add Makefile to dependencies.
12800 ($(objpfx)bench-%.c): Depend on bench-deps.
12801
12802 2013-04-12 Roland McGrath <roland@hack.frob.com>
12803 Xavier Roche <roche+kml2@exalead.com>
12804
12805 [BZ #15361]
12806 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12807 just that it's a file descriptor.
12808 * manual/llio.texi (Synchronizing AIO Operations): Update description
12809 for EBADF error from aio_fsync.
12810
12811 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12812
12813 * Rules (bench): Move target definition...
12814 * benchtests/Makefile: ... here.
12815
12816 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12817
12818 * math/libm-test.inc (cos_test): Fix PI/2 test.
12819 (sincos_test): Likewise.
12820 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12821 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12822
12823 2013-04-11 Andreas Schwab <schwab@suse.de>
12824
12825 [BZ #13988]
12826 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12827 accept exponent character only when digits were seen.
12828 * stdio-common/Makefile (tests): Add bug26.
12829 * stdio-common/bug26.c: New file.
12830
12831 [BZ #14293]
12832 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12833 non-freeable.
12834
12835 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12836
12837 * Makeconfig (rtld-prefix): Define built linker prefix.
12838 * Rules (run-bench): Use it.
12839 * math/Makefile (run-regen-ulps): Likewise.
12840
12841 * Rules (bench): Remove eval.
12842
12843 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12844 Roland McGrath <roland@hack.frob.com>
12845 Ondrej Bilka <neleai@seznam.cz>
12846
12847 [BZ #15346]
12848 * time/getdate.c: Include ctype.h and alloca.h.
12849 (__getdate_r): Trim leading and trailing spaces of input.
12850 * time/tst-getdate.c (tests): Add tests with leading and
12851 trailing spaces.
12852
12853 2013-04-08 Roland McGrath <roland@hack.frob.com>
12854
12855 [BZ #14280]
12856 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12857 when computing value.
12858
12859 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12860
12861 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12862 Use testrun.sh to run libm tests.
12863
12864 [BZ #15309]
12865 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12866
12867 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12868
12869 [BZ #15264]
12870 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12871
12872 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12873
12874 * Makefile.in (regen-ulps): New target.
12875 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12876 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12877 [ifneq (no,$(PERL)] (regen-ulps): New target.
12878 [ifeq (no,$(PERL)] (regen-ulps): New target.
12879 * math/libm-test.inc (ulps_file_name): Define.
12880 (output_dir): New variable.
12881 (options): Add "output-dir" option.
12882 (parse_opt): Handle 'o' case.
12883 (main): If output_dir is non-NULL use it as a prefix
12884 otherwise use "".
12885 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12886
12887 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12888
12889 [BZ #10060, #10062]
12890 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12891 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12892 fail configure if __sync_val_compare_and_swap is not inlined.
12893 * sysdeps/i386/configure: Regenerate.
12894 * configure.in: Build for i686 when configured for i386.
12895 * configure: Regenerate.
12896 * README: Remove i386 reference.
12897
12898 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12899
12900 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12902
12903 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12904
12905 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12906 (lmsnanval): New variables.
12907 (F): Add conversion tests.
12908 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12909 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12910
12911 * stdio-common/tstdiomisc.c (F): Properly collect individual
12912 tests' results.
12913
12914 [BZ #14686, #15336]
12915 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12916 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12917 Instead, use input NaN values or generate a qNaN by arithmetic
12918 operation. Also fix bugs to comply with the standard.
12919 * math/libm-test.inc (remainder_test): Add more tests.
12920
12921 [BZ #15335, #15342]
12922 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12924 input NaN values or generate a qNaN by arithmetic operation.
12925
12926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12927 unreachable code.
12928
12929 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12930 definitions.
12931
12932 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12933
12934 [BZ #14478]
12935 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12936 underflowed result.
12937 * math/s_cexpf.c (__cexpf): Likewise.
12938 * math/s_cexpl.c (__cexpl): Likewise.
12939 * math/libm-test.inc (cexp_test): Add more tests.
12940
12941 2013-04-03 Andreas Schwab <schwab@suse.de>
12942
12943 [BZ #15330]
12944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12945 order arrays from heap if bigger than alloca cutoff.
12946
12947 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12948
12949 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12950 (SNAN_TESTS_double): Refer to GCC PR56831.
12951 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12952 GCC PR56828.
12953
12954 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12955
12956 * Rules (bench): Move bench.out after the run is complete.
12957
12958 * Rules (bench): Echo currently running benchmark.
12959
12960 * benchtests/Makefile (bench): Add atan and slowatan.
12961 * benchtests/atan-inputs: New file.
12962 * benchtests/slowatan-inputs: New file.
12963 * benchtests/slowatan.c: New file.
12964
12965 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12967 its value.
12968
12969 [BZ #15305]
12970 * sysdeps/unix/sysv/linux/kernel-features.h
12971 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12972 __ASSUME_XFS_RESTRICTED_CHOWN.
12973 * sysdeps/unix/sysv/linux/pathconf.c
12974 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12975 Save and restore errno.
12976
12977 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #15327]
12980 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12981 arguments using __kernel_casinh.
12982 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12983 arguments using __kernel_casinhf.
12984 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12985 arguments using __kernel_casinhl.
12986 * math/libm-test.inc (cacosh_test): Add more tests.
12987 * sysdeps/i386/fpu/libm-test-ulps: Update.
12988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12989
12990 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12991
12992 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12994
12995 * bench/Makefile (bench): Add sin and slowsin.
12996 * benchtests/sin-inputs: New file.
12997 * benchtests/slowsin-inputs: New file.
12998 * benchtests/slowsin.c: New file.
12999
13000 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13001 (bench): Add slowexp and slowpow.
13002 (exp-ITER): Increase iterations.
13003 (pow-ITER): Likewise.
13004 * benchtests/exp-inputs: Change input.
13005 * benchtests/pow-inputs: Likewise.
13006 * benchtests/slowexp-inputs: New file.
13007 * benchtests/slowexp.c: New file.
13008 * benchtests/slowpow-inputs: New file.
13009 * benchtests/slowpow.c: New file.
13010
13011 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13012
13013 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13014 instructions.
13015 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13016 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13018 * benchtests/Makefile: Add rint benchtest.
13019 * benchtests/rint-inputs: Input for rint benchtest.
13020
13021 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
13022
13023 * Versions.def (libm): Add GLIBC_2.18.
13024 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13025 hidden libm prototypes.
13026 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13027 * math/Makefile (libm-calls): Add s_issignaling.
13028 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13029 __issignalingf, __issignalingl. Adjust all libm.abilist files.
13030 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13031 declaration.
13032 * math/math.h [__USE_GNU] (issignaling): New macro.
13033 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13034 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13035 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13036 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13039 * manual/arith.texi (issignaling): New section.
13040 * manual/libm-err-tab.pl (@all_functions): Update comment.
13041 * math/gen-libm-test.pl (parse_args): Apply special handling for
13042 issignaling.
13043 * math/libm-test.inc (print_float, issignaling_test): New
13044 functions.
13045 (check_float_internal): Add issignaling checks.
13046 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13047 default definition.
13048 * sysdeps/powerpc/math-tests.h: New file.
13049 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13050 tests.
13051 * math/test-snan.c (TEST_FUNC): Likewise.
13052
13053 2013-03-30 David S. Miller <davem@davemloft.net>
13054
13055 * po/de.po: Update from translation team.
13056
13057 2013-03-30 Joseph Myers <joseph@codesourcery.com>
13058
13059 [BZ #10357]
13060 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13061 imaginary part less than 1.0 and real part less than 0.5
13062 specially.
13063 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13064 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13065 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13066 (cacos_test): Add more tests.
13067 (casin_test): Likewise.
13068 (casinh_test): Likewise.
13069 * sysdeps/i386/fpu/libm-test-ulps: Update.
13070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13071
13072 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13073
13074 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13075 ONE with its value.
13076
13077 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13078 (__pow_mp): Replace ONE and MONE with their values.
13079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13080 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13081 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13082 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13083 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13084 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13085
13086 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13087
13088 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13089 (__pow_mp): Replace ZERO and MZERO with their values.
13090 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13092 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13094 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13095 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13096 (__sqr): Likewise.
13097
13098 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13099
13100 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13101
13102 2013-03-28 Roland McGrath <roland@hack.frob.com>
13103
13104 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13105 Declare with __attribute__ ((weak)).
13106 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13107 Call __call_tls_dtors only if it's not NULL.
13108
13109 2013-03-28 Roland McGrath <roland@hack.frob.com>
13110
13111 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13112 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13113 magic __ehdr_start linker symbol if it's defined.
13114 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13115 them up here if it was already done.
13116
13117 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13118 (_dl_aux_init): Use const in cast when setting it.
13119 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13120 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13121 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13122
13123 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13124 Declare them here.
13125 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13126 * csu/libc-tls.c: Nor here.
13127 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13128
13129 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13130 (__libc_message): Never call vsyslog.
13131
13132 2013-03-28 Alan Modra <amodra@gmail.com>
13133
13134 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13135 Define as empty.
13136 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13137 Likewise.
13138
13139 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13140
13141 [BZ #15214]
13142 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13143 underflow.
13144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13145
13146 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13147
13148 [BZ #15304]
13149 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13150 Don't add gid passed as argument.
13151
13152 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13153
13154 2013-03-27 Joseph Myers <joseph@codesourcery.com>
13155
13156 [BZ #15307]
13157 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13158 imaginary part between 1.0 and 1.5 and real part less than 0.5
13159 specially.
13160 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13161 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13162 * math/libm-test.inc (cacos_test): Add more tests.
13163 (casin_test): Likewise.
13164 (casinh_test): Likewise.
13165 * sysdeps/i386/fpu/libm-test-ulps: Update.
13166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13167
13168 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13169
13170 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13171 constants.
13172 (norm): Likewise.
13173 (denorm): Likewise.
13174 (__dbl_mp): Likewise.
13175 (add_magnitudes): Likewise.
13176 (sub_magnitudes): Likewise.
13177 (__add): Likewise.
13178 (__sub): Likewise.
13179 (__mul): Likewise.
13180 (__sqr): Likewise.
13181 (__inv): Likewise.
13182 (__dvd): Likewise.
13183
13184 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13185 commented code.
13186 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13187 (__dubcos): Likewise.
13188 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13189 (__ieee754_acos): Likewise.
13190 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13191 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13192 (__exp1): Likewise.
13193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13195 (log1): Likewise.
13196 (my_log2): Likewise.
13197 (checkint): Likewise.
13198 * sysdeps/ieee754/dbl-64/e_remainder.c
13199 (__ieee754_remainder): Likewise.
13200 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13202 (bsloww): Likewise.
13203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13204
13205 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13206 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13207 MANTISSA_STORE_T to store computations on mantissa. Use
13208 macros for rounding and division.
13209 (denorm): Likewise.
13210 (__dbl_mp): Likewise.
13211 (add_magnitudes): Likewise.
13212 (sub_magnitudes): Likewise.
13213 (__mul): Likewise.
13214 (__sqr): Likewise.
13215 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13216 powers of two in terms of TWOPOW macro.
13217 (mp_no): Make type of mantissa as MANTISSA_T.
13218 [!RADIXI]: Define RADIXI.
13219 [!TWO52]: Define TWO52.
13220 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13221
13222 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223
13224 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13225 llroundl symbol when building for PPC32.
13226
13227 2013-03-24 Mark H Weaver <mhw@netris.org>
13228
13229 * manual/arith.texi (Normalization Functions): Fix prototypes for
13230 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13231
13232 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13233
13234 [BZ #13889]
13235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13236 high value to check if expl overflow.
13237 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13238 to check for underflow and overflow.
13239 * math/libm-test.inc: Add exp test.
13240
13241 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13242
13243 [BZ #11120]
13244 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13245 with NOT_IN_libc.
13246
13247 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13248
13249 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13250 symbol.
13251
13252 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13253
13254 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13255 wrap blocks consisting of several statements.
13256
13257 * sysdeps/generic/math-tests.h: New file.
13258 * sysdeps/i386/fpu/math-tests.h: Likewise.
13259 * math/test-snan.c: Include it.
13260 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13261
13262 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13263
13264 [BZ #15285]
13265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13266 (__ieee754_j0l): Do not improve calculations using cos of twice
13267 input for inputs above LDBL_MAX / 2.0L.
13268 (__ieee754_y0l): Likewise.
13269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13270 (__ieee754_j1l): Do not improve calculations using cos of twice
13271 input for inputs above LDBL_MAX / 2.0L.
13272 (__ieee754_y1l): Likewise.
13273 * math/libm-test.inc (j0_test): Add another test.
13274 (j1_test): Likewise.
13275 (y0_test): Likewise.
13276 (y1_test): Likewise.
13277 * sysdeps/i386/fpu/libm-test-ulps: Update.
13278
13279 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13280
13281 * Rules ($(objpfx)bench-%.c): Include code from a C source
13282 file.
13283
13284 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13285
13286 [BZ #15287]
13287 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13288 imaginary part 1.0 and real part less than 0.5 specially.
13289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13291 * math/libm-test.inc (cacos_test): Add more tests.
13292 (casin_test): Likewise.
13293 (casinh_test): Likewise.
13294 * sysdeps/i386/fpu/libm-test-ulps: Update.
13295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13296
13297 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13298
13299 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13300 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13301
13302 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13303
13304 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13305 * config.make.in (config-cflags-sse4): Remove variable.
13306 (config-cflags-avx): Likewise.
13307 (config-cflags-sse2avx): Likewise.
13308 (config-cflags-novzeroupper): Likewise.
13309 (config-asflags-i686): Likewise.
13310 (have-mfma4): Likewise.
13311 (have-as-vis3): Likewise.
13312 (MIG): Likewise.
13313 * configure.in (MIG): Do not AC_SUBST.
13314 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13315 (libc_cv_cc_sse4): Do not AC_SUBST.
13316 (libc_cv_cc_avx): Likewise.
13317 (libc_cv_cc_sse2avx): Likewise.
13318 (libc_cv_cc_novzeroupper): Likewise.
13319 (libc_cv_cc_fma4): Likewise.
13320 (libc_cv_as_i686): Likewise.
13321 (libc_cv_sparc_as_vis3): Likewise.
13322 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13323 LIBC_CONFIG_VAR.
13324 (config-asflags-i686): Likewise.
13325 (config-cflags-avx): Likewise.
13326 (config-cflags-sse2avx): Likewise.
13327 (have-mfma4): Likewise.
13328 (config-cflags-novzeroupper): Likewise.
13329 * sysdeps/mach/configure.in (MIG): Likewise.
13330 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13331 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13332 LIBC_CONFIG_VAR.
13333 (config-cflags-avx): Likewise.
13334 (config-cflags-sse2avx): Likewise.
13335 (have-mfma4): Likewise.
13336 (config-cflags-novzeroupper): Likewise.
13337 * configure: Regenerated.
13338 * sysdeps/i386/configure: Likewise.
13339 * sysdeps/mach/configure: Likewise.
13340 * sysdeps/sparc/configure: Likewise.
13341 * sysdeps/x86_64/configure: Likewise.
13342
13343 2013-03-20 Roland McGrath <roland@hack.frob.com>
13344
13345 [BZ #14812]
13346 * locale/programs/localedef.c (options): Put N_ translation marker
13347 on argument names, not just descriptions.
13348
13349 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13350
13351 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13352
13353 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13354
13355 [BZ #14176]
13356 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13357
13358 2013-03-19 Roland McGrath <roland@hack.frob.com>
13359
13360 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13361 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13362 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13363 [!BEFORE_ABORT] (before_abort): New function.
13364 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13365 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13366 (writev_for_fatal): New function.
13367 (WRITEV_FOR_FATAL): New macro; call that.
13368 (backtrace_and_maps): New function.
13369 (BEFORE_ABORT): New macro; call that.
13370 (struct str_list): Type removed.
13371 (__libc_message, __libc_fatal): Functions removed.
13372 Include <sysdeps/posix/libc_fatal.c> instead.
13373
13374 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13375
13376 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13377 constants.
13378 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13379 double constants.
13380
13381 2013-03-19 Andreas Schwab <schwab@suse.de>
13382
13383 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13384 * sysdeps/gnu/configure: Regenerate.
13385
13386 * configure.in: Substitute libc_cv_rtlddir.
13387 * configure: Regenerate.
13388 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13389 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13390 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13391 * elf/Makefile (install-others, CFLAGS-interp.c)
13392 (ldso_install, common-ldd-rewrite): Likewise.
13393 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13394 $(inst_slibdir)/$(rtld-installed-name).
13395 * scripts/rellns-sh: Add -p option.
13396 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13397 for source.
13398
13399 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13400
13401 * manual/nptl.texi: Renamed to ...
13402 * manual/threads.texi: ... this.
13403 * manual/Makefile (chapters): Update.
13404
13405 2013-03-18 Roland McGrath <roland@hack.frob.com>
13406
13407 [BZ #14812]
13408 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13409 on argument names, not just descriptions.
13410 * malloc/memusagestat.c (options): Likewise.
13411 * nss/getent.c (options): Likewise.
13412
13413 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13414
13415 [BZ #14812]
13416 * iconv/iconv_prog.c (options): Put N_ translation marker
13417 on argument names, not just descriptions.
13418 * iconv/iconvconfig.c (options): Likewise.
13419
13420 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13421
13422 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13423 implementation which is faster on all x86_64 architectures.
13424 Tested on AMD, Intel Nehalem, SNB, IVB.
13425 * sysdeps/x86_64/strnlen.S: Likewise.
13426
13427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13428 Remove all multiarch strlen and strnlen versions.
13429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13430 Remove strlen and strnlen related parts.
13431
13432 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13433 Inline strlen part.
13434 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13435
13436 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13437 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13438 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13439 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13440 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13441 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13442
13443 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13444
13445 * manual/memory.texi (Malloc Tunable Parameters):
13446 Sort parameters alphabetically. Add comments for missing entries.
13447
13448 2013-03-17 David S. Miller <davem@davemloft.net>
13449
13450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13451
13452 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13453
13454 [BZ #15283]
13455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13456 for arguments at most half maximum finite value.
13457 * math/libm-test.inc (j0_test): Add more tests.
13458 (j1_test): Likewise.
13459 (y0_test): Likewise.
13460 (y1_test): Likewise.
13461 * sysdeps/i386/fpu/libm-test-ulps: Update.
13462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13463
13464 [BZ #14155]
13465 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13466 1 / x and functions P and Q for arguments above 0x1p256L.
13467 (__ieee754_y0l): Likewise.
13468 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13469 (__ieee754_y1l): Likewise.
13470 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13471 (j1_test): Likewise.
13472 (y0_test): Likewise.
13473 (y1_test): Likewise.
13474
13475 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13476
13477 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13478 variable.
13479
13480 2013-03-15 Roland McGrath <roland@hack.frob.com>
13481
13482 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13483 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13484 zero since it's initialized to EXEC_PAGESIZE.
13485
13486 * sysdeps/unix/sysv/linux/ldsodefs.h
13487 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13488 * sysdeps/generic/ldsodefs.h: ... here.
13489
13490 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13491
13492 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13493
13494 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13495 math/test-snan.c.
13496 * math/test-snan.c: Renamed from
13497 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13498 * math/Makefile (tests): Add test-snan.
13499 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13500 test-powerpc-snan.
13501
13502 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13503 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13504 functions.
13505 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13506 __builtin_nan family of functions.
13507 * math/libm-test.inc (initialize): Initialize qnan_value with
13508 __builtin_nan family of functions.
13509 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13510 Remove variables.
13511 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13512 Remove functions.
13513 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13514 storage class. Initialize qNaN_var and sNaN_var with
13515 __builtin_nan and __builtin_nans families of functions,
13516 respectively.
13517
13518 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13519 (sqrt_test): Remove duplicate test with qNaN input.
13520 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13521 (round_test, signbit_test, significand_test): Note missing +/-Inf
13522 as well as qNaN tests.
13523
13524 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13525 qNaN_var. Fix a few strings, too.
13526 * math/libm-test.inc (nan_value): Rename to qnan_value.
13527 * math/gen-libm-test.pl (%beautify): Adjust to that.
13528 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13529 * math/test-misc.c (main): Likewise.
13530 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13531 to __qnan_bytes, and __qnan_union, respectively.
13532 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13533 Likewise.
13534 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13535 and lqnanval, respectively.
13536 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13537 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13538 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13539 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13540
13541 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13542 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13543 doubles.
13544
13545 * math/test-misc.c (main): Fix copy'n'pastos.
13546 * misc/tst-efgcvt.c (special): Likewise.
13547
13548 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13549 Remove declarations.
13550
13551 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13552
13553 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13554 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13555 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13556 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13557
13558 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559
13560 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13561 macro to return vdso values correctly in IFUNC implementations.
13562 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13563 Optimization by using IFUNC.
13564
13565 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 Richard Henderson <rth@redhat.com>
13567 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13568
13569 * Makefile.in (bench): New target.
13570 * NEWS: Mention the benchmark framework.
13571 * Rules (bench): Likewise.
13572 (binaries-bench): Generate binaries for functions to
13573 benchmark.
13574 * benchtests/Makefile: New makefile for benchmark tests.
13575 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13576 programs.
13577 * benchtests/exp-inputs: New input file for EXP function.
13578 * benchtests/pow-inputs: New input file for POW function.
13579 * scripts/bench.pl: New script to generate source files for
13580 benchmark programs.
13581
13582 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13583
13584 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13585 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13586 computations on mantissa. Use macros for rounding and
13587 division.
13588 (denorm): Likewise.
13589 (__dbl_mp): Likewise.
13590 (add_magnitudes): Likewise.
13591 (sub_magnitudes): Likewise.
13592 (__mul): Likewise.
13593 (__sqr): Likewise.
13594 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13595 powers of two in terms of TWOPOW macro.
13596 (mp_no): Make type of mantissa as MANTISSA_T.
13597 [!RADIXI]: Define RADIXI.
13598 [!TWO52]: Define TWO52.
13599 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13600
13601 * manual/nptl.texi (cindex): Modify threads to pthreads.
13602
13603 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13604
13605 * sysdeps/x86_64/preconfigure: Regenerated.
13606
13607 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13608
13609 [BZ #14155]
13610 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13611 0x1p28 and above.
13612 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13613 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13614 0x1p28 and above.
13615 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13616 * math/libm-test.inc (j0_test): Do not allow one spurious
13617 underflow exception.
13618 (y1_test): Likewise.
13619
13620 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13621
13622 * manual/Makefile (chapters): Add nptl.
13623 * manual/debug.texi (Debugging Support): Add link to Threads
13624 chapter.
13625 * manual/nptl.texi: New file.
13626
13627 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13628
13629 2013-03-14 Petr Baudis <pasky@ucw.cz>
13630
13631 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13632 for non-NULL pointer before the memory validity test. Pointed
13633 out by Holger Brunck <holger.brunck@keymile.com>.
13634
13635 2013-03-13 Andreas Schwab <schwab@suse.de>
13636
13637 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13638 instead of .os.
13639
13640 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13641
13642 * timezone/zic.c: Update from tzcode 2013b.
13643
13644 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13645
13646 * manual/install.texi (Configuring and compiling):
13647 Mention i686 and i586.
13648 * INSTALL: Regenerate.
13649
13650 2013-03-12 Roland McGrath <roland@hack.frob.com>
13651
13652 * sysdeps/init_array/elf-init.c: New file.
13653 * csu/elf-init.c
13654 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13655 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13656
13657 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13658 __gmon_start__ as global, but as static with a .preinit_array pointer.
13659 * sysdeps/init_array/gmon-start.c: New file. Use that.
13660 * sysdeps/init_array/crti.S: New file, empty except for comments.
13661 * sysdeps/init_array/crtn.S: Likewise.
13662
13663 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13664
13665 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13666 definining bcopy.
13667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13668 Remove Prefer_SSE_for_memop.
13669 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13670 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13671 HAS_PREFER_SSE_FOR_MEMOP.
13672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13673 memset-x86-64.
13674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13675 Remove bzero, memset ifunc support.
13676 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13677 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13678 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13679 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13680
13681 2013-03-11 Andreas Schwab <schwab@suse.de>
13682
13683 [BZ #15234]
13684 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13685 by SHLIB_COMPAT.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13687 (GLIBC_2.16): Remove pthread_atfork.
13688
13689 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13690
13691 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13692 (ptestcases.h): Likewise.
13693
13694 2013-03-08 Roland McGrath <roland@hack.frob.com>
13695
13696 * Makeconfig ($(common-objpfx)config.status): Depend on
13697 sysdeps/*/preconfigure{,.in} too.
13698
13699 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13700
13701 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13702 (__free_hook): Use void * instead of __malloc_ptr_t.
13703 (__malloc_hook): Likewise.
13704 (__realloc_hook): Likewise.
13705 (__memalign_hook): Likewise.
13706 (__after_morecore_hook): Likewise.
13707 * malloc/arena.c (save_malloc_hook): Likewise.
13708 (save_free_hook): Likewise.
13709 * malloc/hooks.c (malloc_hook_ini): Likewise.
13710 (realloc_hook_ini): Likewise.
13711 (memalign_hook_ini): Likewise.
13712 * malloc/malloc.c (malloc_hook_ini): Likewise.
13713 (realloc_hook_ini): Likewise.
13714 (memalign_hook_ini): Likewise.
13715 (__free_hook): Likewise.
13716 (__malloc_hook): Likewise.
13717 (__realloc_hook): Likewise.
13718 (__memalign_hook): Likewise.
13719 (__libc_malloc): Likewise.
13720 (__libc_free): Likewise.
13721 (__libc_realloc): Likewise.
13722 (__libc_memalign): Likewise.
13723 (__libc_valloc): Likewise.
13724 (__libc_pvalloc): Likewise.
13725 (__libc_calloc): Likewise.
13726 (__posix_memalign): Likewise.
13727 * malloc/morecore.c (__sbrk): Likewise.
13728 (__default_morecore): Likewise.
13729
13730 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13731
13732 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13733 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13734 __malloc_ptrdiff_t.
13735
13736 * malloc/malloc.h (__malloc_size_t): Remove macro.
13737 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13738 __malloc_size_t.
13739 (old_memalign_hook): Likewise.
13740 (old_realloc_hook): Likewise.
13741 (struct hdr): Likewise.
13742 (flood): Likewise.
13743 (mallochook): Likewise.
13744 (memalignhook): Likewise.
13745 (reallochook): Likewise.
13746 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13747 (tr_old_realloc_hook): Likewise.
13748 (tr_old_memalign_hook): Likewise.
13749 (tr_mallochook): Likewise.
13750 (tr_reallochook): Likewise.
13751 (tr_memalignhook): Likewise.
13752
13753 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13754
13755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13756 default_ldbl_pack and using as default implementation.
13757 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13758 implementation.
13759 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13760 redundant definition.
13761 (ldbl_insert_mantissa): Likewise.
13762 (ldbl_canonicalize): Likewise.
13763 (ldbl_nearbyint): Likewise.
13764 (ldbl_pack): Rename to ldbl_pack_ppc.
13765 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13766 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13767 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13768
13769 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13770
13771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13772 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13773 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13774 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13777 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13778 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13779
13780 2013-03-07 Andreas Jaeger <aj@suse.de>
13781
13782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13783 bits/mman-linux.h.
13784
13785 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13786
13787 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13788 Include mpa.h and declare __MPEXP.
13789 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13790 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13791 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13792 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13793 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13794 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13795 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13796
13797 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13798 (__slowpow): Use long double EXPL and LOGL functions to
13799 compute POW.
13800 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13801 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13802 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13803 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13804 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13805 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13806
13807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13808 intermediate variable to calculate exponent.
13809 (__sqr): Likewise.
13810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13811 Likewise.
13812 (__sqr): Likewise.
13813
13814 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13815 [!NO__SQR]: Define __sqr.
13816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13817 and NO__SQR. Remove all code except __mul and __sqr. Include
13818 sysdeps/ieee754/dbl-64/mpa.c.
13819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13820
13821 [BZ #12723]
13822 * posix/Makefile (tests): Add tst-pathconf.
13823 * posix/tst-pathconf.c: New test case.
13824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13825 _PC_PIPE_BUF.
13826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13827
13828 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13829
13830 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13831
13832 2013-03-06 Andreas Jaeger <aj@suse.de>
13833
13834 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13835 definition via __MAP_ANONYMOUS.
13836
13837 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13838 it's not part of Linux headers.
13839
13840 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13841 (MAP_HUGE_MASK): Define.
13842
13843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13844 Define.
13845 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13847 Define.
13848 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13849 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13850 Define.
13851 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13853 Define.
13854 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13855
13856 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13857 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13858 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13859 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13860 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13861 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13862
13863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13864 Handle f2fs.
13865
13866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13867 Handle f2fs and efivarfs.
13868
13869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13870 f2fs.
13871
13872 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13873 (EFIVARFS_MAGIC): Add.
13874 (F2FS_LINK_MAX): Add.
13875
13876 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13877
13878 * stdio-common/vfprintf.c: Replace __builtin_expect with
13879 __glibc_unlikely.
13880
13881 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13882
13883 [BZ #13550]
13884 * sysdeps/generic/bp-sym.h: Remove file.
13885 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13886 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13887 <bp-sym.h> and <bp-asm.h>.
13888 (__longjmp): Don't use BP_SYM.
13889 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13890 and <bp-asm.h>.
13891 (memcpy): Don't use BP_SYM.
13892 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (memcpy): Don't use BP_SYM.
13895 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13896 <bp-asm.h>.
13897 (memcpy): Don't use BP_SYM.
13898 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13899 <bp-asm.h>.
13900 (memset): Don't use BP_SYM.
13901 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13902 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13903 (__bzero): Don't use BP_SYM.
13904 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13905 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13906 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13907 <bp-sym.h> and <bp-asm.h>.
13908 (memcmp): Don't use BP_SYM. Remove comment about bounded
13909 pointers.
13910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13911 <bp-sym.h> and <bp-asm.h>.
13912 (memcpy): Don't use BP_SYM.
13913 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13914 <bp-sym.h> and <bp-asm.h>.
13915 (memset): Don't use BP_SYM.
13916 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13917 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13918 (__bzero): Don't use BP_SYM.
13919 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13920 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13922 <bp-sym.h> and <bp-asm.h>.
13923 (strncmp): Don't use BP_SYM. Remove comment about bounded
13924 pointers.
13925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13926 <bp-sym.h> and <bp-asm.h>.
13927 (memcpy): Don't use BP_SYM.
13928 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13929 <bp-sym.h> and <bp-asm.h>.
13930 (memset): Don't use BP_SYM.
13931 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13932 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13933 (__bzero): Don't use BP_SYM.
13934 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13935 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13937 <bp-sym.h> and <bp-asm.h>.
13938 (__memchr): Don't use BP_SYM.
13939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13940 <bp-sym.h> and <bp-asm.h>.
13941 (memcmp): Don't use BP_SYM. Remove comment about bounded
13942 pointers.
13943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13944 <bp-sym.h> and <bp-asm.h>.
13945 (memcpy): Don't use BP_SYM.
13946 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13947 <bp-sym.h> and <bp-asm.h>.
13948 (__mempcpy): Don't use BP_SYM.
13949 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13950 <bp-sym.h> and <bp-asm.h>.
13951 (__memrchr): Don't use BP_SYM.
13952 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13953 <bp-sym.h> and <bp-asm.h>.
13954 (memset): Don't use BP_SYM.
13955 (__bzero): Likewise.
13956 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13957 <bp-sym.h> and <bp-asm.h>.
13958 (__rawmemchr): Don't use BP_SYM.
13959 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13960 <bp-sym.h> and <bp-asm.h>.
13961 (__STRCMP): Don't use BP_SYM.
13962 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13963 <bp-sym.h> and <bp-asm.h>.
13964 (strchr): Don't use BP_SYM.
13965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13966 <bp-sym.h> and <bp-asm.h>.
13967 (__strchrnul): Don't use BP_SYM.
13968 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13969 <bp-sym.h> and <bp-asm.h>.
13970 (strlen): Don't use BP_SYM.
13971 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13972 <bp-sym.h> and <bp-asm.h>.
13973 (strncmp): Don't use BP_SYM. Remove comment about bounded
13974 pointers.
13975 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13976 <bp-sym.h> and <bp-asm.h>.
13977 (__strnlen): Don't use BP_SYM.
13978 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13979 <bp-sym.h> and <bp-asm.h>.
13980 (__GI__setjmp): Don't use BP_SYM.
13981 (_setjmp): Likewise.
13982 (__sigsetjmp): Likewise.
13983 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13984 (L(start_addresses)): Don't use BP_SYM.
13985 (_start): Likewise.
13986 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13987 <bp-asm.h>.
13988 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13989 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13990 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13991 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13992 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13993 <bp-asm.h>.
13994 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13995 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13996 about bounded pointers.
13997 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13998 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13999 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14000 <bp-asm.h>.
14001 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14002 about bounded pointers. Remove GKM FIXME comments.
14003 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14004 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14005 <bp-asm.h>.
14006 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14007 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
14008 Remove GKM FIXME comments.
14009 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14010 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14011 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14012 <bp-asm.h>.
14013 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14014 about bounded pointers. Remove GKM FIXME comment.
14015 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14016 and <bp-asm.h>.
14017 (strncmp): Don't use BP_SYM. Remove comment about bounded
14018 pointers.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14020 <bp-sym.h> and <bp-asm.h>.
14021 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14023 <bp-sym.h> and <bp-asm.h>.
14024 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14025 comment.
14026
14027 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14028
14029 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14030 call free(NULL).
14031
14032 2013-03-05 David S. Miller <davem@davemloft.net>
14033
14034 * po/es.po: Update from translation team.
14035
14036 2013-03-05 Andreas Jaeger <aj@suse.de>
14037
14038 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14039 <bits/mman-linux.h>.
14040 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14041 is fine.
14042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14043 <bits/mman-linux.h> to end of file.
14044 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14045 is fine.
14046 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14047 <bits/mman-linux.h> to end of file.
14048 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14049 is fine.
14050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14051 <bits/mman-linux.h> to end of file.
14052
14053 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14054 (MCL_CURRENT, MCL_FUTURE): Define here.
14055
14056 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14057
14058 [BZ #15232]
14059 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14060 attribute_hidden.
14061 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14062
14063 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14064
14065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14066 fourth parameter needed for rt_sigprocmask syscall.
14067 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14069 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14070 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14072 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14073
14074 2013-03-04 Joseph Myers <joseph@codesourcery.com>
14075
14076 [BZ #13550]
14077 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14078 comment about bounded pointers.
14079 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14080 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14081
14082 2013-03-04 Andreas Jaeger <aj@suse.de>
14083
14084 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14085 common definitions.
14086
14087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14088 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14089 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14093
14094 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14095
14096 [BZ #15055]
14097 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14098 __ieee754_sqrl instead of __sqrl.
14099
14100 2013-03-01 Joseph Myers <joseph@codesourcery.com>
14101
14102 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14103 * sysdeps/powerpc/fpu_control.h: ... here.
14104 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14105 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14106 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14107 * sysdeps/powerpc/bits/mathinline.h: ... here.
14108
14109 2013-03-01 Roland McGrath <roland@hack.frob.com>
14110
14111 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14112 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14113 to just [NEED_DL_SYSINFO_DSO].
14114 * elf/dl-support.c: Likewise.
14115 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14116 * elf/rtld.c (dl_main): Likewise.
14117 * elf/setup-vdso.h (setup_vdso): Likewise.
14118 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14119 * sysdeps/unix/sysv/linux/dl-sysdep.c
14120 (_dl_discover_osversion): Likewise.
14121
14122 2013-03-01 Carlos O'Donell <carlos@redhat.com>
14123
14124 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14125 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14126
14127 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
14129 * NEWS: Mention libm performance improvements and non-x86 PI
14130 futex support.
14131
14132 * csu/libc-start.c (__pthread_initialize_minimal): Change
14133 function arguments.
14134 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14135
14136 2013-02-28 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #13550]
14139 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14140 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14141 <bp-sym.h> and <bp-asm.h>.
14142 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14144 and <bp-asm.h>.
14145 (memcpy): Don't use BP_SYM.
14146 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14147 <bp-asm.h>.
14148 (__mpn_add_n): Don't use BP_SYM.
14149 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14150 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14151 and <bp-asm.h>.
14152 (__mpn_addmul_1): Don't use BP_SYM.
14153 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14154 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14155 <bp-sym.h>.
14156 (_setjmp): Don't use BP_SYM.
14157 (__novmx_setjmp): Likewise.
14158 (__GI__setjmp): Likewise.
14159 (__vmx_setjmp): Likewise.
14160 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14161 <bp-sym.h>.
14162 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14163 (__bzero): Don't use BP_SYM.
14164 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14165 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14166 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14167 <bp-sym.h> and <bp-asm.h>.
14168 (memcpy): Don't use BP_SYM.
14169 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14170 <bp-sym.h> and <bp-asm.h>.
14171 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14172 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14173 <bp-sym.h> and <bp-asm.h>.
14174 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14175 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14176 <bp-asm.h>.
14177 (__mpn_lshift): Don't use BP_SYM.
14178 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14179 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14180 <bp-asm.h>.
14181 (memset): Don't use BP_SYM.
14182 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14183 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14184 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14185 <bp-asm.h>.
14186 (__mpn_mul_1): Don't use BP_SYM.
14187 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14189 <bp-sym.h> and <bp-asm.h>.
14190 (memcmp): Don't use BP_SYM.
14191 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14192 <bp-sym.h> and <bp-asm.h>.
14193 (memcpy): Don't use BP_SYM.
14194 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14195 <bp-sym.h> and <bp-asm.h>.
14196 (memset): Don't use BP_SYM.
14197 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14198 <bp-sym.h> and <bp-asm.h>.
14199 (strncmp): Don't use BP_SYM.
14200 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14201 <bp-sym.h> and <bp-asm.h>.
14202 (memcpy): Don't use BP_SYM.
14203 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14204 <bp-sym.h> and <bp-asm.h>.
14205 (memset): Don't use BP_SYM.
14206 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14207 <bp-sym.h> and <bp-asm.h>.
14208 (__memchr): Don't use BP_SYM.
14209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14210 <bp-sym.h> and <bp-asm.h>.
14211 (memcmp): Don't use BP_SYM.
14212 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14213 <bp-sym.h> and <bp-asm.h>.
14214 (memcpy): Don't use BP_SYM.
14215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14216 <bp-sym.h> and <bp-asm.h>.
14217 (__mempcpy): Don't use BP_SYM.
14218 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14219 <bp-sym.h> and <bp-asm.h>.
14220 (__memrchr): Don't use BP_SYM.
14221 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14222 <bp-sym.h> and <bp-asm.h>.
14223 (memset): Don't use BP_SYM.
14224 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14225 <bp-sym.h> and <bp-asm.h>.
14226 (__rawmemchr): Don't use BP_SYM.
14227 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14228 <bp-sym.h> and <bp-asm.h>.
14229 (__STRCMP): Don't use BP_SYM.
14230 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14231 <bp-sym.h> and <bp-asm.h>.
14232 (strchr): Don't use BP_SYM.
14233 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14234 <bp-sym.h> and <bp-asm.h>.
14235 (__strchrnul): Don't use BP_SYM.
14236 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14237 <bp-sym.h> and <bp-asm.h>.
14238 (strlen): Don't use BP_SYM.
14239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14240 <bp-sym.h> and <bp-asm.h>.
14241 (strncmp): Don't use BP_SYM.
14242 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14243 <bp-sym.h> and <bp-asm.h>.
14244 (__strnlen): Don't use BP_SYM.
14245 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14246 <bp-asm.h>.
14247 (__mpn_rshift): Don't use BP_SYM.
14248 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14249 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14250 <bp-sym.h> and <bp-asm.h>.
14251 (__sigsetjmp): Don't use BP_SYM.
14252 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14253 (L(start_addresses)): Don't use BP_SYM.
14254 (_start): Likewise.
14255 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14256 <bp-asm.h>.
14257 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14258 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14259 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14260 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14261 <bp-asm.h>.
14262 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14263 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14264 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14265 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14266 <bp-asm.h>.
14267 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14268 comments.
14269 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14270 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14271 <bp-asm.h>.
14272 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14273 FIXME comments.
14274 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14275 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14276 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14277 <bp-asm.h>.
14278 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14279 comment.
14280 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14281 and <bp-asm.h>.
14282 (strncmp): Don't use BP_SYM,
14283 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14284 <bp-asm.h>.
14285 (__mpn_sub_n): Don't use BP_SYM.
14286 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14287 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14288 and <bp-asm.h>.
14289 (__mpn_submul_1): Don't use BP_SYM.
14290 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14292 <bp-sym.h> and <bp-asm.h>.
14293 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14295 <bp-sym.h> and <bp-asm.h>.
14296 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14297 comment.
14298
14299 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14300
14301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14302 Use ZK to minimize writes to Z.
14303 (sub_magnitudes): Simplify code a bit.
14304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14305 Use ZK to minimize writes to Z.
14306 (sub_magnitudes): Simplify code a bit.
14307
14308 2013-02-27 Roland McGrath <roland@hack.frob.com>
14309
14310 * csu/gmon-start.c: Add special exception to license text.
14311
14312 2013-02-27 Richard Henderson <rth@redhat.com>
14313
14314 * scripts/config.guess: Update from config.git.
14315 * scripts/config.sub: Likewise.
14316
14317 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14320
14321 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14322
14323 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14324
14325 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14326
14327 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14328
14329 2013-02-26 Roland McGrath <roland@hack.frob.com>
14330
14331 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14332 [$(build-shared = yes].
14333
14334 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14335
14336 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14337 (__mul): Reduce iterations for calculating mantissa.
14338
14339 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14340 MPTWO.
14341 (__mpranred): Likewise.
14342
14343 [BZ #15160]
14344 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14345 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14346
14347 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14348
14349 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14350 Define __attribute__.
14351
14352 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
14354 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14355 unused.
14356 * posix/regex_internal.h (__attribute): Remove.
14357 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14358 (re_string_context_at): Likewise.
14359 (bitset_not): Use __attribute__ and mark function as possibly
14360 unused.
14361 (bitset_merge): Likewise.
14362 (bitset_mask): Likewise.
14363 (re_string_char_size_at): Likewise.
14364 (re_string_wchar_at): Likewise.
14365 (re_string_elem_size_at): Likewise.
14366
14367 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14368
14369 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14370 code.
14371 (cc32): Likewise.
14372
14373 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14374 (__acr): Likewise.
14375 (__cpy): Likewise.
14376 (norm): Likewise.
14377 (denorm): Likewise.
14378 (__dbl_mp): Likewise.
14379 (add_magnitudes): Likewise.
14380 (sub_magnitudes): Likewise.
14381 (__mul): Likewise.
14382 (__inv): Likewise.
14383
14384 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14385 style.
14386
14387 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14388 style.
14389
14390 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14391 code.
14392
14393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14394 up changes with default code.
14395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14396 Likewise.
14397
14398 2013-02-24 Allan McRae <allan@archlinux.org>
14399
14400 * manual/socket.texi (The Internet Namespace): Order menu items
14401 to match that in the file.
14402
14403 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14404 node listing of the info page menu.
14405
14406 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14407
14408 [BZ #13550]
14409 * sysdeps/i386/bp-asm.h: Remove file.
14410 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14411 (PARMS): Do not use macros from bp-asm.h.
14412 (S1): Likewise.
14413 (S2): Likewise.
14414 (SIZE): Likewise.
14415 (__mpn_add_n): Do not use BP_SYM
14416 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14417 "bp-asm.h".
14418 (PARMS): Do not use macros from bp-asm.h.
14419 (S1): Likewise.
14420 (SIZE): Likewise.
14421 (__mpn_addmul_1): Do not use BP_SYM
14422 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14423 "bp-asm.h".
14424 (PARMS): Do not use macros from bp-asm.h.
14425 (SIGMSK): Likewise.
14426 (_setjmp): Likewise. Do not use BP_SYM.
14427 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14428 "bp-asm.h".
14429 (PARMS): Do not use macros from bp-asm.h.
14430 (SIGMSK): Likewise.
14431 (setjmp): Likewise. Do not use BP_SYM.
14432 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14433 "bp-asm.h".
14434 (PARMS): Do not use macros from bp-asm.h.
14435 (__frexp): Do not use BP_SYM.
14436 (frexp): Likewise.
14437 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14438 "bp-asm.h".
14439 (PARMS): Do not use macros from bp-asm.h.
14440 (__frexpf): Do not use BP_SYM.
14441 (frexpf): Likewise.
14442 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14443 "bp-asm.h".
14444 (PARMS): Do not use macros from bp-asm.h.
14445 (__frexpl): Do not use BP_SYM.
14446 (frexpl): Likewise.
14447 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14448 "bp-asm.h".
14449 (PARMS): Do not use macros from bp-asm.h.
14450 (__remquo): Do not use BP_SYM.
14451 (remquo): Likewise.
14452 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14453 "bp-asm.h".
14454 (PARMS): Do not use macros from bp-asm.h.
14455 (__remquof): Do not use BP_SYM.
14456 (remquof): Likewise.
14457 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14458 "bp-asm.h".
14459 (PARMS): Do not use macros from bp-asm.h.
14460 (__remquol): Do not use BP_SYM.
14461 (remquol): Likewise.
14462 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14463 "bp-asm.h".
14464 (PARMS): Do not use macros from bp-asm.h.
14465 (DEST): Likewise.
14466 (SRC): Likewise.
14467 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14468 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14469 "bp-asm.h".
14470 (PARMS): Do not use macros from bp-asm.h.
14471 (strlen): Do not use BP_SYM.
14472 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14473 "bp-asm.h".
14474 (PARMS): Do not use macros from bp-asm.h.
14475 (S1): Likewise.
14476 (S2): Likewise.
14477 (SIZE): Likewise.
14478 (__mpn_add_n): Do not use BP_SYM.
14479 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14480 "bp-asm.h".
14481 (PARMS): Do not use macros from bp-asm.h.
14482 (S1): Likewise.
14483 (SIZE): Likewise.
14484 (__mpn_addmul_1): Do not use BP_SYM.
14485 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14486 weak_alias.
14487 (bzero): Likewise.
14488 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14489 "bp-asm.h".
14490 (PARMS): Do not use macros from bp-asm.h.
14491 (S): Likewise.
14492 (SIZE): Likewise.
14493 (__mpn_lshift): Do not use BP_SYM.
14494 * sysdeps/i386/i586/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
14501 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14502 libc_hidden_def and weak_alias.
14503 (mempcpy): Do not use BP_SYM in weak_alias.
14504 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14505 "bp-asm.h".
14506 (PARMS): Do not use macros from bp-asm.h.
14507 (DEST): Likewise.
14508 (LEN): Likewise.
14509 [!BZERO_P] (CHR): Likewise.
14510 (memset): Likewise. Do not use BP_SYM.
14511 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14512 "bp-asm.h".
14513 (PARMS): Do not use macros from bp-asm.h.
14514 (S1): Likewise.
14515 (SIZE): Likewise.
14516 (__mpn_mul_1): Do not use BP_SYM.
14517 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14518 "bp-asm.h".
14519 (PARMS): Do not use macros from bp-asm.h.
14520 (S): Likewise.
14521 (SIZE): Likewise.
14522 (__mpn_rshift): Do not use BP_SYM.
14523 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14524 "bp-asm.h".
14525 (PARMS): Do not use macros from bp-asm.h.
14526 (STR): Likewise.
14527 (CHR): Likewise.
14528 (strchr): Likewise. Do not use BP_SYM.
14529 (index): Do not use BP_SYM in weak_alias.
14530 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14531 "bp-asm.h".
14532 (PARMS): Do not use macros from bp-asm.h.
14533 (DEST): Likewise.
14534 (SRC): Likewise.
14535 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14536 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14537 "bp-asm.h".
14538 (PARMS): Do not use macros from bp-asm.h.
14539 (strlen): Do not use BP_SYM.
14540 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14541 "bp-asm.h".
14542 (PARMS): Do not use macros from bp-asm.h.
14543 (S1): Likewise.
14544 (S2): Likewise.
14545 (SIZE): Likewise.
14546 (__mpn_sub_n): Do not use BP_SYM.
14547 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14548 "bp-asm.h".
14549 (PARMS): Do not use macros from bp-asm.h.
14550 (S1): Likewise.
14551 (SIZE): Likewise.
14552 (__mpn_submul_1): Do not use BP_SYM.
14553 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14554 "bp-asm.h".
14555 (PARMS): Do not use macros from bp-asm.h.
14556 (S1): Likewise.
14557 (S2): Likewise.
14558 (SIZE): Likewise.
14559 (__mpn_add_n): Do not use BP_SYM.
14560 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14561 weak_alias.
14562 (bzero): Likewise.
14563 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14564 "bp-asm.h".
14565 (PARMS): Do not use macros from bp-asm.h.
14566 (BLK2): Likewise.
14567 (LEN): Likewise.
14568 (memcmp): Do not use BP_SYM.
14569 (bcmp): Do not use BP_SYM in weak_alias.
14570 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14571 "bp-asm.h".
14572 (PARMS): Do not use macros from bp-asm.h.
14573 (DEST): Likewise.
14574 (SRC): Likewise.
14575 (LEN): Likewise.
14576 (memcpy): Likewise. Do not use BP_SYM.
14577 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14578 "bp-asm.h".
14579 (PARMS): Do not use macros from bp-asm.h.
14580 (DEST): Likewise.
14581 (SRC): Likewise.
14582 (LEN): Likewise.
14583 (memmove): Likewise. Do not use BP_SYM.
14584 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14585 "bp-asm.h".
14586 (PARMS): Do not use macros from bp-asm.h.
14587 (DEST): Likewise.
14588 (SRC): Likewise.
14589 (LEN): Likewise.
14590 (__mempcpy): Likewise. Do not use BP_SYM.
14591 (mempcpy): Do not use BP_SYM in weak_alias.
14592 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14593 "bp-asm.h".
14594 (PARMS): Do not use macros from bp-asm.h.
14595 (DEST): Likewise.
14596 (LEN): Likewise.
14597 [!BZERO_P] (CHR): Likewise.
14598 (memset): Likewise. Do not use BP_SYM.
14599 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14600 "bp-asm.h".
14601 (PARMS): Do not use macros from bp-asm.h.
14602 (STR2): Likewise.
14603 (strcmp): Do not use BP_SYM.
14604 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14605 "bp-asm.h".
14606 (PARMS): Do not use macros from bp-asm.h.
14607 (STR): Likewise.
14608 (DELIM): Likewise.
14609 [USE_AS_STRTOK_R] (SAVE): Likewise.
14610 (FUNCTION): Likewise. Do not use BP_SYM.
14611 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14612 aliases.
14613 (strtok_r): Likewise.
14614 (__GI___strtok_r): Likewise.
14615 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14616 (PARMS): Do not use macros from bp-asm.h.
14617 (S): Likewise.
14618 (SIZE): Likewise.
14619 (__mpn_lshift): Do not use BP_SYM.
14620 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14621 (PARMS): Do not use macros from bp-asm.h.
14622 (STR): Likewise.
14623 (CHR): Likewise.
14624 (__memchr): Do not use BP_SYM.
14625 (memchr): Do not use BP_SYM in weak_alias.
14626 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14627 (PARMS): Do not use macros from bp-asm.h.
14628 (BLK2): Likewise.
14629 (LEN): Likewise.
14630 (memcmp): Do not use BP_SYM.
14631 (bcmp): Do not use BP_SYM in weak_alias.
14632 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14633 (PARMS): Do not use macros from bp-asm.h.
14634 (S1): Likewise.
14635 (SIZE): Likewise.
14636 (__mpn_mul_1): Do not use BP_SYM.
14637 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14638 "bp-asm.h".
14639 (PARMS): Do not use macros from bp-asm.h.
14640 (STR): Likewise.
14641 (CHR): Likewise.
14642 (__rawmemchr): Do not use BP_SYM.
14643 (rawmemchr): Do not use BP_SYM in weak_alias.
14644 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14645 (PARMS): Do not use macros from bp-asm.h.
14646 (S): Likewise.
14647 (SIZE): Likewise.
14648 (__mpn_rshift): Do not use BP_SYM.
14649 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14650 (PARMS): Do not use macros from bp-asm.h.
14651 (SIGMSK): Likewise.
14652 (__sigsetjmp): Likewise. Do not use BP_SYM.
14653 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14654 (_start): Do not use BP_SYM.
14655 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14656 (PARMS): Do not use macros from bp-asm.h.
14657 (DEST): Likewise.
14658 (SRC): Likewise.
14659 (__stpcpy): Likewise. Do not use BP_SYM.
14660 (stpcpy): Do not use BP_SYM in weak_alias.
14661 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14662 "bp-asm.h".
14663 (PARMS): Do not use macros from bp-asm.h.
14664 (DEST): Likewise.
14665 (SRC): Likewise.
14666 (LEN): Likewise.
14667 (__stpncpy): Likewise. Do not use BP_SYM.
14668 (stpncpy): Do not use BP_SYM in weak_alias.
14669 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14670 (PARMS): Do not use macros from bp-asm.h.
14671 (STR): Likewise.
14672 (CHR): Likewise.
14673 (strchr): Likewise. Do not use BP_SYM.
14674 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14675 "bp-asm.h".
14676 (PARMS): Do not use macros from bp-asm.h.
14677 (STR): Likewise.
14678 (CHR): Likewise.
14679 (__strchrnul): Likewise. Do not use BP_SYM.
14680 (strchrnul): Do not use BP_SYM in weak_alias.
14681 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14682 "bp-asm.h".
14683 (PARMS): Do not use macros from bp-asm.h.
14684 (STOP): Likewise.
14685 (strcspn): Do not use BP_SYM.
14686 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14687 "bp-asm.h".
14688 (PARMS): Do not use macros from bp-asm.h.
14689 (STR): Likewise.
14690 (STOP): Likewise.
14691 (strpbrk): Likewise. Do not use BP_SYM.
14692 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14693 "bp-asm.h".
14694 (PARMS): Do not use macros from bp-asm.h.
14695 (STR): Likewise.
14696 (CHR): Likewise.
14697 (strrchr): Likewise. Do not use BP_SYM.
14698 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14699 (PARMS): Do not use macros from bp-asm.h.
14700 (SKIP): Likewise.
14701 (strspn): Do not use BP_SYM.
14702 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14703 (PARMS): Do not use macros from bp-asm.h.
14704 (STR): Likewise.
14705 (DELIM): Likewise.
14706 (SAVE): Likewise.
14707 (FUNCTION): Likewise. Do not use BP_SYM.
14708 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14709 aliases.
14710 (strtok_r): Likewise.
14711 (__GI___strtok_r): Likewise.
14712 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14713 (PARMS): Do not use macros from bp-asm.h.
14714 (S1): Likewise.
14715 (S2): Likewise.
14716 (SIZE): Likewise.
14717 (__mpn_sub_n): Do not use BP_SYM.
14718 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14719 "bp-asm.h".
14720 (PARMS): Do not use macros from bp-asm.h.
14721 (S1): Likewise.
14722 (SIZE): Likewise.
14723 (__mpn_submul_1): Do not use BP_SYM.
14724 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14725 <bp-sym.h>.
14726 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14727 and <bp-asm.h>.
14728 (PARMS): Do not use macros from bp-asm.h.
14729 (FLAGS): Likewise.
14730 (PTID): Likewise.
14731 (TLS): Likewise.
14732 (CTID): Likewise.
14733 (__clone): Do not use BP_SYM.
14734 (clone): Do not use BP_SYM in weak_alias.
14735 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14736 and <bp-asm.h>.
14737 (PARMS): Do not use macros from bp-asm.h.
14738 (LEN): Likewise.
14739 (__mmap64): Do not use BP_SYM.
14740 (mmap64): Do not use BP_SYM in weak_alias.
14741 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14742 <bp-sym.h> and <bp-asm.h>.
14743 (PARMS): Do not use macros from bp-asm.h.
14744 (__posix_fadvise64_l64): Do not use BP_SYM.
14745 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14746 (PARMS): Do not use macros from bp-asm.h.
14747 (NSOPS): Likewise.
14748 (semtimedop): Do not use BP_SYM.
14749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14750 and <bp-asm.h>.
14751
14752 2013-02-21 Allan McRae <allan@archlinux.org>
14753
14754 * manual/message.texi (Charset conversion in gettext):
14755 Move @end statement to beginning of line.
14756
14757 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14758
14759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14760 static.
14761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14762 Likewise.
14763
14764 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14765 (denorm): Likewise.
14766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14768
14769 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14770
14771 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14772 tail-call to the resolved function if pltexit isn't needed.
14773
14774 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14775
14776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14777 or Y being zero as being unlikely.
14778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14779 Likewise.
14780
14781 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14782
14783 * manual/nss.texi (System Databases and Name Service Switch):
14784 Remove frobnicate @pxref.
14785
14786 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14787
14788 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14789 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14790
14791 2013-02-20 Petr Machata <pmachata@redhat.com>
14792
14793 * elf/elf.h (R_ARM_TARGET1): New macro.
14794 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14795 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14796 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14797 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14798 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14799 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14800 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14801 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14802 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14803 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14804 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14805 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14806 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14807 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14808 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14809 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14810 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14811 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14812 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14813 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14814 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14815 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14816 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14817 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14818 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14819 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14820 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14821 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14822 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14823 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14824 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14825 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14826 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14827 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14828 (R_ARM_THM_GOT_BREL12): Likewise.
14829 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14830 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14831 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14832 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14833 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14834 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14835 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14836 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14837 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14838
14839 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14840
14841 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14842 __attribute_used__ to __attribute__ ((unused)).
14843
14844 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14845
14846 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14847 powerpc mpa.c.
14848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14849 comment formatting.
14850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14851
14852 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #13550]
14855 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14856 Remove macro.
14857 (ENTER): Remove both macro definitions.
14858 (LEAVE): Likewise.
14859 (CHECK_BOUNDS_LOW): Likewise.
14860 (CHECK_BOUNDS_HIGH): Likewise.
14861 (CHECK_BOUNDS_BOTH): Likewise.
14862 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14863 (RETURN_BOUNDED_POINTER): Likewise.
14864 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14865 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14866 (POP_ERRNO_LOCATION_RETURN): Likewise.
14867 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14868 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14869 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14870 macros.
14871 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14872 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14873 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14874 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14875 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14876 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14877 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14878 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14879 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14880 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14881 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14882 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14883 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14884 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14885 removed macros.
14886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14887 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14888 macros.
14889 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14890 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14891 * sysdeps/i386/i586/memset.S (memset): Likewise.
14892 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14893 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14894 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14895 macros.
14896 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14897 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14898 Change uses of L(2) to L(out).
14899 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14900 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14901 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14902 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14903 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14904 removed macros.
14905 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14906 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14907 macros.
14908 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14909 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14910 (RETURN): Do not use macro LEAVE.
14911 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14912 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14913 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14914 * sysdeps/i386/i686/memset.S (memset): Likewise.
14915 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14916 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14917 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14918 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14919 Likewise.
14920 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14921 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14922 L(1_2) and L(1_3) into L(1).
14923 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14924 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14925 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14926 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14927 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14928 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14929 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14930 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14931 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14932 macros.
14933 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14934 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14935 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14936 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14937 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14938 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14939 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14940 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14941 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14942 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14943 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14944 * sysdeps/i386/strspn.S (strspn): Likewise.
14945 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14946 conditional code.
14947 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14948 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14949 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14950 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14951 L(1_3) into L(1_1).
14952 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14953 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14954 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14955 macros.
14956 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14957
14958 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14959
14960 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14961 macro.
14962
14963 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14964
14965 * math/atest-exp.c (exp_mpn): Remove ROUND.
14966 * math/atest-exp2.c (exp_mpn): Likewise.
14967 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14968
14969 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14970 * stdlib/tst-tls-atexit-lib.c: Likewise.
14971 * stdlib/tst-tls-atexit.c: Likewise.
14972
14973 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14974
14975 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14976 and __attribute_alloc_size__.
14977
14978 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14979
14980 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14981 __attribute_alloc_size__.
14982 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14983 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14984
14985 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14986
14987 * include/programs/xmalloc.h: New file.
14988 * catgets/gencat.c: Include it.
14989 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14990 * elf/pldd.c: Likewise.
14991 * iconv/iconv_charmap.c: Likewise.
14992 * iconv/iconvconfig.c: Likewise.
14993 * iconv/strtab.c: Likewise.
14994 * locale/programs/locale.c: Likewise.
14995 * locale/programs/localedef.h: Likewise.
14996 * locale/programs/simple-hash.c: Likewise.
14997 * nscd/nscd.h: Likewise.
14998 * nss/makedb.c: Likewise.
14999 * sysdeps/generic/ldconfig.h: Likewise.
15000
15001 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15002
15003 * Versions.def: Add GLIBC_2.18.
15004 * include/link.h (struct link_map): New member l_tls_dtor_count.
15005 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15006 (__call_tls_dtors): Likewise.
15007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15008 __cxa_thread_atexit_impl.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15010 Likewise.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15012 Likewise.
15013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15014 Likewise.
15015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15016 Likewise.
15017 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15019 Likewise.
15020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15021 Likewise.
15022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15024 Likewise.
15025 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15026 (tests): Add test case tst-tls-atexit.
15027 (modules-names): Add shared library for tst-tls-atexit.
15028 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15029 (GLIBC_PRIVATE): Add __call_tls_dtors.
15030 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15031 for libstdc++.
15032 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15033 * stdlib/tst-tls-atexit.c: New test case.
15034 * stdlib/tst-tls-atexit-lib.c: New test case.
15035
15036 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15037
15038 * elf/Versions (ld): Add _dl_find_dso_for_object.
15039 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15040 * elf/dl-open.c (_dl_find_dso_for_object): New function.
15041 (dl_open_worker): Use _dl_find_dso_for_object.
15042 * elf/dl-sym.c (do_sym): Likewise.
15043 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15044
15045 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15046
15047 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15048 Syntactic changes only.
15049 (_dl_runtime_profile): Do a tail-call to the resolved function.
15050
15051 2013-02-17 Joseph Myers <joseph@codesourcery.com>
15052
15053 [BZ #13550]
15054 * sysdeps/x86_64/bp-asm.h: Remove file.
15055 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15056 <bp-sym.h> and <bp-asm.h>.
15057 (__clone): Do not use BP_SYM.
15058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15059 <bp-sym.h> and <bp-asm.h>.
15060 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15061 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15062 "bp-asm.h".
15063 (_setjmp): Do not use BP_SYM.
15064 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15065 "bp-asm.h".
15066 (setjmp): Do not use BP_SYM.
15067 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15068 libc_hidden_def.
15069 (mempcpy): Do not use BP_SYM in weak_alias.
15070 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15071 "bp-asm.h".
15072 (strchr): Do not use BP_SYM.
15073 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15074 "bp-asm.h".
15075 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15076 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15077 (_start): Do not use BP_SYM.
15078 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15079 "bp-asm.h".
15080 (strcat): Do not use BP_SYM.
15081 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15082 "bp-asm.h".
15083 (STRCMP): Do not use BP_SYM.
15084 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15085 "bp-asm.h".
15086 (STRCPY): Do not use BP_SYM.
15087 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15088 "bp-asm.h".
15089 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15090 "bp-asm.h".
15091 (FUNCTION): Do not use BP_SYM.
15092 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15093 weak_alias.
15094 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15095
15096 2013-02-17 Andreas Jaeger <aj@suse.de>
15097
15098 * time/Versions: Sort entries.
15099 * string/Versions: Likewise.
15100 * resolv/Versions: Likewise.
15101 * posix/Versions: Likewise.
15102 * iconv/Versions: Likewise.
15103 * elf/Versions: Likewise.
15104 * wcsmbs/Versions: Likewise.
15105
15106 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15107
15108 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15109 loop termination condition.
15110
15111 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15112 variable to calculate EZ.
15113 (__sqr): Likewise.
15114
15115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15116 the lower precision input.
15117
15118 2013-02-15 Joseph Myers <joseph@codesourcery.com>
15119
15120 [BZ #13550]
15121 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15122 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15123 (run-via-rtld-prefix): Do not handle %-bp tests.
15124 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15125 (all-object-suffixes): Remove .ob.
15126 (bppfx): Remove variable.
15127 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15128 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15129 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15130 [$(build-bounded) = yes] (libtype.ob): Likewise.
15131 * Makerules (elide-routines.ob): Remove variable.
15132 (do-tests-clean): Do not handle *-bp.out.
15133 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15134 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15135 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15136 (tests): Do not include $(tests-bp.out).
15137 (xtests): Do not include $(xtests-bp.out).
15138 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15139 [$(build-bounded) = yes] ($(addprefix
15140 $(objpfx),$(binaries-bounded))): Remove rule.
15141 ($(objpfx)%-bp.out): Remove rule.
15142 * config.make.in (build-bounded): Remove variable.
15143 * crypt/Makefile [$(build-bounded) = yes]
15144 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15145 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15146 append to variable.
15147 [$(build-bounded) = yes] (install-lib): Likewise.
15148 [$(build-bounded) = yes] (generated): Likewise.
15149 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15150 Remove rule.
15151 * intl/Makefile [$(build-bounded) = yes]
15152 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15153 * math/Makefile [$(build-bounded) = yes]
15154 ($(tests:%=$(objpfx)%-bp): Likewise.
15155 * misc/Makefile [$(build-bounded) = yes]
15156 ($(objpfx)tst-tsearch-bp): Likewise.
15157 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15158 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15159 Remove dependency.
15160 * string/Makefile (o-objects.ob): Remove variable.
15161 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15162 (CFLAGS-.ob): Remove variable.
15163 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15164 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15165 both definitions of variable.
15166 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15167 (ASFLAGS-.ob): Remove variable.
15168
15169 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15170
15171 [BZ #13550]
15172 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15173 Remove __BOUNDED_POINTERS__ from condition.
15174 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15175 * string/bits/string2.h [!__NO_STRING_INLINES &&
15176 !__BOUNDED_POINTERS__]: Likewise.
15177 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15178 Likewise.
15179 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15180 Remove conditional code.
15181 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15182 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15183 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15184 condition.
15185
15186 [BZ #13550]
15187 * csu/libc-start.c: Do not include <bp-sym.h>.
15188 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15189 * elf/dl-open.c: Do not include <bp-sym.h>.
15190 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15191 * math/fegetenv.c: Do not include <bp-sym.h>.
15192 (fegetenv): Do not use BP_SYM in versioned symbols.
15193 * nptl/sysdeps/pthread/bits/libc-lockP.h
15194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15195 <bp-sym.h>.
15196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15197 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15199 (__pthread_mutex_destroy): Likewise.
15200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15201 (__pthread_mutex_lock): Likewise.
15202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15203 (__pthread_mutex_trylock): Likewise.
15204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15205 (__pthread_mutex_unlock): Likewise.
15206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15207 (__pthread_mutexattr_init): Likewise.
15208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15209 (__pthread_mutexattr_destroy): Likewise.
15210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15211 (__pthread_mutexattr_settype): Likewise.
15212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15213 (__pthread_rwlock_init): Likewise.
15214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15215 (__pthread_rwlock_destroy): Likewise.
15216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15217 (__pthread_rwlock_rdlock): Likewise.
15218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15219 (__pthread_rwlock_tryrdlock): Likewise.
15220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15221 (__pthread_rwlock_wrlock): Likewise.
15222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15223 (__pthread_rwlock_trywrlock): Likewise.
15224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15225 (__pthread_rwlock_unlock): Likewise.
15226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15227 (__pthread_key_create): Likewise.
15228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15229 (__pthread_setspecific): Likewise.
15230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15231 (__pthread_getspecific): Likewise.
15232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15233 Likewise.
15234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15235 (_pthread_cleanup_push_defer): Likewise.
15236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15237 (_pthread_cleanup_pop_restore): Likewise.
15238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15239 (pthread_setcancelstate): Likewise.
15240 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15241 <bp-sym.h>.
15242 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15243 (memchr): Do not use BP_SYM in weak_alias.
15244 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15245 (fegetenv): Do not use BP_SYM in versioned symbols.
15246 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15247 (fesetenv): Do not use BP_SYM in versioned symbols.
15248 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15249 (feupdateenv): Do not use BP_SYM in versioned symbols.
15250 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15251 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15252 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15253 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15254 (open64): Do not use BP_SYM in weak_alias.
15255 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15256 (fegetenv): Do not use BP_SYM in versioned symbols.
15257 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15258 (fesetenv): Do not use BP_SYM in versioned symbols.
15259 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15260 (feupdateenv): Do not use BP_SYM in versioned symbols.
15261 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15262 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15263 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15264 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15265 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15266 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15267 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15268 <bp-sym.h>.
15269 (__libc_start_main): Do not use BP_SYM.
15270
15271 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15272
15273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15274 redundant return line.
15275 (norm): Likewise.
15276 (denorm): Likewise.
15277 (dbl_mp): Likewise.
15278 (sub_magnitudes): Likewise.
15279 (__add): Likewise.
15280 (__sub): Likewise.
15281 (__mul): Likewise.
15282 (__inv): Likewise.
15283 (__dvd): Likewise.
15284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15285 (norm): Likewise.
15286 (denorm): Likewise.
15287 (dbl_mp): Likewise.
15288 (sub_magnitudes): Likewise.
15289 (__add): Likewise.
15290 (__sub): Likewise.
15291 (__mul): Likewise.
15292 (__inv): Likewise.
15293 (__dvd): Likewise.
15294
15295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15296 instead of __mul.
15297 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15298 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15299 (cc32): Likewise.
15300
15301 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15302 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15304 of __mul for squares.
15305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15306 function
15307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15308 Likewise.
15309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15310 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15311
15312 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15313
15314 [BZ #13550]
15315 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15316 code.
15317 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15318 prototype or function definition. Rename ubp_* variables and
15319 parameters. Remove argv definitions conditional on
15320 [__BOUNDED_POINTERS__].
15321 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15322 * elf/dl-runtime.c (_dl_fixup): Likewise.
15323 * include/set-hooks.h (RUN_HOOK): Likewise.
15324 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15325 definition.
15326 * string/strcpy.c (strcpy): Do not use __unbounded.
15327 * sysdeps/generic/frame.h (struct layout): Likewise.
15328 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15329 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15330 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15331 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15332 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15333 (__backtrace): Likewise.
15334 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15335 use __ptrvalue.
15336 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15337 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15338 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15339 Likewise.
15340 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15341 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15342 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15343 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15344 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15345 Do not use __unbounded.
15346 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15347 Rename __unboundedrlimits parameter to rlimits in prototype.
15348 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15349 Do not use __unbounded.
15350 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15351 not use __ptrvalue.
15352 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15353 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15354 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15355 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15356 __ptrvalue or __unbounded.
15357 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15358 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15359 use __unbounded.
15360 (__new_msgctl): Do not use __ptrvalue.
15361 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15362 __unbounded.
15363 (__libc_msgrcv): Do not use __ptrvalue.
15364 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15365 startup_info): Do not use __unbounded.
15366 (__libc_start_main): Likewise. Rename ubp_* variables and
15367 parameters. Remove argv definitions conditional on
15368 [__BOUNDED_POINTERS__].
15369 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15370 __ptrvalue.
15371 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15372 use __unbounded.
15373 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15374 or __ptrvalue.
15375 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15376 use __unbounded.
15377 (__new_shmctl): Do not use __ptrvalue.
15378 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15379 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15380 Likewise.
15381 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15383 (__libc_sigaction): Likewise.
15384 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15385 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15386 Likewise.
15387 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15388
15389 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15390
15391 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15392
15393 * string/mempcpy.c: Implement by calling memcpy.
15394
15395 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15396
15397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15398
15399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15400 evaluation.
15401
15402 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15403 values in the mantissa.
15404
15405 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15406 minimize writes to Z.
15407 (sub_magnitudes): Simplify code a bit.
15408
15409 2013-02-12 Roland McGrath <roland@hack.frob.com>
15410
15411 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15412 from the message. The linker prefixes all warnings with that already.
15413
15414 2013-02-12 Andreas Schwab <schwab@suse.de>
15415
15416 [BZ #15078]
15417 * posix/regexec.c (extend_buffers): Add parameter min_len.
15418 (check_matching): Pass minimum needed length.
15419 (clean_state_log_if_needed): Likewise.
15420 (get_subexp): Likewise.
15421 * posix/Makefile (tests): Add bug-regex34.
15422 (bug-regex34-ENV): Define.
15423 * posix/bug-regex34.c: New file.
15424
15425 [BZ #11561]
15426 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15427 elements compare against the byte sequence of it, not its name.
15428 * posix/Makefile (tests): Add bug-regex35.
15429 (bug-regex35-ENV): Define.
15430 * posix/bug-regex35.c: New file.
15431
15432 2013-02-11 Tom de Vries <tom@codesourcery.com>
15433
15434 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15435 comment.
15436 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15437 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15438 (CHECK_EOL): Add undef.
15439
15440 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15441
15442 * bits/stdlib-bsearch.h: New file.
15443 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15444 * stdlib/stdlib.h: Likewise.
15445
15446 2013-02-11 Roland McGrath <roland@hack.frob.com>
15447
15448 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15449 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15450 declaration.
15451 * manual/search.texi (Array Search Function): Add missing const in
15452 lfind prototype.
15453 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15454 declaration to use rlim_t.
15455 (Basic Scheduling Functions): Remove erroneous const from
15456 sched_getparam prototype. Remove erroneous * from
15457 sched_get_priority_max and sched_get_priority_min prototypes.
15458 (Resource Usage): Fix summary @comment on vtimes to refer to
15459 sys/vtimes.h rather than vtimes.h.
15460 Add missing *s in vtimes prototype.
15461 (Limits on Resources): Fix ulimit prototype to return long int.
15462 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15463 prototypes to use long int rather than double.
15464 (BSD Random): Fix initstate and setstate to use char *, not void *.
15465 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15466 prototype to make second argument 'struct aiocb64 *const[]'.
15467 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15468 (Status of AIO Operations): Remove erroneous const in aio_return and
15469 aio_return64 prototypes.
15470 (Synchronizing I/O): Fix sync prototype to return void.
15471 * manual/startup.texi (Suboptions): Remove an erroneous const in
15472 getsubopt prototype.
15473 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15474 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15475 use size_t rather than int.
15476 (Scanning All Users): Likewise for getpwent_r.
15477 (Setting Groups): Add missing const to setgroups prototype.
15478 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15479 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15480 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15481 'const void *' rather than 'const char *'.
15482 (Host Address Functions): Likewise for inet_ntop.
15483 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15484 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15485 ssize_t for return value.
15486 (Sending Data): Likewise for send, sendto, sendmsg.
15487 (Socket Option Functions): Add a missing const in setsockopt prototype.
15488 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15489 use wchar_t for the argument.
15490 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15491 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15492 take no arguments.
15493 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15494 double/float/long double for second argument.
15495 Fix return types of significand, significandf, significandl.
15496 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15497 argument in fchmod prototype.
15498 (File Owner): Use uid_t and gid_t in fchown prototype.
15499 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15500 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15501 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15502 use 'const struct dirent **' as argument types to CMP function pointer
15503 argument.
15504 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15505 (File Times): Fix summary magic @comment for struct utimbuf and utime
15506 to refer to utime.h, not time.h.
15507 * manual/string.texi (Argz Functions): Add missing const in
15508 argz_extract and argz_next prototypes.
15509 (Finding Tokens in a String): Likewise for basename.
15510 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15511 (Copying and Concatenation): Fix typo in wmemmove prototype.
15512 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15513 (Signal Stack): Remove erroneous const in sigstack prototype.
15514 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15515 prototype.
15516 (Simple Calendar Time): Likewise for stime.
15517 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15518 prototype.
15519 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15520 say sys/sysctl.h instead.
15521 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15522 and vsyslog prototypes.
15523
15524 2013-02-11 Tom de Vries <tom@codesourcery.com>
15525
15526 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15527 Remove.
15528
15529 2013-02-11 Roland McGrath <roland@hack.frob.com>
15530
15531 * misc/sys/mman.h: Fix typo in mremap comment.
15532
15533 2013-02-08 Roland McGrath <roland@hack.frob.com>
15534
15535 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15536 the '\0' terminator.
15537
15538 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15539
15540 [BZ #13550]
15541 * debug/segfault.c: Don't include <bp-checks.h>.
15542 * sysdeps/generic/bp-checks.h: Remove file.
15543 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15544 (__GETDENTS): Don't use CHECK_N.
15545 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15546 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15547 (__getgroups): Don't use CHECK_N.
15548 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15549 (setgroups): Don't use CHECK_N.
15550 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15551 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15552 (__libc_msgrcv): Don't use CHECK_N.
15553 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15554 (__libc_msgsnd): Don't use CHECK_N.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15556 <bp-checks.h>.
15557 (__libc_pread): Don't use CHECK_N.
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15559 include <bp-checks.h>.
15560 (__libc_pread64): Don't use CHECK_N.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15562 include <bp-checks.h>.
15563 (__libc_pwrite): Don't use CHECK_N.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15565 include <bp-checks.h>.
15566 (__libc_pwrite64): Don't use CHECK_N.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15568 <bp-checks.h>.
15569 (__libc_pread): Don't use CHECK_N.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15571 include <bp-checks.h>.
15572 (__libc_pread64): Don't use CHECK_N.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15574 include <bp-checks.h>.
15575 (__libc_pwrite): Don't use CHECK_N.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15577 include <bp-checks.h>.
15578 (__libc_pwrite64): Don't use CHECK_N.
15579 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15580 (do_pread): Don't use CHECK_N.
15581 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15582 (do_pread64): Don't use CHECK_N.
15583 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15584 (do_pwrite): Don't use CHECK_N.
15585 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15586 (do_pwrite64): Don't use CHECK_N.
15587 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15588 (__libc_readv): Don't use CHECK_N.
15589 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15590 (semop): Don't use CHECK_N.
15591 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15592 <bp-checks.h>.
15593 (semtimedop): Don't use CHECK_N.
15594 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15595 (__libc_pread): Don't use CHECK_N.
15596 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15597 <bp-checks.h>.
15598 (__libc_pread64): Don't use CHECK_N.
15599 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15600 <bp-checks.h>.
15601 (__libc_pwrite): Don't use CHECK_N.
15602 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15603 <bp-checks.h>.
15604 (__libc_pwrite64): Don't use CHECK_N.
15605 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15606 <bp-checks.h>.
15607 (__libc_msgrcv): Don't use CHECK_N.
15608 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15609 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15610 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15611 (__libc_writev): Don't use CHECK_N.
15612
15613 2013-02-08 Roland McGrath <roland@hack.frob.com>
15614
15615 * string/strcpy.c: Removed unused variable.
15616
15617 * Makeconfig (+sysdep-includes): Define with := rather than =.
15618 Use an existing include/ subdir of each sysdeps dir before it.
15619
15620 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15621
15622 * nscd/connection.c (register_traced_file): Comment function.
15623 [HAVE_INOTIFY] (union __inev): Define.
15624 [HAVE_INOTIFY] (inotify_check_files): New function.
15625 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15626 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15627 clear_db_cache.
15628 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15629
15630 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15631
15632 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15633 loaded if not already and that a failure is permanent.
15634
15635 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15636
15637 [BZ #15006]
15638 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15639 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15640
15641 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #13550]
15644 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15645 (CHECK_1_NULL_OK): Likewise.
15646 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15647 (__fxstat): Do not use CHECK_1.
15648 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15649 <bp-checks.h>.
15650 (___fxstat64): Do not use CHECK_1.
15651 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15652 <bp-checks.h>.
15653 (__fxstatat): Do not use CHECK_1.
15654 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15655 <bp-checks.h>.
15656 (__fxstatat64): Do not use CHECK_1.
15657 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15658 <bp-checks.h>.
15659 (__fxstat): Do not use CHECK_1.
15660 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15661 <bp-checks.h>.
15662 (__fxstatat): Do not use CHECK_1.
15663 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15664 <bp-checks.h>.
15665 (__getresgid): Do not use CHECK_1.
15666 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15667 <bp-checks.h>.
15668 (__getresuid): Do not use CHECK_1.
15669 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15670 <bp-checks.h>.
15671 (__lxstat): Do not use CHECK_1.
15672 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15673 <bp-checks.h>.
15674 (__old_msgctl): Do not use CHECK_1.
15675 (__new_msgctl): Likewise.
15676 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15677 <bp-checks.h>.
15678 (__new_setrlimit): Do not use CHECK_1.
15679 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15680 <bp-checks.h>.
15681 (__old_shmctl): Do not use CHECK_1.
15682 (__new_shmctl): Likewise.
15683 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15684 <bp-checks.h>.
15685 (__xstat): Do not use CHECK_1.
15686 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15687 (__lxstat): Do not use CHECK_1.
15688 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15689 <bp-checks.h>.
15690 (___lxstat64): Do not use CHECK_1.
15691 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15692 (__old_msgctl): Do not use CHECK_1.
15693 (__new_msgctl): Likewise.
15694 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15695 <bp-checks.h>.
15696 (__gettimeofday): Do not use CHECK_1.
15697 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15698 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15700 <bp-checks.h>.
15701 (__gettimeofday): Do not use CHECK_1.
15702 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15703 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15704 (__new_shmctl): Do not use CHECK_1.
15705 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15706 <bp-checks.h>.
15707 (do_sigtimedwait): Do not use CHECK_1.
15708 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15709 <bp-checks.h>.
15710 (do_sigwaitinfo): Do not use CHECK_1.
15711 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15712 <bp-checks.h>.
15713 (msgctl): Do not use CHECK_1.
15714 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15715 <bp-checks.h>.
15716 (shmctl): Do not use CHECK_1.
15717 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15718 (ustat): Do not use CHECK_1.
15719 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15720 <bp-checks.h>.
15721 (__fxstat): Do not use CHECK_1.
15722 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15723 <bp-checks.h>.
15724 (__fxstatat): Do not use CHECK_1.
15725 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15726 <bp-checks.h>.
15727 (__lxstat): Do not use CHECK_1.
15728 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15729 <bp-checks.h>.
15730 (__xstat): Do not use CHECK_1.
15731 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15732 (__xstat): Do not use CHECK_1.
15733 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15734 (___xstat64): Do not use CHECK_1.
15735
15736 [BZ #13550]
15737 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15738 definitions.
15739 (CHECK_BOUNDS_HIGH): Likewise.
15740 * string/strcpy.c: Do not include <bp-checks.h>.
15741 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15742
15743 2013-02-07 Roland McGrath <roland@hack.frob.com>
15744
15745 * nscd/nscd-client.h (__nscd_drop_map_ref):
15746 Add __attribute__ ((unused)).
15747 * nis/nss-nisplus.h (niserr2nss): Likewise.
15748
15749 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15750 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15751
15752 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15753 Remove inline keyword.
15754 * include/rounding-mode.h (round_away): Likewise.
15755 * libio/wfileops.c (adjust_wide_data): Likewise.
15756 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15757 (__m128i_strloadu_tolower): Likewise.
15758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15759 (__m128i_strloadu_tolower): Likewise.
15760 * time/mktime.c (ydhms_diff): Likewise.
15761 * locale/elem-hash.h (elem_hash): Likewise.
15762 * locale/setlocale.c (setdata): Likewise.
15763 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15764 (re_string_wchar_at): Likewise.
15765 (bitset_not, bitset_merge, bitset_mask): Likewise.
15766 [!(__GNUC__ > 3)] (inline): Remove macro.
15767 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15768 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15769 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15770 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15771 * string/memcmp.c (memcmp_bytes): Likewise.
15772 * locale/programs/locarchive.c (compute_hashval): Likewise.
15773 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15774 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15775 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15776 * nss/getent.c (print_rpc, print_protocols): Likewise.
15777 (print_passwd, print_group, print_aliases): Likewise.
15778 * nis/nss-nisplus.h (niserr2nss): Likewise.
15779 * nscd/connections.c (restart_p): Likewise.
15780 Change return type to bool.
15781
15782 2013-02-05 Roland McGrath <roland@hack.frob.com>
15783
15784 * Makeconfig (all-Depend-files): Add existing
15785 $(sorted-subdirs:=/Depend) files.
15786 (all-subdirs): Remove nss.
15787 * sysdeps/unix/inet/Subdirs: Add it here instead.
15788 * hesiod/Depend: New file.
15789
15790 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15791 instead of calling alloca.
15792
15793 * io/lseek.c (__lseek): Rename to __libc_lseek.
15794 Define __lseek as an alias.
15795
15796 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15797
15798 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15799
15800 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15801 else clause and remove check for non-standard endianness.
15802
15803 2013-02-04 David S. Miller <davem@davemloft.net>
15804
15805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15806
15807 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15808
15809 [BZ #13550]
15810 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15811 (__ubp_memchr): Remove prototype.
15812 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15813 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15814 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15815 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15816 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15817 Remove alias.
15818 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15819 (__ubp_memchr): Likewise.
15820 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15821 (__ubp_memchr): Likewise.
15822 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15823 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15824 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15825 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15826 CHECK_STRING.
15827 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15828 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15829 (__getcwd): Do not use CHECK_STRING.
15830 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15831 <bp-checks.h>.
15832 (__real_chown): Do not use CHECK_STRING.
15833 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15834 <bp-checks.h>.
15835 (fchownat): Do not use CHECK_STRING.
15836 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15837 CHECK_STRING.
15838 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15839 <bp-checks.h>.
15840 (__lchown): Do not use CHECK_STRING.
15841 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15842 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15843 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15844 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15846 include <bp-checks.h>.
15847 (truncate64): Do not use CHECK_STRING.
15848 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15849 <bp-checks.h>.
15850 (__real_chown): Do not use CHECK_STRING.
15851 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15852 <bp-checks.h>.
15853 (__lchown): Do not use CHECK_STRING.
15854 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15855 <bp-checks.h>.
15856 (__chown): Do not use CHECK_STRING.
15857 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15858 <bp-checks.h>.
15859 (truncate64): Do not use CHECK_STRING.
15860 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15861 Likewise.
15862 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15863 (__xmknod): Do not use CHECK_STRING.
15864 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15865 <bp-checks.h>.
15866 (__xmknodat): Do not use CHECK_STRING.
15867 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15868 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15869
15870 2013-02-04 Andreas Schwab <schwab@suse.de>
15871
15872 [BZ #14142]
15873 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15874 * include/netdb.h: Likewise for h_errno.
15875 * elf/tst-stackguard1.c: Include <tls.h>.
15876
15877 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15878
15879 * elf/link.h (struct link_map): Extend the l_addr comment.
15880 * include/link.h (struct link_map): Likewise.
15881
15882 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15883
15884 [BZ #13550]
15885 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15886 (BOUNDED_1): Remove macro.
15887 * debug/backtrace.c: Don't include <bp-checks.h>.
15888 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15889 (__backtrace): Likewise.
15890 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15891 <bp-checks.h>.
15892 (__backtrace): Don't use BOUNDED_1.
15893 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15894 <bp-checks.h>.
15895 (__backtrace): Don't use BOUNDED_1.
15896 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15897 (__backtrace): Don't use BOUNDED_1.
15898 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15899 (shmat): Don't use BOUNDED_N.
15900
15901 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15902
15903 [BZ #13550]
15904 * sysdeps/generic/bp-start.h: Remove file.
15905 * csu/libc-start.c: Don't include <bp-start.h>.
15906 (LIBC_START_MAIN): Set up __environ directly instead of using
15907 INIT_ARGV_and_ENVIRON.
15908 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15909 <bp-start.h>.
15910
15911 [BZ #13550]
15912 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15913 definitions.
15914 (CHECK_FCNTL): Likewise.
15915 (CHECK_N_PAGES): Likewise.
15916
15917 [BZ #13550]
15918 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15919 definitions.
15920 (CHECK_SIGSET_NULL_OK): Likewise.
15921 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15922 <bp-checks.h>.
15923 (sigpending): Don't use CHECK_SIGSET.
15924 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15925 <bp-checks.h>.
15926 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15927 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15928 <bp-checks.h>.
15929 (do_sigsuspend): Don't use CHECK_SIGSET.
15930 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15931 use CHECK_SIGSET.
15932 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15933 (do_sigwait): Don't use CHECK_SIGSET.
15934 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15935 use CHECK_SIGSET.
15936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15937 include <bp-checks.h>.
15938 (sigpending): Don't use CHECK_SIGSET.
15939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15940 include <bp-checks.h>.
15941 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15942 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15943 <bp-checks.h>.
15944 (sigpending): Don't use CHECK_SIGSET.
15945 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15946 <bp-checks.h>.
15947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15948
15949 [BZ #13550]
15950 * sysdeps/generic/bp-semctl.h: Remove file.
15951 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15952 <bp-checks.h> and <bp-semctl.h>.
15953 (__old_semctl): Don't use CHECK_SEMCTL.
15954 (__new_semctl): Likewise.
15955 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15956 and <bp-semctl.h>.
15957 (__old_semctl): Don't use CHECK_SEMCTL.
15958 (__new_semctl): Likewise.
15959 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15960 <bp-checks.h> and <bp-semctl.h>.
15961 (__old_semctl): Don't use CHECK_SEMCTL.
15962 (__new_semctl): Likewise.
15963 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15964 <bp-checks.h> and <bp-semctl.h>.
15965 (semctl): Don't use CHECK_SEMCTL.
15966
15967 [BZ #13550]
15968 * Makerules (elide-bp-thunks): Remove variable.
15969 (elide-routines.oS): Don't use $(elide-bp-thunks).
15970 (elide-routines.os): Likewise.
15971 (elide-routines.o): Likewise.
15972 (elide-routines.op): Likewise.
15973 (elide-routines.og): Likewise.
15974 (objects): Don't use $(bp-thunks).
15975 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15976 include.
15977 (common-generated): Do not add s-proto-bp.d.
15978 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15979 (int): Likewise.
15980 (typ): Likewise.
15981 Do not generate makefile rules for bounded-pointer thunks.
15982 * sysdeps/generic/bp-thunks.h: Remove file.
15983 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15984 * sysdeps/unix/s-proto-bp.S: Likewise.
15985
15986 [BZ #15062]
15987 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15988 parts of result separately when argument is not close to line from
15989 -i to i and one part of argument is small.
15990 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15991 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15992 * math/libm-test.inc (cacos_test): Add more tests.
15993 (casin_test): Likewise.
15994 (casinh_test): Likewise.
15995 * sysdeps/i386/fpu/libm-test-ulps: Update.
15996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15997
15998 2013-01-31 David S. Miller <davem@davemloft.net>
15999
16000 * po/de.po: Update from translation team.
16001
16002 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
16003
16004 * time/tzfile.c: Include stdint.h for SIZE_MAX.
16005
16006 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
16007
16008 * configure.in (_AC_PROG_CC_C89): New definition.
16009 * configure: Regenerate.
16010
16011 * configure.in (AC_PROG_CPP): New definition.
16012 * configure: Regenerate.
16013
16014 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16015
16016 * debug/tst-backtrace.h: New file.
16017 * debug/tst-backtrace2.c: Include tst-backtrace.h.
16018 (ret): Remove variable.
16019 (x): Likewise.
16020 (FAIL): Remove macro.
16021 (NO_INLINE): Likewise.
16022 (fn1): Use match function instead of strstr.
16023 * debug/tst-backtrace3.c: Include tst-backtrace.h.
16024 (ret): Remove variable.
16025 (x): Likewise.
16026 (FAIL): Remove macro.
16027 (NO_INLINE): Likewise.
16028 (fn): Use match function instead of strstr.
16029 * debug/tst-backtrace4.c: Include tst-backtrace.h.
16030 (ret): Remove variable.
16031 (x): Likewise.
16032 (FAIL): Remove macro.
16033 (NO_INLINE): Likewise.
16034 (handle_signal): Use match function instead of strstr.
16035 * debug/tst-backtrace5.c: Include tst-backtrace.h.
16036 (ret): Remove variable.
16037 (x): Likewise.
16038 (FAIL): Remove macro.
16039 (NO_INLINE): Likewise.
16040 (handle_signal): Use match function instead of strstr.
16041
16042 2013-01-23 Roland McGrath <roland@hack.frob.com>
16043
16044 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16045
16046 2013-01-23 David S. Miller <davem@davemloft.net>
16047
16048 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16049 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16050 argument of CAS if possible.
16051 * sysdeps/sparc/sparc64/bits/atomic.h
16052 (__arch_compare_and_exchange_val_32_acq): Likewise.
16053 (__arch_compare_and_exchange_val_64_acq): Likewise.
16054
16055 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16056
16057 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16058 * sysdeps/posix/ulimit.c: ... this.
16059 Include <limits.h>.
16060 * sysdeps/unix/bsd/ulimit.c: Remove file.
16061
16062 2013-01-23 Adam Conrad <adconrad@0c3.net>
16063
16064 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16065 (LDFLAGS-tst-array5): Likewise.
16066
16067 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16068
16069 [BZ #15036]
16070 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16071 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16072 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16073 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16074
16075 2013-01-21 David S. Miller <davem@davemloft.net>
16076
16077 * sysdeps/sparc/backtrace.c: New file.
16078 * sysdeps/sparc/sparc32/backtrace.h: New file.
16079 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16080 * sysdeps/sparc/sparc64/backtrace.h: New file.
16081 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16082 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16083 -funwind-tables.
16084
16085 2013-01-21 Andreas Schwab <schwab@suse.de>
16086
16087 [BZ #15020]
16088 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16089 closed its stdout.
16090
16091 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16092
16093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16094 "mpa2.h".
16095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16096
16097 2013-01-18 Joseph Myers <joseph@codesourcery.com>
16098 Mark Mitchell <mark@codesourcery.com>
16099 Tom de Vries <tom@codesourcery.com>
16100 Paul Pluzhnikov <ppluzhnikov@google.com>
16101
16102 * debug/tst-backtrace2.c: New file.
16103 * debug/tst-backtrace3.c: Likewise.
16104 * debug/tst-backtrace4.c: Likewise.
16105 * debug/tst-backtrace5.c: Likewise.
16106 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16107 (CFLAGS-tst-backtrace3.c): Likewise.
16108 (CFLAGS-tst-backtrace4.c): Likewise.
16109 (CFLAGS-tst-backtrace5.c): Likewise.
16110 (LDFLAGS-tst-backtrace2): Likewise.
16111 (LDFLAGS-tst-backtrace3): Likewise.
16112 (LDFLAGS-tst-backtrace4): Likewise.
16113 (LDFLAGS-tst-backtrace5): Likewise.
16114 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16115 tst-backtrace4 and tst-backtrace5.
16116
16117 2013-01-18 Anton Blanchard <anton@samba.org>
16118 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16119
16120 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16121 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16122 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16123 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16125 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16126 "+r" and remove output regs list as redundant. Add explicit inline
16127 asm to specify register of return val to work around compiler codegen
16128 bug. Remove (int) cast on return value. Add return type parameter to
16129 use in macro so that this macro does not truncate return value for
16130 64-bit values.
16131 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16132 pass to INTERNAL_VSYSCALL_NCS.
16133 (INLINE_VSYSCALL): Add 'long int' as return type to
16134 INTERNAL_VSYSCALL_NCS macro invocation.
16135 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16136 INTERNAL_VSYSCALL_NCS macro invocation.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16138
16139 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16140
16141 [BZ #14496]
16142 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16143 Fix application of SIMD FP exception mask.
16144
16145 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16146 mp_no from a power of two.
16147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16148 __mpexp_twomm1. Use __pow_mp.
16149
16150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16151 multiplication.
16152
16153 2013-01-17 David S. Miller <davem@davemloft.net>
16154
16155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16156
16157 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16158
16159 [BZ #15023]
16160 * include/complex.h: Condition contents on [!_COMPLEX_H].
16161 (__kernel_casinhf): New prototype.
16162 (__kernel_casinh): Likewise.
16163 (__kernel_casinhl): Likewise.
16164 * math/Makefile (libm_calls): Add k_casinh.
16165 * math/k_casinh.c: New file.
16166 * math/k_casinhf.c: Likewise.
16167 * math/k_casinhl.c: Likewise.
16168 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16169 finite nonzero arguments.
16170 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16171 finite nonzero arguments.
16172 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16173 finite nonzero arguments.
16174 * math/s_casinh.c: Do not include <float.h>.
16175 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16176 * math/s_casinhf.c: Do not include <float.h>.
16177 (__casinhf): Move code for finite nonzero arguments to
16178 k_casinhf.c.
16179 * math/s_casinhl.c: Do not include <float.h>.
16180 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16181 redefine.
16182 (__casinhl): Move code for finite nonzero arguments to
16183 k_casinhl.c.
16184 * math/libm-test.inc (cacos_test): Add more tests.
16185 * sysdeps/i386/fpu/libm-test-ulps: Update.
16186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16187
16188 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16189
16190 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16191 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16192 [!HAVE_MREMAP]: Remove [defined linux] case.
16193 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16194
16195 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16196
16197 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16198
16199 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 * elf/elf.h (R_386_SIZE32): New relocation.
16202 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16203 R_386_SIZE32.
16204 (elf_machine_rela): Likewise.
16205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16206 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16207
16208 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16211 (FP_FAST_FMA): Do not define.
16212 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16213 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16214 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16215 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16216 !_SOFT_FLOAT]: Likewise.
16217 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16218 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16219 value.
16220 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16221 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16222 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16224 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16225 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16226 file.
16227
16228 2013-01-16 Andreas Schwab <schwab@suse.de>
16229
16230 [BZ #14327]
16231 * include/stdlib.h (__mktemp): Add declaration.
16232 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16233 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16234
16235 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16236
16237 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16238 definitions.
16239 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16240 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16241 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16242 definitions here.
16243 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16244 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16245 definitions.
16246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16247 and ONE.
16248 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16249 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16250 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16251 definitions.
16252 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16253 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16254 definitions.
16255 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16256
16257 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16258
16259 2013-01-15 David S. Miller <davem@davemloft.net>
16260
16261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16262 trunc{,f} to libm-sysdep_routes.
16263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16265 file.
16266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16268 file.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16270 file.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16277 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16278 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16279
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16281 nearbyint{,f} to libm-sysdep_routes.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16284 New file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16286 file.
16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16288 New file.
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16290 file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16294 file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16297 file.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16301
16302 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16303 libc_feholdexcept and libc_fesetenv.
16304
16305 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16306
16307 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16308
16309 2013-01-14 David S. Miller <davem@davemloft.net>
16310
16311 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16312 (SPARC_ASM_VIS2_IFUNC): Likewise.
16313 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16315 use of 'siam' instruction.
16316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16317 Likewise.
16318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16319 Likewise.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16321 Likewise.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16327 file.
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16329 file.
16330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16331 file.
16332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16333 file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16339 new VIS2 routines.
16340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16343 Likewise.
16344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16349 routines to libm-sysdep_routines.
16350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16351
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16353 fdim/fdimf to libm-sysdep_routines.
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16355 file.
16356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16358 file.
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16362 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16363 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16364 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16365 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16366
16367 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16368
16369 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16370 to optimize copies.
16371
16372 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16375
16376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16377 local variable MPTWO.
16378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16379 Likewise.
16380
16381 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16382
16383 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16384 GLOB_NOESCAPE.
16385
16386 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16387
16388 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16389
16390 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16391
16392 * manual/pattern.texi (glob_t): Document gl_flags.
16393 (glob64_t): Likewise.
16394
16395 2013-01-11 David S. Miller <davem@davemloft.net>
16396
16397 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16398 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16399 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16400 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16401 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16402 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16403 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16404 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16405 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16406 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16407 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16408 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16409 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16410
16411 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16412 sparc V9 rather than using V8 code.
16413 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16414 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16415
16416 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16417 Move to...
16418 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16419 Here.
16420
16421 2013-01-11 Roland McGrath <roland@hack.frob.com>
16422
16423 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16424 not in the main loop.
16425 * configure: Regenerated.
16426
16427 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16428
16429 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16430 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16431 to just #else.
16432 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16433 [!__GLIBC_HAVE_LONG_LONG] case.
16434 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16435 condition to just #else.
16436 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16437 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16438 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16439 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16440 unconditional.
16441 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16442 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16443 #elif condition to just #else.
16444 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16445 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16446 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16447 #elif condition to just #else.
16448
16449 2013-01-11 Steve Ellcey <sellcey@mips.com>
16450
16451 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16452 (EF_MIPS_ARCH_64): Fix value.
16453 (EF_MIPS_ARCH_32R2): New.
16454 (EF_MIPS_ARCH_64R2): New.
16455
16456 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16457
16458 * Makeconfig (+link-pie-before-libc): New.
16459 (+link-pie-after-libc): Likewise.
16460 (+link-pie-tests): Likewise.
16461 (+link-pie): Rewritten.
16462 (link-before-libc): Remove $(config-LDFLAGS).
16463 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16464 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16465 (config-LDFLAGS): Renamed to ...
16466 (rtld-LDFLAGS): This.
16467 (rtld-tests-LDFLAGS): New macro.
16468 (link-libc-rpath-link): Likewise.
16469 (link-libc-tests-rpath-link): Likewise.
16470 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16471 (link-libc): Prepand $(link-libc-rpath-link).
16472 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16473 (test-program-prefix): New macro.
16474 (test-via-rtld-prefix): Likewise.
16475 (test-program-cmd): Likewise.
16476 (host-test-program-cmd): Likewise.
16477 * Makefile ($(common-objpfx)testrun.sh): Replace
16478 $(run-program-prefix) with $(test-program-prefix).
16479 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16480 $(rtld-LDFLAGS).
16481 ($(common-objpfx)shlib.lds): Likewise.
16482 (build-module-helper): Likewise.
16483 ($(common-objpfx)format.lds): Likewise.
16484 * Rules (binaries-pie-tests): New.
16485 (binaries-pie-notests): Likewise.
16486 (binaries-pie): Rewritten.
16487 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16488 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16489 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16490 (make-test-out): Replace $(host-built-program-cmd) with
16491 $(host-test-program-cmd).
16492 * config.make.in (build-hardcoded-path-in-tests): New variable.
16493 * configure.in (--enable-hardcoded-path-in-tests): New configure
16494 option.
16495 (hardcoded_path_in_tests): New AC_SUBST.
16496 * configure: Regenerated.
16497 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16498 $(built-program-cmd) with $(test-program-cmd).
16499 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16500 (test_program_cmd): This.
16501 * elf/Makefile ($(objpfx)order.out): Run test with
16502 $(test-program-prefix).
16503 ($(objpfx)order2.out): Likewise.
16504 ($(objpfx)tst-initorder.out): Likewise.
16505 ($(objpfx)tst-initorder2.out): Likewise.
16506 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16507 $(test-program-cmd).
16508 ($(objpfx)tst-array1-static.out): Likewise.
16509 ($(objpfx)tst-array2.out): Likewise.
16510 ($(objpfx)tst-array3.out): Likewise.
16511 ($(objpfx)tst-array4.out): Likewise.
16512 ($(objpfx)tst-array5.out): Likewise.
16513 ($(objpfx)tst-array5-static.out): Likewise.
16514 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16515 $(test-program-cmd).
16516 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16517 $(run-program-prefix) with $(test-program-prefix).
16518 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16519 (test_program_prefix): This.
16520 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16521 $(run-program-prefix) with $(test-program-prefix).
16522 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16523 (test_program_prefix): This.
16524 * iconvdata/tst-tables.sh: Likewise.
16525 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16526 $(run-program-prefix) with $(test-program-prefix).
16527 ($(objpfx)tst-translit.out): Likewise.
16528 ($(objpfx)tst-gettext2.out): Likewise.
16529 ($(objpfx)tst-gettext4.out): Likewise.
16530 ($(objpfx)tst-gettext6.out): Likewise.
16531 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16532 (test_program_prefix): This.
16533 * intl/tst-gettext2.sh: Likewise.
16534 * intl/tst-gettext4.sh Likewise.
16535 * intl/tst-gettext6.sh: Likewise.
16536 * intl/tst-translit.sh: Likewise.
16537 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16538 with $(test-program-cmd).
16539 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16540 $(run-program-prefix) with $(test-program-prefix).
16541 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16542 (test_program_prefix): This.
16543 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16544 $(run-program-prefix) with $(test-program-prefix).
16545 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16546 (test_program_prefix): This.
16547 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16548 * posix/Makefile ($(objpfx)globtest.out): Replace
16549 $(run-via-rtld-prefix) and $(test-wrapper) with
16550 $(test-program-prefix) and $(test-via-rtld-prefix).
16551 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16552 $(test-program-prefix).
16553 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16554 $(host-test-program-cmd).
16555 (tst-spawn-ARGS): Likewise.
16556 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16557 $(test-program-prefix).
16558 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16559 (test_via_rtld_prefix): This.
16560 (test_wrapper): Renamed to ...
16561 (test_program_prefix): This.
16562 (run_program_prefix): Replaced by test_program_prefix.
16563 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16564 (test_program_prefix): This.
16565 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16566 with $(host-test-program-cmd).
16567 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16568 $(run-program-prefix) with $(test-program-prefix).
16569 ($(objpfx)tst-printf.out): Likewise.
16570 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16571 $(test-program-cmd).
16572 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16573 (test_program_prefix): This.
16574 * stdio-common/tst-unbputc.sh: Likewise.
16575 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16576 $(run-program-prefix) with $(test-program-prefix).
16577 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16578 (test_program_prefix): This.
16579 * string/Makefile ($(objpfx)tst-svc.out): Replace
16580 $(built-program-cmd) with $(test-program-cmd).
16581
16582 2013-01-11 Andreas Jaeger <aj@suse.de>
16583
16584 [BZ #15003]
16585 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16586 value. Sync with Linux 3.7.
16587
16588 2013-01-10 David S. Miller <davem@davemloft.net>
16589
16590 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16591 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16592 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16593
16594 2013-01-10 Roland McGrath <roland@hack.frob.com>
16595
16596 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16597 never set.
16598 * configure: Regenerated.
16599
16600 2013-01-10 David S. Miller <davem@davemloft.net>
16601
16602 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16603 sparc V9 rather than using V8 code.
16604 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16605 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16606
16607 2013-01-10 Roland McGrath <roland@hack.frob.com>
16608
16609 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16610 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16611 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16612 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16613 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16614 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16615 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16616 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16617 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16618 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16619 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16620 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16621 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16622 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16623 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16624 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16625 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16626 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16627 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16628 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16629 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16630 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16631 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16632 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16633 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16634 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16635 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16636
16637 2013-01-10 David S. Miller <davem@davemloft.net>
16638
16639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16640
16641 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16642
16643 * posix/Makefile (tests-static): New variable.
16644 (tests): Add $(tests-static).
16645 (tst-exec-static-ARGS): New variable.
16646 (tst-spawn-static-ARGS): Likewise.
16647 * posix/tst-exec-static.c: New file.
16648 * posix/tst-spawn-static.c: Likewise.
16649 * posix/tst-exec.c: Support run directly.
16650 * posix/tst-spawn.c: Likewise.
16651
16652 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16653
16654 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16655 long.
16656 * math/bits/mathcalls.h (llrint): Likewise.
16657 (llround): Likewise.
16658 * stdlib/stdlib.h (struct drand48_data): Likewise.
16659 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16660 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16662 Likewise.
16663 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16664 Likewise.
16665 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16666 (elf_greg_t): Likewise.
16667 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16668 (__jmp_buf): Likewise.
16669 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16670 definitions.
16671 (llrint): Likewise, for all definitions.
16672 (llrintl): Likewise.
16673
16674 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16675 Remove [__GNUC__] condition.
16676 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16677 condition to just [__USE_ISOC99].
16678 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16679
16680 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16681
16682 [BZ #14200]
16683 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16684 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16685 defined.
16686 (_POSIX_V6_ILP32_OFF32): Likewise.
16687 (_XBS5_ILP32_OFF32): Likewise.
16688 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16689 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16690
16691 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16692
16693 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16694
16695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16696 doubles __mpexp_twomm1. Adjust usage.
16697 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16698 Remove.
16699
16700 2013-01-10 Andreas Schwab <schwab@suse.de>
16701
16702 [BZ #14964]
16703 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16704 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16705
16706 2013-01-09 David S. Miller <davem@davemloft.net>
16707
16708 [BZ #15003]
16709 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16710 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16711 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16712 TCP_FASTOPEN): Define.
16713 (tcp_repair_opt): New structure.
16714 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16715 enum values.
16716 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16717 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16718 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16719 (tcp_cookie_transactions): New structure.
16720
16721 2013-01-09 Anton Blanchard <anton@samba.org>
16722
16723 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16724 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16725 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16727
16728 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16729
16730 * include/features.h (__USE_ANSI): Remove.
16731
16732 2013-01-09 Roland McGrath <roland@hack.frob.com>
16733
16734 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16735
16736 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16737
16738 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16739
16740 * sysdeps/s390/fpu/libm-test-ulps: Update.
16741
16742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16743
16744 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16745 (__acr): Likewise.
16746 (__cpy): Likewise.
16747 (norm): Likewise.
16748 (denorm): Likewise.
16749 (__mp_dbl): Likewise.
16750 (__dbl_mp): Likewise.
16751 (add_magnitudes): Likewise.
16752 (sub_magnitudes): Likewise.
16753 (__add): Likewise.
16754 (__sub): Likewise.
16755 (__mul): Likewise.
16756 (__inv): Likewise.
16757 (__dvd): Likewise.
16758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16759 (__acr): Likewise.
16760 (__cpy): Likewise.
16761 (norm): Likewise.
16762 (denorm): Likewise.
16763 (__mp_dbl): Likewise.
16764 (__dbl_mp): Likewise.
16765 (add_magnitudes): Likewise.
16766 (sub_magnitudes): Likewise.
16767 (__add): Likewise.
16768 (__sub): Likewise.
16769 (__mul): Likewise.
16770 (__inv): Likewise.
16771 (__dvd): Likewise.
16772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16773 (__acr): Likewise.
16774 (__cpy): Likewise.
16775 (norm): Likewise.
16776 (denorm): Likewise.
16777 (__mp_dbl): Likewise.
16778 (__dbl_mp): Likewise.
16779 (add_magnitudes): Likewise.
16780 (sub_magnitudes): Likewise.
16781 (__add): Likewise.
16782 (__sub): Likewise.
16783 (__mul): Likewise.
16784 (__inv): Likewise.
16785 (__dvd): Likewise.
16786
16787 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16788
16789 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16790 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16791 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16792 2 && __USE_EXTERN_INLINES]: Likewise.
16793
16794 2013-01-08 Andreas Jaeger <aj@suse.de>
16795
16796 [BZ# 14985]
16797 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16798 Remove.
16799 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16800 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16801
16802 2013-01-07 Anton Blanchard <anton@samba.org>
16803
16804 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16805 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16806 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16807 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16809 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16810 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16811 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16814 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16816 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16819 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16820 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16822 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16824 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16825 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16827 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16829 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16830 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16831 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16834 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16837 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16838 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16839 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16840 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16842 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16843 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16844 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16846 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16847
16848 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16849
16850 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16851 (__MALLOC_PMT): Likewise.
16852 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16853 [__GNUC__], only on [_LIBC].
16854 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16855 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16856 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16857 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16858 forward declaration.
16859 (realloc_hook_ini): Likewise.
16860 (memalign_hook_ini): Likewise.
16861 (__libc_memalign): Do not use __MALLOC_PMT in variable
16862 declaration.
16863 (__libc_valloc): Likewise.
16864 (__libc_pvalloc): Likewise.
16865 (__libc_calloc): Likewise.
16866 (__posix_memalign): Likewise.
16867
16868 [BZ #14996]
16869 * math/s_casinh.c: Include <float.h>.
16870 (__casinh): Do not do computation with squaring and square root
16871 for large arguments.
16872 * math/s_casinhf.c: Include <float.h>.
16873 (__casinhf): Do not do computation with squaring and square root
16874 for large arguments.
16875 * math/s_casinhl.c: Include <float.h>.
16876 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16877 (__casinhl): Do not do computation with squaring and square root
16878 for large arguments.
16879 * math/libm-test.inc (casin_test): Add more tests.
16880 (casinh_test): Likewise.
16881 * sysdeps/i386/fpu/libm-test-ulps: Update.
16882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16883
16884 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16885
16886 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16887 (__x86_64_raw_data_cache_size): Likewise.
16888 (__x86_64_data_cache_size_half): Likewise.
16889 (__x86_64_raw_data_cache_size_half): Likewise.
16890 (__x86_64_shared_cache_size): Likewise.
16891 (__x86_64_raw_shared_cache_size): Likewise.
16892 (__x86_64_shared_cache_size_half): Likewise.
16893 (__x86_64_raw_shared_cache_size_half): Likewise.
16894 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16895 to ...
16896 (__x86_data_cache_size): This.
16897 (__x86_64_raw_data_cache_size): Renamed to ...
16898 (__x86_raw_data_cache_size): This.
16899 (__x86_64_data_cache_size_half): Renamed to ...
16900 (__x86_data_cache_size_half): This.
16901 (__x86_64_raw_data_cache_size_half): Renamed to ...
16902 (__x86_raw_data_cache_size_half): This.
16903 (__x86_64_shared_cache_size): Renamed to ...
16904 (__x86_shared_cache_size): This.
16905 (__x86_64_raw_shared_cache_size): Renamed to ...
16906 (__x86_raw_shared_cache_size): This.
16907 (__x86_64_shared_cache_size_half): Renamed to ...
16908 (__x86_shared_cache_size_half): This.
16909 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16910 (__x86_raw_shared_cache_size_half): This.
16911 * sysdeps/x86_64/memcpy.S: Updated.
16912 * sysdeps/x86_64/memset.S: Likewise.
16913 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16916
16917 2013-01-04 David S. Miller <davem@davemloft.net>
16918
16919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16920
16921 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16922
16923 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16924 1 to avoid redefinition warning.
16925 (__USE_GNU): Don't define.
16926 (init_signaling_nan): Protoize.
16927
16928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16929
16930 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16931
16932 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16934 (__cpymn): Likewise.
16935 (norm): Remove commented code.
16936 (denorm): Likewise.
16937 (__mp_dbl): Likewise.
16938 (__inv): Likewise.
16939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16940 (__cpymn): Likewise.
16941 (norm): Remove commented code.
16942 (denorm): Likewise.
16943 (__mp_dbl): Likewise.
16944 (__inv): Likewise.
16945
16946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16947 mp_no value for 1.0 and 2.0.
16948 (norm): Use RADIXI instead of radixi.d.
16949 (denorm): Likewise.
16950 (__mul): Use 0.0 instead of zero.d.
16951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16952 mp_no value for 1.0 and 2.0.
16953 (norm): Use RADIXI instead of radixi.d.
16954 (denorm): Likewise.
16955 (__mul): Use 0.0 instead of zero.d.
16956
16957 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16958
16959 [BZ #14994]
16960 * math/s_casinh.c (__casinh): Reduce finite argument to first
16961 quadrant then set signs of results at the end.
16962 * math/s_casinhf.c (__casinhf): Likewise.
16963 * math/s_casinhl.c (__casinhl): Likewise.
16964 * math/libm-test.inc (casin_test): Add more tests.
16965 (casinh_test): Likewise.
16966 * sysdeps/i386/fpu/libm-test-ulps: Update.
16967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16968
16969 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16970
16971 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16972
16973 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16974
16975 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16976 declarations.
16977 (denorm): Likewise.
16978 (__mp_dbl): Likewise.
16979 (__inv): Likewise.
16980
16981 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16982 and adjust the header comment.
16983
16984 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16985 variable name from declaration.
16986
16987 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16988
16989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16990 Initialize COMMON_CPUID_INDEX_7 element.
16991 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16992 (CPUID_RTM): Likewise.
16993 (HAS_RTM): Likewise.
16994 (COMMON_CPUID_INDEX_7): New enum.
16995
16996 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16997
16998 [BZ #14981]
16999 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17000 size is zero, record memory as freed.
17001
17002 2013-01-03 Andreas Jaeger <aj@suse.de>
17003
17004 * po/ia.po: Add new Interlingua translation.
17005
17006 2012-01-03 Allan McRae <allan@archlinux.org>
17007
17008 * locale/programs/localedef.c: Fix description of '--posix' flag.
17009
17010 2013-01-02 Joseph Myers <joseph@codesourcery.com>
17011
17012 * NEWS: Update dates in second copyright notice.
17013 * README: Update copyright dates in example.
17014 * manual/libc.texinfo: Update copyright dates.
17015 * scripts/test-installation.pl: Update copyright date in --version
17016 output.
17017
17018 * hurd/ctty-input.c: Fix copyright notice formatting.
17019 * hurd/ctty-output.c: Likewise.
17020 * hurd/dtable.c: Likewise.
17021 * hurd/hurd-raise.c: Likewise.
17022 * hurd/hurdprio.c: Likewise.
17023 * hurd/msgportdemux.c: Likewise.
17024 * misc/sys/file.h: Likewise.
17025 * misc/sys/ioctl.h: Likewise.
17026 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17027 * sysdeps/mach/hurd/chdir.c: Likewise.
17028 * sysdeps/mach/hurd/fchdir.c: Likewise.
17029 * sysdeps/mach/hurd/rename.c: Likewise.
17030 * sysdeps/mach/hurd/rmdir.c: Likewise.
17031 * sysdeps/mach/hurd/seekdir.c: Likewise.
17032 * sysdeps/mach/hurd/setsid.c: Likewise.
17033 * sysdeps/posix/wait3.c: Likewise.
17034
17035 * All files with FSF copyright notices: Update copyright dates
17036 using scripts/update-copyrights.
17037 * intl/plural.c: Regenerated.
17038 * locale/programs/charmap-kw.h: Likewise.
17039 * locale/programs/locfile-kw.h: Likewise.
17040
17041 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17042
17043 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17044 four values.
17045
17046 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17047 calculation loop and add branch prediction.
17048
17049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17050 check access beyond bounds of m1np.
17051
17052 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17053 MPTWO.
17054 (__inv): Remove local variable MPTWO to use the global
17055 constant.
17056 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17058 variable MPTWO.
17059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17060 MP3HALFS static const.
17061
17062 2013-01-01 David S. Miller <davem@davemloft.net>
17063
17064 * po/ca.po: Update from translation team.
17065
17066 2013-01-01 Joseph Myers <joseph@codesourcery.com>
17067
17068 * scripts/update-copyrights: New file.
17069 * Makeconfig: Reformat copyright notice.
17070 * ctype/ctype.h: Likewise.
17071 * debug/swprintf_chk.c: Likewise.
17072 * elf/dl-cache.c: Likewise.
17073 * elf/dl-debug.c: Likewise.
17074 * elf/dl-object.c: Likewise.
17075 * grp/initgroups.c: Likewise.
17076 * hurd/Makefile: Likewise.
17077 * hurd/hurd/signal.h: Likewise.
17078 * hurd/hurdfault.c: Likewise.
17079 * hurd/hurdioctl.c: Likewise.
17080 * hurd/hurdlookup.c: Likewise.
17081 * hurd/intr-msg.c: Likewise.
17082 * iconv/gconv_open.c: Likewise.
17083 * libio/swprintf.c: Likewise.
17084 * locale/lc-ctype.c: Likewise.
17085 * locale/nl_langinfo.c: Likewise.
17086 * mach/Machrules: Likewise.
17087 * mach/Makefile: Likewise.
17088 * malloc/obstack.h: Likewise.
17089 * manual/Makefile: Likewise.
17090 * manual/tsort.awk: Likewise.
17091 * misc/bits/stab.def: Likewise.
17092 * nis/nis_print_group_entry.c: Likewise.
17093 * nis/nis_table.c: Likewise.
17094 * nis/nss_compat/compat-pwd.c: Likewise.
17095 * nis/nss_compat/compat-spwd.c: Likewise.
17096 * po/Makefile: Likewise.
17097 * posix/fnmatch.c: Likewise.
17098 * posix/regex.h: Likewise.
17099 * resolv/Makefile: Likewise.
17100 * resolv/nss_dns/dns-network.c: Likewise.
17101 * resolv/res_hconf.c: Likewise.
17102 * scripts/gen-sorted.awk: Likewise.
17103 * soft-fp/soft-fp.h: Likewise.
17104 * stdio-common/printf.h: Likewise.
17105 * stdlib/monetary.h: Likewise.
17106 * stdlib/random.c: Likewise.
17107 * stdlib/random_r.c: Likewise.
17108 * sysdeps/generic/Makefile: Likewise.
17109 * sysdeps/gnu/Makefile: Likewise.
17110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17133 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17138 * sysdeps/mach/hurd/errnos.awk: Likewise.
17139 * sysdeps/mach/hurd/fork.c: Likewise.
17140 * sysdeps/mach/hurd/getcwd.c: Likewise.
17141 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17142 * sysdeps/mach/hurd/mmap.c: Likewise.
17143 * sysdeps/mach/hurd/utimes.c: Likewise.
17144 * sysdeps/mach/hurd/xmknod.c: Likewise.
17145 * sysdeps/posix/profil.c: Likewise.
17146 * sysdeps/posix/readdir_r.c: Likewise.
17147 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17148 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17149 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17150 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17152 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17153 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17156 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17157 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17158 * sysdeps/pthread/lio_listio.c: Likewise.
17159 * sysdeps/sparc/dl-procinfo.h: Likewise.
17160 * sysdeps/unix/i386/sysdep.S: Likewise.
17161 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17162 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17163 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17164 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17166 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17167 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17168 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17169 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17170 * sysdeps/wordsize-32/divdi3.c: Likewise.
17171 * time/sys/time.h: Likewise.
17172 * wcsmbs/Makefile: Likewise.
17173
17174 2013-01-01 David S. Miller <davem@davemloft.net>
17175
17176 * po/fr.po: Update from translation team.
17177
17178 * catgets/gencat.c: Update copyright year.
17179 * csu/version.c: Likewise.
17180 * debug/catchsegv.sh: Likewise.
17181 * debug/pcprofiledump.c: Likewise.
17182 * debug/xtrace.sh: Likewise.
17183 * elf/ldconfig.c: Likewise.
17184 * elf/ldd.bash.in: Likewise.
17185 * elf/pldd.c: Likewise.
17186 * elf/sotruss.ksh: Likewise.
17187 * elf/sprof.c: Likewise.
17188 * iconv/iconv_prog.c: Likewise.
17189 * iconv/iconvconfig.c: Likewise.
17190 * locale/programs/locale.c: Likewise.
17191 * locale/programs/localedef.c: Likewise.
17192 * login/programs/pt_chown.c: Likewise.
17193 * malloc/memusage.sh: Likewise.
17194 * malloc/memusagestat.c: Likewise.
17195 * malloc/mtrace.pl: Likewise.
17196 * nscd/nscd.c: Likewise.
17197 * nss/getent.c: Likewise.
17198 * nss/makedb.c: Likewise.
17199 * posix/getconf.c: Likewise.
17200
17201 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17202
17203 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17204 numbers.
17205
17206 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17207
17208 * math/bits/mathcalls.h (modf): Use __nonnull.
17209
17210 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17211
17212 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17213 (split): Use macro CN instead of the bare value.
17214 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17215 could be used.
17216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17217 instead of the bare value.
17218 (power1): Likewise.
17219
17220 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17221
17222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17223 __ATAN_TWOM.
17224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17225
17226 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17227 their values.
17228 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17230 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17231 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17232
17233 2012-12-28 Andreas Jaeger <aj@suse.de>
17234
17235 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17236 values are from Linux 3.7.
17237
17238 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17239 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17240
17241 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17242
17243 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17244 TRUE case.
17245
17246 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17247 (norm): Likewise.
17248 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17249 variables with preprocessor constants.
17250 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17251 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17252 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17253
17254 2012-12-27 Bruno Haible <bruno@clisp.org>
17255
17256 [BZ #14317]
17257 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17258 only if needed.
17259
17260 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17261
17262 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17263 and use variable directly.
17264 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17265
17266 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17267 MPONE.
17268 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17270 variable MPONE.
17271 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17273 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17274 include directive. Remove local variable MPONE.
17275 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17277 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17278
17279 2012-12-25 David S. Miller <davem@davemloft.net>
17280
17281 * version.h (RELEASE): Set to "development".
17282 (VERSION): Set to "2.17.90".
17283 * NEWS: Add 2.18 section.
17284
17285 2012-12-21 David S. Miller <davem@davemloft.net>
17286
17287 * po/hr.po: Update from translation team.
17288
17289 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17290
17291 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17292
17293 2012-12-19 Steve Ellcey <sellcey@mips.com>
17294
17295 * NEWS: Mention new memcpy for MIPS.
17296
17297 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17298
17299 * manual/contrib.texi (Contributors): Spelling correction.
17300
17301 2012-12-15 David S. Miller <davem@davemloft.net>
17302
17303 * po/ru.po: Update from translation team.
17304
17305 2012-12-13 David S. Miller <davem@davemloft.net>
17306
17307 * NEWS: Mention IFUNC testsuite enhancements.
17308
17309 * po/pl.po: Update from translation team.
17310 * po/bg.po: Likewise.
17311
17312 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17313 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17314
17315 2012-12-11 David S. Miller <davem@davemloft.net>
17316
17317 * po/sv.po: Update from translation team.
17318
17319 * po/vi.po: Update from translation team.
17320
17321 * po/cs.po: Update from translation team.
17322
17323 * po/de.po: Update from translation team.
17324 * po/eo.po: Likewise.
17325 * po/nl.po: Likewise.
17326
17327 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17328
17329 [BZ #14246]
17330 * manual/argp.texi (Argp Helper Functions): Move node to follow
17331 Argp Parsing State.
17332
17333 [BZ #14872]
17334 * manual/conf.texi (Limits on File System Capacity): Mention if
17335 terminating null is included in the max size.
17336
17337 2012-12-10 Andreas Jaeger <aj@suse.de>
17338
17339 * po/cs.po: Update from translation team.
17340
17341 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17342
17343 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17344 void pointer and cast to uintptr_t.
17345 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17346 path.
17347 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17348 * sysdeps/s390/s390-64/memset.S: Likewise.
17349
17350 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17351
17352 [BZ #14833]
17353 * menual/message.texi (Message Translation): Fix typos.
17354 (Helper programs for gettext): Likewise.
17355
17356 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17357
17358 [BZ #14898]
17359 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17360 Change to -1.
17361
17362 2012-12-07 David S. Miller <davem@davemloft.net>
17363
17364 * po/libc.pot: Update.
17365
17366 2012-12-07 Richard Henderson <rth@redhat.com>
17367
17368 [BZ #10114]
17369 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17370 normal/normal case to before the switch.
17371 (_FP_DIV): Likewise.
17372
17373 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17374 Mike Frysinger <vapier@gentoo.org>
17375
17376 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17377 check for __NR_fadvise64_64.
17378
17379 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17380
17381 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17382 0, not just to plain "0" as a statement.
17383 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17384 with cw.
17385
17386 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17387
17388 * NEWS: Use sourceware.org in Bugzilla URL.
17389
17390 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17391
17392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17393 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17394
17395 * stdio-common/tst-put-error.c (do_test): Add newline to the
17396 padded test to ensure flush.
17397
17398 2012-12-05 Jeff Law <law@redhat.com>
17399
17400 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17401
17402 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17403
17404 * README: Don't refer to ports add-on as distributed separately.
17405 Mention AArch64 in list of systems supported in the ports add-on.
17406
17407 * LICENSES: Add more non-FSF copyright and license notices.
17408
17409 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17410 ((unused)).
17411
17412 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17413
17414 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17415 10000 as width of padded output.
17416
17417 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17418
17419 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17420
17421 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17422 variable LX with __attribute__ ((unused)).
17423 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17424 Likewise.
17425 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17428 with __attribute__ ((unused)).
17429
17430 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17431
17432 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17433
17434 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17435
17436 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17437 (CFLAGS-nldbl-acos.c): New variable.
17438 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17439 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17440 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17441 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17442 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17443 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17444 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17445 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17446 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17447 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17448 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17449 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17450 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17451 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17452 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17453 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17454 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17455 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17456 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17457 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17458 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17459 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17460 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17461 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17462 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17463 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17464 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17465 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17466 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17467 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17468 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17469 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17470 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17471 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17472 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17473 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17474 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17475 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17476 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17477 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17478 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17479 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17480 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17481 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17482 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17483 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17484 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17485 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17486 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17487 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17488 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17489 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17490 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17491 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17492 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17493 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17494 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17495 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17496 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17497 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17498 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17499 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17500 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17501 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17502 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17503 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17504 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17505 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17506 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17507 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17508 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17509 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17510 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17511 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17512 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17513 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17514 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17515 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17516 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17517 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17518 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17519 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17520 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17521 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17522 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17523 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17524 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17525 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17526 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17527 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17528 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17529 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17530 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17531 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17532 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17533 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17534 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17535
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17537 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17538
17539 [BZ #14914]
17540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17541 whole low double instead of just low 47 bits when splitting values
17542 into two parts.
17543
17544 2012-12-03 Allan McRae <allan@archlinux.org>
17545
17546 * manual/stdio.texi (Predefined Printf Handlers): Remove
17547 @hsep and @vsep usage.
17548
17549 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17550
17551 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17552 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17553
17554 2012-12-03 Jeff Law <law@redhat.com>
17555
17556 * time/sys/time.h (settimeofday): Do not mark TV argument
17557 as __nonnull.
17558
17559 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17560
17561 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17562 when currently writing and seek to current position when not.
17563 * libio/Makefile (tests): Remove bug-fclose1.
17564 * libio/bug-fclose1.c: Delete.
17565
17566 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17567
17568 * manual/arith.texi (feenableexcept): Fix typo.
17569 (fedisableexcept): Likewise.
17570
17571 2012-11-30 Roland McGrath <roland@hack.frob.com>
17572
17573 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17574 second, differently-typed declaration, rather than a cast.
17575
17576 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17577
17578 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17579 * include/rpc/svc.h: ... here.
17580
17581 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17582
17583 [BZ #13013]
17584 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17585 depending n and resplen2 to catch cases where answer
17586 equals answerp2.
17587
17588 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17589
17590 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17591 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17592
17593 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17594
17595 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17596
17597 2012-11-29 Roland McGrath <roland@hack.frob.com>
17598
17599 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17600
17601 2012-11-28 Jeff Law <law@redhat.com>
17602
17603 [BZ #13761]
17604 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17605 dataset_temporary. Track alloca usage into alloca_used.
17606 If dataset is large allocate and release it via malloc/free.
17607
17608 2012-06-04 Florian Weimer <fweimer@redhat.com>
17609
17610 [BZ #14197]
17611 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17612
17613 2012-11-28 David S. Miller <davem@davemloft.net>
17614
17615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17616
17617 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17618
17619 [BZ #14803]
17620 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17621 of pi/2 rounded to nearest to 64 bits.
17622 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17623 nearest to 64 bits.
17624 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17625 bits.
17626
17627 2012-11-28 Jeff Law <law@redhat.com>
17628 Martin Osvald <mosvald@redhat.com>
17629
17630 [BZ #14889]
17631 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17632 * sunrpc/svc.c: Include time.h.
17633 (__svc_accept_failed): New function.
17634 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17635 any reason other than EINTR, call __svc_accept_failed.
17636 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17637 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17638
17639 2012-11-28 Andreas Schwab <schwab@suse.de>
17640
17641 * scripts/abilist.awk: Also handle indirect functions in .opd
17642 section.
17643
17644 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17645
17646 [BZ #13881]
17647 * sysdeps/x86/fpu/powl_helper.c: New file.
17648 * sysdeps/x86/fpu/Makefile: Likewise.
17649 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17650 (p3): New object.
17651 (__ieee754_powl): Use __powl_helper for finite arguments except
17652 integer exponents below 8.
17653 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17654 (p3): New object.
17655 (__ieee754_powl): Use __powl_helper for finite arguments except
17656 integer exponents below 8.
17657 * math/libm-test.inc (pow_test): Add more tests and enable some
17658 previously disabled tests.
17659 * sysdeps/i386/fpu/libm-test-ulps: Update.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17661
17662 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17663 Carlos O'Donell <carlos_odonell@mentor.com>
17664
17665 * nss/makedb.c (is_prime): Assert that input is odd and greater
17666 than 4. Note that fact in a comment too.
17667 (next_prime): Add 4 to input.
17668
17669 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17670
17671 [BZ #11741]
17672 * libio/Makefile (tests): Add test case tst-fwrite-error.
17673 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17674 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17675 * libio/tst-fwrite-error.c: New test case.
17676
17677 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17678
17679 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17680 before casting to void *.
17681 * include/libc-internal.h (__pointer_type): New macro.
17682 (__integer_if_pointer_type_sub): Likewise.
17683 (__integer_if_pointer_type): Likewise.
17684 (cast_to_integer): Likewise.
17685 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17686 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17687 before casting to atomic64_t.
17688 (atomic_exchange_acq): Likewise.
17689 (__arch_exchange_and_add_body): Likewise.
17690 (__arch_add_body): Likewise.
17691 (atomic_add_negative): Likewise.
17692 (atomic_add_zero): Likewise.
17693
17694 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17695
17696 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17697 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17698 (add_fdes): Likewise.
17699 (linear_search_fdes): Likewise.
17700 (binary_search_unencoded_fdes): Likewise.
17701
17702 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17703
17704 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17705
17706 2012-11-24 Adam Conrad <adconrad@0c3.net>
17707
17708 * configure.in: Autodetect C++ header directories.
17709 * configure: Regenerated.
17710
17711 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17712
17713 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17714
17715 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17716
17717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17718
17719 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17720
17721 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17722 LDBL_MANT_DIG == 106]: Disable some tests.
17723 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17724 Likewise.
17725 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17726 Likewise.
17727
17728 [BZ #14871]
17729 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17730 input for small inputs. Return +/- pi/2 for large inputs.
17731 * math/libm-test.inc (atan_test): Add more tests.
17732
17733 * sysdeps/generic/unwind-dw2-fde-glibc.c
17734 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17735 __attribute__ ((unused)).
17736
17737 [BZ #14645]
17738 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17739 x * y if x and y are nonzero and z is zero.
17740
17741 [BZ #14811]
17742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17743 nonzero exponents with absolute value below 0x1p-117 to +/-
17744 0x1p-117.
17745
17746 [BZ #14869]
17747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17748 up arguments below 2**-450, not just those below 2**-500.
17749 * math/libm-test.inc (hypot_test): Add another test.
17750
17751 [BZ #14868]
17752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17753 Return a+b for ratio over 2**120, not 2**60.
17754 * math/libm-test.inc (hypot_test): Add another test.
17755
17756 * math/libm-test.inc (clog_test): Use
17757 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17758 (clog10_test): Likewise.
17759
17760 [BZ #6778]
17761 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17762
17763 2012-11-22 Andreas Schwab <schwab@suse.de>
17764
17765 * sysdeps/i386/fpu/libm-test-ulps: Update.
17766
17767 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17768
17769 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17770 printf output with newline.
17771
17772 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17773
17774 [BZ #14865]
17775 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17776 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17777 -z nodlopen, -z initfirst and -z execstack support.
17778 * configure: Regenerated.
17779
17780 * elf/elf.h (DF_1_NODIRECT): New macro.
17781 (DF_1_IGNMULDEF): Likewise.
17782 (DF_1_NOKSYMS): Likewise.
17783 (DF_1_NOHDR): Likewise.
17784 (DF_1_EDITED): Likewise.
17785 (DF_1_NORELOC): Likewise.
17786 (DF_1_SYMINTPOSE): Likewise.
17787 (DF_1_GLOBAUDIT): Likewise.
17788 (DF_1_SINGLETON): Likewise.
17789 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17790 DT_1_SUPPORTED_MASK bits.
17791 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17792
17793 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17794
17795 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17796
17797 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17798
17799 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17800 macro.
17801
17802 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17803 (sendmmsg): Move declarations...
17804 * socket/sys/socket.h: ... here.
17805 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17806 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17807 include it from...
17808 * socket/recvmmsg.c: ... this new file.
17809 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17810 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17811 definition of __sendmmsg hidden.
17812 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17813 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17814 Move ENOSYS stub into and include it from...
17815 * socket/sendmmsg.c: ... this new file.
17816 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17817 (sysdep_routines): Move recvmmsg and sendmmsg...
17818 * socket/Makefile (routines): ... here.
17819 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17820 (GLIBC_PRIVATE): Add __sendmmsg.
17821 * include/sys/socket.h (__sendmmsg): Add declarations.
17822 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17823 sendmmsg.
17824
17825 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17826
17827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17828 variable I1 with __attribute__ ((unused)).
17829 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17830
17831 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17832
17833 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17834 DUMMY variables with __attribute__ ((unused)).
17835
17836 * bits/byteswap.h: Include <bits/types.h>.
17837 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17838
17839 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17840
17841 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17842 string_t. Do not manually set errno.
17843 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17844 length with __strnlen. Make sure to both set errno and return it on
17845 failure.
17846
17847 2012-11-19 David S. Miller <davem@davemloft.net>
17848
17849 With help from Joseph Myers.
17850 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17851 very large arguments properly.
17852 * math/libm-test.inc (atan_test): New tests.
17853 (atan2_test): New tests.
17854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17856
17857 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17858
17859 [BZ #14856]
17860 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17861 Define to 3.
17862
17863 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17864 [POSIX] (EADDRNOTAVAIL): Likewise.
17865 [POSIX] (EAFNOSUPPORT): Likewise.
17866 [POSIX] (EALREADY): Likewise.
17867 [POSIX] (ECONNABORTED): Likewise.
17868 [POSIX] (ECONNREFUSED): Likewise.
17869 [POSIX] (ECONNRESET): Likewise.
17870 [POSIX] (EDESTADDRREQ): Likewise.
17871 [POSIX] (EDQUOT): Likewise.
17872 [POSIX] (EHOSTUNREACH): Likewise.
17873 [POSIX] (EIDRM): Likewise.
17874 [POSIX] (EISCONN): Likewise.
17875 [POSIX] (ELOOP): Likewise.
17876 [POSIX] (EMULTIHOP): Likewise.
17877 [POSIX] (ENETDOWN): Likewise.
17878 [POSIX] (ENETUNREACH): Likewise.
17879 [POSIX] (ENOBUFS): Likewise.
17880 [POSIX] (ENODATA): Likewise.
17881 [POSIX] (ENOLINK): Likewise.
17882 [POSIX] (ENOMSG): Likewise.
17883 [POSIX] (ENOPROTOOPT): Likewise.
17884 [POSIX] (ENOSR): Likewise.
17885 [POSIX] (ENOSTR): Likewise.
17886 [POSIX] (ENOTCONN): Likewise.
17887 [POSIX] (ENOTSOCK): Likewise.
17888 [POSIX] (EOPNOTSUPP): Likewise.
17889 [POSIX] (EOVERFLOW): Likewise.
17890 [POSIX] (EPROTO): Likewise.
17891 [POSIX] (EPROTONOSUPPORT): Likewise.
17892 [POSIX] (EPROTOTYPE): Likewise.
17893 [POSIX] (ESTALE): Likewise.
17894 [POSIX] (ETIME): Likewise.
17895 [POSIX] (ETXTBSY): Likewise.
17896 [POSIX] (EWOULDBLOCK): Likewise.
17897 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17898 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17899 [POSIX] (SEEK_CUR): Likewise.
17900 [POSIX] (SEEK_END): Likewise.
17901 [POSIX || UNIX98] (mode_t): Do not require.
17902 [POSIX] (off_t): Likewise.
17903 [POSIX] (pid_t): Likewise.
17904 [POSIX] (sys/stat.h): Do not allow header.
17905 [POSIX] (unistd.h): Likewise.
17906 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17907 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17908 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17909 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17910 require.
17911 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17912 sigevent): Specify elements.
17913 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17914 entry.
17915 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17916 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17917
17918 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17919 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17920 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17921 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17922 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17923 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17924 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17925 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17926 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17927 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17928 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17929 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17930 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17931 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17932 Likewise.
17933 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17934 Likewise.
17935 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17936 Likewise.
17937 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17938 Likewise.
17939 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17940 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17941 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17942 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17943 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17944 Specify lower bound on value.
17945 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17946 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17947 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17948 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17949 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17950 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17951 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17952 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17953 value.
17954 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17955 as optional.
17956 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17957 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17958 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17959 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17960 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17961 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17962 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17963 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17964 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17965 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17966 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17967 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17968 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17969 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17970 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17971 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17972 entry.
17973 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17974 optional.
17975 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17976 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17977 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17978 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17979 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17980 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17981 Likewise.
17982 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17984 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17985 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17986 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17987 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17988 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17989 as optional.
17990 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17992 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17993 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17994 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17995 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17996 specify as optional.
17997 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17998 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17999 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18000 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18001 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18002 [XPG3] (NL_LANGMAX): Likewise.
18003 [POSIX || XPG3] (NL_MSGMAX): Likewise.
18004 [POSIX || XPG3] (NL_NMAX): Likewise.
18005 [POSIX || XPG3] (NL_SETMAX): Likewise.
18006 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18007 [XPG3] (NZERO): Likewise.
18008 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18009 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18010 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18011 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18012 (REG_ERANGE): Expect.
18013 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18014 optional-constant.
18015 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18016 Use (void) in prototype.
18017 [POSIX] (*_t): Allow.
18018 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18019 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18020 (WRDE_BADVAL): Expect.
18021
18022 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18023 expect.
18024 [XPG3 || XPG4] (O_RSYNC): Likewise.
18025 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18026 Likewise.
18027 [XPG3 || XPG4] (pthread_sigmask): Likewise.
18028 [XPG3 || XPG4] (sigqueue): Likewise.
18029 [XPG3 || XPG4] (sigtimedwait): Likewise.
18030 [XPG3 || XPG4] (sigwaitinfo): Likewise.
18031 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18032 [XPG3 || XPG4] (vsnprintf): Likewise.
18033 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18034 Likewise.
18035 [XPG3 || XPG4] (blksize_t): Likewise.
18036 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18037 Likewise.
18038 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18039 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18040 [XPG3 || XPG4] (struct itimerspec): Likewise.
18041 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18042 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18043 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18044 [XPG3 || XPG4] (clockid_t): Likewise.
18045 [XPG3 || XPG4] (timer_t): Likewise.
18046 [XPG3 || XPG4] (clock_getres): Likewise.
18047 [XPG3 || XPG4] (clock_gettime): Likewise.
18048 [XPG3 || XPG4] (clock_settime): Likewise.
18049 [XPG3 || XPG4] (nanosleep): Likewise.
18050 [XPG3 || XPG4] (timer_create): Likewise.
18051 [XPG3 || XPG4] (timer_delete): Likewise.
18052 [XPG3 || XPG4] (timer_gettime): Likewise.
18053 [XPG3 || XPG4] (timer_getoverrun): Likewise.
18054 [XPG3 || XPG4] (timer_settime): Likewise.
18055 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18056 [XPG3 || XPG4] (getlogin_r): Likewise.
18057 [XPG3 || XPG4] (pread): Likewise.
18058 [XPG3 || XPG4] (pthread_atfork): Likewise.
18059 [XPG3 || XPG4] (pwrite): Likewise.
18060
18061 [BZ #14835]
18062 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18063 <bits/siginfo.h>.
18064
18065 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18066
18067 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18068 finalizing MALLSTREAM.
18069
18070 * sysdeps/mach/hurd/syncfs.c: New file.
18071
18072 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18073
18074 [BZ #14719]
18075 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18076 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18077 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18078 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18079 (_nss_dns_gethostbyname4_r): Likewise.
18080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18081 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18082
18083 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18084
18085 [BZ #13763]
18086 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18087
18088 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18089
18090 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18091 * elf/cache.c (print_entry): Print ",AArch64" for
18092 FLAG_AARCH64_LIB64
18093
18094 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18095 * elf/cache.c (print_entry): Print ",hard-float" for
18096 FLAG_ARM_LIBHF.
18097
18098 2012-11-18 David S. Miller <davem@davemloft.net>
18099
18100 With help from Joseph Myers.
18101 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18102 cutoff to 2**-13.
18103 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18104 cutoff to 2**-25.
18105 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18106 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18107 small.
18108 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18109 * math/libm-test.inc (y0_test): New tests.
18110 (y1_test): New tests.
18111 * sysdeps/i386/fpu/libm-test-ulps: Update.
18112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18114
18115 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18116
18117 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18118 64-bit targets.
18119 * configure: Regenerated.
18120
18121 2012-11-17 David S. Miller <davem@davemloft.net>
18122
18123 [BZ #14811]
18124 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18125 nonzero exponents with absolute value below 0x1p-128 to +/-
18126 0x1p-128.
18127
18128 2012-11-17 Joseph Myers <joseph@codesourcery.com>
18129
18130 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18131
18132 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18133
18134 * posix/getconf-speclist.c: New file.
18135 * posix/posix-envs.def: Likewise.
18136 * posix/confstr.c (START_ENV_GROUP): New macro.
18137 (END_ENV_GROUP): Likewise.
18138 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18139 (KNOWN_PRESENT_ENV_STRING): Likewise.
18140 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18141 (UNKNOWN_ENVIRONMENT): Likewise.
18142 (confstr): Include posix-envs.def instead of handling
18143 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18144 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18145 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18146 (END_ENV_GROUP): Likewise.
18147 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18148 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18149 (UNKNOWN_ENVIRONMENT): Likewise.
18150 (__sysconf): Include posix-envs.def instead of handling associated
18151 cases directly here.
18152 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18153 preprocessing getconf-speclist.c rather than running getconf or
18154 generating empty file.
18155
18156 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18157
18158 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18159
18160 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18161
18162 [BZ #14672]
18163 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18164
18165 2012-11-16 David S. Miller <davem@davemloft.net>
18166
18167 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18168 smaller than LDBL_EPSILON/2.0L, just return xm1.
18169
18170 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18171
18172 * elf/tst-array1.c (init): Set constructor priority to 1000.
18173 (fini): Set destructor priority to 1000.
18174 * elf/tst-array2dep.c: Likewise.
18175
18176 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18177
18178 [BZ #11741]
18179 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18180 (_IO_new_file_xsputn): Also return EOF if none of the input
18181 data was written when overflow failed.
18182 * libio/iopadn.c (_IO_padn): Likewise.
18183 * libio/iowpadn.c (_IO_wpadn): Likewise.
18184 * stdio-common/tst-put-error.c: Add copyright notice.
18185 (do_test): Add case for printing padded string.
18186 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18187 _IO_padn returned error.
18188 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18189 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18190 return EOF.
18191
18192 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18193
18194 * libio/libioP.h: Add comment note that the references to C++
18195 bits are now obsolete.
18196
18197 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18198
18199 * math/libm-test.inc (check_complex): Use asprintf.
18200
18201 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18202
18203 * debug/pcprofiledump.c (print_version): Update copyright year.
18204 * malloc/memusagestat.c (print_version): Likewise.
18205
18206 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 [BZ #14831]
18209 * elf/Makefile (tests): Add tst-audit8.
18210 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18211 ($(objpfx)tst-audit8.out): New target.
18212 (tst-audit8-ENV): New variable.
18213 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18214 audit if l_reloc_result is NULL.
18215 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18216 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18217 * elf/tst-audit8.c: New file.
18218
18219 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18220
18221 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18222 * misc/Makefile (CFLAGS-select.c): Define.
18223 * posix/Makefile (CFLAGS-pause.c): Define.
18224
18225 2012-11-13 David S. Miller <davem@davemloft.net>
18226
18227 * crypt/Makefile: Move test targets after toplevel Rules
18228 inclusion. Grab any necessary sysdep routines when linking.
18229 * crypt/md5.c (md5_process_block): Remove define, we will always
18230 name it __md5_process_block.
18231 (md5_finish_ctx): Update md5_process_block call.
18232 (md5_stream): Likewise.
18233 (md5_process_bytes): Likewise.
18234 (md5_process_block): Rename to __md5_process_block and move to ...
18235 * crypt/md5-block.c: ... here.
18236 * crypt/sha256.c (sha256_process_block): Move to ...
18237 * crypt/sha256-block.c: ... here.
18238 * crypt/sha512.c (sha512_process_block): Move to ...
18239 * crypt/sha512-block.c: ... here.
18240 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18241 path.
18242 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18243 * sysdeps/sparc/sparc64/multiarch/Makefile
18244 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18245 crypt subdir.
18246 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18247 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18248 multiarch changes.
18249 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18250 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18251 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18252 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18253 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18254 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18255 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18256 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18257 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18258 file.
18259 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18261 file.
18262 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18263
18264 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18265
18266 * timezone/tzselect.ksh: Update from tzcode git revision
18267 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18268 * timezone/zdump.c: Likewise.
18269 * timezone/zic.c: Likewise.
18270 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18271 in TZVERSION setting, not $(PKGVERSION).
18272 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18273 REPORT_BUGS_TO settings.
18274
18275 [BZ #14838]
18276 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18277 macro.
18278
18279 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18280
18281 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18282 detection to immediately after _FP_ROUND().
18283 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18284 bits are 0.
18285
18286 2012-11-11 David S. Miller <davem@davemloft.net>
18287
18288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18289 inttypes.h
18290 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18291 __close rather than their public counterparts.
18292
18293 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18294
18295 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18296 file.
18297 [UNIX98] (sem_timedwait): Do not expect.
18298 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18299 [XPG4 || UNIX98] (sockatmark): Do not expect.
18300 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18301 (clock_getcpuclockid): Do not expect.
18302 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18303 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18304 Do not expect.
18305 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18306 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18307 [UNIX98] (vwscanf): Likewise.
18308 [UNIX98] (vswscanf): Likewise.
18309
18310 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18311
18312 * timezone/version.h: Remove file.
18313 * timezone/README: Do not refer to version.h.
18314 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18315 $(objpfx)version.h.
18316 ($(objpfx)zdump.o): Likewise.
18317 ($(objpfx)version.h): New target.
18318
18319 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18320 2012i.
18321 * timezone/README: Don't mention modification to tzselect.ksh.
18322 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18323 work on unmodified tzselect.ksh. Substitute version numbers in
18324 tzselect.ksh.
18325
18326 * Makefile (format-me): Remove.
18327 (INSTALL): Adjust indentation. Use commands directly instead of
18328 using $(format-me).
18329
18330 * aclocal.m4 (ACX_PKGVERSION): New macro.
18331 (ACX_BUGURL): Likewise.
18332 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18333 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18334 (REPORT_BUGS_TO): Likewise.
18335 * configure: Regenerated.
18336 * config.h.in (PKGVERSION): New macro.
18337 (REPORT_BUGS_TO): Likewise.
18338 * config.make.in (PKGVERSION): New variable.
18339 (PKGVERSION_TEXI): Likewise.
18340 (REPORT_BUGS_TO): Likewise.
18341 (REPORT_BUGS_TEXI): Likewise.
18342 * Makefile (format-me): Use -I$(common-objpfx)manual.
18343 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18344 ($(common-objpfx)manual/%): New target.
18345 (manual/%): Remove target.
18346 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18347 (print_version): Use PKGVERSION.
18348 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18349 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18350 and REPORT_BUGS_TO.
18351 ($(objpfx)xtrace): Likewise.
18352 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18353 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18354 (print_version): Use PKGVERSION.
18355 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18356 (do_version): Use PKGVERSION.
18357 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18358 REPORT_BUGS_TO.
18359 (common-ldd-rewrite): Likewise.
18360 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18361 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18362 (print_version): Use PKGVERSION.
18363 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18364 * elf/pldd.c (argp_program_bug_address): Remove variable.
18365 (more_help): New function.
18366 (argp): Use more_help.
18367 (print_version): Use PKGVERSION.
18368 * elf/sln.c (main): Use PKGVERSION.
18369 (usage): Use REPORT_BUGS_TO.
18370 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18371 (top level): Use PKGVERSION.
18372 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18373 (print_version): Use PKGVERSION.
18374 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18375 (print_version): Use PKGVERSION.
18376 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18377 (print_version): Use PKGVERSION.
18378 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18379 (print_version): Use PKGVERSION.
18380 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18381 (print_version): Use PKGVERSION.
18382 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18383 (print_version): Use PKGVERSION.
18384 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18385 and BUGURL.
18386 ($(objpfx)memusage): Likewise.
18387 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18388 (do_version): Use PKGVERSION.
18389 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18390 (print_version): Use PKGVERSION.
18391 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18392 ($PKGVERSION): New variable.
18393 ($REPORT_BUGS_TO): Likewise.
18394 (usage): Use $REPORT_BUGS_TO.
18395 (top level): Use $PKGVERSION.
18396 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18397 ($(objpfx)pkgvers.texi): New rule.
18398 ($(objpfx)stamp-pkgvers): Likewise.
18399 * manual/install.texi: Include pkgvers.texi.
18400 (--with-pkgversion): Document new configure option.
18401 (--with-bugurl): Likewise.
18402 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18403 than necessarily for this particular distribution. Use
18404 REPORT_BUGS_TO for where to report bugs.
18405 * INSTALL: Regenerated.
18406 * manual/libc.texinfo: Include pkgvers.texi.
18407 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18408 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18409 (print_version): Use PKGVERSION.
18410 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18411 (print_version): Use PKGVERSION.
18412 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18413 (print_version): Use PKGVERSION.
18414 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18415 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18416 macro.
18417 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18418 (print_version): Use PKGVERSION.
18419 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18420 (print_version): Use PKGVERSION.
18421 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18422 and PKGVERSION.
18423
18424 * timezone/checktab.awk: Update from tzcode 2012i.
18425 * timezone/ialloc.c: Likewise.
18426 * timezone/private.h: Likewise.
18427 * timezone/scheck.c: Likewise.
18428 * timezone/tzfile.h: Likewise.
18429 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18430 (TZVERSION): Hardcode tzcode version number.
18431 * timezone/zdump.c: Update from tzcode 2012i.
18432 * timezone/zic.c: Likewise.
18433 * timezone/version.h: New file.
18434 * timezone/README: Describe version.h. Update upstream location.
18435
18436 [BZ #14824]
18437 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18438 (mktemp): Enable declaration.
18439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18443 Likewise.
18444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18445 Likewise.
18446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18447 Likewise.
18448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18449 Likewise.
18450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18451 Likewise.
18452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18453 Likewise.
18454
18455 [BZ #14821]
18456 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18457 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18458 for copies of such integer values.
18459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18461
18462 2012-11-09 Andreas Jaeger <aj@suse.de>
18463
18464 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18465 definitions and declarations that are provided by
18466 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18467
18468 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18469
18470 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18471 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18472 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18473 definition.
18474
18475 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18476
18477 * elf/elf.h: Update comment before AArch64 relocations.
18478
18479 2012-11-07 David S. Miller <davem@davemloft.net>
18480
18481 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18482 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18483 (__start_context): Declare.
18484 (__makecontext_ret): Delete.
18485 (__makecontext): Hook up __start_context instead of
18486 __makecontext_ret.
18487 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18488 (sysdep_routines): Add __start_context when in stdlib.
18489
18490 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18491
18492 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18493 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18494 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18495 hardcoded "nm".
18496 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18497 (READELF): New variable. Use it instead of hardcoded "readelf".
18498
18499 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18502 * sysdeps/x86/Makefile: Here.
18503 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18504 * sysdeps/x86/tst-xmmymm.sh: This.
18505
18506 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18507
18508 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18509 expectations.
18510 [UNIX98] (pthread_barrier_t): Do not expect.
18511 [UNIX98] (pthread_barrierattr_t): Likewise.
18512 [UNIX98] (pthread_spinlock_t): Likewise.
18513 [UNIX98] (pthread_barrier_destroy): Likewise.
18514 [UNIX98] (pthread_barrier_init): Likewise.
18515 [UNIX98] (pthread_barrier_wait): Likewise.
18516 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18517 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18518 [UNIX98] (pthread_barrierattr_init): Likewise.
18519 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18520 [UNIX98] (pthread_getcpuclockid): Likewise.
18521 [UNIX98] (pthread_mutex_timedlock): Likewise.
18522 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18523 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18524 [UNIX98] (pthread_sigmask): Likewise.
18525 [UNIX98] (pthread_spin_destroy): Likewise.
18526 [UNIX98] (pthread_spin_init): Likewise.
18527 [UNIX98] (pthread_spin_lock): Likewise.
18528 [UNIX98] (pthread_spin_trylock): Likewise.
18529 [UNIX98] (pthread_spin_unlock): Likewise.
18530 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18531 Do not expect.
18532 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18533 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18534 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18535 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18536 [XPG3 || XPG4] (pthread_key_t): Likewise.
18537 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18538 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18539 [XPG3 || XPG4] (pthread_once_t): Likewise.
18540 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18541 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18542 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18543 [XPG3 || XPG4] (pthread_t): Likewise.
18544
18545 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18546 not expect.
18547 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18548
18549 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18550 Change function return type to int.
18551
18552 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18553 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18554 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18555 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18556 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18557 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18558 [!POSIX] (posix_madvise): Likewise.
18559 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18560 && !UNIX98].
18561 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18562 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18563 (mode_t): Likewise.
18564 (posix_mem_offset): Likewise.
18565 (posix_typed_mem_get_info): Likewise.
18566 (posix_typed_mem_open): Likewise.
18567
18568 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18569 Change condition to [XOPEN2K8].
18570
18571 * conform/conformtest.pl: Preprocess allow-header data with -x c
18572 instead of from stdin.
18573 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18574 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18575 [C99-based standards] (cerfc): Likewise.
18576 [C99-based standards] (cexp2): Likewise.
18577 [C99-based standards] (cexpm1): Likewise.
18578 [C99-based standards] (clog10): Likewise.
18579 [C99-based standards] (clog1p): Likewise.
18580 [C99-based standards] (clog2): Likewise.
18581 [C99-based standards] (clgamma): Likewise.
18582 [C99-based standards] (ctgamma): Likewise.
18583 [C99-based standards] (cerff): Likewise.
18584 [C99-based standards] (cerfcf): Likewise.
18585 [C99-based standards] (cexp2f): Likewise.
18586 [C99-based standards] (cexpm1f): Likewise.
18587 [C99-based standards] (clog10f): Likewise.
18588 [C99-based standards] (clog1pf): Likewise.
18589 [C99-based standards] (clog2f): Likewise.
18590 [C99-based standards] (clgammaf): Likewise.
18591 [C99-based standards] (ctgammaf): Likewise.
18592 [C99-based standards] (cerfl): Likewise.
18593 [C99-based standards] (cerfcl): Likewise.
18594 [C99-based standards] (cexp2l): Likewise.
18595 [C99-based standards] (cexpm1l): Likewise.
18596 [C99-based standards] (clog10l): Likewise.
18597 [C99-based standards] (clog1pl): Likewise.
18598 [C99-based standards] (clog2l): Likewise.
18599 [C99-based standards] (clgammal): Likewise.
18600 [C99-based standards] (ctgammal): Likewise.
18601 * conform/data/inttypes.h-data [C99-based standards]: Include
18602 stdint.h-data. Remove all expectations for stdint.h contents.
18603 [C99-based standards] (PRI*): Do not allow.
18604 [C99-based standards] (SCN*): Likewise.
18605 [C99-based standards] (*_t): Likewise.
18606 [C99-based-standards] (PRId8): Expect macro.
18607 [C99-based-standards] (PRIi8): Likewise.
18608 [C99-based-standards] (PRIo8): Likewise.
18609 [C99-based-standards] (PRIu8): Likewise.
18610 [C99-based-standards] (PRIx8): Likewise.
18611 [C99-based-standards] (PRIX8): Likewise.
18612 [C99-based-standards] (SCNd8): Likewise.
18613 [C99-based-standards] (SCNi8): Likewise.
18614 [C99-based-standards] (SCNo8): Likewise.
18615 [C99-based-standards] (SCNu8): Likewise.
18616 [C99-based-standards] (SCNx8): Likewise.
18617 [C99-based-standards] (PRIdLEAST8): Likewise.
18618 [C99-based-standards] (PRIiLEAST8): Likewise.
18619 [C99-based-standards] (PRIoLEAST8): Likewise.
18620 [C99-based-standards] (PRIuLEAST8): Likewise.
18621 [C99-based-standards] (PRIxLEAST8): Likewise.
18622 [C99-based-standards] (PRIXLEAST8): Likewise.
18623 [C99-based-standards] (SCNdLEAST8): Likewise.
18624 [C99-based-standards] (SCNiLEAST8): Likewise.
18625 [C99-based-standards] (SCNoLEAST8): Likewise.
18626 [C99-based-standards] (SCNuLEAST8): Likewise.
18627 [C99-based-standards] (SCNxLEAST8): Likewise.
18628 [C99-based-standards] (PRIdFAST8): Likewise.
18629 [C99-based-standards] (PRIiFAST8): Likewise.
18630 [C99-based-standards] (PRIoFAST8): Likewise.
18631 [C99-based-standards] (PRIuFAST8): Likewise.
18632 [C99-based-standards] (PRIxFAST8): Likewise.
18633 [C99-based-standards] (PRIXFAST8): Likewise.
18634 [C99-based-standards] (SCNdFAST8): Likewise.
18635 [C99-based-standards] (SCNiFAST8): Likewise.
18636 [C99-based-standards] (SCNoFAST8): Likewise.
18637 [C99-based-standards] (SCNuFAST8): Likewise.
18638 [C99-based-standards] (SCNxFAST8): Likewise.
18639 [C99-based-standards] (PRId16): Likewise.
18640 [C99-based-standards] (PRIi16): Likewise.
18641 [C99-based-standards] (PRIo16): Likewise.
18642 [C99-based-standards] (PRIu16): Likewise.
18643 [C99-based-standards] (PRIx16): Likewise.
18644 [C99-based-standards] (PRIX16): Likewise.
18645 [C99-based-standards] (SCNd16): Likewise.
18646 [C99-based-standards] (SCNi16): Likewise.
18647 [C99-based-standards] (SCNo16): Likewise.
18648 [C99-based-standards] (SCNu16): Likewise.
18649 [C99-based-standards] (SCNx16): Likewise.
18650 [C99-based-standards] (PRIdLEAST16): Likewise.
18651 [C99-based-standards] (PRIiLEAST16): Likewise.
18652 [C99-based-standards] (PRIoLEAST16): Likewise.
18653 [C99-based-standards] (PRIuLEAST16): Likewise.
18654 [C99-based-standards] (PRIxLEAST16): Likewise.
18655 [C99-based-standards] (PRIXLEAST16): Likewise.
18656 [C99-based-standards] (SCNdLEAST16): Likewise.
18657 [C99-based-standards] (SCNiLEAST16): Likewise.
18658 [C99-based-standards] (SCNoLEAST16): Likewise.
18659 [C99-based-standards] (SCNuLEAST16): Likewise.
18660 [C99-based-standards] (SCNxLEAST16): Likewise.
18661 [C99-based-standards] (PRIdFAST16): Likewise.
18662 [C99-based-standards] (PRIiFAST16): Likewise.
18663 [C99-based-standards] (PRIoFAST16): Likewise.
18664 [C99-based-standards] (PRIuFAST16): Likewise.
18665 [C99-based-standards] (PRIxFAST16): Likewise.
18666 [C99-based-standards] (PRIXFAST16): Likewise.
18667 [C99-based-standards] (SCNdFAST16): Likewise.
18668 [C99-based-standards] (SCNiFAST16): Likewise.
18669 [C99-based-standards] (SCNoFAST16): Likewise.
18670 [C99-based-standards] (SCNuFAST16): Likewise.
18671 [C99-based-standards] (SCNxFAST16): Likewise.
18672 [C99-based-standards] (PRId32): Likewise.
18673 [C99-based-standards] (PRIi32): Likewise.
18674 [C99-based-standards] (PRIo32): Likewise.
18675 [C99-based-standards] (PRIu32): Likewise.
18676 [C99-based-standards] (PRIx32): Likewise.
18677 [C99-based-standards] (PRIX32): Likewise.
18678 [C99-based-standards] (SCNd32): Likewise.
18679 [C99-based-standards] (SCNi32): Likewise.
18680 [C99-based-standards] (SCNo32): Likewise.
18681 [C99-based-standards] (SCNu32): Likewise.
18682 [C99-based-standards] (SCNx32): Likewise.
18683 [C99-based-standards] (PRIdLEAST32): Likewise.
18684 [C99-based-standards] (PRIiLEAST32): Likewise.
18685 [C99-based-standards] (PRIoLEAST32): Likewise.
18686 [C99-based-standards] (PRIuLEAST32): Likewise.
18687 [C99-based-standards] (PRIxLEAST32): Likewise.
18688 [C99-based-standards] (PRIXLEAST32): Likewise.
18689 [C99-based-standards] (SCNdLEAST32): Likewise.
18690 [C99-based-standards] (SCNiLEAST32): Likewise.
18691 [C99-based-standards] (SCNoLEAST32): Likewise.
18692 [C99-based-standards] (SCNuLEAST32): Likewise.
18693 [C99-based-standards] (SCNxLEAST32): Likewise.
18694 [C99-based-standards] (PRIdFAST32): Likewise.
18695 [C99-based-standards] (PRIiFAST32): Likewise.
18696 [C99-based-standards] (PRIoFAST32): Likewise.
18697 [C99-based-standards] (PRIuFAST32): Likewise.
18698 [C99-based-standards] (PRIxFAST32): Likewise.
18699 [C99-based-standards] (PRIXFAST32): Likewise.
18700 [C99-based-standards] (SCNdFAST32): Likewise.
18701 [C99-based-standards] (SCNiFAST32): Likewise.
18702 [C99-based-standards] (SCNoFAST32): Likewise.
18703 [C99-based-standards] (SCNuFAST32): Likewise.
18704 [C99-based-standards] (SCNxFAST32): Likewise.
18705 [C99-based-standards] (PRId64): Likewise.
18706 [C99-based-standards] (PRIi64): Likewise.
18707 [C99-based-standards] (PRIo64): Likewise.
18708 [C99-based-standards] (PRIu64): Likewise.
18709 [C99-based-standards] (PRIx64): Likewise.
18710 [C99-based-standards] (PRIX64): Likewise.
18711 [C99-based-standards] (SCNd64): Likewise.
18712 [C99-based-standards] (SCNi64): Likewise.
18713 [C99-based-standards] (SCNo64): Likewise.
18714 [C99-based-standards] (SCNu64): Likewise.
18715 [C99-based-standards] (SCNx64): Likewise.
18716 [C99-based-standards] (PRIdLEAST64): Likewise.
18717 [C99-based-standards] (PRIiLEAST64): Likewise.
18718 [C99-based-standards] (PRIoLEAST64): Likewise.
18719 [C99-based-standards] (PRIuLEAST64): Likewise.
18720 [C99-based-standards] (PRIxLEAST64): Likewise.
18721 [C99-based-standards] (PRIXLEAST64): Likewise.
18722 [C99-based-standards] (SCNdLEAST64): Likewise.
18723 [C99-based-standards] (SCNiLEAST64): Likewise.
18724 [C99-based-standards] (SCNoLEAST64): Likewise.
18725 [C99-based-standards] (SCNuLEAST64): Likewise.
18726 [C99-based-standards] (SCNxLEAST64): Likewise.
18727 [C99-based-standards] (PRIdFAST64): Likewise.
18728 [C99-based-standards] (PRIiFAST64): Likewise.
18729 [C99-based-standards] (PRIoFAST64): Likewise.
18730 [C99-based-standards] (PRIuFAST64): Likewise.
18731 [C99-based-standards] (PRIxFAST64): Likewise.
18732 [C99-based-standards] (PRIXFAST64): Likewise.
18733 [C99-based-standards] (SCNdFAST64): Likewise.
18734 [C99-based-standards] (SCNiFAST64): Likewise.
18735 [C99-based-standards] (SCNoFAST64): Likewise.
18736 [C99-based-standards] (SCNuFAST64): Likewise.
18737 [C99-based-standards] (SCNxFAST64): Likewise.
18738 [C99-based-standards] (PRIdMAX): Likewise.
18739 [C99-based-standards] (PRIiMAX): Likewise.
18740 [C99-based-standards] (PRIoMAX): Likewise.
18741 [C99-based-standards] (PRIuMAX): Likewise.
18742 [C99-based-standards] (PRIxMAX): Likewise.
18743 [C99-based-standards] (PRIXMAX): Likewise.
18744 [C99-based-standards] (SCNdMAX): Likewise.
18745 [C99-based-standards] (SCNiMAX): Likewise.
18746 [C99-based-standards] (SCNoMAX): Likewise.
18747 [C99-based-standards] (SCNuMAX): Likewise.
18748 [C99-based-standards] (SCNxMAX): Likewise.
18749 [C99-based-standards] (PRIdPTR): Likewise.
18750 [C99-based-standards] (PRIiPTR): Likewise.
18751 [C99-based-standards] (PRIoPTR): Likewise.
18752 [C99-based-standards] (PRIuPTR): Likewise.
18753 [C99-based-standards] (PRIxPTR): Likewise.
18754 [C99-based-standards] (PRIXPTR): Likewise.
18755 [C99-based-standards] (SCNdPTR): Likewise.
18756 [C99-based-standards] (SCNiPTR): Likewise.
18757 [C99-based-standards] (SCNoPTR): Likewise.
18758 [C99-based-standards] (SCNuPTR): Likewise.
18759 [C99-based-standards] (SCNxPTR): Likewise.
18760 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18761 allow.
18762 * conform/data/stdint.h-data: Update comments to clarify
18763 requirements.
18764 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18765 type.
18766 [C99-based standards] (INT8_MAX): Likewise.
18767 [C99-based standards] (INT16_MIN): Likewise.
18768 [C99-based standards] (INT16_MAX): Likewise.
18769 [C99-based standards] (INT32_MIN): Likewise.
18770 [C99-based standards] (INT32_MAX): Likewise.
18771 [C99-based standards] (INT64_MIN): Likewise.
18772 [C99-based standards] (INT64_MAX): Likewise.
18773 [C99-based standards] (UINT8_MAX): Likewise.
18774 [C99-based standards] (UINT16_MAX): Likewise.
18775 [C99-based standards] (UINT32_MAX): Likewise.
18776 [C99-based standards] (UINT64_MAX): Likewise.
18777 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18778 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18779 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18780 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18781 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18782 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18783 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18784 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18785 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18786 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18787 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18788 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18789 [C99-based standards] (INT_FAST8_MIN): Likewise.
18790 [C99-based standards] (INT_FAST8_MAX): Likewise.
18791 [C99-based standards] (INT_FAST16_MIN): Likewise.
18792 [C99-based standards] (INT_FAST16_MAX): Likewise.
18793 [C99-based standards] (INT_FAST32_MIN): Likewise.
18794 [C99-based standards] (INT_FAST32_MAX): Likewise.
18795 [C99-based standards] (INT_FAST64_MIN): Likewise.
18796 [C99-based standards] (INT_FAST64_MAX): Likewise.
18797 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18798 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18799 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18800 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18801 [C99-based standards] (INTPTR_MIN): Likewise.
18802 [C99-based standards] (INTPTR_MAX): Likewise.
18803 [C99-based standards] (UINTPTR_MAX): Likewise.
18804 [C99-based standards] (INTMAX_MIN): Likewise.
18805 [C99-based standards] (INTMAX_MAX): Likewise.
18806 [C99-based standards] (UINTMAX_MAX): Likewise.
18807 [C99-based standards] (PTRDIFF_MIN): Likewise.
18808 [C99-based standards] (PTRDIFF_MAX): Likewise.
18809 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18810 [C99-based standards] (SIZE_MAX): Likewise.
18811 [C99-based standards] (WCHAR_MAX): Likewise.
18812 [C99-based standards] (WINT_MAX): Likewise.
18813 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18814 constraint on value.
18815 [C99-based standards] (WCHAR_MIN): Likewise.
18816 [C99-based standards] (WINT_MIN): Likewise.
18817 [C99-based standards] (*_t): Allow.
18818 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18819 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18820 Include math.h-data and complex.h-data. Remove all expectations
18821 of math.h and complex.h contents.
18822 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18823 at end of line.
18824 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18825 (struct tm): Expect tag.
18826 [C99-based-standards] (wcstof): Expect function.
18827 [C99-based-standards] (wcstold): Likewise.
18828 [C99-based-standards] (wcstoll): Likewise.
18829 [C99-based-standards] (wcstoull): Likewise.
18830 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18831 macro-int-constant. Specify type.
18832 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18833 constraint on value.
18834 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18835 Specify type.
18836 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18837 Specify value.
18838 [ISO C standards]: Do not allow headers.
18839 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18840 wcs[abcdefghijklmnopqrstuvwxyz]*.
18841 [ISO C standards] (*_t): Do not allow.
18842 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18843 Expect function.
18844 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18845 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18846 Specify type.
18847 [ISO C standards]: Do not allow headers.
18848 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18849 is[abcdefghijklmnopqrstuvwxyz]*.
18850 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18851 to[abcdefghijklmnopqrstuvwxyz]*.
18852 [ISO C standards] (*_t): Do not allow.
18853 * conform/data/stdalign.h-data: New file.
18854 * conform/data/stdbool.h-data: Likewise.
18855 * conform/data/stdnoreturn.h-data: Likewise.
18856
18857 2012-11-07 Roland McGrath <roland@hack.frob.com>
18858
18859 [BZ #14815]
18860 * manual/filesys.texi (Directory Entries): Typo fix.
18861 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18862
18863 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18864
18865 * elf/elf.h (EM_AARCH64): New macro.
18866 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18867 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18868 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18869 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18870 (R_AARCH64_TLSDESC): Likewise.
18871 (NT_ARM_TLS): Likewise.
18872 (NT_ARM_HW_BREAK): Likewise.
18873 (NT_ARM_HW_WATCH): Likewise.
18874
18875 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18876
18877 [BZ #14811]
18878 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18879 (__ieee754_powl): Saturate nonzero exponents with absolute value
18880 below 0x1p-79 to +/- 0x1p-79.
18881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18882 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18883 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18884 nonzero exponents with absolute value below 0x1p-32 to +/-
18885 0x1p-32.
18886 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18887 (__ieee754_powl): Saturate nonzero exponents with absolute value
18888 below 0x1p-79 to +/- 0x1p-79.
18889 * math/libm-test.inc (pow_test): Add more tests.
18890
18891 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18892
18893 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18894 _dl_s390_cap_flags with kernel. Increase string length.
18895 (_dl_s390_platforms): Add z196 and zEC12.
18896
18897 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18898
18899 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18900 Change XOPEN21K to XOPEN2K.
18901
18902 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18903
18904 * string/memmove.c: Use memcpy when possible.
18905
18906 2012-11-06 Andreas Jaeger <aj@suse.de>
18907
18908 * po/eo.po: Update from translation team.
18909
18910 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18911
18912 [BZ #14793]
18913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18914 exponent and small x and y exponents, scale x or y up. Increase
18915 by 2 the exponent used in scaling up.
18916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18918 * math/libm-test.inc (fma_test): Add more tests.
18919 (fma_test_towardzero): Likewise.
18920 (fma_test_downward): Likewise.
18921 (fma_test_upward): Likewise.
18922
18923 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18924
18925 [BZ #14805]
18926 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18927 fenv_t *.
18928
18929 [BZ #14801]
18930 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18931 namespace for names of struct fields.
18932 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18933 fenv_t fields.
18934 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18935 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18936
18937 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18938
18939 [BZ #3665]
18940 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18941
18942 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18943
18944 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18945 PTR_DEMANGLE.
18946
18947 [BZ #5246]
18948 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18949 PTR_DEMANGLE.
18950
18951 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18952
18953 [BZ #14797]
18954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18955 definitely overflow as x * y not x * y + z.
18956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18958 * math/libm-test.inc (fma_test): Add more tests.
18959 (fma_test_towardzero): Likewise.
18960 (fma_test_downward): Likewise.
18961 (fma_test_upward): Likewise.
18962
18963 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18964
18965 [BZ #157]
18966
18967 * include/stub-tag.h: Remove file.
18968 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18969 '#include' of it.
18970 * manual/maint.texi (Porting): Don't reference it.
18971 * Makerules ($(objpfx)stubs): Likewise.
18972 * dirent/closedir.c: Don't include <stub-tag.h>.
18973 * dirent/dirfd.c: Likewise.
18974 * dirent/fdopendir.c: Likewise.
18975 * dirent/getdents.c: Likewise.
18976 * dirent/getdents64.c: Likewise.
18977 * dirent/opendir.c: Likewise.
18978 * dirent/readdir.c: Likewise.
18979 * dirent/readdir64.c: Likewise.
18980 * dirent/readdir64_r.c: Likewise.
18981 * dirent/readdir_r.c: Likewise.
18982 * dirent/rewinddir.c: Likewise.
18983 * dirent/seekdir.c: Likewise.
18984 * dirent/telldir.c: Likewise.
18985 * gmon/profil.c: Likewise.
18986 * grp/setgroups.c: Likewise.
18987 * inet/if_index.c: Likewise.
18988 * io/access.c: Likewise.
18989 * io/chdir.c: Likewise.
18990 * io/chmod.c: Likewise.
18991 * io/chown.c: Likewise.
18992 * io/close.c: Likewise.
18993 * io/dup.c: Likewise.
18994 * io/dup2.c: Likewise.
18995 * io/dup3.c: Likewise.
18996 * io/euidaccess.c: Likewise.
18997 * io/faccessat.c: Likewise.
18998 * io/fchdir.c: Likewise.
18999 * io/fchmod.c: Likewise.
19000 * io/fchmodat.c: Likewise.
19001 * io/fchown.c: Likewise.
19002 * io/fchownat.c: Likewise.
19003 * io/fcntl.c: Likewise.
19004 * io/flock.c: Likewise.
19005 * io/fstatfs.c: Likewise.
19006 * io/fstatfs64.c: Likewise.
19007 * io/fstatvfs.c: Likewise.
19008 * io/fstatvfs64.c: Likewise.
19009 * io/futimens.c: Likewise.
19010 * io/fxstat.c: Likewise.
19011 * io/fxstat64.c: Likewise.
19012 * io/fxstatat.c: Likewise.
19013 * io/fxstatat64.c: Likewise.
19014 * io/getcwd.c: Likewise.
19015 * io/isatty.c: Likewise.
19016 * io/lchmod.c: Likewise.
19017 * io/lchown.c: Likewise.
19018 * io/link.c: Likewise.
19019 * io/linkat.c: Likewise.
19020 * io/lseek.c: Likewise.
19021 * io/lseek64.c: Likewise.
19022 * io/lxstat64.c: Likewise.
19023 * io/mkdir.c: Likewise.
19024 * io/mkdirat.c: Likewise.
19025 * io/mkfifo.c: Likewise.
19026 * io/mkfifoat.c: Likewise.
19027 * io/open.c: Likewise.
19028 * io/open64.c: Likewise.
19029 * io/openat.c: Likewise.
19030 * io/openat64.c: Likewise.
19031 * io/pipe.c: Likewise.
19032 * io/pipe2.c: Likewise.
19033 * io/poll.c: Likewise.
19034 * io/posix_fadvise.c: Likewise.
19035 * io/posix_fadvise64.c: Likewise.
19036 * io/posix_fallocate.c: Likewise.
19037 * io/posix_fallocate64.c: Likewise.
19038 * io/read.c: Likewise.
19039 * io/readlink.c: Likewise.
19040 * io/readlinkat.c: Likewise.
19041 * io/rmdir.c: Likewise.
19042 * io/sendfile.c: Likewise.
19043 * io/sendfile64.c: Likewise.
19044 * io/statfs.c: Likewise.
19045 * io/statfs64.c: Likewise.
19046 * io/statvfs.c: Likewise.
19047 * io/statvfs64.c: Likewise.
19048 * io/symlink.c: Likewise.
19049 * io/symlinkat.c: Likewise.
19050 * io/ttyname.c: Likewise.
19051 * io/ttyname_r.c: Likewise.
19052 * io/umask.c: Likewise.
19053 * io/unlink.c: Likewise.
19054 * io/unlinkat.c: Likewise.
19055 * io/utime.c: Likewise.
19056 * io/utimensat.c: Likewise.
19057 * io/write.c: Likewise.
19058 * io/xmknod.c: Likewise.
19059 * io/xmknodat.c: Likewise.
19060 * io/xstat.c: Likewise.
19061 * io/xstat64.c: Likewise.
19062 * login/getpt.c: Likewise.
19063 * login/grantpt.c: Likewise.
19064 * login/unlockpt.c: Likewise.
19065 * math/e_acoshl.c: Likewise.
19066 * math/e_acosl.c: Likewise.
19067 * math/e_asinl.c: Likewise.
19068 * math/e_atan2l.c: Likewise.
19069 * math/e_atanhl.c: Likewise.
19070 * math/e_coshl.c: Likewise.
19071 * math/e_expl.c: Likewise.
19072 * math/e_fmodl.c: Likewise.
19073 * math/e_gammal_r.c: Likewise.
19074 * math/e_hypotl.c: Likewise.
19075 * math/e_j0l.c: Likewise.
19076 * math/e_j1l.c: Likewise.
19077 * math/e_jnl.c: Likewise.
19078 * math/e_lgammal_r.c: Likewise.
19079 * math/e_log10l.c: Likewise.
19080 * math/e_log2l.c: Likewise.
19081 * math/e_logl.c: Likewise.
19082 * math/e_powl.c: Likewise.
19083 * math/e_rem_pio2l.c: Likewise.
19084 * math/e_sinhl.c: Likewise.
19085 * math/e_sqrtl.c: Likewise.
19086 * math/fclrexcpt.c: Likewise.
19087 * math/fedisblxcpt.c: Likewise.
19088 * math/feenablxcpt.c: Likewise.
19089 * math/fegetenv.c: Likewise.
19090 * math/fegetexcept.c: Likewise.
19091 * math/fegetround.c: Likewise.
19092 * math/feholdexcpt.c: Likewise.
19093 * math/fesetenv.c: Likewise.
19094 * math/fesetround.c: Likewise.
19095 * math/feupdateenv.c: Likewise.
19096 * math/fgetexcptflg.c: Likewise.
19097 * math/fraiseexcpt.c: Likewise.
19098 * math/fsetexcptflg.c: Likewise.
19099 * math/ftestexcept.c: Likewise.
19100 * math/k_cosl.c: Likewise.
19101 * math/k_rem_pio2l.c: Likewise.
19102 * math/k_sinl.c: Likewise.
19103 * math/k_tanl.c: Likewise.
19104 * math/s_asinhl.c: Likewise.
19105 * math/s_atanl.c: Likewise.
19106 * math/s_cbrtl.c: Likewise.
19107 * math/s_erfl.c: Likewise.
19108 * math/s_expm1l.c: Likewise.
19109 * math/s_log1pl.c: Likewise.
19110 * math/s_tanhl.c: Likewise.
19111 * misc/acct.c: Likewise.
19112 * misc/brk.c: Likewise.
19113 * misc/chflags.c: Likewise.
19114 * misc/chroot.c: Likewise.
19115 * misc/fchflags.c: Likewise.
19116 * misc/fgetxattr.c: Likewise.
19117 * misc/flistxattr.c: Likewise.
19118 * misc/fremovexattr.c: Likewise.
19119 * misc/fsetxattr.c: Likewise.
19120 * misc/fsync.c: Likewise.
19121 * misc/ftruncate.c: Likewise.
19122 * misc/futimes.c: Likewise.
19123 * misc/futimesat.c: Likewise.
19124 * misc/getdomain.c: Likewise.
19125 * misc/getdtsz.c: Likewise.
19126 * misc/gethostid.c: Likewise.
19127 * misc/gethostname.c: Likewise.
19128 * misc/getloadavg.c: Likewise.
19129 * misc/getpagesize.c: Likewise.
19130 * misc/getsysstats.c: Likewise.
19131 * misc/getxattr.c: Likewise.
19132 * misc/gtty.c: Likewise.
19133 * misc/ioctl.c: Likewise.
19134 * misc/lgetxattr.c: Likewise.
19135 * misc/listxattr.c: Likewise.
19136 * misc/llistxattr.c: Likewise.
19137 * misc/lremovexattr.c: Likewise.
19138 * misc/lsetxattr.c: Likewise.
19139 * misc/lutimes.c: Likewise.
19140 * misc/madvise.c: Likewise.
19141 * misc/mincore.c: Likewise.
19142 * misc/mlock.c: Likewise.
19143 * misc/mlockall.c: Likewise.
19144 * misc/mmap.c: Likewise.
19145 * misc/mprotect.c: Likewise.
19146 * misc/msync.c: Likewise.
19147 * misc/munlock.c: Likewise.
19148 * misc/munlockall.c: Likewise.
19149 * misc/munmap.c: Likewise.
19150 * misc/preadv.c: Likewise.
19151 * misc/preadv64.c: Likewise.
19152 * misc/ptrace.c: Likewise.
19153 * misc/pwritev.c: Likewise.
19154 * misc/pwritev64.c: Likewise.
19155 * misc/readv.c: Likewise.
19156 * misc/reboot.c: Likewise.
19157 * misc/remap_file_pages.c: Likewise.
19158 * misc/removexattr.c: Likewise.
19159 * misc/revoke.c: Likewise.
19160 * misc/select.c: Likewise.
19161 * misc/setdomain.c: Likewise.
19162 * misc/setegid.c: Likewise.
19163 * misc/seteuid.c: Likewise.
19164 * misc/sethostid.c: Likewise.
19165 * misc/sethostname.c: Likewise.
19166 * misc/setregid.c: Likewise.
19167 * misc/setreuid.c: Likewise.
19168 * misc/setxattr.c: Likewise.
19169 * misc/sstk.c: Likewise.
19170 * misc/stty.c: Likewise.
19171 * misc/swapoff.c: Likewise.
19172 * misc/swapon.c: Likewise.
19173 * misc/sync.c: Likewise.
19174 * misc/syncfs.c: Likewise.
19175 * misc/syscall.c: Likewise.
19176 * misc/truncate.c: Likewise.
19177 * misc/ualarm.c: Likewise.
19178 * misc/usleep.c: Likewise.
19179 * misc/ustat.c: Likewise.
19180 * misc/utimes.c: Likewise.
19181 * misc/vhangup.c: Likewise.
19182 * misc/writev.c: Likewise.
19183 * posix/_exit.c: Likewise.
19184 * posix/alarm.c: Likewise.
19185 * posix/execve.c: Likewise.
19186 * posix/fexecve.c: Likewise.
19187 * posix/fork.c: Likewise.
19188 * posix/fpathconf.c: Likewise.
19189 * posix/getaddrinfo.c: Likewise.
19190 * posix/getegid.c: Likewise.
19191 * posix/geteuid.c: Likewise.
19192 * posix/getgid.c: Likewise.
19193 * posix/getgroups.c: Likewise.
19194 * posix/getlogin.c: Likewise.
19195 * posix/getlogin_r.c: Likewise.
19196 * posix/getpgid.c: Likewise.
19197 * posix/getpid.c: Likewise.
19198 * posix/getppid.c: Likewise.
19199 * posix/getresgid.c: Likewise.
19200 * posix/getresuid.c: Likewise.
19201 * posix/getsid.c: Likewise.
19202 * posix/getuid.c: Likewise.
19203 * posix/glob64.c: Likewise.
19204 * posix/nanosleep.c: Likewise.
19205 * posix/pathconf.c: Likewise.
19206 * posix/pause.c: Likewise.
19207 * posix/posix_madvise.c: Likewise.
19208 * posix/pread.c: Likewise.
19209 * posix/pread64.c: Likewise.
19210 * posix/pwrite.c: Likewise.
19211 * posix/pwrite64.c: Likewise.
19212 * posix/sched_getaffinity.c: Likewise.
19213 * posix/sched_getp.c: Likewise.
19214 * posix/sched_gets.c: Likewise.
19215 * posix/sched_primax.c: Likewise.
19216 * posix/sched_primin.c: Likewise.
19217 * posix/sched_rr_gi.c: Likewise.
19218 * posix/sched_setaffinity.c: Likewise.
19219 * posix/sched_setp.c: Likewise.
19220 * posix/sched_sets.c: Likewise.
19221 * posix/sched_yield.c: Likewise.
19222 * posix/setgid.c: Likewise.
19223 * posix/setlogin.c: Likewise.
19224 * posix/setpgid.c: Likewise.
19225 * posix/setresgid.c: Likewise.
19226 * posix/setresuid.c: Likewise.
19227 * posix/setsid.c: Likewise.
19228 * posix/setuid.c: Likewise.
19229 * posix/sleep.c: Likewise.
19230 * posix/spawni.c: Likewise.
19231 * posix/sysconf.c: Likewise.
19232 * posix/times.c: Likewise.
19233 * posix/wait.c: Likewise.
19234 * posix/wait3.c: Likewise.
19235 * posix/wait4.c: Likewise.
19236 * posix/waitpid.c: Likewise.
19237 * resolv/gai_sigqueue.c: Likewise.
19238 * resource/getpriority.c: Likewise.
19239 * resource/getrlimit.c: Likewise.
19240 * resource/getrusage.c: Likewise.
19241 * resource/nice.c: Likewise.
19242 * resource/setpriority.c: Likewise.
19243 * resource/setrlimit.c: Likewise.
19244 * resource/ulimit.c: Likewise.
19245 * rt/aio_cancel.c: Likewise.
19246 * rt/aio_fsync.c: Likewise.
19247 * rt/aio_read.c: Likewise.
19248 * rt/aio_sigqueue.c: Likewise.
19249 * rt/aio_suspend.c: Likewise.
19250 * rt/aio_write.c: Likewise.
19251 * rt/clock_getres.c: Likewise.
19252 * rt/clock_gettime.c: Likewise.
19253 * rt/clock_nanosleep.c: Likewise.
19254 * rt/clock_settime.c: Likewise.
19255 * rt/lio_listio.c: Likewise.
19256 * rt/mq_close.c: Likewise.
19257 * rt/mq_getattr.c: Likewise.
19258 * rt/mq_notify.c: Likewise.
19259 * rt/mq_open.c: Likewise.
19260 * rt/mq_receive.c: Likewise.
19261 * rt/mq_send.c: Likewise.
19262 * rt/mq_setattr.c: Likewise.
19263 * rt/mq_timedreceive.c: Likewise.
19264 * rt/mq_timedsend.c: Likewise.
19265 * rt/mq_unlink.c: Likewise.
19266 * rt/shm_open.c: Likewise.
19267 * rt/shm_unlink.c: Likewise.
19268 * rt/timer_create.c: Likewise.
19269 * rt/timer_delete.c: Likewise.
19270 * rt/timer_getoverr.c: Likewise.
19271 * rt/timer_gettime.c: Likewise.
19272 * rt/timer_settime.c: Likewise.
19273 * setjmp/__longjmp.c: Likewise.
19274 * setjmp/setjmp.c: Likewise.
19275 * signal/kill.c: Likewise.
19276 * signal/killpg.c: Likewise.
19277 * signal/raise.c: Likewise.
19278 * signal/sigaction.c: Likewise.
19279 * signal/sigaltstack.c: Likewise.
19280 * signal/sigblock.c: Likewise.
19281 * signal/sigignore.c: Likewise.
19282 * signal/sigintr.c: Likewise.
19283 * signal/signal.c: Likewise.
19284 * signal/sigpause.c: Likewise.
19285 * signal/sigpending.c: Likewise.
19286 * signal/sigqueue.c: Likewise.
19287 * signal/sigreturn.c: Likewise.
19288 * signal/sigset.c: Likewise.
19289 * signal/sigsetmask.c: Likewise.
19290 * signal/sigstack.c: Likewise.
19291 * signal/sigsuspend.c: Likewise.
19292 * signal/sigtimedwait.c: Likewise.
19293 * signal/sigvec.c: Likewise.
19294 * signal/sigwait.c: Likewise.
19295 * signal/sigwaitinfo.c: Likewise.
19296 * signal/sysv_signal.c: Likewise.
19297 * socket/accept.c: Likewise.
19298 * socket/accept4.c: Likewise.
19299 * socket/bind.c: Likewise.
19300 * socket/connect.c: Likewise.
19301 * socket/getpeername.c: Likewise.
19302 * socket/getsockname.c: Likewise.
19303 * socket/getsockopt.c: Likewise.
19304 * socket/isfdtype.c: Likewise.
19305 * socket/listen.c: Likewise.
19306 * socket/recv.c: Likewise.
19307 * socket/recvfrom.c: Likewise.
19308 * socket/recvmsg.c: Likewise.
19309 * socket/send.c: Likewise.
19310 * socket/sendmsg.c: Likewise.
19311 * socket/sendto.c: Likewise.
19312 * socket/setsockopt.c: Likewise.
19313 * socket/shutdown.c: Likewise.
19314 * socket/sockatmark.c: Likewise.
19315 * socket/socket.c: Likewise.
19316 * socket/socketpair.c: Likewise.
19317 * stdio-common/ctermid.c: Likewise.
19318 * stdio-common/cuserid.c: Likewise.
19319 * stdio-common/remove.c: Likewise.
19320 * stdio-common/rename.c: Likewise.
19321 * stdio-common/renameat.c: Likewise.
19322 * stdio-common/tempname.c: Likewise.
19323 * stdlib/getcontext.c: Likewise.
19324 * stdlib/makecontext.c: Likewise.
19325 * stdlib/setcontext.c: Likewise.
19326 * stdlib/swapcontext.c: Likewise.
19327 * stdlib/system.c: Likewise.
19328 * streams/fattach.c: Likewise.
19329 * streams/fdetach.c: Likewise.
19330 * streams/getmsg.c: Likewise.
19331 * streams/getpmsg.c: Likewise.
19332 * streams/putmsg.c: Likewise.
19333 * streams/putpmsg.c: Likewise.
19334 * sysdeps/unix/bsd/getpt.c: Likewise.
19335 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19336 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19337 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19339 Likewise.
19340 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19341 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19342 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19343 * sysvipc/msgctl.c: Likewise.
19344 * sysvipc/msgget.c: Likewise.
19345 * sysvipc/msgrcv.c: Likewise.
19346 * sysvipc/msgsnd.c: Likewise.
19347 * sysvipc/semctl.c: Likewise.
19348 * sysvipc/semget.c: Likewise.
19349 * sysvipc/semop.c: Likewise.
19350 * sysvipc/semtimedop.c: Likewise.
19351 * sysvipc/shmat.c: Likewise.
19352 * sysvipc/shmctl.c: Likewise.
19353 * sysvipc/shmdt.c: Likewise.
19354 * sysvipc/shmget.c: Likewise.
19355 * termios/tcdrain.c: Likewise.
19356 * termios/tcflow.c: Likewise.
19357 * termios/tcflush.c: Likewise.
19358 * termios/tcgetattr.c: Likewise.
19359 * termios/tcgetpgrp.c: Likewise.
19360 * termios/tcsendbrk.c: Likewise.
19361 * termios/tcsetattr.c: Likewise.
19362 * termios/tcsetpgrp.c: Likewise.
19363 * time/adjtime.c: Likewise.
19364 * time/clock.c: Likewise.
19365 * time/getitimer.c: Likewise.
19366 * time/gettimeofday.c: Likewise.
19367 * time/setitimer.c: Likewise.
19368 * time/settimeofday.c: Likewise.
19369 * time/stime.c: Likewise.
19370 * time/time.c: Likewise.
19371
19372 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19373
19374 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19375 /usr/old/bin.
19376
19377 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19378 instead of spaces.
19379 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19380
19381 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19382
19383 [BZ #14796]
19384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19385 FE_TONEAREST before applying Dekker multiplication and Knuth
19386 addition. Clear inexact exceptions and check for exact zero
19387 results afterwards.
19388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19391 * math/libm-test.inc (fma_test): Add more tests.
19392 (fma_test_towardzero): Likewise.
19393 (fma_test_downward): Likewise.
19394 (fma_test_upward): Likewise.
19395 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19396 function.
19397 (libc_fesetround): New macro.
19398 (libc_fesetroundf): Likewise.
19399 (libc_fesetroundl): Likewise.
19400 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19401 function.
19402 (libc_fesetround_387): Likewise.
19403 (libc_fesetroundf): New macro.
19404 (libc_fesetround): Likewise.
19405 (libc_fesetroundl): Likewise.
19406 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19407 function.
19408 (libc_fesetroundf): New macro.
19409 (libc_fesetround): Likewise.
19410 (libc_fesetroundl): Likewise.
19411 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19412 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19413 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19414 libm_hidden_ver.
19415 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19416 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19417 libm_hidden_def.
19418 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19419 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19420 libm_hidden_ver.
19421 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19422 libm_hidden_def.
19423
19424 [BZ #3439]
19425 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19426 integer constant usable in #if and use that to give value to enum
19427 constant.
19428 (FE_DIVBYZERO): Likewise.
19429 (FE_UNDERFLOW): Likewise.
19430 (FE_OVERFLOW): Likewise.
19431 (FE_INVALID): Likewise.
19432 (FE_INVALID_SNAN): Likewise.
19433 (FE_INVALID_ISI): Likewise.
19434 (FE_INVALID_IDI): Likewise.
19435 (FE_INVALID_ZDZ): Likewise.
19436 (FE_INVALID_IMZ): Likewise.
19437 (FE_INVALID_COMPARE): Likewise.
19438 (FE_INVALID_SOFTWARE): Likewise.
19439 (FE_INVALID_SQRT): Likewise.
19440 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19441 (FE_TONEAREST): Likewise.
19442 (FE_TOWARDZERO): Likewise.
19443 (FE_UPWARD): Likewise.
19444 (FE_DOWNWARD): Likewise.
19445 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19446 (FE_DIVBYZERO): Likewise.
19447 (FE_OVERFLOW): Likewise.
19448 (FE_UNDERFLOW): Likewise.
19449 (FE_INEXACT): Likewise.
19450 (FE_TONEAREST): Likewise.
19451 (FE_DOWNWARD): Likewise.
19452 (FE_UPWARD): Likewise.
19453 (FE_TOWARDZERO): Likewise.
19454 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19455 (FE_UNDERFLOW): Likewise.
19456 (FE_OVERFLOW): Likewise.
19457 (FE_DIVBYZERO): Likewise.
19458 (FE_INVALID): Likewise.
19459 (FE_TONEAREST): Likewise.
19460 (FE_TOWARDZERO): Likewise.
19461 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19462 (FE_OVERFLOW): Likewise.
19463 (FE_UNDERFLOW): Likewise.
19464 (FE_DIVBYZERO): Likewise.
19465 (FE_INEXACT): Likewise.
19466 (FE_TONEAREST): Likewise.
19467 (FE_TOWARDZERO): Likewise.
19468 (FE_UPWARD): Likewise.
19469 (FE_DOWNWARD): Likewise.
19470 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19471 (FE_DIVBYZERO): Likewise.
19472 (FE_OVERFLOW): Likewise.
19473 (FE_UNDERFLOW): Likewise.
19474 (FE_INEXACT): Likewise.
19475 (FE_TONEAREST): Likewise.
19476 (FE_DOWNWARD): Likewise.
19477 (FE_UPWARD): Likewise.
19478 (FE_TOWARDZERO): Likewise.
19479
19480 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19481
19482 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19483
19484 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19485
19486 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19487 commands. Quote $PWD.
19488 (blacklist_exports): Don't use remove_newlines. Replace "declare
19489 -x" by "export".
19490 (remove_newlines): Remove.
19491
19492 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19493
19494 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19495 * stdlib/stdlib.h (atof): Moved to ...
19496 * include/bits/stdlib-float.h: Here. New file.
19497 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19498 * stdlib/bits/stdlib-float.h: New file.
19499 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19500 -mno-sse -mno-mmx.
19501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19502 <xmmintrin.h>.
19503
19504 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19505
19506 * conform/conformtest.pl (@headers): Add fenv.h.
19507 * conform/data/fenv.h-data: New file.
19508 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19509 include of <math/fenv.h>.
19510
19511 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19512 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19513 && !UNIX98]. Enables tests for XOPEN2K8.
19514 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19515 POSIX2008]: Likewise.
19516
19517 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19518 (struct rusage): Do not expect type or its members.
19519
19520 [BZ #3439]
19521 * math/math.h (FP_NAN): Define macro to integer constant usable in
19522 #if and use that to give value to enum constant.
19523 (FP_INFINITE): Likewise.
19524 (FP_ZERO): Likewise.
19525 (FP_SUBNORMAL): Likewise.
19526 (FP_NORMAL): Likewise.
19527
19528 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19529
19530 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19531 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19532 arguments.
19533
19534 2012-11-02 Roland McGrath <roland@hack.frob.com>
19535
19536 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19537 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19538 autoconf-time if not.
19539 * configure.in: Remove AC_PREREQ.
19540
19541 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19542
19543 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19544 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19545 of the internal implementation.
19546
19547 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19548
19549 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19550 except include of <misc/sys/syslog.h>.
19551
19552 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19553
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19555 function returns with a NULL context exit with zero.
19556
19557 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19558
19559 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19560
19561 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19562
19563 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19564 (run_program_cmd): This.
19565 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19566 (tst_langinfo): New variable. Use it.
19567
19568 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19569
19570 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19571 floating point opcodes.
19572
19573 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19574
19575 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19576 variable.
19577
19578 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19579
19580 * sysdeps/mach/hurd/powerpc: Remove directory.
19581 * sysdeps/mach/powerpc: Likewise.
19582
19583 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19584
19585 * scripts/check-local-headers.sh: Ignore c++ headers.
19586
19587 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19588
19589 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19590 __libc_cleanup_region_start argument.
19591
19592 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19593
19594 [BZ #14784]
19595 [BZ #14785]
19596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19597 x * y using scaling, not as x * y + z.
19598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19600 * math/libm-test.inc (fma_test): Add more tests.
19601 (fma_test_towardzero): Likewise.
19602 (fma_test_downward): Likewise.
19603 (fma_test_upward): Likewise.
19604
19605 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19606
19607 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19608
19609 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19610
19611 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19612 New variable.
19613
19614 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19615
19616 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19617
19618 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19619
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19621 Fix sort order.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19623 Likewise.
19624
19625 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19626
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19628 Fix the order of the list for glibc 2.17.
19629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19630 Likewise.
19631
19632 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19633
19634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19635
19636 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19637
19638 [BZ #14610]
19639 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19640 for low part of x being zero before using __atanl (y).
19641 * math/libm-test.inc (atan2_test): Add another test.
19642
19643 * manual/install.texi (Configuring and compiling): Document
19644 general use of test-wrapper and test-wrapper-env.
19645 * INSTALL: Regenerated.
19646
19647 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19648 (__fma): Do not extract and scale down low bits on after-rounding
19649 systems when result rounded to normal precision would have normal
19650 exponent.
19651 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19652 (__fmal): Do not extract and scale down low bits on after-rounding
19653 systems when result rounded to normal precision would have normal
19654 exponent.
19655 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19656 (__fmal): Do not extract and scale down low bits on after-rounding
19657 systems when result rounded to normal precision would have normal
19658 exponent.
19659 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19660 macro.
19661 (fma_test): Add more tests.
19662 (fma_test_towardzero): Likewise.
19663 (fma_test_downward): Likewise.
19664 (fma_test_upward): Likewise.
19665
19666 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19667
19668 * sysdeps/i386/tininess.h: Renamed to ...
19669 * sysdeps/x86/tininess.h: This.
19670 * sysdeps/x86_64/tininess.h: Removed.
19671
19672 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19673
19674 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19675 input. Use $(build-program-cmd).
19676 ($(objpfx)tst-array1-static.out): Likewise.
19677 ($(objpfx)tst-array2.out): Likewise.
19678 ($(objpfx)tst-array3.out): Likewise.
19679 ($(objpfx)tst-array4.out): Likewise.
19680 ($(objpfx)tst-array5.out): Likewise.
19681 ($(objpfx)tst-array5-static.out): Likewise.
19682
19683 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19684
19685 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19686 if defined.
19687
19688 * nss/nsswitch.h (nss_interface_function): Provide new
19689 macro for use with NSS functions.
19690 * grp/initgroups.c: Use new macro.
19691 * nss/getXXbyYY.c: Likewise.
19692 * nss/getXXbyYY_r.c: Likewise.
19693 * nss/getXXent.c: Likewise.
19694 * nss/getXXent_r.c: Likewise.
19695 * sysdeps/posix/getaddrinfo.c: Likewise.
19696
19697 2012-10-30 Andreas Jaeger <aj@suse.de>
19698
19699 * po/ru.po: Update Russion translation from translation project.
19700
19701 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19702
19703 [BZ #14152]
19704 [BZ #14783]
19705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19706 result and shift together with sticky bit instead of replicating
19707 round-to-nearest rounding.
19708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19710 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19711 missing underflow exceptions.
19712 (fma_test_towardzero): Add more tests.
19713 (fma_test_downward): Likewise.
19714 (fma_test_upward): Likewise.
19715
19716 [BZ #14047]
19717 * sysdeps/generic/tininess.h: New file.
19718 * sysdeps/i386/tininess.h: Likewise.
19719 * sysdeps/sh/tininess.h: Likewise.
19720 * sysdeps/x86_64/tininess.h: Likewise.
19721 * stdlib/tst-strtod-underflow.c: Likewise.
19722 * stdlib/tst-tininess.c: Likewise.
19723 * stdlib/strtod_l.c: Include <tininess.h>.
19724 (round_and_return): Do not set errno for exact underflow cases.
19725 Force an underflow exception when setting errno for underflow.
19726 Determine underflow based on rounding to normal precision if
19727 TININESS_AFTER_ROUNDING.
19728 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19729 ERANGE for exact underflow cases.
19730 * stdlib/Makefile (tests): Add tst-tininess and
19731 tst-strtod-underflow.
19732 ($(objpfx)tst-tininess): Use $(link-libm).
19733 ($(objpfx)tst-strtod-underflow): Likewise.
19734
19735 2012-10-30 Andreas Jaeger <aj@suse.de>
19736
19737 [BZ#14767]
19738 * elf/Makefile (tests): Remove conditional for have-initfini-array
19739 since this is now always required and the variable does not exist
19740 anymore.
19741 (tests-static): Likewise.
19742 (modules-names): Likewise.
19743
19744 * po/eo.po: Add Esperanto translation from translation project.
19745
19746 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19747 merged with constructor/destructor.
19748 (init_array): Likewise.
19749 * elf/tst-array2dep.c (fini_array): Likewise.
19750 (init_array): Likewise.
19751
19752 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19753
19754 * manual/message.texi: Delete @cartouche tags.
19755
19756 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19757
19758 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19759 EOPNOTSUPP.
19760 * sysdeps/mach/hurd/fsync.c: Likewise.
19761
19762 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19763 [_POSIX_REALTIME_SIGNALS]: Change condition to
19764 [_POSIX_REALTIME_SIGNALS > 0].
19765
19766 2012-10-27 Andreas Jaeger <aj@suse.de>
19767
19768 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19769 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19771 [__WORDSIZE != 64]: Likewise.
19772
19773 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19774
19775 * iconvdata/tst-table.sh: Remove ${SHELL}.
19776 * iconvdata/tst-tables.sh: Likewise.
19777
19778 2012-10-25 David S. Miller <davem@davemloft.net>
19779
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19781 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19782 of strtoull.
19783
19784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19785 ifunc-impl-list.c
19786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19787 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19788 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19789 file.
19790
19791 2012-10-25 Roland McGrath <roland@hack.frob.com>
19792
19793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19794 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19795 __getdirentries.
19796
19797 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19798 Jim Blandy <jimb@codesourcery.com>
19799
19800 * scripts/cross-test-ssh.sh: New file.
19801 * manual/install.texi (Configuring and compiling): Document use of
19802 cross-test-ssh.sh.
19803 * INSTALL: Regenerated.
19804
19805 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19806
19807 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19808 EOPNOTSUPP.
19809
19810 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19811
19812 * Makeconfig (run-program-prefix): Fix comment.
19813
19814 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19815 Jim Blandy <jimb@codesourcery.com>
19816
19817 * Makeconfig (test-wrapper): New variable,
19818 (test-wrapper-env): Likewise.
19819 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19820 (run-built-tests): Define to yes.
19821 (run-program-prefix): Use $(test-wrapper).
19822 (built-program-cmd): Likewise.
19823 * Rules (make-test-out): Use $(test-wrapper-env) and
19824 $(host-built-program-cmd).
19825 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19826 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19827 tst-pathopt.sh.
19828 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19829 $(test-wrapper-env) to tst-rtld-load-self.sh.
19830 ($(objpfx)order2.out): Use $(test-wrapper).
19831 ($(objpfx)tst-initorder.out): Likewise.
19832 ($(objpfx)tst-initorder2.out): Likewise.
19833 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19834 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19835 (test_wrapper_env): New variable. Use it to run ld.so.
19836 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19837 Use it to run ld.so.
19838 (test_wrapper_env): Likewise.
19839 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19840 $(test-wrapper) to run-iconv-test.sh.
19841 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19842 (ICONV): Use $test_wrapper.
19843 * posix/Makefile ($(objpfx)globtest.out): Pass
19844 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19845 globtest.sh, not $(run-program-prefix).
19846 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19847 (test_wrapper): Likewise.
19848 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19849 set together with run_via_rtld_prefix.
19850 (run_program_prefix): Define in terms of test_wrapper and
19851 run_via_rtld_prefix.
19852
19853 2012-10-24 Roland McGrath <roland@hack.frob.com>
19854
19855 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19856 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19857 Targets removed.
19858
19859 [BZ #14743]
19860 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19861 Declare __clock_getres, __clock_gettime, __clock_settime,
19862 __clock_nanosleep, and __clock_getcpuclockid.
19863 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19864 Remove librt_hidden_def (clock_gettime).
19865 * sysdeps/unix/clock_gettime.c: Likewise.
19866 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19867 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19868 * rt/clock_getres.c: Define __clock_getres as an alias.
19869 * sysdeps/posix/clock_getres.c: Likewise.
19870 * rt/clock_settime.c: Define __clock_settime as an alias.
19871 * sysdeps/unix/clock_settime.c: Likewise.
19872 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19873 * sysdeps/unix/clock_nanosleep.c: Likewise.
19874 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19875 * rt/clock-compat.c: New file.
19876 * rt/Makefile (librt-routines): Add clock-compat and move
19877 $(clock-routines) to ...
19878 (routines): ... here, new variable.
19879 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19880 Don't add get_clockfreq here.
19881 * rt/Versions (libc: GLIBC_2.17): New version set.
19882 Add clock_* symbols here.
19883 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19885 (GLIBC_2.17): Add clock_* symbols.
19886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19890 Likewise.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19892 Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19897 * NEWS: Mention the move.
19898
19899 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19900 Use __open, __read, __close rather than their public counterparts.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19902 (__get_clockfreq_via_cpuinfo): Likewise.
19903 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19904 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19905
19906 * config.h.in (HAVE_IFUNC): New #undef.
19907 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19908 was successful.
19909 * configure: Regenerated.
19910
19911 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19912
19913 * configure.in: Move READELF check to start of file.
19914 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19915 libc_cv_asm_gnu_indirect_function in the process.
19916 * configure: Regenerated.
19917
19918 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19919
19920 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19921 send the output to /dev/null.
19922 (libc_cv_cc_with_libunwind): Likewise.
19923 (libc_cv_as_noexecstack): Likewise.
19924 * configure: Regenerate.
19925
19926 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19927
19928 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19929
19930 * posix/globtest.sh (TMPDIR): Do not set.
19931 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19932 (testout): Likewise.
19933
19934 2012-10-24 Andreas Jaeger <aj@suse.de>
19935
19936 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19937 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19938 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19939 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19940 posix_fadvise64, posix_fallocate64.
19941
19942 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19943 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19944 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19945 Likewise.
19946 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19947 Likewise.
19948 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19949
19950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19951 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19952 <bits/fcntl-linux.h>.
19953 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19954
19955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19956 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19957 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19958 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19959 [__WORDSIZE != 64]: Likewise.
19960
19961 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19962
19963 * Makeconfig (run-built-tests): New variable.
19964 * Rules [$(cross-compiling) = yes]: Change condition to
19965 [$(run-built-tests) = no].
19966 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19967 to [$(run-built-tests) = yes].
19968 * elf/Makefile [$(cross-compiling) = no]: Likewise
19969 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19970 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19971 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19972 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19973 * io/Makefile [$(cross-compiling) = no]: Likewise.
19974 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19975 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19976 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19977 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19978 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19979 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19980 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19981 * string/Makefile [$(cross-compiling) = no]: Likewise.
19982
19983 * posix/Makefile ($(objpfx)globtest.out): Pass
19984 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19985 $(rtld-installed-name).
19986 * posix/globtest.sh (elf_objpfx): Remove variable.
19987 (rtld_installed_name): Likewise.
19988 (library_path): Likewise.
19989 (run_program_prefix): New variable. Use for running globtest
19990 binary.
19991
19992 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19993 Joseph Myers <joseph@codesourcery.com>
19994
19995 * Makeconfig (host-built-program-cmd): New variable.
19996 * elf/Makefile (tst-stackguard1-ARGS): Use
19997 $(host-built-program-cmd).
19998 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19999 (tst-spawn-ARGS): Likewise.
20000 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20001
20002 2012-10-23 Joseph Myers <joseph@codesourcery.com>
20003 Jim Blandy <jimb@codesourcery.com>
20004
20005 * Makeconfig (run-via-rtld-prefix): New variable.
20006 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20007 (built-program-cmd): Likewise.
20008
20009 2012-10-22 Andreas Jaeger <aj@suse.de>
20010
20011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20012 __O_RSYNC if it exists, otherwise to O_SYNC.
20013
20014 2012-10-22 Jim Blandy <jimb@codesourcery.com>
20015 Joseph Myers <joseph@codesourcery.com>
20016
20017 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20018 /dev/null.
20019 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20020 from /dev/null
20021 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20022 /dev/null.
20023
20024 2012-10-22 Andreas Jaeger <aj@suse.de>
20025
20026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20027 Define always.
20028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20029
20030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20031 bits/fcntl-linux.h.
20032
20033 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20034 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20035
20036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20037 to __O_LARGEFILE.
20038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20039 to __O_LARGEFILE.
20040
20041 2012-10-21 Jim Blandy <jimb@codesourcery.com>
20042 Joseph Myers <joseph@codesourcery.com>
20043
20044 * config.make.in (NM): New variable.
20045
20046 2012-10-21 Andreas Jaeger <aj@suse.de>
20047
20048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20049 definitions and declarations that are provided by
20050 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20051
20052 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20053
20054 [BZ #14683]
20055 * elf/Makefile (tests-static): Add tst-leaks1-static.
20056 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20057 ($(objpfx)tst-leaks1-static): New rule.
20058 ($(objpfx)tst-leaks1-static-mem): Likewise.
20059 (tst-leaks1-static-ENV): New macro.
20060 * elf/dl-open.c (dl_open_worker): Check the main application
20061 only if SHARED is defined.
20062 * elf/tst-leaks1-static.c: New file.
20063
20064 2012-10-20 Andreas Jaeger <aj@suse.de>
20065
20066 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20067 generic values for Linux.
20068 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20069 and declarations that are provided by <bits/fcntl-linux.h> and
20070 include <bits/fcntl-linux.h>.
20071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20073
20074 2012-10-20 Roland McGrath <roland@hack.frob.com>
20075
20076 * io/fcntl.h: Move include of <bits/types.h> to the top and
20077 include it unconditionally.
20078
20079 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * wcsmbs/Makefile (tests-ifunc): New variable.
20082 (tests): Add $(tests-ifunc).
20083 * wcsmbs/test-wcschr-ifunc.c: New file.
20084 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20085 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20086 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20087 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20088 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20089
20090 * string/Makefile (tests-ifunc): New variable.
20091 (tests): Add $(tests-ifunc).
20092 * string/test-memccpy.c (TEST_NAME): New macro.
20093 * string/test-memchr.c (TEST_NAME): Likewise.
20094 * string/test-memcmp.c (TEST_NAME): Likewise.
20095 * string/test-memcpy.c (TEST_NAME): Likewise.
20096 * string/test-memmem.c (TEST_NAME): Likewise.
20097 * string/test-memmove.c (TEST_NAME): Likewise.
20098 * string/test-memset.c (TEST_NAME): Likewise.
20099 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20100 * string/test-stpcpy.c (TEST_NAME): Likewise.
20101 * string/test-stpncpy.c (TEST_NAME): Likewise.
20102 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20103 * string/test-strcasestr.c (TEST_NAME): Likewise.
20104 * string/test-strcat.c (TEST_NAME): Likewise.
20105 * string/test-strchr.c (TEST_NAME): Likewise.
20106 * string/test-strcmp.c(TEST_NAME): Likewise.
20107 * string/test-strcpy.c (TEST_NAME): Likewise.
20108 * string/test-strcspn.c (TEST_NAME): Likewise.
20109 * string/test-strlen.c (TEST_NAME): Likewise.
20110 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20111 * string/test-strncmp.c (TEST_NAME): Likewise.
20112 * string/test-strncpy.c (TEST_NAME): Likewise.
20113 * string/test-strnlen.c (TEST_NAME): Likewise.
20114 * string/test-strpbrk.c (TEST_NAME): Likewise.
20115 * string/test-strrchr.c (TEST_NAME): Likewise.
20116 * string/test-strspn.c (TEST_NAME): Likewise.
20117 * string/test-strstr.c (TEST_NAME): Likewise.
20118 * string/test-bcopy-ifunc.c: New file.
20119 * string/test-bzero-ifunc.c: Likewise.
20120 * string/test-memccpy-ifunc.c: Likewise.
20121 * string/test-memchr-ifunc.c: Likewise.
20122 * string/test-memcmp-ifunc.c: Likewise.
20123 * string/test-memcpy-ifunc.c: Likewise.
20124 * string/test-memmem-ifunc.c: Likewise.
20125 * string/test-memmove-ifunc.c: Likewise.
20126 * string/test-mempcpy-ifunc.c: Likewise.
20127 * string/test-memset-ifunc.c: Likewise.
20128 * string/test-rawmemchr-ifunc.c: Likewise.
20129 * string/test-stpcpy-ifunc.c: Likewise.
20130 * string/test-stpncpy-ifunc.c: Likewise.
20131 * string/test-strcasecmp-ifunc.c: Likewise.
20132 * string/test-strcasestr-ifunc.c: Likewise.
20133 * string/test-strcat-ifunc.c: Likewise.
20134 * string/test-strchr-ifunc.c: Likewise.
20135 * string/test-strchrnul-ifunc.c: Likewise.
20136 * string/test-strcmp-ifunc.c: Likewise.
20137 * string/test-strcpy-ifunc.c: Likewise.
20138 * string/test-strcspn-ifunc.c: Likewise.
20139 * string/test-strlen-ifunc.c: Likewise.
20140 * string/test-strncasecmp-ifunc.c: Likewise.
20141 * string/test-strncat-ifunc.c: Likewise.
20142 * string/test-strncmp-ifunc.c: Likewise.
20143 * string/test-strncpy-ifunc.c: Likewise.
20144 * string/test-strnlen-ifunc.c: Likewise.
20145 * string/test-strpbrk-ifunc.c: Likewise.
20146 * string/test-strrchr-ifunc.c: Likewise.
20147 * string/test-strspn-ifunc.c: Likewise.
20148 * string/test-strstr-ifunc.c: Likewise.
20149
20150 * debug/Makefile (tests-ifunc): New variable.
20151 (tests): Add $(tests-ifunc).
20152 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20153 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20154 * debug/test-stpcpy_chk-ifunc.c: New file.
20155 * debug/test-strcpy_chk-ifunc.c: Likewise.
20156
20157 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20158
20159 [BZ #13601]
20160 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20161 header is not read in.
20162
20163 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20164
20165 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20166 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20167 directly. Pass built executable to script as
20168 $(built-program-cmd).
20169 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20170 $testprogram without using LD_LIBRARY_PATH and $ldso.
20171
20172 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20173 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20174 $(rtld-installed-name).
20175 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20176 (rtld_installed_name): Likewise.
20177 (library_path): Likewise.
20178 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20179 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20180 $(run-program-prefix) to tst-tables.sh.
20181 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20182 it to run tst-table-from and tst-table-to.
20183 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20184 Pass it to tst-table.sh.
20185 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20186 $(run-program-prefix) to tst-gettext.sh.
20187 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20188 tst-translit.sh.
20189 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20190 tst-gettext2.sh.
20191 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20192 to run tst-gettext.
20193 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20194 to run tst-gettext2.
20195 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20196 to run tst-translit.
20197 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20198 $(run-program-prefix) to tst-mtrace.sh.
20199 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20200 to run tst-mtrace.
20201 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20202 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20203 $(rtld-installed-name).
20204 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20205 (rtld_installed_name): Likewise.
20206 (run_program_prefix): New variable. Use it to run wordexp-test.
20207
20208 * Makeconfig (ARCH): Remove all definitions.
20209 (machine): Likewise.
20210 [ARCH]: Remove conditional code.
20211 [!objdir]: Give error.
20212 [!objdir] (objpfx): Remove.
20213 [!objdir] (common-objpfx): Likewise.
20214 [!objdir] (common-objdir): Likewise.
20215 * configure.in (config_makefile): Remove. Hardcode Makefile in
20216 AC_CONFIG_FILES call.
20217 * configure: Regenerated.
20218
20219 [BZ #13888]
20220 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20221 or TMPDIR.
20222 (testout): Likewise.
20223
20224 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20225 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20226 $(rtld-installed-name).
20227 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20228 (rtld_installed_name): Likwise.
20229 (runit): Remove function.
20230 (run_getconf): New variable, Use it for running getconf binary.
20231
20232 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20233
20234 [BZ #14716]
20235 * string/test-memmem.c (check_result): New function.
20236 (do_one_test): Use it.
20237 (check1): New function.
20238 (test_main): Use it.
20239
20240 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20241
20242 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20243
20244 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20245
20246 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20247 (_G_LSEEK64): Likewise.
20248 (_G_MMAP64): Likewise.
20249 (_G_FSTAT64): Likewise.
20250 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20251 (_G_LSEEK64): Likewise.
20252 (_G_MMAP64): Likewise.
20253 (_G_FSTAT64): Likewise.
20254 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20255 unconditional. Call __mmap64 directly.
20256 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20257 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20258 __lseek64 directly.
20259 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20260 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20261 __mmap64 directly.
20262 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20263 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20264 __lseek64 directly.
20265 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20266 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20267 __lseek64 directly.
20268 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20269 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20270 __lseek64 directly.
20271 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20272 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20273 __fxstat64 directly.
20274 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20275 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20276 unconditional.
20277 (freopen64) [!_G_OPEN64]: Remove conditional code.
20278 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20279 unconditional.
20280 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20281 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20282 unconditional.
20283 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20284 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20285 unconditional.
20286 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20287 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20288 unconditional.
20289 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20290 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20291 unconditional.
20292 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20293 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20294 unconditional.
20295 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20296 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20297 unconditional.
20298 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20299
20300 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20301
20302 [BZ #12140]
20303 * manual/memory.texi (Malloc Tunable Parameters): Add note
20304 about free list pointers overwriting some perturb bytes.
20305 Wording suggested by Roland McGrath.
20306
20307 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20308
20309 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20310 (lgamma_test): Likewise.
20311 (tgamma_test): Likewise.
20312
20313 2012-10-16 Florian Weimer <fweimer@redhat.com>
20314
20315 [BZ #14700]
20316 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20317 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20318
20319 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20320
20321 * NEWS: Mention BZ #14716.
20322 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20323 when removing AVAILABLE1_USES_J macro.
20324
20325 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20326
20327 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20328 (__bswap_64): __uint64_t for unsigned 64-bit int.
20329
20330 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20331
20332 * include/string.h (memmem): Declare libc hidden alias.
20333 * string/memmem.c (memmem): Define libc hidden alias.
20334 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20335 __read, __close instead of open, read, close.
20336
20337 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20338
20339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20340 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20341 global and hidden.
20342 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20343 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20344 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20345 Likewise.
20346 (__rawmemchr_sse2): Likewise.
20347 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20348 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20349 (__strchr_sse2): Likewise.
20350 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20351 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20352 (__strcasecmp_sse2): Likewise.
20353 (__strncasecmp_sse2): Likewise.
20354 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20355 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20356 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20357 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20358 (__strrchr_sse2): Likewise.
20359 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20360 ifunc-impl-list.c.
20361 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20362 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20363 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20364 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20365 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20366 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20367 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20368 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20369 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20370 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20371 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20372 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20373 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20374 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20375 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20376 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20377 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20378 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20379 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20380 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20381 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20382 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20383 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20384 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20385 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20386 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20387 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20388 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20389 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20390 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20391
20392 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20393 global and hidden.
20394 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20395 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20396 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20397 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20398 Likewise.
20399 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20400 Likewise.
20401 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20402 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20403 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20404 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20405 ifunc-impl-list.c.
20406 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20407 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20408 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20409 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20410 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20411 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20412 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20413 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20414 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20415 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20416 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20417 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20418 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20419 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20420 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20421 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20422 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20423 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20424 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20425 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20426 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20427 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20428 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20429 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20430 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20431 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20432 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20433 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20434 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20435 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20436 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20437 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20438 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20439 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20440 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20441 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20442 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20443 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20444 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20445 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20446 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20447
20448 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20449 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20450 * include/ifunc-impl-list.h: New file.
20451 * misc/ifunc-impl-list.c: Likewise.
20452 * misc/Makefile (routines): Add ifunc-impl-list.
20453 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20454 * string/test-string.h: Include <ifunc-impl-list.h>.
20455 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20456 impl_array): New variables.
20457 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20458 are defined.
20459 (test_init): Call __libc_ifunc_impl_list to initialize
20460 func_list if TEST_IFUNC and TEST_NAME are defined.
20461
20462 * string/Makefile (strop-tests): Add bcopy and bzero.
20463 * string/test-bcopy.c: New file.
20464 * string/test-bzero.c: Likewise.
20465 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20466 defined.
20467 * string/test-memset.c: Support bzero test if TEST_BZERO is
20468 defined.
20469 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20470 __libc_memmove.
20471 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20472 __libc_memset.
20473 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20474 of memset.
20475
20476 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20477
20478 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20479 * configure: Regenerated.
20480
20481 * Makeconfig (+link-static-before-libc): Don't include
20482 $(link-static-libc).
20483
20484 * libio/libio.h (_IO_pos_t): Remove.
20485
20486 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20487
20488 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20489 McGrath.
20490
20491 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20492
20493 * crypt/crypt-entry.c: Include fips-private.h.
20494 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20495 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20496 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20497 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20498
20499 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20500
20501 * crypt/crypt-private.h: Include stdbool.h.
20502 (_ufc_setup_salt_r): Return bool.
20503 * crypt/crypt-entry.c: Include errno.h.
20504 (__crypt_r): Return NULL with EINVAL for bad salt.
20505 * crypt/crypt_util.c (bad_for_salt): New.
20506 (_ufc_setup_salt_r): Check that salt is long enough and within
20507 the specified alphabet.
20508 * crypt/badsalttest.c: New file.
20509 * crypt/Makefile (tests): Add it.
20510 ($(objpfx)badsalttest): New.
20511
20512 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20513
20514 * NEWS: Add entry for BZ #14602.
20515
20516 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20517
20518 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20519 type-generic.
20520 * math/libm-test.inc: Update comment listing what functions and
20521 macros are tested.
20522 (isgreater_test): New function.
20523 (isgreaterequal_test): Likewise.
20524 (isless_test): Likewise.
20525 (islessequal_test): Likewise.
20526 (islessgreater_test): Likewise.
20527 (isunordered_test): Likewise.
20528 (main): Call the new functions.
20529
20530 2012-10-09 Roland McGrath <roland@hack.frob.com>
20531
20532 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20533 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20534 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20535 * sysdeps/i386/configure: Regenerated.
20536 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20537 * sysdeps/mach/configure: Regenerated.
20538 * sysdeps/mach/hurd/configure: Regenerated.
20539 * sysdeps/powerpc/configure: Regenerated.
20540 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20541 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20542 * sysdeps/s390/s390-32/configure: Regenerated.
20543 * sysdeps/s390/s390-64/configure: Regenerated.
20544 * sysdeps/sh/configure: Regenerated.
20545 * sysdeps/sparc/configure: Regenerated.
20546 * sysdeps/unix/sysv/linux/configure: Regenerated.
20547 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20548 * sysdeps/x86_64/configure: Regenerated.
20549
20550 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20551 defined. Don't check if MAP is NULL.
20552
20553 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20554
20555 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20556 (_G_stat64): Likewise.
20557 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20558 (_G_stat64): Likewise.
20559 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20560 instead of struct _G_stat64.
20561 * libio/fileops.c (mmap_remap_check): Likewise.
20562 (decide_maybe_mmap): Likewise.
20563 (_IO_new_file_seekoff): Likewise.
20564 (_IO_file_stat): Likewise.
20565 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20566 _G_off64_t.
20567 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20568 instead of struct _G_stat64.
20569 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20570
20571 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20572
20573 [BZ #14602]
20574 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20575 Replace with ...
20576 (CHECK_EOL): New macro.
20577 (two_way_short_needle): Check beginning of haystack for EOL. Use
20578 CHECK_EOL.
20579 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20580 Replace with CHECK_EOL.
20581 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20582 Replace with CHECK_EOL.
20583
20584 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20585
20586 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20587 type-generic.
20588 * math/libm-test.inc: Update comment listing what functions and
20589 macros are tested.
20590 (finite_test): New function.
20591 (isinf_test): Likewise.
20592 (isnan_test): Likewise.
20593 (fpclassify_test): Test subnormal input.
20594 (isfinite_test): Likewise.
20595 (isnormal_test): Likewise.
20596 (main): Call the new functions.
20597
20598 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20599
20600 [BZ #14660]
20601 * Makerules (%.dynsym): Force C locale when running
20602 $(OBJDUMP) --dynamic-syms.
20603
20604 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20605
20606 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20607 <stdint.h>.
20608
20609 2012-10-06 David S. Miller <davem@davemloft.net>
20610
20611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20612 upper 32-bits of the length value in %o2 since we use branch-on-register
20613 tests which consider the entire 64-bit register.
20614
20615 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20616
20617 * string/test-strstr.c (check2): Add a test for page boundary.
20618
20619 2012-10-05 David S. Miller <davem@davemloft.net>
20620
20621 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20622 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20623 file.
20624 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20625 sysdep_routines.
20626 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20627 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20628 and bzero when HWCAP_SPARC_CRYPTO is present.
20629
20630 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20631
20632 [BZ #14602]
20633 * string/test-strstr.c (check2): New function.
20634 (test_main): Call check2.
20635
20636 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20637 and bug-strchr1.
20638 * string/bug-strcasestr1.c (do_test): Moved to ...
20639 * string/test-strcasestr.c (check1): Here. New function.
20640 (do_one_test): Break out result checking code into ...
20641 (check_result): This. New function.
20642 (do_one_test): Call check_result.
20643 (test_main): Call check1.
20644 * string/bug-strchr1.c (do_test): Moved to ...
20645 * string/test-strchr.c (check1): Here. New function.
20646 (do_one_test): Break out result checking code into ...
20647 (check_result): This. New function.
20648 (do_one_test): Call check_result.
20649 (test_main): Call check1.
20650 * string/bug-strstr1.c (main): Moved to ...
20651 * string/test-strstr.c (check1): Here. New function.
20652 (do_one_test): Break out result checking code into ...
20653 (check_result): This. New function.
20654 (do_one_test): Call check_result.
20655 (test_main): Call check1.
20656 * string/bug-strcasestr1.c: Removed.
20657 * string/bug-strchr1.c: Likewise.
20658 * string/bug-strstr1.c: Likewise.
20659
20660 * elf/Makefile (dl-routines): Add hwcaps.
20661 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20662 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20663 (_dl_important_hwcaps): Moved to ...
20664 * elf/dl-hwcaps.c: Here. New file.
20665 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20666
20667 [BZ #14557]
20668 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20669 if IS_IN_rtld isn't defined.
20670
20671 * elf/dl-support.c (_dl_sysinfo_map): New.
20672 Include "get-dynamic-info.h" and "setup-vdso.h".
20673 (_dl_non_dynamic_init): Call setup_vdso.
20674 * elf/dynamic-link.h: Don't include <assert.h>.
20675 (elf_get_dynamic_info): Moved to ...
20676 * elf/get-dynamic-info.h: Here. New file.
20677 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20678 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20679 * elf/setup-vdso.h: Here. New file.
20680 * elf/rtld.c: Include "setup-vdso.h".
20681 (dl_main): Call setup_vdso.
20682
20683 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20684
20685 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20686 creal in comment listing functions tested. List finite, isinf,
20687 isnan, isless, islessequal, isgreater, isgreaterequal,
20688 islessgreater, isunordered, lgamma_r and pow10 as functions and
20689 macros not tested. Mention which functions not tested are aliases
20690 for other functions. Fix typo. Note that signs of NaNs are not
20691 tested.
20692
20693 * scripts/config.guess: Update from config.git.
20694 * scripts/config.sub: Likewise.
20695
20696 2012-10-04 Roland McGrath <roland@hack.frob.com>
20697
20698 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20699 * misc/madvise.c (madvise): Renamed to __madvise.
20700 Make madvise a weak alias.
20701 * include/sys/mman.h: Declare __madvise.
20702 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20703 * sysdeps/unix/syscalls.list
20704 (madvise): Make __madvise the strong name, and madvise a weak alias.
20705 * sysdeps/unix/sysv/linux/syscalls.list
20706 (madvise, mmap): Remove redundant entries.
20707 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20708 * malloc/malloc.c (mtrim): Likewise.
20709 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20710
20711 2012-10-03 Roland McGrath <roland@hack.frob.com>
20712
20713 * sysdeps/mach/hurd/dl-cache.c: File removed.
20714 * config.h.in (USE_LDCONFIG): New #undef.
20715 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20716 * configure: Regenerated.
20717 * elf/Makefile (dl-routines): Add dl-cache only under
20718 [$(use-ldconfig) = yes].
20719 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20720 cache on [USE_LDCONFIG].
20721 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20722 [USE_LDCONFIG].
20723 * elf/rtld.c (dl_main): Likewise.
20724
20725 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20726
20727 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20728 _SC_LEVEL4_CACHE_LINESIZE.
20729
20730 2012-10-03 Roland McGrath <roland@hack.frob.com>
20731
20732 * sysdeps/unix/bsd/confstr.h: File removed.
20733
20734 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20735
20736 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20737 sys/sdt-config.h.
20738
20739 2012-10-02 Roland McGrath <roland@hack.frob.com>
20740
20741 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20742 Make 'mapoff' field ElfW(Off) rather than off_t.
20743
20744 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20745
20746 * nscd/Makefile: Remove nscd-cflags and all its users.
20747 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20748 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20749
20750 [BZ #10631]
20751 * malloc.c (malloc_printerr): Clarify error message.
20752
20753 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20754
20755 [BZ #14648]
20756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20757 Set bit_FMA_Usable if FMA is supported.
20758 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20759 macro.
20760 (bit_FMA4_Usable): Updated.
20761 (index_FMA_Usable): New macro.
20762 (CPUID_FMA): Likewise
20763 (HAS_FMA): Defined with bit_FMA_Usable.
20764
20765 2012-10-01 Roland McGrath <roland@hack.frob.com>
20766
20767 * bits/types.h (__swblk_t): Type removed.
20768 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20769 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20771 (__SWBLK_T_TYPE): Likewise.
20772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20773 (__SWBLK_T_TYPE): Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20775 (__SWBLK_T_TYPE): Likewise.
20776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20777 (__SWBLK_T_TYPE): Likewise.
20778
20779 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20780 Honza Horak <hhorak@redhat.com>
20781
20782 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20783 (xdr_mapname): Use YPMAXMAP as maxsize.
20784 (xdr_peername): Use YPMAXPEER as maxsize.
20785 (xdr_keydat): Use YPAXRECORD as maxsize.
20786 (xdr_valdat): Use YPMAXRECORD as maxsize.
20787
20788 2012-10-01 Roland McGrath <roland@hack.frob.com>
20789
20790 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20791
20792 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20793 * csu/init-first.c: ... here.
20794 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20795 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20796 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20797 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20798 * sysdeps/i386/init-first.c: File removed.
20799 * sysdeps/sh/init-first.c: File removed.
20800
20801 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20802
20803 [BZ #14645]
20804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20805 if x * y might underflow to zero and z is zero.
20806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20808 * math/libm-test.inc (min_subnorm_value): New variable.
20809 (fma_test): Add more tests.
20810 (fma_test_towardzero): Likewise.
20811 (fma_test_downward): Likewise
20812 (fma_test_upward): Likewise.
20813 (initialize): Set min_subnorm_value.
20814
20815 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20816
20817 [BZ #14638]
20818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20819 0 + 0.
20820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20821 mode for addition resulting in exact zero.
20822 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20824 exact 0 + 0.
20825 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20827 * math/libm-test.inc (fma_test): Add more tests.
20828 (fma_test_towardzero): New function.
20829 (fma_test_downward): Likewise.
20830 (fma_test_upward): Likewise.
20831 (main): Call the new functions.
20832
20833 2012-09-28 David S. Miller <davem@davemloft.net>
20834
20835 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20836
20837 2012-09-28 Roland McGrath <roland@hack.frob.com>
20838
20839 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20840 instead of SIGALRM.
20841
20842 * sysdeps/gnu/_G_config.h: Moved to ...
20843 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20844 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20845 * sysdeps/generic/_G_config.h: ... here.
20846
20847 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20848
20849 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20850
20851 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20852 Conditionalize target on [libnss_test1.so-version].
20853
20854 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20855
20856 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20857 (elfobjdir): Move out of conditionals.
20858
20859 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20860 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20861 (__nss_lookup_function): Conditionalize label remove_from_tree on
20862 [!DO_STATIC_NSS || SHARED], matching its only use.
20863
20864 2012-09-28 David S. Miller <davem@davemloft.net>
20865
20866 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20867 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20868 file.
20869 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20870 sysdep_routines.
20871 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20872 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20873 when HWCAP_SPARC_CRYPTO is present.
20874
20875 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20876
20877 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20878
20879 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20880
20881 [BZ #6530]
20882 * stdio-common/vfprintf.c (process_string_arg): Revert
20883 2000-07-22 change.
20884
20885 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20886
20887 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20888 for testcase.
20889 * stdio-common/tst-sprintf.c: Include <locale.h>
20890 (main): Test sprintf's handling of incomplete multibyte
20891 characters.
20892
20893 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20894
20895 * elf/dl-runtime.c (VERSYMIDX): Removed.
20896 * elf/dl-version.c (VERSYMIDX): Likewise.
20897 * elf/do-rel.h (VERSYMIDX): Likewise.
20898 (VALIDX): Likewise.
20899 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20900 * elf/rtld.c (VALIDX): Likewise.
20901 (ADDRIDX): Likewise.
20902 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20903 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20904 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20905 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20906 (VALIDX): Likewise.
20907 (ADDRIDX): Likewise.
20908
20909 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20910
20911 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20912
20913 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20914
20915 [BZ #11438]
20916 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20917 to global scope.
20918 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20919 addresses are in the same scope as 192.0.2/24.
20920 * posix/gai.conf: Document new scope table defaults.
20921
20922 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20923
20924 [BZ #5298]
20925 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20926 for ftell. Compute offsets from write pointers instead.
20927 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20928
20929 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20930
20931 [BZ #14543]
20932 * libio/Makefile (tests): New test case tst-fseek.
20933 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20934 combination works in wide mode.
20935 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20936 state when the external buffer state changes.
20937
20938 2012-09-27 David S. Miller <davem@davemloft.net>
20939
20940 [BZ #14376]
20941 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20942 pass reloc->r_addend in as the 'high' argument to
20943 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20944
20945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20946
20947 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20948
20949 * rt/tst-aio2.c: Include <pthread.h>.
20950 * rt/tst-aio3.c: Likewise.
20951
20952 2012-09-27 Steve Ellcey <sellcey@mips.com>
20953
20954 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20955
20956 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20959 contents on [SHARED].
20960
20961 2012-09-26 Marek Polacek <polacek@redhat.com>
20962
20963 [BZ #14530]
20964 [BZ #13741]
20965 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20966 for C++ and GCC <4.3 as well as for non GCC compilers.
20967
20968 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20969
20970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20971
20972 2012-09-25 Roland McGrath <roland@hack.frob.com>
20973
20974 * Makefile.in (all, install): Declare with .PHONY.
20975 Reported by Michael Hope <michael.hope@linaro.org>.
20976
20977 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20978
20979 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20980 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20981 system header.
20982 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20983 Likewise.
20984 (sydep_routines): Add the new and the internal functions.
20985 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20986 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20988 (GLIBC_2.17): Add the new function.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20990 (GLIBC_2.17): Likewise.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20992 (GLIBC_2.17): Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20994 (GLIBC_2.17): Likewise.
20995 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20996
20997 2012-09-25 Alan Modra <amodra@gmail.com>
20998
20999 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21000 Add release barrier before setting once_control to say
21001 initialisation is done. Add hints on lwarx. Use macro in
21002 place of isync.
21003 (clear_once_control): Add release barrier.
21004
21005 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21006
21007 [BZ #13629]
21008 * math/s_clog.c (__clog): Handle more values close to |z| = 1
21009 specially.
21010 * math/s_clog10.c (__clog10): Likewise.
21011 * math/s_clog10f.c (__clog10f): Likewise.
21012 * math/s_clog10l.c (__clog10l): Likewise.
21013 * math/s_clogf.c (__clogf): Likewise.
21014 * math/s_clogl.c (__clogl): Likewise.
21015 * math/Makefile (libm-calls): Add x2y2m1.
21016 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21017 (__x2y2m1): Likewise.
21018 (__x2y2m1l): Likewise.
21019 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21020 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21025 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21026 * sysdeps/i386/fpu/libm-test-ulps: Update.
21027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21028
21029 [BZ #14621]
21030 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21031 int as type of variable DEPTH.
21032 (glob): Use size_t instead of int as type of variables NEWCOUNT
21033 and OLD_PATHC.
21034
21035 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21036
21037 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21038 Add s_sincosf-sse2.
21039 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21040 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21041 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21042 macros for using routine as __sincosf_ia32.
21043 Use macro for function declaration and weak_alias.
21044 * sysdeps/i386/fpu/libm-test-ulps: Update.
21045
21046 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21048
21049 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21050 subnormal argument.
21051 * math/s_cexpf.c (__cexpf): Likewise.
21052 * math/s_csinf.c (__csinf): Likewise.
21053 * math/s_csinhf.c (__csinhf): Likewise.
21054 * math/s_ctanf.c (__ctanf): Likewise.
21055 * math/s_ctanhf.c (__ctanhf): Likewise.
21056 * math/s_ccosh.c (__ccoshf): Likewise.
21057 * math/s_cexp.c (__cexpl): Likewise.
21058 * math/s_csin.c (__csin): Likewise.
21059 * math/s_csinh.c (__csinh): Likewise.
21060 * math/s_ctan.c (__ctan): Likewise.
21061 * math/s_ctanh.c (ctanh): Likewise.
21062 * math/s_ccoshl.c (__ccoshl): Likewise.
21063 * math/s_cexpl.c (__cexpl): Likewise.
21064 * math/s_csinl.c (__csinl): Likewise.
21065 * math/s_csinhl.c (__csinhl): Likewise.
21066 * math/s_ctanl.c (__ctanl): Likewise.
21067 * math/s_ctanhl.c (__ctanhl): Likewise.
21068
21069 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21070
21071 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21072 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21073 (_IO_off_t): Define to __off_t, not _G_off_t.
21074 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21075 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21076 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21077 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21078 type of __dummy and __dummy2 fields.
21079 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21080 (_G_ssize_t): Likewise.
21081 (_G_off_t): Likewise.
21082 (_G_pid_t): Likewise.
21083 (_G_uid_t): Likewise.
21084 (_G_wchar_t): Likewise.
21085 (_G_wint_t): Likewise.
21086 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21087 (_G_ssize_t): Likewise.
21088 (_G_off_t): Likewise.
21089 (_G_pid_t): Likewise.
21090 (_G_uid_t): Likewise.
21091 (_G_wchar_t): Likewise.
21092 (_G_wint_t): Likewise.
21093 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21094 (_G_ssize_t): Likewise.
21095 (_G_off_t): Likewise.
21096 (_G_pid_t): Likewise.
21097 (_G_uid_t): Likewise.
21098 (_G_wchar_t): Likewise.
21099 (_G_wint_t): Likewise.
21100
21101 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21102
21103 * malloc/arena.c: Include malloc-sysdep.h.
21104 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21105 is sufficient to shrink the heap or an unmap is needed.
21106 * sysdeps/generic/malloc-sysdep.h: New file. Define
21107 new function check_may_shrink_heap.
21108 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21109 new function check_may_shrink_heap.
21110
21111 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
21113 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21114 comments.
21115
21116 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21117
21118 * catgets/test-gencat.sh: Add "set -e".
21119 * elf/tst-pathopt.sh: Likewise.
21120 * grp/tst_fgetgrent.sh: Likewise.
21121 * iconvdata/run-iconv-test.sh: Likewise.
21122 * intl/tst-gettext.sh: Likewise.
21123 * intl/tst-gettext2.sh: Likewise.
21124 * intl/tst-gettext4.sh: Likewise.
21125 * intl/tst-gettext6.sh: Likewise.
21126 * intl/tst-translit.sh: Likewise.
21127 * io/ftwtest-sh: Likewise.
21128 * libio/test-freopen.sh: Likewise.
21129 * malloc/tst-mtrace.sh: Likewise.
21130 * posix/globtest.sh: Likewise.
21131 * posix/tst-getconf.sh: Likewise.
21132 * posix/wordexp-tst.sh: Likewise.
21133 * stdio-common/tst-printf.sh: Likewise.
21134 * stdio-common/tst-unbputc.sh: Likewise.
21135 * stdlib/tst-fmtmsg.sh: Likewise.
21136 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21137 * catgets/Makefile: Do not specify -e option when running
21138 testsuite shell scripts.
21139 * elf/Makefile: Likewise.
21140 * grp/Makefile: Likewise.
21141 * iconvdata/Makefile: Likewise.
21142 * intl/Makefile: Likewise.
21143 * io/Makefile: Likewise.
21144 * libio/Makefile: Likewise.
21145 * malloc/Makefile: Likewise.
21146 * posix/Makefile: Likewise.
21147 * stdio-common/Makefile: Likewise.
21148 * stdlib/Makefile: Likewise.
21149 * sysdeps/x86_64/Makefile: Likewise.
21150
21151 * io/ftwtest-sh: Add copyright header.
21152 * posix/globtest.sh: Likewise.
21153 * posix/tst-getconf.sh: Likewise.
21154 * posix/wordexp-tst.sh: Likewise.
21155 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21156
21157 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21158
21159 [BZ #13679]
21160 * Makeconfig (+link): Defined as $(+link-static) if
21161 $(build-shared) isn't yes.
21162 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21163 isn't yes.
21164 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21165
21166 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21167
21168 [BZ #14562]
21169 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21170 new chunk size with MALLOC_ALIGN_MASK.
21171
21172 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21173
21174 [BZ #5044]
21175 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21176 <rounding-mode.h>.
21177 (__printf_fphex): Determine rounding using get_rounding_mode and
21178 round_away.
21179 * stdio-common/tst-printf-round.c (struct hex_test): New
21180 structure.
21181 (hex_tests): New variable.
21182 (test_hex_in_one_mode): New function.
21183 (do_test): Also run tests for hex float output.
21184
21185 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21186
21187 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21188 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21189 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21190 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21191 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21192 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21193 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21194 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21195
21196 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21197
21198 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21199 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21200 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21201 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21202
21203 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21204
21205 [BZ #14579]
21206 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21207 mode only.
21208 * elf/tst-rtld-load-self.sh: New test.
21209 * elf/Makefile: Run it.
21210
21211 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21212
21213 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21214 (tst-writev-ENV): Remove.
21215 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21216
21217 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21218
21219 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21220
21221 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21222
21223 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21224 unconditional.
21225 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21226 Likewise.
21227 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21228 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21229 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21230 Likewise.
21231
21232 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 [BZ #14587]
21235 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21236 * config.make.in (have-cpp-asm-debuginfo): Removed.
21237 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21238 * configure: Regenerated.
21239
21240 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21241
21242 [BZ #5044]
21243 * stdio-common/printf_fp.c: Include <stdbool.h> and
21244 <rounding-mode.h>.
21245 (___printf_fp): Determine rounding using get_rounding_mode and
21246 round_away.
21247 * stdio-common/tst-printf-round.c: New file.
21248 * stdio-common/Makefile (tests): Add tst-printf-round.
21249 (link-libm): New variable.
21250 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21251
21252 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21253
21254 [BZ #14576]
21255 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21256 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21257 Likewise.
21258 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21259 Likewise.
21260
21261 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21262
21263 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21264 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21265 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21266 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21267
21268 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21269
21270 [BZ #14518]
21271 * include/rounding-mode.h: New file.
21272 * sysdeps/generic/get-rounding-mode.h: Likewise.
21273 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21274 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21275 (MAX_VALUE): New macro.
21276 (MIN_VALUE): Likewise.
21277 (overflow_value): New function.
21278 (underflow_value): Likewise.
21279 (round_and_return): Use overflow_value and underflow_value to
21280 determine return values in overflow and underflow cases. Use
21281 round_away to determine rounding depending on rounding mode.
21282 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21283 determine return values in overflow and underflow cases.
21284 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21285 (struct test_results): New structure.
21286 (struct test): Use struct test_results to store expected results
21287 for all rounding modes.
21288 (TEST): Include expected results for all rounding modes.
21289 (test_in_one_mode): New function.
21290 (do_test): Use test_in_one_mode to compute and check results.
21291 Check results for all rounding modes.
21292 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21293 $(link-libm).
21294
21295 2012-12-09 Allan McRae <allan@archlinux.org>
21296
21297 * sysdeps/i386/fpu/libm-test-ulps: Update
21298
21299 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21300
21301 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21302 (_G_int32_t): Likewise.
21303 (_G_uint16_t): Likewise.
21304 (_G_uint32_t): Likewise.
21305 (_G_HAVE_BOOL): Likewise.
21306 (_G_HAVE_ATEXIT): Likewise.
21307 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21308 (_G_HAVE_IO_FILE_OPEN): Likewise.
21309 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21310 (_G_int32_t): Likewise.
21311 (_G_uint16_t): Likewise.
21312 (_G_uint32_t): Likewise.
21313 (_G_HAVE_BOOL): Likewise.
21314 (_G_HAVE_ATEXIT): Likewise.
21315 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21316 (_G_HAVE_IO_FILE_OPEN): Likewise.
21317 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21318 (_G_int32_t): Likewise.
21319 (_G_uint16_t): Likewise.
21320 (_G_uint32_t): Likewise.
21321 (_G_HAVE_BOOL): Likewise.
21322 (_G_HAVE_ATEXIT): Likewise.
21323 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21324 (_G_HAVE_IO_FILE_OPEN): Likewise.
21325
21326 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21327
21328 * csu/libc-tls.c: Update copyright years.
21329
21330 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21331
21332 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21333 [!_G_USING_THUNKS]: Remove conditional code.
21334 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21335 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21336
21337 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21338 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21339 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21340 (_G_VTABLE_LABEL_PREFIX): Likewise.
21341 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21342 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21343 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21344 (_G_VTABLE_LABEL_PREFIX): Likewise.
21345 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21346 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21347 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21348 (_G_VTABLE_LABEL_PREFIX): Likewise.
21349 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21350
21351 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21352
21353 * libio/Makefile: Include ../Makeconfig before tests.
21354 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21355 only if $(build-shared) is yes.
21356
21357 * iconv/gconv_db.c: Update copyright years.
21358
21359 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21360
21361 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21362 unwind info if defined PIC. Fix special cases description.
21363 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21364
21365 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21366 DP_HI_MASK entry.
21367 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21368
21369 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21370
21371 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21372
21373 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21374 is NULL.
21375
21376 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21377 (LDLIBS-tst-chk4): This.
21378 (LDFLAGS-tst-chk5): Renamed to ...
21379 (LDLIBS-tst-chk5): This.
21380 (LDFLAGS-tst-chk6): Renamed to ...
21381 (LDLIBS-tst-chk6): This.
21382 (LDFLAGS-tst-lfschk4): Renamed to ...
21383 (LDLIBS-tst-lfschk4): This.
21384 (LDFLAGS-tst-lfschk5): Renamed to ...
21385 (LDLIBS-tst-lfschk5): This.
21386 (LDFLAGS-tst-lfschk6): Renamed to ...
21387 (LDLIBS-tst-lfschk6): This.
21388
21389 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21390 on $(common-objpfx)soversions.mk.
21391
21392 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #10014]
21395 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21396 example host name.
21397
21398 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21399
21400 * malloc/arena.c (arena_get_retry): New function that gets
21401 another arena for the caller to try its request on.
21402 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21403 current arena cannot fulfill the request.
21404 (__libc_memalign): Likewise.
21405 (__libc_memalign): Likewise.
21406 (__libc_pvalloc): Likewise.
21407 (__libc_calloc): Likewise.
21408
21409 2012-09-05 John Tobey <john.tobey@gmail.com>
21410
21411 [BZ #13542]
21412 * manual/arith.texi (Operations on Complex): Fix description
21413 of carg branch cut.
21414
21415 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21416
21417 [BZ #10014]
21418 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21419 host name.
21420
21421 [BZ #10038]
21422 * manual/memory.texi (Memory): Make order of menu items match
21423 order of sections.
21424
21425 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21426
21427 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21428 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21429 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21430
21431 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21432
21433 * csu/libc-tls.c (static_dtv): Renamed to ...
21434 (_dl_static_dtv): This. Make it global.
21435 (_dl_initial_dtv): Removed.
21436 (__libc_setup_tls): Updated.
21437 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21438 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21439 DL_INITIAL_DTV.
21440
21441 2012-09-06 Petr Machata <pmachata@redhat.com>
21442
21443 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21444 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21445 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21446 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21447
21448 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21449
21450 [BZ #14545]
21451 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21452 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21453 freeing dtv[-1].
21454
21455 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21456
21457 [BZ #14544]
21458 * Makeconfig (link-static-before-libc): Replace $(+prector)
21459 with $(+prectorT).
21460 (link-static-after-libc): Replace $(+postctor) with
21461 $(+postctorT).
21462 (link-bounded): Replace $(+prector)/$(+postctor) with
21463 $(+prectorT)/$(+postctorT).
21464 (+prectorT): New macro.
21465 (+postctorT): Likewise.
21466
21467 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21468
21469 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21470 (round_str): Handle values above the maximum for IBM long double
21471 as inexact.
21472 * stdlib/tst-strtod-round.c (tests): Regenerated.
21473
21474 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21475
21476 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21477 assembler flag.
21478 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21479 zarch_nohighgprs around the zarch optimized routines.
21480 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21481 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21482 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21483 for zarch.
21484
21485 2012-09-05 David S. Miller <davem@davemloft.net>
21486
21487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21488
21489 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21490 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21491 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21492 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21493 entries.
21494
21495 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21496
21497 * malloc/arena.c: Fold copyright years.
21498 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21499
21500 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21501
21502 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21503
21504 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21505
21506 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21507
21508 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21509
21510 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21511 change internal state upon failure.
21512
21513 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21514
21515 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21516 * malloc/memusage.c (mmap): Likewise.
21517 (mmap64, mremap): Likewise. Adjust name in comment.
21518
21519 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21520
21521 * libio/fileops.c: Fix typos in comments.
21522 * libio/oldfileops.c: Likewise.
21523 * libio/wfileops.c: Likewise.
21524
21525 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21526
21527 [BZ #1349]
21528 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21529 (tst-malloc-usable-ENV): Set environment for test case.
21530 * malloc/hooks.c (malloc_check_get_size): New function to get
21531 requested size.
21532 * malloc/malloc.c (musable): Use malloc_check_get_size.
21533 * malloc/tst-malloc-usable.c: New test case.
21534
21535 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21536
21537 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21538
21539 2012-09-05 Allan McRae <allan@archlinux.org>
21540
21541 [BZ #13966]
21542 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21543 determine header location.
21544 * configure: Regenerated.
21545
21546 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21547
21548 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21549 float format.
21550 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21551 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21552 format.
21553 (test): Regenerate.
21554
21555 2012-09-04 David S. Miller <davem@davemloft.net>
21556
21557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21559 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21560
21561 2012-09-04 Florian Weimer <fweimer@redhat.com>
21562
21563 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21564 failures.
21565
21566 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21567
21568 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21569
21570 [BZ #9914]
21571 * libio/iogetdelim.c: Include <limits.h>.
21572 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21573 + len + 1 would overflow.
21574
21575 2012-09-03 Andreas Jaeger <aj@suse.de>
21576
21577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21578 * sysdeps/i386/fpu/libm-test-ulps: Update.
21579
21580 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21581
21582 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21583 Add s_sinf-sse2, s_conf-sse2.
21584
21585 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21586 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21587 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21588 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21589
21590 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21591 for using routine as __sinf_ia32.
21592 Use macro for function declaration and weak_alias.
21593 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21594 for using routine as __cosf_ia32.
21595 Use macro for function declaration and weak_alias.
21596
21597 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21598 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21599
21600 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21601 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21603
21604 * math/libm-test.inc (cos_test): Add more test cases.
21605 (sin_test): Likewise.
21606 (sincos_test): Likewise.
21607
21608 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21609
21610 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21611 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21612 hidden.
21613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21614
21615 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21616
21617 [BZ #14538]
21618 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21619 first element of the GOT.
21620 (elf_machine_load_address): Return the difference between
21621 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21622
21623 2012-09-01 Allan McRae <allan@archlinux.org>
21624
21625 [BZ #13412]
21626 * configure.in (AWK): Require gawk version 3.0 or later.
21627 * configure: Regenerated.
21628
21629 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21630
21631 * sysdeps/unix/sysv/linux/kernel-features.h
21632 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21634 [__NR_clock_getres]: Make code unconditional.
21635 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21636 (clock_getcpuclockid): Remove code left unreachable by removal of
21637 conditionals.
21638 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21639 code unconditional.
21640 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21641 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21642 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21643 Make code unconditional.
21644 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21645 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21646 * sysdeps/unix/sysv/linux/clock_settime.c
21647 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21648 conditional code.
21649 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21650 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21651
21652 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21653
21654 [BZ #14476]
21655 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21656 scripts/test-installation.pl.
21657
21658 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21659 and $ld_so_version if it is set.
21660
21661 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21662
21663 [BZ #14516]
21664 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21665 failure if reading from procfs failed.
21666 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21667
21668 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21669
21670 * sysdeps/unix/sysv/linux/kernel-features.h
21671 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21672 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21673 Remove conditional code.
21674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21675 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21676 Remove conditional code.
21677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21678 * sysdeps/unix/sysv/linux/i386/fxstat.c
21679 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21681 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21682 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21684 * sysdeps/unix/sysv/linux/i386/lxstat.c
21685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21687 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21688 Remove conditional code.
21689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21690 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21691 Remove conditional code.
21692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21693 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21694 <kernel-features.h>.
21695 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21696 Remove.
21697 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21698 Remove conditional code.
21699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21700 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21701 Remove conditional.
21702
21703 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21704
21705 [BZ #5400]
21706 * NEWS: Add fixed bug number.
21707
21708 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21709
21710 [BZ #14519]
21711 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21712 underflowing exponent in case of negative sign.
21713 * stdlib/tst-strtod-round-data: Add more tests.
21714 * stdlib/tst-strtod-round.c (tests): Regenerated.
21715
21716 [BZ #3479]
21717 * stdlib/strtod_l.c (NDIG): Remove.
21718 (HEXNDIG): Likewise.
21719 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21720 smallest representable value.
21721 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21722 lie within an exact representation of 1/2 ulp of the result.
21723 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21724 unconditionally.
21725 (TENS_P9_IDX): Define unconditionally.
21726 (TENS_P9_SIZE): Likewise.
21727 (TENS_P10_IDX): Likewise.
21728 (TENS_P10_SIZE): Likewise.
21729 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21730 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21731 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21732 entries for 10^2^13 and 10^2^14.
21733 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21734 (TENS_P13_IDX): Define.
21735 (TENS_P13_SIZE): Likewise.
21736 (TENS_P14_IDX): Likewise.
21737 (TENS_P14_SIZE): Likewise.
21738 (_fpioconst_pow10): Change array size to
21739 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21740 unconditional.
21741 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21742 1024]: Add entries for 10^2^13 and 10^2^14.
21743 [LAST_POW10 > _LAST_POW10]: Remove #error.
21744 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21745 (_fpioconst_pow10): Change array size to
21746 FPIOCONST_POW10_ARRAY_SIZE.
21747 * stdlib/gen-fpioconst.c: New file.
21748 * stdlib/gen-tst-strtod-round.c: Likewise.
21749 * stdlib/tst-strtod-round-data: Likewise.
21750 * stdlib/tst-strtod-round.c: Likewise.
21751 * stdlib/Makefile (tests): Add tst-strtod-round.
21752
21753 [BZ #14459]
21754 * stdlib/strtod_l.c: Include <stdint.h>.
21755 (NDEBUG): Do not define.
21756 (round_and_return): Change EXPONENT parameter to type intmax_t.
21757 Rearrange calculations to avoid internal overflow possibilities.
21758 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21759 Rearrange calculations to avoid internal overflow possibilities.
21760 Assert that number fits inside MPNSIZE limbs.
21761 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21762 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21763 calculations and add assertions to avoid internal overflow
21764 possibilities. Add casts to avoid signed/unsigned operations.
21765 * stdlib/tst-strtod-overflow.c: New file.
21766 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21767
21768 2012-08-25 Marek Polacek <polacek@redhat.com>
21769
21770 * time/time.h: Fix some typos in comments.
21771
21772 2012-08-23 Roland McGrath <roland@hack.frob.com>
21773
21774 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21775 * posix/tst-rfc3484-2.c: Likewise.
21776 * posix/tst-rfc3484-3.c: Likewise.
21777
21778 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21779
21780 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21781 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21782
21783 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21784
21785 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21786 #include of fxstatat64.c.
21787
21788 2012-08-22 Roland McGrath <roland@hack.frob.com>
21789
21790 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21791 * shadow/getspent_r.c: Likewise.
21792 * shadow/getspnam.c: Likewise.
21793 * shadow/getspnam_r.c: Likewise.
21794 * gshadow/getsgent.c: Likewise.
21795 * gshadow/getsgent_r.c: Likewise.
21796 * gshadow/getsgnam.c: Likewise.
21797 * gshadow/getsgnam_r.c: Likewise.
21798 * inet/getnetbyad.c: Likewise.
21799 * inet/getnetbyad_r.c: Likewise.
21800 * inet/getnetbynm.c: Likewise.
21801 * inet/getnetbynm_r.c: Likewise.
21802 * inet/getnetent.c: Likewise.
21803 * inet/getnetent_r.c: Likewise.
21804 * inet/getproto.c: Likewise.
21805 * inet/getproto_r.c: Likewise.
21806 * inet/getprtent.c: Likewise.
21807 * inet/getprtent_r.c: Likewise.
21808 * inet/getprtname.c: Likewise.
21809 * inet/getprtname_r.c: Likewise.
21810 * inet/getrpcbyname.c: Likewise.
21811 * inet/getrpcbyname_r.c: Likewise.
21812 * inet/getrpcbynumber.c: Likewise.
21813 * inet/getrpcbynumber_r.c: Likewise.
21814 * inet/getrpcent.c: Likewise.
21815 * inet/getrpcent_r.c: Likewise.
21816 * inet/getaliasent.c: Likewise.
21817 * inet/getaliasent_r.c: Likewise.
21818 * inet/getaliasname.c: Likewise.
21819 * inet/getaliasname_r.c: Likewise.
21820 * nscd/getgrgid_r.c: Likewise.
21821 * nscd/getgrnam_r.c: Likewise.
21822 * nscd/gethstbyad_r.c: Likewise.
21823 * nscd/gethstbynm3_r.c: Likewise.
21824 * nscd/getpwnam_r.c: Likewise.
21825 * nscd/getpwuid_r.c: Likewise.
21826 * nscd/getsrvbynm_r.c: Likewise.
21827 * nscd/getsrvbypt_r.c: Likewise.
21828 * nscd/gai.c: Likewise.
21829
21830 * configure.in (build_nscd): New substituted variable, set
21831 by --disable-build-nscd and defaults to $use_nscd.
21832 * configure: Regenerated.
21833 * config.make.in (build-nscd): New substituted variable.
21834 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21835 Change conditional to require [$(build-nscd) = yes] as well.
21836 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21837
21838 [BZ# 13696]
21839 * configure.in (use_nscd): New substituted variable, set by
21840 --disable-nscd. If enabled, define USE_NSCD.
21841 * configure: Regenerated.
21842 * config.h.in: Add USE_NSCD.
21843 * config.make.in (use-nscd): New substituted variable.
21844 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21845 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21846 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21847 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21848 (CFLAGS-getgrnam_r.c): Likewise.
21849 (CFLAGS-initgroups.c): Likewise.
21850 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21851 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21852 Variables removed.
21853 * inet/getnetgrent_r.c
21854 (nscd_setnetgrent): New function, broken out of ...
21855 (setnetgrent): ... here. Call it.
21856 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21857 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21858 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21859 * nscd/Makefile (routines, aux): Move definitions after include of
21860 Makeconfig. Conditionalize on [$(use-nscd) != no].
21861 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21862 Conditionalize on [USE_NSCD].
21863 (is_nscd, nscd_init_cb): Likewise.
21864 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21865 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21866 * nss/nss_db/db-init.c: Likewise.
21867 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21868 [USE_NSCD].
21869 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21870 (make_request): Use it.
21871 (cache_valid_p): New function.
21872 (__check_pf): Use it.
21873 * NEWS: Add item for --disable-nscd.
21874
21875 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21876
21877 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21878 to support sed >= 4.2.1-20-ga9bf076.
21879 * configure: Regenerated.
21880
21881 2012-08-22 Roland McGrath <roland@hack.frob.com>
21882
21883 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21884 Conditionalize whole body on [IREL].
21885
21886 2012-08-22 Jeff Law <law@redhat.com>
21887
21888 [BZ #14505]
21889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21890 if the family is PF_UNSPEC.
21891
21892 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21893
21894 * Makerules (lib-version): Rename from V.
21895 (install-lib-nosubdir): Change V to lib-version.
21896
21897 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21898
21899 [BZ #14252]
21900 * powerpc32/power6/wcschr.c: New file.
21901 * powerpc32/power6/wcscpy.c: New file.
21902 * powerpc32/power6/wcsrchr.c: New file.
21903 * powerpc64/power6/wcschr.c: New file.
21904 * powerpc64/power6/wcscpy.c: New file.
21905 * powerpc64/power6/wcsrchr.c: New file.
21906
21907 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21908
21909 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21910 (two_way_short_needle): Use it.
21911 * string/strstr.c (AVAILABLE1_USES_J): Define.
21912 * string/strcasestr.c: Likewise.
21913
21914 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21915 array references.
21916 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21917
21918 [BZ #11607]
21919 * NEWS: Add an entry.
21920 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21921 define their defaults.
21922 (two_way_short_needle): Detect end-of-string on-the-fly.
21923 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21924 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21925 * string/bug-strcasestr1.c: New test.
21926 * string/Makefile: Run it.
21927
21928 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21929
21930 [BZ #11607]
21931 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21932 the first character.
21933
21934 2012-08-21 Roland McGrath <roland@hack.frob.com>
21935
21936 * csu/elf-init.c (__libc_csu_irel): Function removed.
21937 * csu/libc-start.c (apply_irel): New function.
21938 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21939
21940 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21941
21942 * sysdeps/unix/sysv/linux/kernel-features.h
21943 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21944 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21945 <kernel-features.h>.
21946 [__NR_fadvise64_64]: Make code unconditional.
21947 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21948 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21949 !__NR_fadvise64_64)]: Likewise.
21950 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21951 !__NR_fadvise64_64))]: Likewise.
21952 [__NR_fadvise64]: Make code unconditional.
21953 [!__NR_fadvise64]: Remove conditional code.
21954 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21955 <kernel-features.h>.
21956 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21957 unconditional.
21958 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21959 conditional code.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21961 not include <kernel-features.h>.
21962 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21963 unconditional.
21964 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21965 conditional code.
21966 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21967 include <kernel-features.h>.
21968 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21969 unconditional.
21970 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21971 conditional code.
21972
21973 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21974
21975 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21976 slight instruction rearrangements per scrollpipe analysis.
21977 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21978
21979 2012-08-20 Roland McGrath <roland@hack.frob.com>
21980
21981 * manual/syslog.texi (syslog; vsyslog, closelog):
21982 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21983 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21984
21985 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21986 DSOCAPS to match condition on defining it.
21987
21988 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21989
21990 * sysdeps/unix/sysv/linux/kernel-features.h
21991 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21993 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21994 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21996 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21997 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22001
22002 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22003 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22004
22005 * sysdeps/unix/sysv/linux/kernel-features.h
22006 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22007 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22008 unconditional.
22009 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22010 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22011 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22012 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22013 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22014 Make code unconditional.
22015 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22016 (__mmap64) [!__NR_mmap2]: Likewise.
22017 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22018 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22019 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22020 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22021 [__NR_mmap2]: Make code unconditional.
22022 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22023 (__mmap64) [!__NR_mmap2]: Likewise.
22024
22025 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22026
22027 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22028
22029 2012-08-18 Andreas Jaeger <aj@suse.de>
22030
22031 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22032
22033 2012-08-18 Mike Frysinger <vapier@gentoo.org>
22034
22035 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22036 * include/unistd.h (__have_sock_cloexec): Likewise.
22037 (__have_pipe2): Likewise.
22038 (__have_dup3): Likewise.
22039
22040 2012-08-18 Mike Frysinger <vapier@gentoo.org>
22041
22042 [BZ #9685]
22043 * include/unistd.h (__have_pipe2): Change define into an extern int.
22044 (__have_dup3): Likewise.
22045 * socket/have_sock_cloexec.c: Include fcntl.h.
22046 (__have_pipe2): New variable.
22047 (__have_dup3): Likewise.
22048
22049 2012-08-17 Mike Frysinger <vapier@gentoo.org>
22050
22051 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22052
22053 2012-08-17 Marek Polacek <polacek@redhat.com>
22054
22055 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22056 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22057
22058 2012-08-17 Roland McGrath <roland@hack.frob.com>
22059
22060 * configure.in: Add AC_SUBST for sysheaders.
22061 * configure: Regenerated.
22062 * config.make.in (sysheaders): New substituted variable.
22063
22064 * sysdeps/unix/mkfifo.c: Moved ...
22065 * sysdeps/posix/mkfifo.c: ... here.
22066 * sysdeps/unix/mkfifoat.c: Moved ...
22067 * sysdeps/posix/mkfifoat.c: ... here.
22068
22069 * sysdeps/unix/utime.c: Moved ...
22070 * sysdeps/posix/utime.c: ... here.
22071
22072 * sysdeps/unix/time.c: Moved ...
22073 * sysdeps/posix/time.c: ... here.
22074 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22075 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22076
22077 * sysdeps/unix/nice.c: Moved ...
22078 * sysdeps/posix/nice.c: ... here.
22079
22080 * sysdeps/unix/alarm.c: Moved ...
22081 * sysdeps/posix/alarm.c: ... here.
22082
22083 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22084
22085 2012-08-17 Jeff Law <law@redhat.com>
22086
22087 * intl/Makefile (codeset_mo): New variable.
22088 ($(codeset_mo)): New target.
22089 (tst-codeset.out): Depend on that. Remove explicit rule.
22090 (tst-gettext3.out, tst-gettext5.out): Likewise.
22091 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22092 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22093 * intl/tst-codeset.sh: Remove.
22094 * intl/tst-gettext3.sh: Likewise.
22095 * intl/tst-gettext5.sh: Likewise.
22096
22097 2012-08-17 Roland McGrath <roland@hack.frob.com>
22098
22099 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22100 * sysdeps/unix/syscalls.list: ... here.
22101
22102 * sysdeps/posix/getaddrinfo.c
22103 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22104 (gaiconf_init, gaiconf_reload): Use them.
22105 [!_STATBUF_ST_NSEC]
22106 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22107 Define using time_t rather than struct timespec.
22108
22109 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22110 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22111 Macros removed.
22112 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22113 [!NO_THREADS].
22114 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22115 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22116 Likewise.
22117
22118 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22119 __libc_cleanup_push argument.
22120
22121 * bits/param.h: New file.
22122 * misc/sys/param.h: New file.
22123 * include/sys/param.h: New file.
22124 * misc/Makefile (headers): Add bits/param.h.
22125 * sysdeps/generic/sys/param.h: File removed.
22126 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22127 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22128 * sysdeps/mach/hurd/bits/param.h: New file.
22129 * sysdeps/mach/hurd/sys/param.h: File removed.
22130
22131 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22132 last change.
22133
22134 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22135 [_IO_MTSAFE_IO].
22136 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22137 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22138 New macros.
22139
22140 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22141 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22142 rather than -D_IO_MTSAFE_IO conditionally.
22143 * stdio-common/Makefile (CPPFLAGS): Likewise.
22144 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22145 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22146 Use $(libio-mtsafe).
22147 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22148 of -D_IO_MTSAFE_IO.
22149 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22150 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22151 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22152 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22153 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22154 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22155 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22156 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22157 (CFLAGS-fread_u_chk.c): Likewise.
22158 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22159 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22160 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22161 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22162 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22163 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22164 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22165 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22166 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22167
22168 * libio/Makefile: Test [$(libc-reentrant) = yes]
22169 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22170
22171 * Makeconfig
22172 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22173 * sysdeps/pthread/configure: File removed.
22174 * sysdeps/pthread/Makeconfig: New file.
22175 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22176 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22177
22178 2012-08-16 Gary Benson <gbenson@redhat.com>
22179
22180 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22181 unmapping the first object in a namespace.
22182
22183 2012-08-16 Roland McGrath <roland@hack.frob.com>
22184
22185 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22186 (__internal_setnetgrent): ... this. Add internal_function to
22187 definition. Add libc_hidden_def.
22188 (setnetgrent): Update caller.
22189 (internal_endnetgrent): Renamed to ...
22190 (__internal_endnetgrent): ... this. Add internal_function to
22191 definition. Add libc_hidden_def.
22192 (endnetgrent): Update caller.
22193 (internal_getnetgrent_r): Renamed to ...
22194 (__internal_getnetgrent_r): ... this. Add internal_function to
22195 definition. Add libc_hidden_def.
22196 (__getnetgrent_r): Update caller.
22197 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22198
22199 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22200
22201 * stdlib/longlong.h: Update from GCC.
22202
22203 2012-08-16 Roland McGrath <roland@hack.frob.com>
22204
22205 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22206 on _QL, which is set by umul_ppmm but never used.
22207 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22208 variables, which are set by GMP macros but never used.
22209 * stdio-common/_itowa.c (_itowa): Likewise.
22210 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22211 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22212
22213 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22214
22215 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22216 struct La_sh_regs is not constant.
22217 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22218 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22219 and struct La_sparc64_regs are not constant.
22220
22221 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22222
22223 * sysdeps/unix/sysv/linux/kernel-features.h
22224 (__ASSUME_POSIX_TIMERS): Remove.
22225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22227 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22228 Make code unconditional.
22229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22230 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22231 Make code unconditional.
22232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22233 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22234 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22236 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22237 Make code unconditional.
22238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22239 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22240 (__libc_missing_posix_timers): Remove.
22241
22242 2012-08-15 Roland McGrath <roland@hack.frob.com>
22243
22244 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22245 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22246
22247 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22248
22249 * elf/dl-sym.c: Include <stdlib.h>.
22250
22251 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22252 constants, which avoids warnings in 32-bit builds.
22253
22254 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22255 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22256
22257 * misc/lseek.c: File moved to ...
22258 * io/lseek.c: ... here.
22259
22260 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22261
22262 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22263 shifting LEN more than 31 bits at once.
22264
22265 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22266
22267 [BZ #14195]
22268 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22269 segmentation fault for a case of two empty input strings.
22270 * string/test-strncasecmp.c (check1): Renamed to...
22271 (bz12205): ...this.
22272 (bz14195): Add new testcase for two empty input strings and N > 0.
22273 (test_main): Call new testcase, adapt for renamed function.
22274
22275 2012-08-15 Andreas Jaeger <aj@suse.de>
22276
22277 [BZ #14090]
22278 * crypt/md5test2.c: New test, based on test supplied by Serge
22279 Belyshev <belyshev@depni.sinp.msu.ru>.
22280 * crypt/Makefile (xtests): Add md5test-giant..
22281 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22282
22283 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22284
22285 [BZ #14090]
22286 * crypt/md5.c (md5_process_block): Don't assume the buffer
22287 length is less than 2**32.
22288 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22289 length is less than 2**64.
22290
22291 2012-08-15 Roland McGrath <roland@hack.frob.com>
22292
22293 * string/str-two-way.h: Include <sys/param.h>.
22294 (MAX): Macro removed.
22295
22296 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22297 Move #define and #undef of memmove to just before and after
22298 including <string.h>.
22299
22300 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22301 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22302 and after including <string.h>. Move declarations of
22303 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22304 to before #include "string/memmove.c".
22305
22306 * include/dirent.h: Declare __getdirentries.
22307
22308 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22309 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22310
22311 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22312
22313 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22314 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22315 * sysdeps/i386/configure: Regenerated.
22316 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22317 STABS_CURRENT_FILE, and STABS_FUN.
22318 (END): Remove call to STABS_FUN_END.
22319 (STABS_CURRENT_FILE1): Delete.
22320 (STABS_CURRENT_FILE): Likewise.
22321 (STABS_FUN): Likewise.
22322 (STABS_FUN_END): Likewise.
22323 (STABS_FUN2): Likewise.
22324 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22325 * sysdeps/x86_64/configure: Regenerated.
22326
22327 2012-08-14 Roland McGrath <roland@hack.frob.com>
22328
22329 * elf/dl-open.c: Include <atomic.h>.
22330 * elf/dl-lookup.c: Likewise.
22331
22332 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22333
22334 * sysdeps/unix/sysv/linux/kernel-features.h
22335 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22336 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22337 unconditionally.
22338 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22339 unconditionally.
22340 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22341 condition on __ASSUME_CLONE_THREAD_FLAGS.
22342
22343 2012-08-14 Andreas Jaeger <aj@suse.de>
22344
22345 * sysdeps/i386/fpu/libm-test-ulps: Update.
22346
22347 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22348
22349 * include/atomic.h (atomic_exchange_and_add): Split into ...
22350 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22351 New atomic macros.
22352
22353 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22354
22355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22356
22357 2012-08-13 Jeff Law <law@redhat.com>
22358
22359 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22360 null byte in the output string.
22361
22362 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22363
22364 * sysdeps/unix/sysv/linux/kernel-features.h
22365 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22366 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22367 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22369 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22370 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22371 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22372
22373 2012-08-09 Jeff Law <law@redhat.com>
22374
22375 [BZ #13939]
22376 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22377 When avoid_arena is set, don't retry in the that arena. Pick the
22378 next one, whatever it might be.
22379 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22380 (arena_lock): Pass in new parameter to arena_get2.
22381 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22382 arena_get2.
22383 (__libc_malloc): Unify retrying after main arena failure with
22384 __libc_memalign version.
22385 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22386
22387 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 [BZ #14166]
22390 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22391 to __redirect_strstr.
22392 (__strstr_sse42): Use typeof __redirect_strstr.
22393 (__strstr_ia32): Likewise.
22394 (__libc_strstr): New prototype.
22395 (strstr): Renamed to ...
22396 (__libc_strstr): This.
22397 (strstr): New strong alias of __libc_strstr.
22398 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22399 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22400 __redirect_time.
22401 Include <time.h>.
22402 (__libc_time): New prototype.
22403 (time_ifunc): Replace time with __libc_time.
22404 (time): New strong alias and hidden definition of __libc_time.
22405 (__GI_time): Remove strong alias.
22406 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22407 Include <stddef.h>.
22408 (memmove): Redefined to __redirect_memmove.
22409 (__memmove_sse2): Use typeof __redirect_memmove.
22410 (__memmove_ssse3): Likewise.
22411 (__memmove_ssse3_back): Likewise.
22412 (__libc_memmove): New prototype.
22413 (memmove): Renamed to ...
22414 (__libc_memmove): This.
22415 (memmove): New strong alias of __libc_memmove.
22416
22417 2012-08-08 Mark Salter <msalter@redhat.com>
22418
22419 * elf/elf.h
22420 (R_MN10300_TLS_GD): Define.
22421 (R_MN10300_TLS_LD): Likewise.
22422 (R_MN10300_TLS_LDO): Likewise.
22423 (R_MN10300_TLS_GOTIE): Likewise.
22424 (R_MN10300_TLS_IE): Likewise.
22425 (R_MN10300_TLS_LE): Likewise.
22426 (R_MN10300_TLS_DTPMOD): Likewise.
22427 (R_MN10300_TLS_DTPOFF): Likewise.
22428 (R_MN10300_TLS_TPOFF): Likewise.
22429 (R_MN10300_SYM_DIFF): Likewise.
22430 (R_MN10300_ALIGN): Likewise.
22431 (R_MN10300_NUM): Update.
22432
22433 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22434
22435 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22436 Remove.
22437
22438 2012-08-08 Roland McGrath <roland@hack.frob.com>
22439
22440 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22441
22442 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22443 sysdeps/unix -> sysdeps/posix move.
22444 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22445
22446 2012-08-07 Allan McRae <allan@archlinux.org>
22447
22448 [BZ #14303]
22449 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22450 (SUNOS_CPP): Likewise.
22451 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22452 not found.
22453 (open_input): Call CPP using execvp.
22454
22455 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22456
22457 * sysdeps/unix/sysv/linux/kernel-features.h
22458 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22459 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22460 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22461 (__ASSUME_WAITID_SYSCALL): Likewise.
22462 * sysdeps/unix/sysv/linux/dl-execstack.c
22463 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22464 code unconditional.
22465 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22466 conditional code.
22467 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22468 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22469 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22470 code.
22471 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22472 unconditional.
22473 [__ASSUME_WAITID_SYSCALL]: Likewise.
22474 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22475
22476 2012-08-07 Roland McGrath <roland@hack.frob.com>
22477
22478 * sysdeps/unix/closedir.c: Renamed to ...
22479 * sysdeps/posix/closedir.c: ... here.
22480 * sysdeps/unix/dirfd.c: Renamed to ...
22481 * sysdeps/posix/dirfd.c: ... here.
22482 * sysdeps/unix/dirstream.h: Renamed to ...
22483 * sysdeps/posix/dirstream.h: ... here.
22484 * sysdeps/unix/fdopendir.c: Renamed to ...
22485 * sysdeps/posix/fdopendir.c: ... here.
22486 * sysdeps/unix/opendir.c: Renamed to ...
22487 * sysdeps/posix/opendir.c: ... here.
22488 * sysdeps/unix/readdir.c: Renamed to ...
22489 * sysdeps/posix/readdir.c: ... here.
22490 * sysdeps/unix/readdir_r.c: Renamed to ...
22491 * sysdeps/posix/readdir_r.c: ... here.
22492 * sysdeps/unix/rewinddir.c: Renamed to ...
22493 * sysdeps/posix/rewinddir.c: ... here.
22494 * sysdeps/unix/seekdir.c: Renamed to ...
22495 * sysdeps/posix/seekdir.c: ... here.
22496 * sysdeps/unix/telldir.c: Renamed to ...
22497 * sysdeps/posix/telldir.c: ... here.
22498 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22499 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22500 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22501 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22502
22503 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22504 * bits/fcntl.h: ... here.
22505
22506 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22507 not 0.
22508 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22509 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22510 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22511 (struct flock): Move l_start, l_len to the beginning.
22512 Use __pid_t for l_pid.
22513 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22514 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22515 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22516 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22517 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22518 [__USE_LARGEFILE64] (struct flock64): New type.
22519 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22520
22521 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22522 * bits/dirent.h: ... here.
22523
22524 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22525 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22526
22527 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22528
22529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22530 Change from 2.6.0 to 2.6.16.
22531 * sysdeps/unix/sysv/linux/configure: Regenerated.
22532 * sysdeps/unix/sysv/linux/kernel-features.h
22533 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22534 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22535 version.
22536 (__ASSUME_UTIMES): Likewise.
22537 (__ASSUME_CLONE_STOPPED): Remove.
22538 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22539 architectures, not kernel version.
22540 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22541 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22542 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22543 (__ASSUME_WAITID_SYSCALL): Likewise.
22544 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22545 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22546 * README: State 2.6.16 as minimum Linux kernel version. Do not
22547 refer to older versions.
22548
22549 2012-08-06 Roland McGrath <roland@hack.frob.com>
22550
22551 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22552 Define alphasort64 as an alias.
22553 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22554 Define versionsort64 as an alias.
22555 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22556 Define scandir64 as an alias.
22557 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22558 Define scandirat64 as an alias.
22559 * dirent/alphasort64.c (alphasort64):
22560 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22561 * dirent/versionsort64.c: Likewise.
22562 * dirent/scandir64.c: Likewise.
22563 * dirent/scandirat64.c: Likewise.
22564 * sysdeps/wordsize-64/alphasort.c: File removed.
22565 * sysdeps/wordsize-64/alphasort64.c: File removed.
22566 * sysdeps/wordsize-64/scandir.c: File removed.
22567 * sysdeps/wordsize-64/scandir64.c: File removed.
22568 * sysdeps/wordsize-64/scandirat.c: File removed.
22569 * sysdeps/wordsize-64/scandirat64.c: File removed.
22570 * sysdeps/wordsize-64/versionsort.c: File removed.
22571 * sysdeps/wordsize-64/versionsort64.c: File removed.
22572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22580
22581 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22583 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22585 [defined __arch64__ || defined __sparcv9]
22586 (__INO_T_MATCHES_INO64_T): New macro.
22587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22588 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22589 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22590 * sysdeps/unix/sysv/linux/bits/dirent.h
22591 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22592 (_DIRENT_MATCHES_DIRENT64): New macro.
22593
22594 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22595 Define lockf64 as an alias.
22596 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22597 Define fseeko64 as an alias.
22598 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22599 Define ftello64 as an alias.
22600 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22601 Define _IO_fgetpos64 and fgetpos64 as aliases.
22602 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22603 Define _IO_fsetpos64 and fsetpos64 as aliases.
22604 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22605 Conditionalize body on this.
22606 * libio/fseeko64.c: Likewise.
22607 * libio/ftello64.c: Likewise.
22608 * libio/iofgetpos64.c: Likewise.
22609 * libio/iofsetpos64.c: Likewise.
22610 * sysdeps/wordsize-64/lockf.c: File removed.
22611 * sysdeps/wordsize-64/lockf64.c: File removed.
22612 * sysdeps/wordsize-64/fseeko.c: File removed.
22613 * sysdeps/wordsize-64/fseeko64.c: File removed.
22614 * sysdeps/wordsize-64/ftello.c: File removed.
22615 * sysdeps/wordsize-64/ftello64.c: File removed.
22616 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22617 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22618 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22619 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22622 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22624 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22626 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22628 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22629 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22630
22631 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22633 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22635 [defined __arch64__ || defined __sparcv9]
22636 (__OFF_T_MATCHES_OFF64_T): New macro.
22637 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22638 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22640 (__OFF_T_MATCHES_OFF64_T): New macro.
22641
22642 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22643
22644 * stdlib/secure-getenv.c (__secure_getenv): Replace
22645 GLIBC_2_16 with GLIBC_2_17.
22646
22647 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22648
22649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22651
22652 2012-08-03 David S. Miller <davem@davemloft.net>
22653
22654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22655
22656 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22657
22658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22659 Remove.
22660 (__ASSUME_CORRECT_SI_PID): Likewise.
22661 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22662 (__ASSUME_TMPFS_NAME): Likewise.
22663 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22664 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22665 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22666 (HAVE_AUX_SECURE): Make definition unconditional.
22667 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22668 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22669
22670 2012-08-03 Roland McGrath <roland@hack.frob.com>
22671
22672 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22673 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22674 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22675 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22676 __eloop_threshold instead of SYMLOOP_MAX.
22677
22678 * sysdeps/generic/eloop-threshold.h: New file.
22679 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22680 of MAXSYMLINKS.
22681 * elf/chroot_canon.c (chroot_canon): Likewise.
22682
22683 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22684
22685 [BZ #13717]
22686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22687 Change to 2.6.0 everywhere.
22688 * sysdeps/unix/sysv/linux/configure: Regenerated.
22689 * sysdeps/unix/sysv/linux/kernel-features.h
22690 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22691 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22692 kernel versions.
22693 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22694 (__ASSUME_FUTEX_REQUEUE): Remove.
22695 (__ASSUME_STATFS64): Define unconditionally.
22696 (__ASSUME_AT_SECURE): Likewise.
22697 (__ASSUME_CORRECT_SI_PID): Likewise.
22698 (__ASSUME_TGKILL): Define without depending on kernel version for
22699 i386.
22700 (__ASSUME_UTIMES): Likewise.
22701 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22702 kernel version.
22703 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22704 (__ASSUME_TMPFS_NAME): Likewise.
22705 * README: Update reference to Linux kernel versions.
22706
22707 2012-08-02 Marek Polacek <polacek@redhat.com>
22708
22709 [BZ# 14150]
22710 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22711 libc_cv_asm_type_prefix with %.
22712 * configure: Regenerated.
22713 * include/libc-symbols.h: Remove comment about
22714 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22715 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22716 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22717 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22718 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22719 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22720 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22721 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22722 * elf/tst-unique2mod1.c: Likewise.
22723 * elf/tst-unique1mod2.c: Likewise.
22724 * elf/tst-unique1mod1.c: Likewise.
22725 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22726 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22727 Replace ASM_TYPE_DIRECTIVE with .type.
22728 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22729 * sysdeps/i386/sysdep.h: Likewise.
22730 * sysdeps/x86_64/sysdep.h: Likewise.
22731 * sysdeps/sh/sysdep.h: Likewise.
22732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22733 Do not define ASM_TYPE_DIRECTIVE.
22734 * sysdeps/powerpc/sysdep.h: Likewise.
22735 * sysdeps/powerpc/powerpc32/sysdep.h:
22736 Replace ASM_TYPE_DIRECTIVE with .type.
22737 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22738 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22739 * sysdeps/i386/fpu/e_powf.S: Likewise.
22740 * sysdeps/i386/fpu/e_expl.S: Likewise.
22741 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22742 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22743 * sysdeps/i386/fpu/e_pow.S: Likewise.
22744 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22746 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22747 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22748 * sysdeps/i386/fpu/e_log2.S: Likewise.
22749 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22750 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22751 * sysdeps/i386/fpu/e_powl.S: Likewise.
22752 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22753 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22754 * sysdeps/i386/fpu/e_logl.S: Likewise.
22755 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22756 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22757 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22758 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22759 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22760 * sysdeps/i386/fpu/e_log.S: Likewise.
22761 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22762 * sysdeps/i386/fpu/e_logf.S: Likewise.
22763 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22764 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22765 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22766 * sysdeps/i386/fpu/e_log10.S: Likewise.
22767 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22768 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22769 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22770 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22771 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22772 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22773 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22774 * sysdeps/i386/i686/strtok.S: Likewise.
22775 * sysdeps/i386/i386-mcount.S: Likewise.
22776 * sysdeps/i386/strtok.S: Likewise.
22777 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22778 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22779 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22780 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22781 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22782 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22783 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22784 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22785 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22786 * sysdeps/x86_64/_mcount.S: Likewise.
22787 * sysdeps/x86_64/strtok.S: Likewise.
22788 * sysdeps/sh/_mcount.S: Likewise.
22789
22790 2012-08-01 Roland McGrath <roland@hack.frob.com>
22791
22792 * libio/iofopen.c: Include <fcntl.h>.
22793 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22794 (_IO_fopen64, fopen64): Define as aliases.
22795 * libio/iofopen64.c: Include <fcntl.h>.
22796 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22797 Conditionalize body on this.
22798 * sysdeps/wordsize-64/iofopen.c: File removed.
22799 * sysdeps/wordsize-64/iofopen64.c: File removed.
22800
22801 2012-08-01 Marek Polacek <polacek@redhat.com>
22802
22803 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22804 Use dlfcn directly instead of a variable.
22805 (binfmt-subdir): Do not define.
22806 (dlfcn): Likewise.
22807
22808 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22809
22810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22811 Remove all definitions.
22812 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22813 <kernel-features.h>.
22814 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22815 (miss_F_GETOWN_EX): Remove all definitions.
22816 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22817 macro definition.
22818 [!__ASSUME_FCNTL64]: Remove conditional code.
22819 [__ASSUME_FCNTL64]: Make code unconditional.
22820 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22821 <kernel-features.h>.
22822 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22823 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22824 (lockf64) [__NR_fcntl64]: Make code unconditional.
22825 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22826
22827 * sysdeps/unix/sysv/linux/kernel-features.h
22828 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22829 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22830 Make code unconditional.
22831 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22832 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22834 [__NR_vfork]: Make code unconditional.
22835 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22836 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22838 [__NR_vfork]: Make code unconditional.
22839 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22840 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22841
22842 2012-08-01 Roland McGrath <roland@hack.frob.com>
22843
22844 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22845 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22846
22847 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22848 Define mkstemp64 as an alias.
22849 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22850 Define mkstemps64 as an alias.
22851 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22852 Define mkostemp64 as an alias.
22853 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22854 Define mkostemps64 as an alias.
22855 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22856 Conditionalize body on this.
22857 * misc/mkostemp64.c: Likewise.
22858 * misc/mkostemps64.c: Likewise.
22859 * misc/mkstemps64.c: Likewise.
22860 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22861 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22862 * sysdeps/wordsize-64/mkostemp.c: File removed.
22863 * sysdeps/wordsize-64/mkstemp.c: File removed.
22864 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22866 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22868
22869 [BZ #14138]
22870 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22871 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22872 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22873 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22874
22875 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22876 compat_symbol macros from <shlib-compat.h> rather than the underlying
22877 default_symbol_version and symbol_version macros, so that DEFAULT
22878 lines in shlib-versions are respected.
22879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22880
22881 2012-08-01 Florian Weimer <fweimer@redhat.com>
22882
22883 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22884 Declare with warn_unused_result.
22885 (setgid, setregid, setegid, setresgid): Likewise.
22886 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22887 Likewise.
22888 * WUR-REPORT: Remove set*id functions.
22889
22890 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22891
22892 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22893
22894 2012-07-31 Roland McGrath <roland@hack.frob.com>
22895
22896 [BZ #10191]
22897 * include/sys/socket.h (__libc_accept, __libc_accept4):
22898 Add attribute_hidden.
22899 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22900
22901 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22902 use of PTR_MANGLE.
22903 * inet/getnetgrent_r.c (setup): Likewise.
22904
22905 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22906
22907 2012-07-31 David S. Miller <davem@davemloft.net>
22908
22909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22910
22911 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22912
22913 [BZ #13629]
22914 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22915 value between 1.0 and 2.0 and smaller part has absolute value less
22916 than 1.0.
22917 * math/s_clog10.c (__clog10): Likewise.
22918 * math/s_clog10f.c (__clog10f): Likewise.
22919 * math/s_clog10l.c (__clog10l): Likewise.
22920 * math/s_clogf.c (__clogf): Likewise.
22921 * math/s_clogl.c (__clogl): Likewise.
22922 * math/libm-test.inc (clog_test): Add more tests.
22923 (clog10_test): Likewise.
22924 * sysdeps/i386/fpu/libm-test-ulps: Update.
22925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22926
22927 2012-07-31 Florian Weimer <fweimer@redhat.com>
22928
22929 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22930 Exit with zero in case no suitable GID is found, and write a
22931 message to standard error.
22932
22933 2012-07-30 Roland McGrath <roland@hack.frob.com>
22934
22935 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22936 rather than to 1.
22937 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22938 (MAXPATHLEN): Removed.
22939 (NOGROUP, NODEV): New macros.
22940 (setbit, clrbit, isset, isclr): New macros.
22941 (howmany, roundup, powerof2): New macros.
22942 (DEV_BSIZE): New macro.
22943
22944 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22945 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22946
22947 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22948 definition on [!__NO_LONG_DOUBLE_MATH].
22949
22950 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22951 PTR_MANGLE and PTR_DEMANGLE.
22952
22953 * socket/accept4.c (accept4): Rename to __libc_accept4.
22954 Define accept4 as a weak alias.
22955
22956 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22957 on [_DIRENT_HAVE_D_TYPE].
22958 * io/ftw.c (ftw_dir): Likewise.
22959
22960 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22961
22962 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22963
22964 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22965 Use the BSD numbers rather than the arbitrary ones we had.
22966 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22967 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22968 (SIGXCPU, SIGXFSZ): New macros.
22969 (_NSIG): Now 32.
22970
22971 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22972 initializer on [_LIBC_REENTRANT].
22973
22974 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22975 definitions inside [_POSIX_MAPPED_FILES].
22976
22977 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22978
22979 * dirent/opendir.c: Include <fcntl.h>.
22980
22981 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22982 (__libc_getspecific): Likewise.
22983 (__libc_key_create): Likewise.
22984
22985 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22986 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22987 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22988 (tmpfile64): Define as alias.
22989 * sysdeps/wordsize-64/tmpfile.c: File removed.
22990 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22993
22994 * stdio-common/vfscanf.c: Include <stdbool.h>.
22995 * nss/makedb.c: Likewise.
22996 * stdio-common/_i18n_number.h: Likewise.
22997 * argp/argp-help.c: Likewise.
22998 * posix/wordexp.c: Likewise.
22999 * sysdeps/posix/spawni.c: Likewise.
23000 * nss/nss_files/files-initgroups.c: Likewise.
23001 * stdio-common/reg-modifier.c: Include <stdlib.h>.
23002 * nss/nss_files/files-initgroups.c: Likewise.
23003 * nss/nss_db/db-netgrp.c: Likewise.
23004 * nss/nss_db/db-initgroups.c: Likewise.
23005 * io/fchmodat.c: Include <sys/stat.h>.
23006
23007 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23008 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23009
23010 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23011 [HAVE_MMAP].
23012
23013 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23014 Add multiple inclusion protection.
23015
23016 2012-07-27 David S. Miller <davem@davemloft.net>
23017
23018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23019
23020 2012-07-27 Gary Benson <gbenson@redhat.com>
23021
23022 [BZ #14298]
23023 * elf/rtld.c: Include <stap-probe.h>.
23024 (dl_main): Added static probes "init_start" and "init_complete".
23025 * elf/dl-load.c: Include <stap-probe.h>.
23026 (lose): Take new parameter "nsid".
23027 Added static probe "map_failed".
23028 (_dl_map_object_from_fd): Pass namespace id to lose.
23029 Added static probe "map_start".
23030 (open_verify): Pass namespace id to lose.
23031 * elf/dl-open.c: Include <stap-probe.h>.
23032 (dl_open_worker) Added static probes "map_complete", "reloc_start"
23033 and "reloc_complete".
23034 * elf/dl-close.c: Include <stap-probe.h>.
23035 (_dl_close_worker): Added static probes "unmap_start" and
23036 "unmap_complete".
23037 * elf/rtld-debugger-interface.txt: New file documenting the above.
23038
23039 2012-07-26 Roland McGrath <roland@hack.frob.com>
23040
23041 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23042 rather than a string variable.
23043 * sunrpc/rpc_main.c (h_output): Likewise.
23044 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23045
23046 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
23047
23048 * inet/check_native.c: New file.
23049
23050 2012-07-26 Joseph Myers <joseph@codesourcery.com>
23051
23052 [BZ #13629]
23053 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23054 if larger part has absolute value 1.0.
23055 * math/s_clog10.c (__clog10): Likewise.
23056 * math/s_clog10f.c (__clog10f): Likewise.
23057 * math/s_clog10l.c (__clog10l): Likewise.
23058 * math/s_clogf.c (__clogf): Likewise.
23059 * math/s_clogl.c (__clogl): Likewise.
23060 * math/libm-test.inc (clog_test): Add more tests.
23061 (clog10_test): Likewise.
23062 * sysdeps/i386/fpu/libm-test-ulps: Update.
23063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064
23065 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23066 (pltexit): Likewise.
23067 (La_regs): Likewise.
23068 (La_retval): Likewise.
23069 (int_retval): Likewise.
23070 Update #error for removed macros to refer only to definitions in
23071 tst-audit.h.
23072 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23073 macro.
23074 (pltexit): Likewise.
23075 (La_regs): Likewise.
23076 (La_retval): Likewise.
23077 (int_retval): Likewise.
23078 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23079 macro.
23080 (pltexit): Likewise.
23081 (La_regs): Likewise.
23082 (La_retval): Likewise.
23083 (int_retval): Likewise.
23084 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23085 macro.
23086 (pltexit): Likewise.
23087 (La_regs): Likewise.
23088 (La_retval): Likewise.
23089 (int_retval): Likewise.
23090 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23091 macro.
23092 (pltexit): Likewise.
23093 (La_regs): Likewise.
23094 (La_retval): Likewise.
23095 (int_retval): Likewise.
23096 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23097 macro.
23098 (pltexit): Likewise.
23099 (La_regs): Likewise.
23100 (La_retval): Likewise.
23101 (int_retval): Likewise.
23102 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23103 macro.
23104 (pltexit): Likewise.
23105 (La_regs): Likewise.
23106 (La_retval): Likewise.
23107 (int_retval): Likewise.
23108 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23109 macro definitions in tst-audit.h.
23110 * sysdeps/i386/tst-audit.h: New file.
23111 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23112 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23113 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23114 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23115 * sysdeps/sh/tst-audit.h: Likewise.
23116 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23117 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23118 * sysdeps/x86_64/tst-audit.h: Likewise.
23119
23120 2012-07-26 Andreas Jaeger <aj@suse.de>
23121
23122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23123 ptrace.
23124
23125 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23126 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23127 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23128 PTRACE_O_MASK.
23129 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23130 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23132
23133 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23134 value.
23135
23136 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23137 _sigsys.
23138 (si_call_addr, si_syscall, si_arch): Define new macro.
23139 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23140 _sigsys.
23141 (si_call_addr, si_syscall, si_arch): Define new marcro.
23142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23143 _sigsys.
23144 (si_call_addr, si_syscall, si_arch): Define new macro.
23145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23146 _sigsys.
23147 (si_call_addr, si_syscall, si_arch): Define new macro.
23148
23149 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #13717]
23152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23153 Change to 2.4.21 where previously 2.4.1.
23154 * sysdeps/unix/sysv/linux/configure: Regenerated.
23155 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23156 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23157 Linux kernel version.
23158 (__ASSUME_STD_AUXV): Remove.
23159 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23160 kernel version.
23161 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23162 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23163 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23164 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23165 (__ASSUME_NETLINK_SUPPORT): Likewise.
23166 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23167 (__no_netlink_support): Remove conditional definition.
23168 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23169 Remove.
23170 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23171 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23172 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23173 (if_nameindex_ioctl): Remove.
23174 (if_nameindex_netlink): Do not handle __no_netlink_support.
23175 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23176 code.
23177 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23178 Remove conditional code.
23179 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23180 code.
23181 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23182 unconditional.
23183 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23184 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23185 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23186 Remove.
23187 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23188 [!__ASSUME_STD_AUXV]: Remove conditional code.
23189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23190 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23191 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23193 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23194 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23195 code.
23196 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23198 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23199 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23200 conditional code.
23201 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23203 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23204 code.
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23206 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23207 conditional code.
23208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23209 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23210 code unconditional.
23211 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23212 conditional code.
23213 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23214 unconditional.
23215 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23216 conditional code.
23217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23218 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23219 unconditional.
23220 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23221 conditional code.
23222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23223 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23224 code unconditional.
23225 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23226 conditional code.
23227 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23228 unconditional.
23229 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23230 conditional code.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23232 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23233 code unconditional.
23234 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23235 conditional code.
23236 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23237 unconditional.
23238 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23239 conditional code.
23240
23241 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23242
23243 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23245 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23246 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23247 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23248 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23249 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23250 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23251 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23252 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23253 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23254 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23255 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23256 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23257 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23258 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23259 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23260 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23261 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23263 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23264 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23266
23267 2012-07-25 Florian Weimer <fweimer@redhat.com>
23268
23269 * Versions.def: Add GLIBC_2.17.
23270 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23271 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23272 Introduce __libc_secure_getenv.
23273 * stdlib/Versions (2.17): Add secure_getenv
23274 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23275 * stdlib/secure-getenv.c: Rename __secure_getenv to
23276 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23277 symbol __secure_getenv for GLIBC_2.0.
23278 * stdlib/tst-secure-getenv.c: New.
23279 * stdlib/Makefile (tests): Add testcase.
23280 * manual/startup.texi (Environment Access): Document
23281 secure_getenv.
23282 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23283 __libc_secure_getenv.
23284 * inet/ruserpass.c (ruserpass): Likewise.
23285 * malloc/mtrace.c (mtrace): Likewise.
23286 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23287 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23288 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23289 * sysdeps/posix/tempname.c: Likewise. Evaluate
23290 HAVE_SECURE_GETENV.
23291 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23292 __secure_getenv to __libc_secure_getenv.
23293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23295 Likewise.
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23297 Likewise.
23298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23305
23306 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23307
23308 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23309 (struct La_i86_retval): Likewise.
23310 (struct La_x86_64_regs): Likewise.
23311 (struct La_x86_64_retval): Likewise.
23312 (struct La_x32_regs): Likewise.
23313 (struct La_x32_retval): Likewise.
23314 (struct La_ppc32_regs): Likewise.
23315 (struct La_ppc32_retval): Likewise.
23316 (struct La_ppc64_regs): Likewise.
23317 (struct La_ppc64_retval): Likewise.
23318 (struct La_sh_regs): Likewise.
23319 (struct La_sh_retval): Likewise.
23320 (struct La_s390_32_regs): Likewise.
23321 (struct La_s390_32_retval): Likewise.
23322 (struct La_s390_64_regs): Likewise.
23323 (struct La_s390_64_retval): Likewise.
23324 (struct La_sparc32_regs): Likewise.
23325 (struct La_sparc32_retval): Likewise.
23326 (struct La_sparc64_regs): Likewise.
23327 (struct La_sparc64_retval): Likewise.
23328 (struct audit_ifaces): Remove architecture-specific pltenter and
23329 pltexit members.
23330 * sysdeps/i386/ldsodefs.h: New file.
23331 * sysdeps/powerpc/ldsodefs.h: Likewise.
23332 * sysdeps/s390/ldsodefs.h: Likewise.
23333 * sysdeps/sh/ldsodefs.h: Likewise.
23334 * sysdeps/sparc/ldsodefs.h: Likewise.
23335 * sysdeps/x86_64/ldsodefs.h: Likewise.
23336
23337 2012-07-25 Marek Polacek <polacek@redhat.com>
23338
23339 [BZ #6808]
23340 * math/libm-test.inc (yn_test): Add another test.
23341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23342 to ERANGE when the result is +-Inf.
23343 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23344 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23345 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23346 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23347
23348 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23349
23350 * conform/data/time.h-data (NULL): Use macro-constant. Require
23351 equal to 0.
23352 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23353 clock_t.
23354 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23355
23356 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23357
23358 * configure.in <sysdeps resolving>: Correct printing
23359 Implies_before.
23360 * configure: Regenerate.
23361
23362 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23363
23364 * math/w_ilogb.c: Include <limits.h>.
23365 * math/w_ilogbl.c: Likewise.
23366
23367 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23368
23369 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23370 va_copy. Document allowing for unavailable va_copy only as
23371 pre-C99 compatibility.
23372 * manual/string.texi (Copying and Concatenation): Use va_copy
23373 instead of __va_copy in concat example.
23374
23375 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23376
23377 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23378 (__sendto): Use create_address_port. Initialize APORT and deallocate
23379 it if not null.
23380
23381 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23382 with O_NOLINK passed to __file_name_lookup.
23383
23384 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23385 with O_NOLINK passed to __file_name_lookup.
23386
23387 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23388 negative N or less than NGIDS.
23389
23390 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23391 type to string_t. Set ERANGE as errno and return it if NAME is not big
23392 enough. Use memcpy instead of strncpy.
23393
23394 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23395
23396 * elf/Makefile (check-data): Remove.
23397 (localplt.data): New vpath directive.
23398 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23399 instead of $(check-data).
23400 * scripts/data/localplt-generic.data: Move to ...
23401 * sysdeps/generic/localplt.data: ... here.
23402 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23403 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23404 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23406 ... here.
23407 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23409 ... here.
23410 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23412 ... here.
23413 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23415 ... here.
23416 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23418 ... here.
23419 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23421 ... here.
23422
23423 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23424
23425 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23426 PPC32 and PPC64 files.
23427 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23428 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23429
23430 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23431
23432 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23433 __makecontext_ret to ...
23434 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23435 ... here and call exit if uc_link is NULL. New file.
23436 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23437 __makecontext_ret.S.
23438 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23439 __makecontext_ret to ...
23440 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23441 ... here and call exit if uc_link is NULL. New file.
23442 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23443 __makecontext_ret.S.
23444
23445 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23446
23447 * elf/elf.h (R_390_IRELATIVE): New definition.
23448 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23449 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23450 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23451 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23452 (elf_machine_lazy_rel): Likewise.
23453 * sysdeps/s390/dl-irel.h: New file.
23454 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23455 * sysdeps/s390/s390-64/memset.S: New asm code.
23456 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23457 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23458 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23459 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23460 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23461 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23463 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23464 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23465 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23466 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23467 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23468 * sysdeps/s390/s390-32/memset.S: New asm code.
23469 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23470
23471 2012-07-17 Marek Polacek <polacek@redhat.com>
23472
23473 [BZ #14349]
23474 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23475 * sysdeps/s390/s390-64/configure.in: Likewise.
23476 * sysdeps/sparc/configure.in: Likewise.
23477 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23478 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23479 * sysdeps/i386/configure.in: Likewise.
23480 * sysdeps/x86_64/configure.in: Likewise.
23481 * sysdeps/sh/configure.in: Likewise.
23482 * sysdeps/s390/s390-32/configure: Regenerated.
23483 * sysdeps/s390/s390-64/configure: Likewise.
23484 * sysdeps/x86_64/configure: Likewise.
23485 * sysdeps/sh/configure: Likewise.
23486 * sysdeps/powerpc/powerpc64/configure: Likewise.
23487 * sysdeps/powerpc/powerpc32/configure: Likewise.
23488 * sysdeps/sparc/configure: Likwise.
23489 * sysdeps/i386/configure: Likewise.
23490
23491 * elf/dl-open.c: Comment fixes.
23492
23493 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23494
23495 * Makefile [CXX] (check-data): Remove.
23496 [CXX] (c++-types.data): New vpath directive.
23497 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23498 vpath. Do not allow for C++ type data being missing.
23499 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23500 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23501 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23502 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23503 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23504 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23505 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23507 ... here.
23508 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23510 ... here.
23511 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23513 ... here.
23514 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23516 ... here.
23517 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23519 ... here.
23520 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23522 ... here.
23523 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23525 ... here.
23526 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23528
23529 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23530 definitions to architecture-specific files.
23531 (TLS_IE): Likewise.
23532 (TLS_LD): Likewise.
23533 (TLS_GD): Likewise.
23534 * sysdeps/i386/tls-macros.h: New file.
23535 * sysdeps/powerpc/tls-macros.h: Likewise.
23536 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23537 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23538 * sysdeps/sh/tls-macros.h: Likewise.
23539 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23540 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23541 * sysdeps/x86_64/tls-macros.h: Likewise.
23542
23543 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23544
23545 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23546 zero value for regular exit case.
23547
23548 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23549 (__start_context): Preserve zero value for regular exit case.
23550
23551 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23552 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23553
23554 * manual/setjmp.texi (setcontext): Clarify normal process
23555 termination when uc_link is the null pointer.
23556 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23557 exit call.
23558
23559 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23560
23561 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23562 preprocessor. Test for each exception mask separately.
23563
23564 2012-07-16 Andreas Jaeger <aj@suse.de>
23565
23566 * po/ru.po: Update from translation team.
23567
23568 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23569
23570 * conform/data/string.h-data (NULL): Use macro-constant. Require
23571 equal to 0.
23572 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23573 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23574 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23575 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23577
23578 2012-07-13 Andreas Jaeger <aj@suse.de>
23579
23580 * po/fr.po: Update from translation team.
23581
23582 2012-07-12 Marek Polacek <polacek@redhat.com>
23583
23584 [BZ #14173]
23585 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23586 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23587 loop condition.
23588
23589 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23590
23591 [BZ #13717]
23592 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23593 Change to 2.4.1 where previously 2.4.0.
23594 * sysdeps/unix/sysv/linux/configure: Regenerated.
23595 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23596 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23597 version.
23598 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23599 (__ASSUME_AT_CLKTCK): Remove.
23600 (__ASSUME_AT_PAGESIZE): Likewise.
23601 (__ASSUME_AT_XID): Likewise.
23602 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23603 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23604 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23605 unconditionally.
23606 (HAVE_AUX_PAGESIZE): Likewise.
23607 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23608 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23609 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23610
23611 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23612
23613 [BZ #14307]
23614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23615 the temporary buffer used to invoke __gethostbyname2_r,
23616 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23617 host_data / struct gaih_addrtuple.
23618 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23619 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23620 header file nss/nsswitch.h.
23621 * nss/nsswitch.h (global scope): Add definition of implementation
23622 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23623 resolv/nss_dns/dns-host.c).
23624
23625 2012-07-11 Andreas Jaeger <aj@suse.de>
23626
23627 * po/fr.po: Update from translation team.
23628
23629 * po/sv.po: Update from translation team
23630 * po/fr.po: Another update from translation team.
23631
23632 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23633
23634 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23635 for subnormals or multiply small sinh result by itself.
23636 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23638
23639 2012-07-11 David S. Miller <davem@davemloft.net>
23640
23641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23642
23643 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23644
23645 [BZ #14347]
23646 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23647 (INTERNAL_MARK): Shift it here.
23648
23649 2012-07-10 Marek Polacek <polacek@redhat.com>
23650
23651 [BZ #14151]
23652 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23653 libc_cv_asm_global_directive with .globl.
23654 * configure: Regenerated.
23655 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23656 with .globl.
23657 * sysdeps/i386/configure: Regenerated.
23658 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23659 with .globl.
23660 * sysdeps/x86_64/configure: Regenerated.
23661 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23662 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23663 * elf/tst-unique2mod2.c: Likewise.
23664 * elf/tst-unique2mod1.c: Likewise.
23665 * elf/tst-unique1mod2.c: Likewise.
23666 * elf/tst-unique1mod1.c: Likewise.
23667 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23668 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23670 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23671 * sysdeps/mach/sysdep.h: Likewise.
23672 * sysdeps/i386/sysdep.h: Likewise.
23673 * sysdeps/i386/i386-mcount.S: Likewise.
23674 * sysdeps/x86_64/_mcount.S: Likewise.
23675 * sysdeps/x86_64/sysdep.h: Likewise.
23676 * sysdeps/sh/_mcount.S: Likewise.
23677 * sysdeps/sh/sysdep.h: Likewise.
23678 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23679 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23680 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23681 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23682 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23683 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23684 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23685 * locale/localeinfo.h: Likewise.
23686 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23687 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23688
23689 2012-07-09 Roland McGrath <roland@hack.frob.com>
23690
23691 [BZ #14336]
23692 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23693 system".
23694 * manual/message.texi (The Uniforum approach): Likewise.
23695 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23696 (glibc iconv Implementation): Likewise.
23697
23698 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23699
23700 [BZ #14337]
23701 * math/s_clog.c (__clog): Avoid scaling a value down where that
23702 could result in underflow.
23703 * math/s_clog10.c (__clog10): Likewise.
23704 * math/s_clog10f.c (__clog10f): Likewise.
23705 * math/s_clog10l.c (__clog10l): Likewise.
23706 * math/s_clogf.c (__clogf): Likewise.
23707 * math/s_clogl.c (__clogl): Likewise.
23708 * math/libm-test.inc (clog_test): Add more tests.
23709 (clog10_test): Likewise.
23710 * sysdeps/i386/fpu/libm-test-ulps: Update.
23711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23712
23713 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23714
23715 [BZ #14283]
23716 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23717 by 7 not 8 to examine high bit of fractional part.
23718
23719 [BZ #14042]
23720 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23721 for call to __mcount_internal.
23722 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23723 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23724 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23725
23726 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23727
23728 [BZ #14154]
23729 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23730 approximation for values within 0x1p-13f of an odd multiple of
23731 pi/4.
23732 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23733 exception. Add more tests.
23734 * sysdeps/i386/fpu/libm-test-ulps: Update.
23735
23736 [BZ #6778]
23737 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23738 inputs and return -1 for them. Do not check for +Inf in case not
23739 reachable for +Inf.
23740 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23741 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23742 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23743 and return -1 for them. Do not check for +Inf in case not
23744 reachable for +Inf.
23745 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23746 define.
23747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23748 and return -1 for them. Do not check for +Inf in case not
23749 reachable for +Inf.
23750 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23751 spurious underflow.
23752 * sysdeps/i386/fpu/libm-test-ulps: Update.
23753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754
23755 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23756
23757 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23758
23759 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23760
23761 [BZ #14157]
23762 [BZ #14331]
23763 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23764 could result in spurious underflow. Scale down values above
23765 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23766 * math/s_csqrtf.c (__csqrtf): Likewise.
23767 * math/s_csqrtl.c (__csqrtl): Likewise.
23768 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23769 spurious underflow.
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23772
23773 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23774
23775 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23776 xopen-msg.sed.
23777 * catgets/xopen-msg.awk: New file.
23778 * catgets/xopen-msg.sed: Removed.
23779
23780 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23781 po2text.sed.
23782 * intl/po2test.awk: New file.
23783 * intl/po2test.sed: Removed.
23784
23785 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23786
23787 [BZ #14328]
23788 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23789 or multiply small sinh result by itself.
23790 * math/s_ctanf.c (__ctanf): Likewise.
23791 * math/s_ctanh.c (__ctanh): Likewise.
23792 * math/s_ctanhf.c (__ctanhf): Likewise.
23793 * math/s_ctanhl.c (__ctanhl): Likewise.
23794 * math/s_ctanl.c (__ctanl): Likewise.
23795 * math/libm-test.inc (ctan_test_tonearest): New function.
23796 (ctan_test_towardzero): Likewise.
23797 (ctan_test_downward): Likewise.
23798 (ctan_test_upward): Likewise.
23799 (ctanh_test_tonearest): Likewise.
23800 (ctanh_test_towardzero): Likewise.
23801 (ctanh_test_downward): Likewise.
23802 (ctanh_test_upward): Likewise.
23803 (main): Call these new functions.
23804 * sysdeps/i386/fpu/libm-test-ulps: Update.
23805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23806
23807 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23808
23809 * .gitignore: Delete /ports entry.
23810
23811 2012-07-03 Andreas Jaeger <aj@suse.de>
23812
23813 * po/bg.po: Update from translation team.
23814 * po/cs.po: Likewise.
23815 * po/de.po: Likewise.
23816 * po/hr.po: Likewise.
23817 * po/nl.pl: Likewise.
23818 * po/pl.po: Likewise.
23819 * po/vi.po: Likewise.
23820
23821 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23822
23823 * Makeconfig [!+link] (+link-before-libc): New variable.
23824 [!+link] (+link-after-libc): Likewise.
23825 [!+link] (+link-tests): Likewise.
23826 [!+link] (+link): Define in terms of $(+link-before-libc) and
23827 $(+link-after-libc).
23828 [!+link-static] (+link-static-before-libc): New variable.
23829 [!+link-static] (+link-static-after-libc): Likewise.
23830 [!+link-static] (+link-static-tests): Likewise.
23831 [!+link-static] (+link-static): Define in terms of
23832 $(+link-static-before-libc) and $(+link-static-after-libc).
23833 [build-shared] (link-libc-before-gnulib): New variable.
23834 [build-shared] (link-libc-tests): Likewise.
23835 [build-shared] (link-libc): Define in terms of
23836 $(link-libc-before-gnulib).
23837 [!build-shared] (link-libc-tests): New variable.
23838 (link-libc-static-tests): New variable.
23839 [!gnulib] (gnulib-arch): New variable.
23840 [!gnulib] (gnulib-tests): Likewise.
23841 [!gnulib] (static-gnulib-arch): Likewise.
23842 [!gnulib] (static-gnulib-tests): Likewise.
23843 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23844 Define with "=" instead of ":=".
23845 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23846 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23847 * Rules (binaries-all-notests): New variable.
23848 (binaries-all-tests): Likewise.
23849 (binaries-static-notests): Likewise.
23850 (binaries-static-tests): Likewise.
23851 (binaries-all): Define using $(binaries-all-notests) and
23852 $(binaries-all-tests).
23853 (binaries-static): Define using $(binaries-static-notests) and
23854 $(binaries-static-tests).
23855 (binaries-shared-tests): New variable.
23856 (binaries-shared-notests): Likewise.
23857 (binaries-shared): Remove variable.
23858 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23859 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23860 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23861 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23862 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23863 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23864 * elf/Makefile (sln-modules): New variable.
23865 (extra-objs): Add $(sln-modules:=.o).
23866 (ldconfig-modules): Add static-stubs.
23867 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23868 * elf/static-stubs.c: New file.
23869
23870 [BZ #14283]
23871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23872 by 7 not 8 to examine high bit of fractional part. Use volatile
23873 variables when splitting into final array of floats if
23874 __FLT_EVAL_METHOD__ != 0.
23875 * math/libm-test.inc (cos_test): Add another test.
23876 (sin_test): Likewise.
23877 * sysdeps/i386/fpu/libm-test-ulps: Update.
23878
23879 [BZ #14273]
23880 * math/libm-test.inc (cosh_test): Add more tests.
23881
23882 * version.h (RELEASE): Set to "development".
23883 (VERSION): Set to "2.16.90".
23884
23885 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23886
23887 * NEWS: Update copyright. Remove last-updated date.
23888 Mention math library bug fixes and timezone data changes.
23889 * README: Mention GNU/Hurd, x32, and HPPA support status.
23890
23891 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23892
23893 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23894
23895 2012-06-27 Andreas Jaeger <aj@suse.de>
23896
23897 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23898
23899 2012-06-25 Andreas Jaeger <aj@suse.de>
23900
23901 * sysdeps/s390/fpu/libm-test-ulps: Update.
23902
23903 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23904 Thomas Schwinge <thomas@codesourcery.com>
23905
23906 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23907 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23909 fanotify_mark.
23910
23911 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23912
23913 * sysdeps/mach/start.c: Remove file.
23914 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23915 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23916 * sysdeps/sh/init-first.c: Likewise.
23917
23918 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23919 registers for frame unwinding purposes, add CFI directives.
23920 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23921 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23922 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23923 Likewise.
23924
23925 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23926 __fortify_fail returning.
23927 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23928
23929 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23930 sysdeps/sh/____longjmp_chk.S.
23931 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23932 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23933 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23934 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23935
23936 * sysdeps/sh/abort-instr.h: New file.
23937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23938 process in case exit returns.
23939
23940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23941 initialize the GOT register before use.
23942
23943 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23944 calculation of ARGC > 4.
23945
23946 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23947 meaningful names to some local labels.
23948
23949 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23950 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23951
23952 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23953 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23954 (__arch_compare_and_exchange_val_16_acq): Likewise.
23955 (__arch_compare_and_exchange_val_32_acq): Likewise.
23956 (atomic_exchange_and_add): Fix gUSA sequence.
23957 (atomic_add): Likewise.
23958 (atomic_add_negative): Likewise.
23959 (atomic_add_zero): Likewise.
23960 (atomic_bit_test_set): Likewise.
23961
23962 2012-06-22 Andreas Schwab <schwab@redhat.com>
23963
23964 [BZ #13579]
23965 * include/link.h (struct link_map): Add l_free_initfini.
23966 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23967 l_initfini.
23968 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23969 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23970 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23971 set.
23972
23973 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23974
23975 * configure.in: Use AC_LANG_SOURCE.
23976 * configure: Regenerate.
23977
23978 2012-06-22 Roland McGrath <roland@hack.frob.com>
23979
23980 * configure.in (libc_cv_localstatedir): New substituted variable.
23981 * configure: Regenerated.
23982 * config.make.in (localstatedir): New variable, substituted from
23983 libc_cv_localstatedir.
23984 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23985 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23986 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23987 * sysdeps/gnu/configure: Regenerated.
23988
23989 2012-06-21 Jeff Law <law@redhat.com>
23990
23991 [BZ #14277]
23992 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23993 free. Simplify list management for _LIBC case.
23994
23995 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23996
23997 [BZ #14273]
23998 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23999 Clear sign bit of 64-bit integer value before comparing against
24000 overflow value.
24001
24002 * sysdeps/mach/configure: Regenerated.
24003
24004 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
24005
24006 [BZ #14278]
24007 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24008
24009 2012-06-21 Jeff Law <law@redhat.com>
24010
24011 [BZ #13882]
24012 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
24013 uint16_t for elements in the "seen" array to avoid char overflows.
24014 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24015 * elf/dl-open.c (dl_open_worker): Likewise.
24016
24017 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
24018
24019 * scripts/list-sources.sh: Scan PORTS for translations.
24020 * po/libc.pot: Regenerated.
24021
24022 2012-06-21 Andreas Jaeger <aj@suse.de>
24023
24024 [BZ #12194]
24025 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24026 warning.
24027 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24028 * bits/byteswap-16.h (__bswap_16): Likewise.
24029 * bits/byteswap.h (__bswap_constant_16): Likewise.
24030
24031 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
24032
24033 [BZ #14117]
24034 * sysdeps/i386/fpu_control.h: Removed.
24035 * sysdeps/x86_64/fpu_control.h: Moved to ...
24036 * sysdeps/x86/fpu_control.h: Here.
24037
24038 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24039 (_FPU_SETCW): Likewise.
24040
24041 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
24042
24043 [BZ #14117]
24044 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24045 * sysdeps/x86/fpu/bits/mathinline.h: This.
24046 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24047
24048 [BZ #14050]
24049 [BZ #14117]
24050 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24051 functions if __x86_64__ is defined.
24052
24053 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24054
24055 * string/endian.h: Add !__ASSEMBLER__ condition for including
24056 conversion interfaces.
24057
24058 2012-06-15 Joseph Myers <joseph@codesourcery.com>
24059
24060 [BZ #14241]
24061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24062 of ABS(x) in calculating zero to negative powers other than odd
24063 integers.
24064 * math/libm-test.inc (pow_test): Add more tests.
24065
24066 2012-06-15 Andreas Jaeger <aj@suse.de>
24067
24068 * manual/contrib.texi (Contributors): Update entry of Liubov
24069 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24070 Machado Filho.
24071
24072 2012-06-15 Cyril Hrubis <metan@ucw.cz>
24073
24074 * string/string.h: Add __wur to GNU version of strerror_r.
24075
24076 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24077
24078 [BZ #14229]
24079 * string/Makefile (tests): Add tst-strtok_r.
24080 * string/tst-strtok_r.c: New file.
24081 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24082 RAX_LP/RDX_LP on SAVE_PTR.
24083
24084 2012-06-14 Roland McGrath <roland@hack.frob.com>
24085
24086 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24087
24088 2012-06-14 Joseph Myers <joseph@codesourcery.com>
24089
24090 * libm_test.inc (csqrt_test): Allow more spurious underflow
24091 exceptions.
24092 (j0_test): Likewise.
24093 (j1_test): Likewise.
24094 (y0_test): Likewise.
24095 (y1_test): Likewise.
24096
24097 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24098
24099 * po/Makefile (libc.pot): Use UTF-8 charset.
24100
24101 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24102
24103 [BZ #14210]
24104 Suppress sign-conversion warning from FD_SET.
24105 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24106 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24107 not unsigned long int.
24108 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24109
24110 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24111
24112 [BZ #14050]
24113 [BZ #14117]
24114 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24115 __extern_always_inline instead of __extern_inline.
24116 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24117 (__signbit): Likewise.
24118 (__signbitl): Support C++ namespace.
24119 (lrintf): New inline function.
24120 (lrint): Likewise.
24121 (llrintf): Likewise.
24122 (llrint): Likewise.
24123 (fmaxf): Likewise.
24124 (fmax): Likewise.
24125 (fminf): Likewise.
24126 (fmin): Likewise.
24127 (rint): Likewise.
24128 (rintf): Likewise.
24129 (ceil): Likewise.
24130 (ceilf): Likewise.
24131 (floor): Likewise.
24132 (floorf): Likewise.
24133 (nearbyint): Likewise.
24134 (nearbyintf): Likewise.
24135
24136 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24137
24138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24139 non-default versions.
24140
24141 2012-06-11 Roland McGrath <roland@hack.frob.com>
24142
24143 [BZ #14218]
24144 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24145
24146 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24147
24148 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24149 (FE_UPWARD, FE_DOWNWARD): Don't define.
24150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24151 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24152
24153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24154 reading it.
24155 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24156 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24157
24158 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24159
24160 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24162 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24163 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24164
24165 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24166
24167 [BZ #14117]
24168 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24169 * sysdeps/i386/fpu/Implies: New file.
24170 * sysdeps/x86_64/fpu/Implies: Likewise.
24171 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24172 * sysdeps/x86/fpu/bits/fenv.h: This.
24173
24174 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24175 __SSE_MATH__.
24176
24177 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24178
24179 [BZ #14134]
24180 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24181 character 0xffff that matches the last element of the
24182 conversion table.
24183
24184 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24185
24186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24187 fmodl commit.
24188
24189 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24190
24191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24192 values higher than 25.6283.
24193
24194 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24195
24196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24197 subnormal exponent extraction and add some __builtin_expect.
24198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24199 Fix for subnormal mantissa calculation.
24200
24201 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24202
24203 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24204 cpu2 is -1 and errno is not ENOSYS.
24205
24206 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24207
24208 [BZ #14117]
24209 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24210 * sysdeps/x86/bits/string.h: This.
24211 * sysdeps/x86_64/bits/string.h: Removed.
24212
24213 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24214 if not compiling for x86-64, but compiling for >= i486.
24215
24216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24217 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24218
24219 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24220 New macro from Linux kernel 3.4.0.
24221 (FP_XSTATE_MAGIC2): Likewise.
24222 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24223 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24224 (struct _fpx_sw_bytes): New struct.
24225 (struct _xsave_hdr): Likewise.
24226 (struct _ymmh_state): Likewise.
24227 (struct _xstate): Likewise.
24228
24229 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24230 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24231 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24232 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24233 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24234 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24235
24236 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24237 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24238 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24239 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24240 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24241 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24242
24243 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24244
24245 [BZ #13743]
24246 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24247 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24248 (sysdep_headers): Include sys/platform/ppc.h.
24249 * sysdeps/powerpc/test-gettimebase.c: Test for
24250 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24251 * manual/Makefile (appendices): Include platform.texi.
24252 * manual/contrib.texi (Contributors): Update @node pointers.
24253 * manual/maint.texi (Maintenance): Likewise.
24254 (Platform): New node.
24255 * manual/platform.texi: New file. Document the new features.
24256
24257 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24258 Jakub Jelinek <jakub@redhat.com>
24259
24260 [BZ #14188]
24261 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24262 where __builtin_expect is unavailable.
24263
24264 2012-06-03 David S. Miller <davem@davemloft.net>
24265
24266 * stdlib/longlong.h: Updated from GCC.
24267
24268 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24269
24270 [BZ #14042]
24271 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24272 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24273 __mcount_internal.
24274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24275 (GLIBC_2.16): Likewise.
24276
24277 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24280
24281 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24282
24283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24284 (default-abi): New variable.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24286 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24287 variable.
24288 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24289 Likewise.
24290 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24291 Likewise.
24292 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24293 Likewise.
24294
24295 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24296 definition. Document in comment.
24297
24298 2012-06-01 David S. Miller <davem@davemloft.net>
24299
24300 * stdlib/longlong.h: Updated from GCC.
24301
24302 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 [BZ #14117]
24305 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24306 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24307 sys/debugreg.h sys/io.h here.
24308 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24309 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24310 sys/io.h.
24311 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24312 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24313 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24314 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24315 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24316 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24317
24318 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24319 Define only if __x86_64__ is defined.
24320
24321 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24322
24323 [BZ #14048]
24324 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24325 Use int64_t for variable i.
24326 * math/libm-test.inc (fmod_test): Add more tests.
24327
24328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24329 z computation is not scheduled after fetestexcept.
24330 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24331 Use math_force_eval instead of asm to ensure calculation scheduled
24332 before exception test.
24333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24334 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24335
24336 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24337
24338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24339 computation is not scheduled after fetestexcept.
24340
24341 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24342
24343 [BZ #14117]
24344 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24345 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24346
24347 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24348
24349 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24350 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24351
24352 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 [BZ #14117]
24355 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24356 <bits/wordsize.h>.
24357 (__WCHAR_MIN): Support __WORDSIZE == 64.
24358 (__WCHAR_MAX): Likewise.
24359
24360 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24361 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24362
24363 [BZ #14183]
24364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24365 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24366
24367 [BZ #14117]
24368 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24369 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24370
24371 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24372 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24373
24374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24375 Defined to 1 if __x86_64__ isn't defined.
24376 (_STAT_VER_LINUX_OLD): New.
24377 (st_atime): Remove duplicate.
24378 (st_mtime): Likewise.
24379 (st_ctime): Likewise.
24380
24381 2012-05-31 David S. Miller <davem@davemloft.net>
24382
24383 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24384 entries.
24385
24386 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24387
24388 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24389 gen-libm-test.pl.
24390
24391 [BZ #14132]
24392 * elf/dl-reloc.c: Include <_itoa.h>.
24393 (_dl_reloc_bad_type): Remove use of INTUSE.
24394 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24395 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24396 * stdio-common/psiginfo.c (psiginfo): Likewise.
24397 * stdio-common/psignal.c (psignal): Likewise.
24398 * string/strsignal.c (strsignal): Likewise.
24399 * include/signal.h (_sys_siglist): Declare hidden proto.
24400 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24401 INTVARDEF with libc_hidden_data_def.
24402 * stdio-common/itoa-udigits.c: Likewise.
24403 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24404 (_itoa_lower_digits_internal): Remove declaration.
24405 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24406 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24407 (_sys_sigabbrev_internal): Remove aliases.
24408 (_sys_siglist): Define hidden alias.
24409
24410 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24411
24412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24413 bits/sysctl.h.
24414
24415 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24416
24417 [BZ #14117]
24418 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24419 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24420
24421 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24422 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24423 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24424 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24426 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24427
24428 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24429 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24430 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24431
24432 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24433 with __addr.
24434 (insw): Likewise.
24435 (insl): Likewise.
24436 (outsb): Likewise.
24437 (outsw): Likewise.
24438 (outsl): Likewise.
24439
24440 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24441 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24442 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24443
24444 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24445 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24447 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24448 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24449 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24450
24451 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24452 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24453
24454 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24455 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24456
24457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24459 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24460
24461 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24462 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24463 to ...
24464 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24465
24466 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24467 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24468 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24469
24470 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24471 for x86-64.
24472 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24473
24474 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24475
24476 * math/math.h (M_El): Use two more decimal places.
24477 (M_LOG2El): Likewise.
24478 (M_LOG10El): Likewise.
24479 (M_LN2l): Likewise.
24480 (M_LN10l): Likewise.
24481 (M_PIl): Likewise.
24482 (M_PI_2l): Likewise.
24483 (M_PI_4l): Likewise.
24484 (M_1_PIl): Likewise.
24485 (M_2_PIl): Likewise.
24486 (M_2_SQRTPIl): Likewise.
24487 (M_SQRT2l): Likewise.
24488 (M_SQRT1_2l): Likewise.
24489
24490 2012-05-31 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24493 values between float registers.
24494 * sysdeps/sparc/sparc64/memset.S: Likewise.
24495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24496
24497 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24498
24499 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24500 -D_FORTIFY_SOURCE=1.
24501 (CPPFLAGS-tst-longjmp_chk.c): Define.
24502 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24503 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24504 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24505 CFLAGS-tst-wchar-h.c.
24506
24507 2012-05-31 Marek Polacek <polacek@redhat.com>
24508
24509 [BZ #14132]
24510 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24511 __endmntent_internal): Remove declaration.
24512 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24513 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24514 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24515
24516 2012-05-30 David S. Miller <davem@davemloft.net>
24517
24518 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24519 (___Q_simulate_exceptions): Use real FP ops rather than writing
24520 into the %fsr.
24521 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24522 Likewise.
24523
24524 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24525
24526 [BZ #14117]
24527 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24528 * sysdeps/x86/bits/xtitypes.h: This.
24529
24530 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24531 * sysdeps/x86/bits/wordsize.h: This.
24532
24533 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24534 * sysdeps/x86/bits/huge_vall.h: This.
24535
24536 * sysdeps/i386/bits/select.h: Removed.
24537 * sysdeps/x86_64/bits/select.h: Renamed to ...
24538 * sysdeps/x86/bits/select.h: This.
24539
24540 * sysdeps/i386/bits/setjmp.h: Removed.
24541 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24542 * sysdeps/x86/bits/setjmp.h: This.
24543
24544 * sysdeps/i386/bits/mathdef.h: Removed.
24545 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24546 * sysdeps/x86/bits/mathdef.h: This.
24547
24548 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24549
24550 [BZ #14132]
24551 * include/sys/socket.h (__connect_internal)
24552 (__libc_sa_len_internal): Remove declaration.
24553 (__connect, __libc_sa_len): Declare hidden_proto.
24554 (SA_LEN): Remove use of INTUSE.
24555 * socket/connect.c: Add libc_hidden_def.
24556 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24557 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24558 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24559 alias.
24560 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24561 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24562 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24563 of adding _internal alias.
24564
24565 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 [BZ #14117]
24568 * sysdeps/i386/bits/link.h: Removed.
24569 * sysdeps/i386/bits/linkmap.h: Likewise.
24570 * sysdeps/x86_64/bits/link.h: Renamed to ...
24571 * sysdeps/x86/bits/link.h: This.
24572 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24573 * sysdeps/x86/bits/linkmap.h: This.
24574
24575 * sysdeps/i386/bits/endian.h: Removed.
24576 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24577 * sysdeps/x86/bits/endian.h: This.
24578
24579 * sysdeps/i386/bits/byteswap.h: Removed.
24580 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24581 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24582 * sysdeps/x86/bits/byteswap.h: This.
24583 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24584 * sysdeps/x86/bits/byteswap-16.h: This.
24585 * sysdeps/i386/Implies: Add x86.
24586 * sysdeps/x86_64/Implies: Likewise.
24587
24588 2012-05-30 David S. Miller <davem@davemloft.net>
24589
24590 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24591 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24592 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24593 (FP_TRAPPING_EXCEPTIONS): Define.
24594 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24595 (FP_TRAPPING_EXCEPTIONS): Define.
24596 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24597 subnormals only when inexact has been signalled or underflow
24598 exceptions are enabled.
24599 (_FP_PACK_CANONICAL): Likewise.
24600
24601 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24602
24603 [BZ #14183]
24604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24605 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24606
24607 2012-05-30 Richard Henderson <rth@twiddle.net>
24608
24609 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24610 with #ifndef NOT_IN_libc.
24611
24612 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24613 marked to avoid plt entry.
24614
24615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24616
24617 [BZ #14112]
24618 * Makeconfig (default-abi): New macro.
24619 (abi-includes): Likewise.
24620 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24621 $(abi-$(default-abi)-lib-soname) for soname if defined.
24622 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24623 abi-variants.
24624 * Makefile (installed-stubs): Likewise.
24625 * include/stubs-biarch.h: Removed.
24626 * scripts/lib-names.awk: Only handle one library at a time.
24627 * scripts/soversions.awk: Remove WORDSIZE support.
24628 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24629 entries.
24630 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24631 Removed.
24632 (syscall-list-default-condition): Likewise.
24633 (syscall-list-default-condition): Likewise.
24634 (syscall-list-includes): Likewise.
24635 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24636 syscall-list-* with abi-*. Handle undefined abi-variants.
24637 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24638 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24639 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24640 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24641 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24642 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24643 Removed.
24644 (syscall-list-32-options): Likewise.
24645 (syscall-list-32-condition): Likewise.
24646 (syscall-list-64-options): Likewise.
24647 (syscall-list-64-condition): Likewise.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24649 macro.
24650 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24651 Renamed to ...
24652 (abi-*): This.
24653 (abi-64-ld-soname): New macro.
24654 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24655 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24656 Renamed to ...
24657 (abi-*): This.
24658 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24659 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24660
24661 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24662
24663 * sysdeps/unix/sysv/linux/kernel-features.h
24664 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24665 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24666 include <kernel-features.h>.
24667 [!__NR_ftruncate64]: Remove conditional code.
24668 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24669 [__NR_ftruncate64]: Make code unconditional.
24670 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24671 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24672 include <kernel-features.h>.
24673 [!__NR_ftruncate64]: Remove conditional code.
24674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24675 [__NR_ftruncate64]: Make code unconditional.
24676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24678 include <kernel-features.h>.
24679 [!__NR_ftruncate64]: Remove conditional code.
24680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24681 [__NR_ftruncate64]: Make code unconditional.
24682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24684 include <kernel-features.h>.
24685 [!__NR_ftruncate64]: Remove conditional code.
24686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24687 [__NR_ftruncate64]: Make code unconditional.
24688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24689
24690 * configure.in (libc_cv_fpie): Weaken to a compile test using
24691 LIBC_TRY_CC_OPTION.
24692 * configure: Regenerated.
24693
24694 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24695
24696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24700 Refreshed.
24701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24707 Refreshed.
24708
24709 2012-05-27 David S. Miller <davem@davemloft.net>
24710
24711 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24712 (___Q_zero): New.
24713 (__Q_simulate_exceptions): Return void. Change to simulate
24714 exceptions by writing into the %fsr.
24715 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24716 (__Qp_handle_exceptions): Likewise.
24717 (numbers): Delete.
24718 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24719 __Qp_handle_exceptions.
24720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24721 __Qp_handle_exceptions.
24722 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24723 as unused and give dummy FP_RND_NEAREST initializer.
24724 (FP_INHIBIT_RESULTS): Define.
24725 (___Q_simulate_exceptions): Update declaration.
24726 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24727 formatting.
24728 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24729 as unused and give dummy FP_RND_NEAREST initializer.
24730 (__Qp_handle_exceptions): Update declaration.
24731 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24732 formatting.
24733
24734 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24735
24736 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24737 the temporary FPU control word.
24738 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24739 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24740 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24741 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24742 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24743 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24744 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24745 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24746 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24747 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24748 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24749
24750 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24751
24752 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24753 fields.
24754
24755 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24756
24757 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24758 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24759 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24760 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24761 Likewise.
24762 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24763 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24764 Likewise.
24765
24766 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24767
24768 * po/h.po: Update from translation team.
24769
24770 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24771
24772 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24773
24774 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24775 handling of denormals.
24776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24777 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24778 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24779 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24783 Likewise.
24784
24785 2012-05-26 Marek Polacek <polacek@redhat.com>
24786
24787 [BZ #14152]
24788 * math/libm-test.inc (fma_test): Don't always expect underflow
24789 exception.
24790
24791 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24792
24793 [BZ #12416]
24794 * elf/tst-execstack.c: Include stackinfo.h.
24795 (do_test): Adjust test case to ensure that pthread_getattr_np
24796 behaviour remains the same after marking stack executable.
24797
24798 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24799
24800 * sysdeps/unix/sysv/linux/kernel-features.h
24801 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24802 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24803 kernel-features.h.
24804 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24805 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24806 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24807 kernel-features.h.
24808 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24809 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24810
24811 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24812
24813 * configure.in: Define the default includes to being none.
24814 * configure: Regenerated.
24815
24816 2012-05-25 Roland McGrath <roland@hack.frob.com>
24817
24818 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24819 * sysdeps/x86_64/setjmp.S: Likewise.
24820 * sysdeps/i386/bsd-setjmp.S: Likewise.
24821 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24822 * sysdeps/i386/setjmp.S: Likewise.
24823 * sysdeps/i386/__longjmp.S: Likewise.
24824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24825 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24826
24827 * include/stap-probe.h: New file.
24828 * configure.in: Handle --enable-systemtap.
24829 * configure: Regenerated.
24830 * config.h.in (USE_STAP_PROBE): New #undef.
24831 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24832 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24833 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24834
24835 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24836
24837 [BZ #13717]
24838 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24839 to 2.4.0 where earlier.
24840 * sysdeps/unix/sysv/linux/configure: Regenerated.
24841 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24842 <kernel-features.h>.
24843 [__ASSUME_32BITUIDS]: Make code unconditional.
24844 [!__ASSUME_32BITUIDS]: Remove conditional code.
24845 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24846 <kernel-features.h>.
24847 [__ASSUME_32BITUIDS]: Make code unconditional.
24848 [!__ASSUME_32BITUIDS]: Remove conditional code.
24849 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24850 [__ASSUME_32BITUIDS]: Make code unconditional.
24851 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24852 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24853 <kernel-features.h>.
24854 [__ASSUME_32BITUIDS]: Make code unconditional.
24855 [!__ASSUME_32BITUIDS]: Remove conditional code.
24856 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24857 <kernel-features.h>.
24858 [__ASSUME_32BITUIDS]: Make code unconditional.
24859 [!__ASSUME_32BITUIDS]: Remove conditional code.
24860 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24861 <kernel-features.h>.
24862 [__ASSUME_32BITUIDS]: Make code unconditional.
24863 [!__ASSUME_32BITUIDS]: Remove conditional code.
24864 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24865 <kernel-features.h>.
24866 [__ASSUME_32BITUIDS]: Make code unconditional.
24867 [!__ASSUME_32BITUIDS]: Remove conditional code.
24868 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24869 <kernel-features.h>.
24870 [__ASSUME_32BITUIDS]: Make code unconditional.
24871 [!__ASSUME_32BITUIDS]: Remove conditional code.
24872 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24873 <kernel-features.h>.
24874 [__ASSUME_32BITUIDS]: Make code unconditional.
24875 [!__ASSUME_32BITUIDS]: Remove conditional code.
24876 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24877 <kernel-features.h>.
24878 [__ASSUME_32BITUIDS]: Make code unconditional.
24879 [!__ASSUME_32BITUIDS]: Remove conditional code.
24880 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24881 <kernel-features.h>.
24882 [__ASSUME_32BITUIDS]: Make code unconditional.
24883 [!__ASSUME_32BITUIDS]: Remove conditional code.
24884 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24885 <kernel-features.h>.
24886 [__ASSUME_32BITUIDS]: Make code unconditional.
24887 [!__ASSUME_32BITUIDS]: Remove conditional code.
24888 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24889 <kernel-features.h>.
24890 [__ASSUME_32BITUIDS]: Make code unconditional.
24891 [!__ASSUME_32BITUIDS]: Remove conditional code.
24892 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24893 <kernel-features.h>.
24894 [__NR_setresgid] (__setresgid): Do not declare.
24895 [__ASSUME_32BITUIDS]: Make code unconditional.
24896 [!__ASSUME_32BITUIDS]: Remove conditional code.
24897 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24898 <kernel-features.h>.
24899 [__NR_setresuid] (__setresuid): Do not declare.
24900 [__ASSUME_32BITUIDS]: Make code unconditional.
24901 [!__ASSUME_32BITUIDS]: Remove conditional code.
24902 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24903 <kernel-features.h>.
24904 [__ASSUME_32BITUIDS]: Make code unconditional.
24905 [!__ASSUME_32BITUIDS]: Remove conditional code.
24906 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24907 <kernel-features.h>.
24908 [__ASSUME_32BITUIDS]: Make code unconditional.
24909 [!__ASSUME_32BITUIDS]: Remove conditional code.
24910 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24911 <kernel-features.h>.
24912 [__ASSUME_32BITUIDS]: Make code unconditional.
24913 [!__ASSUME_32BITUIDS]: Remove conditional code.
24914 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24915 <kernel-features.h>.
24916 [__ASSUME_32BITUIDS]: Make code unconditional.
24917 [!__ASSUME_32BITUIDS]: Remove conditional code.
24918 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24919 <kernel-features.h>.
24920 [__ASSUME_32BITUIDS]: Make code unconditional.
24921 [!__ASSUME_32BITUIDS]: Remove conditional code.
24922 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24923 <kernel-features.h>.
24924 [__ASSUME_32BITUIDS]: Make code unconditional.
24925 [!__ASSUME_32BITUIDS]: Remove conditional code.
24926 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24927 <kernel-features.h>.
24928 [__ASSUME_32BITUIDS]: Make code unconditional.
24929 [!__ASSUME_32BITUIDS]: Remove conditional code.
24930 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24931 <kernel-features.h>.
24932 [__ASSUME_32BITUIDS]: Make code unconditional.
24933 [!__ASSUME_32BITUIDS]: Remove conditional code.
24934 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24935 <kernel-features.h>.
24936 [__ASSUME_32BITUIDS]: Make code unconditional.
24937 [!__ASSUME_32BITUIDS]: Remove conditional code.
24938 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24939 <kernel-features.h>.
24940 [__ASSUME_32BITUIDS]: Make code unconditional.
24941 [!__ASSUME_32BITUIDS]: Remove conditional code.
24942 * sysdeps/unix/sysv/linux/kernel-features.h
24943 (__ASSUME_SETRESUID_SYSCALL): Remove.
24944 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24945 (__ASSUME_32BITUIDS): Likewise.
24946 (__ASSUME_LDT_WORKS): Likewise.
24947 (__ASSUME_O_DIRECTORY): Likewise.
24948 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24949 architecture but not kernel version.
24950 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24951 (__ASSUME_MMAP2_SYSCALL): Likewise.
24952 (__ASSUME_STAT64_SYSCALL): Likewise.
24953 (__ASSUME_IPC64): Likewise.
24954 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24955 <kernel-features.h>.
24956 [__ASSUME_32BITUIDS]: Make code unconditional.
24957 [!__ASSUME_32BITUIDS]: Remove conditional code.
24958 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24959 <kernel-features.h>.
24960 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24961 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24962 132096]: Remove conditional code.
24963 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24964 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24965 <kernel-features.h>.
24966 [__ASSUME_32BITUIDS]: Make code unconditional.
24967 [!__ASSUME_32BITUIDS]: Remove conditional code.
24968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24969 <kernel-features.h>.
24970 [__ASSUME_32BITUIDS]: Make code unconditional.
24971 [!__ASSUME_32BITUIDS]: Remove conditional code.
24972 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24973 <kernel-features.h>.
24974 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24975 unconditional.
24976 (__setresgid): Do not declare.
24977 [__ASSUME_32BITUIDS]: Make code unconditional.
24978 [!__ASSUME_32BITUIDS]: Remove conditional code.
24979 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24980 <kernel-features.h>.
24981 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24982 unconditional.
24983 (__setresuid): Do not declare.
24984 [__ASSUME_32BITUIDS]: Make code unconditional.
24985 [!__ASSUME_32BITUIDS]: Remove conditional code.
24986 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24987 <kernel-features.h>.
24988 [__ASSUME_32BITUIDS]: Make code unconditional.
24989 [!__ASSUME_32BITUIDS]: Remove conditional code.
24990 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24991 <kernel-features.h>.
24992 [__ASSUME_32BITUIDS]: Make code unconditional.
24993 [!__ASSUME_32BITUIDS]: Remove conditional code.
24994
24995 2012-05-25 Richard Henderson <rth@twiddle.net>
24996
24997 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24998 dl_hwcap to ifunc resolver.
24999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25000 elf_ifunc_invoke.
25001 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25002 dl_hwcap to ifunc resolver.
25003 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25004
25005 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25006
25007 [BZ #14153]
25008 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25009 for |x| <= 2**-26, not 2**-57.
25010 * math/libm-test.inc (acos_test): Do not allow spurious underflow
25011 exception.
25012
25013 2012-05-24 Jeff Law <law@redhat.com>
25014
25015 * stdio-common/Makefile (tests): Add bug25.
25016 * stdio-common/bug25.c: New test.
25017
25018 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25019
25020 [BZ #13576]
25021 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25022 multiple of MALLOC_ALIGNMENT in size.
25023 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25024
25025 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25026
25027 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25028 Require >= 256.
25029 (FILENAME_MAX): Use macro-int-constant.
25030 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
25031 (_IOFBF): Use macro-int-constant.
25032 (_IOLBF): Likewise.
25033 (_IONBF): Likewise.
25034 (SEEK_CUR): Likewise.
25035 (SEEK_END): Likewise.
25036 (SEEK_SET): Likewise.
25037 (TMP_MAX): Likewise.
25038 (EOF): Use macro-int-constant. Require < 0.
25039 (NULL): Use macro-constant. Require == 0.
25040 (stdin): Require type to be FILE *.
25041 (stdout): Likewise.
25042 (stderr): Likewise.
25043 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25044 macro-int-constant.
25045 (EXIT_SUCCESS): Likewise.
25046 (NULL): Use macro-constant. Require == 0.
25047 (RAND_MAX): Use macro-int-constant.
25048 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25049 [C99-based standards] (strtof): Require function.
25050 [C99-based standards] (strtold): Likewise.
25051 [C99-based standards] (strtoll): Likewise.
25052 [C99-based standards] (strtoull): Likewise.
25053 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25054 [ISO || ISO99 || ISO11] (limits.h): Likewise.
25055 [ISO || ISO99 || ISO11] (math.h): Likewise.
25056 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25057 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25059
25060 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25061
25062 [BZ #14132]
25063 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25064 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25065 * intl/dgettext.c (DCGETTEXT): Likewise.
25066 * intl/gettext.c (DCGETTEXT): Likewise.
25067 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25068 * posix/regex_internal.h (gettext): Likewise.
25069 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25070 Remove declaration.
25071 * include/argz.h (__argz_count_internal)
25072 (__argz_stringify_internal): Remove declaration.
25073 (__argz_count, __argz_stringify): Declare hidden proto.
25074 * intl/dcgettext.c: Remove use of INTDEF.
25075 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25076 * string/argz-stringify.c: Likewise.
25077 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25078 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25079 Declare hidden proto.
25080 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25081 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25082 Declare hidden proto.
25083 * include/stdio.h (__asprintf_internal): Don't declare.
25084 (__asprintf): Don't define as macro. Declare hidden proto.
25085 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25086 (__fsetlocking): Declare hidden proto.
25087 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25088 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25089 hidden proto.
25090 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25091 (_IO_setlinebuf): Remove use of INTUSE.
25092 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25093 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25094 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25095 Remove declaration.
25096 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25097 (_IO_do_flush): Remove use of INTUSE.
25098 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25099 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25100 (_IO_adjust_column, _IO_least_wmarker)
25101 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25102 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25103 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25104 (_IO_default_doallocate, _IO_wdefault_doallocate)
25105 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25106 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25107 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25108 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25109 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25110 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25111 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25112 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25113 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25114 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25115 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25116 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25117 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25118 proto.
25119 (_IO_flush_all_internal, _IO_adjust_column_internal)
25120 (_IO_default_uflow_internal, _IO_default_finish_internal)
25121 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25122 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25123 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25124 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25125 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25126 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25127 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25128 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25129 (_IO_file_close_internal, _IO_file_close_it_internal)
25130 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25131 (_IO_file_init_internal, _IO_file_attach_internal)
25132 (_IO_file_fopen_internal, _IO_file_read_internal)
25133 (_IO_file_sync_internal, _IO_file_seek_internal)
25134 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25135 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25136 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25137 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25138 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25139 (_IO_list_all_internal, _IO_link_in_internal)
25140 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25141 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25142 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25143 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25144 (_IO_do_write_internal, _IO_padn_internal)
25145 (_IO_getline_info_internal, _IO_getline_internal)
25146 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25147 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25148 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25149 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25150 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25151 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25152 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25153 with libc_hidden_ver, remove use of INTUSE.
25154 * libio/genops.c: Likewise.
25155 * libio/freopen.c: Likewise.
25156 * libio/freopen64.c: Likewise.
25157 * libio/iofclose.c: Likewise.
25158 * libio/iofdopen.c: Likewise.
25159 * libio/iofflush.c: Likewise.
25160 * libio/iofflush_u.c: Likewise.
25161 * libio/iofgets.c: Likewise.
25162 * libio/iofgets_u.c: Likewise.
25163 * libio/iofopen.c: Likewise.
25164 * libio/iofopncook.c: Likewise.
25165 * libio/iofread.c: Likewise.
25166 * libio/iofread_u.c: Likewise.
25167 * libio/ioftell.c: Likewise.
25168 * libio/iofwrite.c: Likewise.
25169 * libio/iogetline.c: Likewise.
25170 * libio/iogets.c: Likewise.
25171 * libio/iogetwline.c: Likewise.
25172 * libio/iopadn.c: Likewise.
25173 * libio/iopopen.c: Likewise.
25174 * libio/ioseekoff.c: Likewise.
25175 * libio/ioseekpos.c: Likewise.
25176 * libio/iosetbuffer.c: Likewise.
25177 * libio/iosetvbuf.c: Likewise.
25178 * libio/ioungetc.c: Likewise.
25179 * libio/ioungetwc.c: Likewise.
25180 * libio/iovdprintf.c: Likewise.
25181 * libio/iovsprintf.c: Likewise.
25182 * libio/iovsscanf.c: Likewise.
25183 * libio/memstream.c: Likewise.
25184 * libio/obprintf.c: Likewise.
25185 * libio/oldfileops.c: Likewise.
25186 * libio/oldiofclose.c: Likewise.
25187 * libio/oldiofdopen.c: Likewise.
25188 * libio/oldiofopen.c: Likewise.
25189 * libio/oldiopopen.c: Likewise.
25190 * libio/oldstdfiles.c: Likewise.
25191 * libio/putc.c: Likewise.
25192 * libio/setbuf.c: Likewise.
25193 * libio/setlinebuf.c: Likewise.
25194 * libio/stdfiles.c: Likewise.
25195 * libio/strops.c: Likewise.
25196 * libio/vasprintf.c: Likewise.
25197 * libio/vscanf.c: Likewise.
25198 * libio/vsnprintf.c: Likewise.
25199 * libio/vswprintf.c: Likewise.
25200 * libio/wfiledoalloc.c: Likewise.
25201 * libio/wfileops.c: Likewise.
25202 * libio/wgenops.c: Likewise.
25203 * libio/wmemstream.c: Likewise.
25204 * libio/wstrops.c: Likewise.
25205 * libio/__fpurge.c: Likewise.
25206 * libio/__fsetlocking.c: Likewise.
25207 * assert/assert.c: Likewise.
25208 * debug/fgets_chk.c: Likewise.
25209 * debug/fgets_u_chk.c: Likewise.
25210 * debug/fread_chk.c: Likewise.
25211 * debug/fread_u_chk.c: Likewise.
25212 * debug/gets_chk.c: Likewise.
25213 * debug/obprintf_chk.c: Likewise.
25214 * debug/vasprintf_chk.c: Likewise.
25215 * debug/vdprintf_chk.c: Likewise.
25216 * debug/vsnprintf_chk.c: Likewise.
25217 * debug/vsprintf_chk.c: Likewise.
25218 * malloc/mtrace.c: Likewise.
25219 * misc/error.c: Likewise.
25220 * misc/syslog.c: Likewise.
25221 * stdio-common/asprintf.c: Likewise.
25222 * stdio-common/fxprintf.c: Likewise.
25223 * stdio-common/getw.c: Likewise.
25224 * stdio-common/isoc99_fscanf.c: Likewise.
25225 * stdio-common/isoc99_scanf.c: Likewise.
25226 * stdio-common/isoc99_vfscanf.c: Likewise.
25227 * stdio-common/isoc99_vscanf.c: Likewise.
25228 * stdio-common/isoc99_vsscanf.c: Likewise.
25229 * stdio-common/printf-prs.c: Likewise.
25230 * stdio-common/printf_fp.c: Likewise.
25231 * stdio-common/printf_fphex.c: Likewise.
25232 * stdio-common/printf_size.c: Likewise.
25233 * stdio-common/putw.c: Likewise.
25234 * stdio-common/scanf.c: Likewise.
25235 * stdio-common/sprintf.c: Likewise.
25236 * stdio-common/tmpfile.c: Likewise.
25237 * stdio-common/vfprintf.c: Likewise.
25238 * stdio-common/vfscanf.c: Likewise.
25239 * stdlib/strfmon_l.c: Likewise.
25240 * sunrpc/openchild.c: Likewise.
25241 * sunrpc/xdr_stdio.c: Likewise.
25242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25243 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25244
25245 2012-05-24 Roland McGrath <roland@hack.frob.com>
25246
25247 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25248
25249 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25250 in the third column, to generate for the shared library an IFUNC
25251 that uses _dl_vdso_vsym.
25252 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25253 * Makeconfig (object-suffixes-noshared): New variable.
25254
25255 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25256 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25257 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25258 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25259
25260 [BZ #14132]
25261 * include/sys/time.h (__gettimeofday): Remove macro.
25262 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25263 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25264 Remove INTDEF.
25265 (__gettimeofday): Add libc_hidden_def.
25266 (gettimeofday): Add libc_hidden_weak.
25267 * sysdeps/mach/gettimeofday.c: Likewise.
25268 * sysdeps/posix/gettimeofday.c: Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25270 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25272 (__gettimeofday_internal): Remove strong_alias.
25273 (__gettimeofday): Add libc_hidden_def.
25274 (gettimeofday): Add libc_hidden_weak.
25275 * sysdeps/unix/syscalls.list (gettimeofday):
25276 Remove __gettimeofday_internal alias.
25277
25278 2012-05-24 Daniel Jacobowitz <drow@false.org>
25279 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 [BZ #12495]
25282 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25283 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25284 (largebin_index_32_big): New.
25285 (largebin_index): Use it for 16-byte alignment.
25286 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25287 correction with front_misalign.
25288
25289 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25290
25291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25293 Likewise.
25294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25295 Likewise.
25296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25297 Likewise.
25298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25299 Likewise.
25300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25301 Likewise.
25302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25303 Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25305 Likewise.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25307 Likewise.
25308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25309 Likewise.
25310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25311 Likewise.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25313 Likewise.
25314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25315 Likewise.
25316
25317 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25318 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25319
25320 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25321
25322 [BZ #10846]
25323 [BZ #14036]
25324 * math/libm-test.inc (exp_test): Add test from bug 14036.
25325 (pow_test): Add test from bug 10846.
25326
25327 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25328 and other flags.
25329 (special_function): Do not include flags in test name.
25330 (parse_args): Likewise.
25331 * sysdeps/i386/fpu/libm-test-ulps: Update.
25332 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25333 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25336
25337 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25338 exceptions.
25339 * math/libm-test.inc ("Philosophy"): Update comment about
25340 exception testing.
25341 (UNDERFLOW_EXCEPTION): New macro.
25342 (UNDERFLOW_EXCEPTION_OK): Likewise.
25343 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25344 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25345 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25346 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25347 (INVALID_EXCEPTION_OK): Update value.
25348 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25349 (OVERFLOW_EXCEPTION_OK): Likewise.
25350 (IGNORE_ZERO_INF_SIGN): Likewise.
25351 (test_exceptions): Handle underflow exceptions.
25352 (acos_test): Update for underflow exception expectations.
25353 (cexp_test): Likewise.
25354 (clog_test): Likewise.
25355 (clog10_test): Likewise.
25356 (csqrt_test): Likewise.
25357 (ctan_test): Likewise.
25358 (ctanh_test): Likewise.
25359 (exp_test): Likewise.
25360 (exp10_test): Likewise.
25361 (exp2_test): Likewise.
25362 (expm1_test): Likewise.
25363 (fma_test): Likewise.
25364 (j0_test): Likewise.
25365 (jn_test): Likewise.
25366 (nexttoward_test): Likewise.
25367 (pow_test): Likewise.
25368 (scalbn_test): Likewise.
25369 (scalbln_test): Likewise.
25370 (tan_test): Likewise.
25371 (y1_test): Likewise.
25372 * sysdeps/i386/fpu/libm-test-ulps: Update.
25373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25374
25375 2012-05-23 David S. Miller <davem@davemloft.net>
25376
25377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25378 (__libc_sigaction): Remove unused local variables.
25379
25380 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25383
25384 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25385
25386 mktime: avoid signed integer overflow
25387 * time/mktime.c (__mktime_internal): Do not mishandle the case
25388 where diff == INT_MIN.
25389
25390 mktime: simplify computation of average
25391 * time/mktime.c (ranged_convert): Use new time_t_avg function
25392 instead of rolling our own (probably-slower) code.
25393
25394 mktime: do not assume signed right shift propagates sign bit
25395 * time/mktime.c (isdst_differ): New static function.
25396 (__mktime_internal): No need to normalize tm_isdst now.
25397 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25398 tm_isdst values.
25399
25400 mktime: merge another wrapv change from gnulib
25401 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25402 from some compilers.
25403
25404 mktime: remove incorrect attempt at unusual arithmetics
25405 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25406 The code didn't really work on such machines anyway.
25407 (TYPE_MINIMUM): Assume two's complement.
25408 (twos_complement_arithmetic): Verify that long_int and time_t
25409 are two's complement (or unsigned, in the latter case).
25410
25411 mktime: check signed shifts on long_int and time_t, too
25412 * time/mktime.c (SHR): Check that shifts work as desired
25413 on the types long_int and time_t too, as SHR is used on
25414 such types.
25415
25416 mktime: do not assume 'long' is wide enough
25417 * time/mktime.c (verify): Move decl up.
25418 (long_int): New type.
25419 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25420 to remove assumption in the code that 'long' is wide enough to
25421 store year values. This assumption is not true on x32 and on
25422 some non-glibc platforms.
25423
25424 mktime: merge wrapv change from gnulib
25425 * time/mktime.c (WRAPV): New macro.
25426 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25427 (guess_time_tm, __mktime_internal): Do not assume that signed
25428 integer overflow wraps around; modern compilers generate code
25429 where this assumption is no longer valid.
25430
25431 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25432
25433 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25434 Replace "jmp L(pseudo_end)" with "ret".
25435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25436 Likewise.
25437
25438 2012-05-23 Andreas Jaeger <aj@suse.de>
25439
25440 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25441 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25442
25443 2012-05-23 Andreas Jaeger <aj@suse.de>
25444 Maximilian Attems <max@stro.at>
25445
25446 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25447 New macros.
25448
25449 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25452 code so that pseudo_end is just ret and the stack pointer is
25453 correct also for static library in error case.
25454
25455 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25456
25457 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25458 move to syscalls.list.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25463
25464 * manual/install.texi (Running make install): Do not mention Linux
25465 kernel version for which pt_chown is not needed.
25466 (Linux): Do not mention problems with nscd with 2.0 kernels.
25467 * INSTALL: Regenerated.
25468
25469 2012-05-23 Andreas Jaeger <aj@suse.de>
25470
25471 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25472 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25473 macro.
25474 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25475 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25476 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25477 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25478 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25479 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25480 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25482 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25484 * sysdeps/unix/sysv/linux/bits/in.h
25485 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25486
25487 2012-05-22 Roland McGrath <roland@hack.frob.com>
25488
25489 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25490 (PREPARE_VERSION): Just use assert instead, it will be elided
25491 under [NDEBUG] anyway.
25492
25493 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * sysdeps/unix/sysv/linux/Makefile: Include
25496 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25497 (sysdep_routines): Remove sysctl.
25498 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25499 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25501 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25502 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25503
25504 2012-05-22 Andreas Jaeger <aj@suse.de>
25505
25506 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25507 that pseudo_end is just ret and the stack pointer is correct also
25508 for static library in error case.
25509
25510 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25511
25512 [BZ #14122]
25513 * nss/nsswitch.c (defconfig_entries): New variable.
25514 (__nss_database_lookup): Don't leak defconfig entries.
25515 (nss_parse_service_list): Don't leak on error paths.
25516 (free_database_entries): New function.
25517 (free_defconfig): New function.
25518 (free_mem): Move common code to free_database_entries.
25519
25520 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25521
25522 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25523 Add arch_prctl.
25524 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25525
25526 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25527 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25529 New macro.
25530 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25531 (INTERNAL_SYSCALL_TYPES): Likewise.
25532 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25533 (LOAD_REGS_TYPES_[1-6]): Likewise.
25534 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25535 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25536
25537 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25538
25539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25540 copysignl for GLIBC_2_0.
25541 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25542 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25544 logbl for GLIBC_2_0.
25545 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25547
25548 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25549
25550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25551 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25552
25553 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25554 Use "neg %eax".
25555
25556 * time/mktime.c: Update copyright years.
25557
25558 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25559
25560 mktime: merge comment-quoting-style change from gnulib
25561 * time/mktime.c: Quote 'like this' in comments.
25562 The GNU coding standards suggest that we no longer quote `like this',
25563 as "`" and "'" are typically rendered asymmetrically nowadays.
25564 The typical gnulib style is to quote 'like this' when quoting
25565 code, and "like this" when quoting English.
25566
25567 * time/mktime.c (compile-command): Add "-I.".
25568
25569 mktime: merge mktime-internal.h change from gnulib
25570 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25571
25572 mktime: merge time_r change from gnulib
25573 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25574
25575 mktime: merge DEBUG change from gnulib
25576 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25577 case system <time.h> has a #define.
25578
25579 mktime: merge <sys/types.h> change from gnulib
25580 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25581 since <time.t> is now guaranteed to define time_t.
25582
25583 mktime: merge HAVE_CONFIG_H change from gnulib
25584 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25585
25586 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25587
25588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25589 Use "neg %eax".
25590
25591 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25592 __rlim_t cast.
25593 (struct rusage): Use anonymous union to pad each field to
25594 __syscall_slong_t.
25595
25596 2012-05-21 David S. Miller <davem@davemloft.net>
25597
25598 * Makefules (o-iterator): Remove .s cases.
25599 (compile-command.s): Delete.
25600 (COMPILE.s): Delete.
25601 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25602
25603 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25604
25605 * configure.in (libc_cv_predef_stack_protector): Only consider
25606 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25607 * configure: Regenerated.
25608
25609 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25612 New macro. Use R*LP on int and pointer.
25613 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25614 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25615 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25616 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25617
25618 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25619 [__WORDSIZE_TIME64_COMPAT32] instead of
25620 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25621 (struct utmp): Likewise.
25622 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25623 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25624 Renamed to ...
25625 (__WORDSIZE_TIME64_COMPAT32): This.
25626 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25627 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25628 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25629 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25630 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25631 (__WORDSIZE_TIME64_COMPAT32): New macro.
25632
25633 2012-05-21 Andreas Jaeger <aj@suse.de>
25634
25635 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25636 only if [SHARED]. Add prototype for __wcschr_ia32.
25637
25638 2012-05-21 Roland McGrath <roland@hack.frob.com>
25639
25640 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25641 of %rbp unmolested in the jmp_buf while mangling the low bits.
25642 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25643 unmolested high bits of %rbp while demangling the low bits.
25644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25645
25646 2012-05-21 Andreas Jaeger <aj@suse.de>
25647
25648 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25649 * sunrpc/svc_simple.c: Use it for registerrpc.
25650 * sunrpc/xcrypt.c: Use it for passwd2des.
25651
25652 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25653
25654 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25657 Don't define if [__SYSCALL_WORDSIZE != 32].
25658 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25659 New macro.
25660
25661 2012-05-21 Bruno Haible <bruno@clisp.org>
25662 Andreas Jaeger <aj@suse.de>
25663
25664 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25665 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25666 inptr and inend for must_buffer_ch.
25667 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25668 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25669 * stdio-common/Makefile (tests): Remove bug15.
25670 (bug15-ENV): Remove macro.
25671 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25672 anymore.
25673
25674 2012-05-19 Andreas Jaeger <aj@suse.de>
25675 Roland McGrath <roland@hack.frob.com>
25676
25677 * manual/contrib.texi: Completely rewritten. It contains now an
25678 alphabetical list of contributors and their contributions.
25679
25680 2012-05-21 Richard Henderson <rth@twiddle.net>
25681
25682 * misc/getauxval.c (__getauxval): Use unsigned long int.
25683 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25684 (getauxval): Use unsigned long int.
25685
25686 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25689
25690 2012-05-21 Roland McGrath <roland@hack.frob.com>
25691
25692 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25693 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25694 __alignof__ (long double).
25695
25696 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25697
25698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25699
25700 2012-05-20 Richard Henderson <rth@twiddle.net>
25701
25702 * misc/getauxval.c: New file.
25703 * misc/sys/auxv.h: New file.
25704 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25705 (routines): Add getauxval.
25706 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25707 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25708 * elf/dl-sysdep.c (_dl_auxv): Remove.
25709 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25710 * elf/dl-support.c (_dl_auxv): New variable.
25711 (_dl_aux_init): Initialize it.
25712 * manual/startup.texi (Auxiliary Vector): New node.
25713 * sysdeps/generic/bits/hwcap.h: New file.
25714 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25715 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25716 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25717 * sysdeps/sparc/sysdep.h: ... here. Include it.
25718 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25721 Update.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25725 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25730
25731 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25732
25733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25734
25735 2012-05-19 David S. Miller <davem@davemloft.net>
25736
25737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25738
25739 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25740
25741 [BZ #14123]
25742 * math/s_ccosh.c: Include <float.h>
25743 (__ccosh): Avoid internal overflow calculating sinh and cosh
25744 values before multiplying by sin and cos values.
25745 * math/s_ccoshf.c: Likewise.
25746 * math/s_ccoshl.c: Likewise.
25747 * math/s_csin.c: Likewise.
25748 * math/s_csinf.c: Likewise.
25749 * math/s_csinl.c: Likewise.
25750 * math/s_csinh.c: Likewise.
25751 * math/s_csinhf.c: Likewise.
25752 * math/s_csinhl.c: Likewise.
25753 * math/libm-test.inc (ccos_test): Add more tests.
25754 (ccosh_test): Likewise.
25755 (csin_test): Likewise.
25756 (csinh_test): Likewise.
25757 * sysdeps/i386/fpu/libm-test-ulps: Update.
25758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25759
25760 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25761
25762 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25763 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25764
25765 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25766
25767 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25768
25769 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25770 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25771 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25772 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25773 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25774 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25775 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25776 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25777 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25778 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25779 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25780 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25781 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25782 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25783 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25784 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25785 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25786 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25787 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25788 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25789 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25790 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25791 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25792 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25793 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25794 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25795 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25796 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25797 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25798 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25799 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25800
25801 2012-05-18 Andreas Jaeger <aj@suse.de>
25802
25803 * csu/.gitignore: Delete.
25804
25805 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25808 (timex): Use __syscall_slong_t.
25809
25810 2012-05-18 Andreas Jaeger <aj@suse.de>
25811 Carlos O'Donell <carlos_odonell@mentor.com>
25812
25813 * manual/install.texi (Configuring and compiling): Update
25814 description about files modified in the source directory.
25815 * INSTALL: Regenerated.
25816
25817 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25818
25819 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25820 value. Use "or" to set return value to -1.
25821 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25822 negate return value.
25823
25824 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25825
25826 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25827 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25828 failure if the compiler has Graphite support disabled.
25829 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25830 Likewise.
25831 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25832 CFLAGS-memmove.c): Likewise.
25833 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25834 Likewise.
25835
25836 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25837
25838 * sysdeps/x86_64/x32/_itoa.h: New file.
25839
25840 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25841 getdents system call only if kernel and user dirents have the
25842 same d_ino and d_off.
25843
25844 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25845 LLONG_MAX != LONG_MAX.
25846 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25847 (_fitoa_word): Likewise.
25848
25849 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25850 years.
25851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25852 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25853 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25854
25855 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25856 include <bits/wordsize.h>. Check __x86_64__ instead of
25857 __WORDSIZE.
25858 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25859 if __x86_64__ is defined. Use anonymous union on fpstate.
25860
25861 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25862 anonymous union.
25863
25864 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25865
25866 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25867 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25868 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25869 Refer to _rtld_local_ro instead of _rtld_global_ro.
25870 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25871 Likewise.
25872 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25873 Likewise.
25874 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25875 Likewise.
25876 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25877 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25878 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25879
25880 * sysdeps/powerpc/powerpc32/dl-machine.c
25881 (__elf_machine_runtime_setup) [PROF]: Don't reference
25882 _dl_prof_resolve.
25883
25884 2012-05-18 Andreas Jaeger <aj@suse.de>
25885
25886 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25887 function only available for GCCs before 3.4 since GCC 3.4
25888 introduced a builtin.
25889 (lrint): Likewise.
25890 (llrintf): Likewise.
25891 (llrint): Likewise.
25892 (fmaxf): Likewise.
25893 (fmax): Likewise.
25894 (fminf): Likewise.
25895 (fmin): Likewise.
25896 (rint): Likewise.
25897 (rintf): Likewise.
25898 (nearbyint): Likewise.
25899 (nearbyintf): Likewise.
25900 (ceil): Likewise.
25901 (ceilf): Likewise.
25902 (floor): Likewise.
25903 (floorf): Likewise.
25904
25905 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25906
25907 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25908 on both fields and cast pointer to __syscall_ulong_t.
25909
25910 * bits/types.h (__fsword_t): New type.
25911 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25912 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25914 (__FSWORD_T_TYPE): Likewise.
25915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25916 (__FSWORD_T_TYPE): Likewise.
25917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25918 (__FSWORD_T_TYPE): Likewise.
25919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25920 (__FSWORD_T_TYPE): Likewise.
25921 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25922 __SWORD_TYPE with __fsword_t.
25923 (statfs64): Likewise.
25924
25925 2012-05-17 David S. Miller <davem@davemloft.net>
25926
25927 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25928
25929 2012-05-17 Andreas Jaeger <aj@suse.de>
25930
25931 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25932 warning.
25933
25934 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25937
25938 2012-05-17 Andreas Jaeger <aj@suse.de>
25939
25940 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25941 when it is used.
25942
25943 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25944
25945 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25946
25947 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25948
25949 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25950 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25951
25952 2012-05-17 Andreas Jaeger <aj@suse.de>
25953 Carlos O'Donell <carlos_odonell@mentor.com>
25954
25955 [BZ #14059]
25956 * sysdeps/x86_64/multiarch/init-arch.h
25957 (bit_YMM_Usable): Rename to...
25958 (bit_AVX_Usable): ... this.
25959 (bit_FMA4_Usable): New macro.
25960 (bit_XMM_state): New macro.
25961 (bit_YMM_state): New macro.
25962 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25963 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25964 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25965 (CPUID_OSXSAVE): New macro.
25966 (CPUID_AVX): New macro.
25967 (CPUID_FMA4): New macro.
25968 (index_YMM_Usable): Rename to...
25969 (index_AVX_Usable): ... this.
25970 (HAS_AVX): Use HAS_ARCH_FEATURE.
25971 (HAS_FMA4): Likewise.
25972 (HAS_YMM_USABLE): Remove.
25973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25974 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25975 are present.
25976 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25977 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25978 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25979 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25980 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25981
25982 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25983
25984 * math/libm-test.c: Support platforms without multiple rounding modes.
25985 * math/bug-nextafter.c: Support platforms without FP exceptions.
25986 * math/bug-nexttoward.c: Likewise.
25987 * math/test-fenv.c: Likewise.
25988 * math/test-misc.c: Likewise.
25989 * stdlib/bug-getcontext.c: Likewise.
25990
25991 2012-05-17 Andreas Jaeger <aj@suse.de>
25992
25993 * manual/examples/search.c (critter_cmp): Change signature to
25994 avoid warnings.
25995 * manual/string.texi (Collation Functions): Likewise.
25996
25997 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25998
25999 * bits/types.h: Fold copyright years.
26000 * bits/typesizes.h: Likewise.
26001 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26005 * time/time.h: Likewise.
26006
26007 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
26008
26009 [BZ #208]
26010 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26011 in instead of returning them. Return void.
26012 (__libc_mallinfo): Accumulate over all arenas.
26013 (__malloc_stats): Adjust for change in int_mallinfo interface.
26014
26015 2012-05-16 Roland McGrath <roland@hack.frob.com>
26016
26017 [BZ #10375]
26018 * configure.in (NM): Add AC_CHECK_TOOL for it.
26019 (libc_extra_cflags): New substituted variable.
26020 Check for -fstack-protector being used implicitly.
26021 * configure: Regenerated.
26022 * config.make.in (config-extra-cflags): New variable,
26023 gets @libc_extra_cflags@.
26024 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26025
26026 [BZ #10375]
26027 * configure.in: Check for _FORTIFY_SOURCE being predefined.
26028 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26029 * configure: Regenerated.
26030 * config.make.in (CPPUNDEFS): New substituted variable.
26031 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26032 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26033 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26034
26035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26036
26037 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26038 (mq_attr): Use __syscall_slong_t.
26039
26040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26041
26042 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26043 Check __x86_64__ instead of __WORDSIZE.
26044 (_STAT_VER_LINUX): Likewise.
26045 (stat): Check __x86_64__ instead of __WORDSIZE. Use
26046 __syscall_ulong_t and __syscall_slong_t.
26047 (stat64): Likewise.
26048
26049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26050
26051 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26052
26053 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26056
26057 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26058
26059 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26060 __syscall_ulong_t.
26061
26062 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26063 include <bits/wordsize.h>. Check __x86_64__ instead of
26064 __WORDSIZE.
26065 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26066 defined.
26067 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26068
26069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26070 include <bits/wordsize.h>. Check __x86_64__ instead of
26071 __WORDSIZE.
26072 (user_regs_struct): Use "__extension__ unsigned long long"
26073 instead of "unsigned long" if __x86_64__ is defined.
26074 (user): Likewise. Pad after pointer field if __ILP32__ is
26075 defined.
26076
26077 2012-05-16 Joseph Myers <joseph@codesourcery.com>
26078
26079 * configure.in (makeinfo): Require version 4.5 or later. Allow
26080 versions 5 to 9.
26081 * configure: Regenerated.
26082 * manual/install.texi (texinfo): Increase version requirement to
26083 4.5 or later.
26084 * INSTALL: Regenerated.
26085
26086 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26087
26088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26089
26090 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26091
26092 * sysdeps/x86_64/x32/ffs.c: New file.
26093
26094 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26095 __syscall_ulong_t.
26096 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26097 defined. Use __syscall_ulong_t.
26098 (shminfo): Use __syscall_ulong_t.
26099 (shm_info): Likewise.
26100
26101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26102 __syscall_ulong_t.
26103
26104 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26105 <bits/wordsize.h>.
26106 (msgqnum_t): Use __syscall_ulong_t.
26107 (msglen_t): Likewise.
26108 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26109 __syscall_ulong_t.
26110
26111 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26112 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26113
26114 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26115
26116 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26117 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26118
26119 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26120 __syscall_slong_t.
26121
26122 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26123 include <bits/wordsize.h>. Check __x86_64__ instead of
26124 __WORDSIZE.
26125
26126 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26127 "unsigned long long int" if __x86_64__ is defined.
26128 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26129
26130 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26131 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26132 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26133
26134 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26135 <stdint.h>.
26136 (GET_PC): Cast to uintptr_t first.
26137 (GET_FRAME): Likewise.
26138 (GET_STACK): Likewise.
26139
26140 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26142 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26144 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26146 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26147 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26148 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26149 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26151 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26152 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26153 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26154 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26155 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26156 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26157 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26158 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26159 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26160 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26166 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26168 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26169
26170 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26171
26172 * Makerules (+depfiles): Also collect depfiles from .oS in
26173 $(extra-objs).
26174 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26175 .oS, $(libnldbl-routines)).
26176
26177 * Makerules (native-compile-mkdep-flags): Define.
26178 * sunrpc/Makefile (extra-objs): Add $(addprefix
26179 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26180 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26181 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26182 calling $(make-target-directory).
26183
26184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26185
26186 * bits/types.h (__snseconds_t): Removed.
26187 * time/time.h (struct timespec): Replace __snseconds_t with
26188 __syscall_slong_t.
26189 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26190 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26191 Likewise.
26192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26193 (__SNSECONDS_T_TYPE): Likewise.
26194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26195 (__SNSECONDS_T_TYPE): Likewise.
26196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26197 (__SNSECONDS_T_TYPE): Likewise.
26198
26199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26200
26201 * sysdeps/mach/hurd/bits/typesizes.h
26202 (__SYSCALL_SLONG_TYPE): New macro.
26203 (__SYSCALL_ULONG_TYPE): Likewise.
26204
26205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26206
26207 * bits/types.h (__syscall_slong_t): New type.
26208 (__syscall_ulong_t): Likewise.
26209
26210 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26211 (__SYSCALL_ULONG_TYPE): Likewise.
26212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26213 (__SYSCALL_SLONG_TYPE): Likewise.
26214 (__SYSCALL_ULONG_TYPE): Likewise.
26215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26216 (__SYSCALL_SLONG_TYPE): Likewise.
26217 (__SYSCALL_ULONG_TYPE): Likewise.
26218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26219 (__SYSCALL_SLONG_TYPE): Likewise.
26220 (__SYSCALL_ULONG_TYPE): Likewise.
26221
26222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26225 Add sigaltstack-offsets.sym.
26226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26227 <sigaltstack-offsets.h>.
26228 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26229 longjmp_msg pointer.
26230 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26231 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26232 signal stack.
26233 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26234
26235 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26236
26237 * elf/stackguard-macros.h: Remove file.
26238 * sysdeps/generic/stackguard-macros.h: New file.
26239 * sysdeps/i386/stackguard-macros.h: Likewise.
26240 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26241 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26242 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26243 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26244 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26245 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26246 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26247 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26248 <elf/stackguard-macros.h>.
26249
26250 [BZ #14109]
26251 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26252 __aligned__ in attribute.
26253 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26254 (gregset_t): Likewise.
26255
26256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26257
26258 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26259 * sysdeps/x86_64/64/Implies-after: Here. New file.
26260 * sysdeps/x86_64/x32/Implies-after: New file.
26261
26262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26263
26264 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26265 and access return value for _dl_profile_fixup. Use R10_LP to
26266 load frame size.
26267
26268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26269
26270 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26271
26272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26273
26274 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26275 * sysdeps/x86_64/x32/sysdep.h: New file.
26276
26277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26278
26279 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26280 * sysdeps/x86_64/setjmp.S: Likewise.
26281
26282 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26283
26284 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26285 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26286 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26287 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26288 remove unused global constant.
26289
26290 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26291
26292 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26293 include of <not-cancel.h>.
26294
26295 2012-05-15 Roland McGrath <roland@hack.frob.com>
26296
26297 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26298
26299 2012-05-15 Jeff Law <law@redhat.com>
26300 Andreas Jaeger <aj@suse.de>
26301
26302 [BZ #13594]
26303 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26304 out from...
26305 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26306 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26307 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26308 code changing __hst_map_handle.map.
26309
26310 2012-05-15 Roland McGrath <roland@hack.frob.com>
26311
26312 * configure.in (sysnames): Look for Implies-before and Implies-after
26313 files.
26314 * configure: Regenerated.
26315
26316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26317
26318 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26319 8-byte data alignment with LP_SIZE alignment.
26320
26321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26322
26323 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26324 into R10_LP.
26325
26326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26327
26328 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26329
26330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26331
26332 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26333 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26334 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26335 Likewise.
26336 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26337
26338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26339
26340 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26341 (stackinfo_sub_sp): Likewise.
26342
26343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26344
26345 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26346 RAX_LP.
26347
26348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26349
26350 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26351 into R*_LP.
26352
26353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26354
26355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26356 sizes into R*_LP.
26357
26358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26359
26360 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26361
26362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26363
26364 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26365 into R11_LP and load __x86_64_shared_cache_size_half into
26366 R8_LP.
26367
26368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26369
26370 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26371 R8_LP.
26372
26373 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26374
26375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26376 logb for POWER7.
26377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26378 logbf for POWER7.
26379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26380 logbl for POWER7.
26381 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26382 powerpc32/power7/fpu/s_logb.c via #include.
26383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26384 powerpc32/power7/fpu/s_logbf.c via #include.
26385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26386 powerpc32/power7/fpu/s_logbl.c via #include.
26387
26388 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26389
26390 * README.libm: Remove file.
26391
26392 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26395 count for x32. Use R*_LP and omit operand-size suffix.
26396
26397 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26400 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26401 * sysdeps/x86_64/x32/shlib-versions: New file.
26402
26403 2012-05-14 Roland McGrath <roland@hack.frob.com>
26404
26405 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26406 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26407 Use _dl_fatal_printf instead.
26408
26409 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26410
26411 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26412 set if not set by the user. Do not allow for being unset.
26413 * sysdeps/unix/sysv/linux/configure: Regenerated.
26414
26415 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26416
26417 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26418 the `q' suffix from lea and replace .quad with ASM_ADDR.
26419
26420 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26423 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26424 instead of $17.
26425 (PTR_DEMANGLE): Likewise.
26426
26427 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26430 (LP_OP): Likewise.
26431 (ASM_ADDR): Likewise.
26432 (RAX_LP): Likewise.
26433 (RBP_LP): Likewise.
26434 (RBX_LP): Likewise.
26435 (RCX_LP): Likewise.
26436 (RDI_LP): Likewise.
26437 (RSI_LP): Likewise.
26438 (RSP_LP): Likewise.
26439 (R8_LP): Likewise.
26440 (R9_LP): Likewise.
26441 (R10_LP): Likewise.
26442 (R10_LP): Likewise.
26443 (R11_LP): Likewise.
26444 (R12_LP): Likewise.
26445 (R13_LP): Likewise.
26446 (R14_LP): Likewise.
26447 (R15_LP): Likewise.
26448
26449 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26450
26451 * sysdeps/x86_64/x32/dl-machine.h: New file.
26452
26453 2012-05-14 Andreas Jaeger <aj@suse.de>
26454
26455 * manual/Makefile (subdir): Remove export of subdir.
26456 (all): Remove target.
26457 (.PHONY): Remove all from list.
26458 (mkinstalldirs): Remove.
26459 (.PHONY): Remove installdirs from list.
26460 ($(inst_infodir)/libc.info): Use make-target-directory.
26461 (installdirs): Remove.
26462 (subdir_%): Remove.
26463 (glibc-targets): Remove.
26464 (lib): Remove.
26465 (stubs): Remove.
26466 ($(objpfx)stubs ../po/manual.pot): Remove.
26467 ($(objpfx)stamp%): Remove.
26468 (make-target-directory): Remove.
26469 (subdir_install): Remove.
26470 (routines): Remove.
26471 (aux): Remove.
26472 (sources): Remove.
26473 (objects): Remove.
26474 (headers): Remove.
26475
26476 [BZ #13750]
26477 * manual/.gitignore: Remove, it's not needed anymore.
26478 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26479 all files in it.
26480 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26481 directory.
26482 (texis): Renamed to $(objpfx)texis.
26483 (texis-path): New, contains path to generated files.
26484 (chapters.%): Use texis-path for complete path, add extra argument
26485 libc-texinfo.sh.
26486 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26487 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26488 (summary,texi, stamp-summary): Use complete path of
26489 files. Generate files in build dir.
26490 (dir-add.texi): Build in build dir.
26491 (libm-err.texi,stamp-libm-err): Likewise.
26492 (version.texi, stamp-version): Likewise.
26493 (.%c.texi): Likewise.
26494 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26495 (mostlyclean): Remove target.
26496 (realclean): Remove target.
26497 (generated): Add new variable with contents from mostlyclean and
26498 realclean, remove entries duplicated in common-mostlyclean, add
26499 stamp-libm-err and stamp-version.
26500 (generated-dirs): Add libc directory.
26501 ($(inst_infodir)/libc.info): Install files from build dir.
26502
26503 * manual/install.texi (Configuring and compiling): Adjust since
26504 the info files are not part of the tar ball anymore.
26505
26506 2012-05-14 Andreas Jaeger <aj@suse.de>
26507
26508 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26509 variable.
26510
26511 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26512
26513 [BZ #13717]
26514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26515 to 2.2.0 where earlier.
26516 * sysdeps/unix/sysv/linux/configure: Regenerated.
26517 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26518 Remove conditional code.
26519 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26520 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26521 Remove conditional code.
26522 [!__NR_lchown]: Likewise.
26523 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26524 [__NR_lchown]: Likewise.
26525 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26526 comment referencing __ASSUME_LCHOWN_SYSCALL.
26527 * sysdeps/unix/sysv/linux/i386/sigaction.c
26528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26530 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26531 Remove conditional code.
26532 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26533 (__protocol_available): Remove #if 0 code.
26534 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26535 conditional code.
26536 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26537 * sysdeps/unix/sysv/linux/kernel-features.h
26538 (__ASSUME_GETCWD_SYSCALL): Don't define.
26539 (__ASSUME_REALTIME_SIGNALS): Likewise.
26540 (__ASSUME_PREAD_SYSCALL): Likewise.
26541 (__ASSUME_PWRITE_SYSCALL): Likewise.
26542 (__ASSUME_POLL_SYSCALL): Likewise.
26543 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26544 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26545 non-SPARC.
26546 (__ASSUME_SIOCGIFNAME): Don't define.
26547 (__ASSUME_MSG_NOSIGNAL): Likewise.
26548 (__ASSUME_SENDFILE): Define unconditionally.
26549 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26550 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26551 conditional code.
26552 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26553 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26554 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26555 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26556 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26557 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26558 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26572 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26578 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26583 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26584 Remove conditional code.
26585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26586 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26587 Remove conditional code.
26588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26589 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26590 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26591 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26592 Remove conditional code.
26593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26594 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26595 Remove conditional code.
26596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26597 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26598 Remove conditional code.
26599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26600 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26601 Remove conditional code.
26602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26603 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26604 Remove conditional code.
26605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26606 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26609 * sysdeps/unix/sysv/linux/sigaction.c
26610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26612 * sysdeps/unix/sysv/linux/sigpending.c
26613 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26614 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26615 * sysdeps/unix/sysv/linux/sigprocmask.c
26616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26618 * sysdeps/unix/sysv/linux/sigsuspend.c
26619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26621 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26622 (__libc_missing_rt_sigs): Remove.
26623 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26624 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26625 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26626 Remove conditional code.
26627 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26628 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26629 return 1.
26630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26631 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26632 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26633 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26634
26635 2012-05-14 Andreas Jaeger <aj@suse.de>
26636
26637 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26638 it's not used in glibc.
26639 (__coshm1): Likewise.
26640 (__acosh1p): Likewise.
26641 (__sgn): Likewise.
26642
26643 * manual/string.texi (Copying and Concatenation): Add missing
26644 variable in concat example.
26645 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26646
26647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 [BZ #14103]
26650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26651 __builtin_clzl with __builtin_clzll.
26652
26653 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26654
26655 [BZ #14104]
26656 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26657 libc_freeres_ptr.
26658
26659 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26660
26661 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26662 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26663 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26665
26666 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26667
26668 * NEWS: Update ia64 info.
26669
26670 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26671
26672 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26673 used as bcopy.
26674
26675 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26676
26677 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26678 * sysdeps/unix/syscalls.list (dup3): Likewise.
26679 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26680 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26681
26682 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26683
26684 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26685 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26686
26687 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26688
26689 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26690 thread pointer.
26691 (TLS_IE): Use mov/add instead of movq/addq to load thread
26692 pointer.
26693 (TLS_GD_PREFIX): New.
26694 (TLS_GD): Use it.
26695
26696 2012-05-11 David S. Miller <davem@davemloft.net>
26697
26698 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26699 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26700 (_FPU_SETCW): Likewise.
26701
26702 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26705 is 32-byte aligned.
26706
26707 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26708
26709 [BZ #11837]
26710 * iconvdata/gb18030.c: Update tables.
26711 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26712 characters specially.
26713 (BODY for TO_LOOP): Add encoding of missing ranges.
26714
26715 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26716
26717 [BZ #13673]
26718 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26719 * sysdeps/mach/hurd/dup3.c: Likewise.
26720 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26721 * sysdeps/powerpc/memmove.c:: Likewise.
26722
26723 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26724
26725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26726 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26727
26728 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26729
26730 * elf/elf.h (R_X86_64_RELATIVE64): New.
26731 (R_X86_64_NUM): Updated.
26732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26733 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26734 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26735 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26736 tst-quad1pie tst-quad2pie
26737 (modules-names): Add tst-quadmod1 tst-quadmod2.
26738 ($(objpfx)tst-quad1): New dependency.
26739 ($(objpfx)tst-quad2): Likewise.
26740 ($(objpfx)tst-quad1pie): Likewise.
26741 ($(objpfx)tst-quad2pie): Likewise.
26742 * sysdeps/x86_64/tst-quad1.c: New file.
26743 * sysdeps/x86_64/tst-quad1pie.c: New file.
26744 * sysdeps/x86_64/tst-quad2.c: Likewise.
26745 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26746 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26747 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26748 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26749 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26750
26751 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26752
26753 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26754 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26755 * streams/stropts.h (t_scalar_t): Define type.
26756
26757 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26758 (_PATH_PRESERVE): Set to "/var/lib".
26759 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26760
26761 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26762 instead of int.
26763
26764 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26765 if __dir_mkfile succeeded.
26766
26767 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26768 checking for _hurd_dtablesize. Unlock it right after having
26769 finished _hurd_dtable allocation.
26770
26771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26772
26773 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26774 * sysdeps/mach/hurd/configure: Regenerated.
26775 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26776 special-casing to...
26777 * sysdeps/gnu/configure.in: ... this new file.
26778 * sysdeps/unix/sysv/linux/configure: Regenerated.
26779 * sysdeps/gnu/configure: New generated file.
26780
26781 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26782 for Linux: use nsec instead of usec, as well as:
26783 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26784 members of type struct timespec.
26785 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26786 New macros.
26787 (struct stat64): Likewise.
26788 (_STATBUF_ST_NSEC): New macro.
26789 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26790
26791 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26792 __strtoul_internal rather than strtoul.
26793
26794 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26795
26796 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26797 and reject them.
26798
26799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26800
26801 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26802 which preserves existing values.
26803 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26804
26805 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26806
26807 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26808 TIMEOUT values. Return EINVAL for NFDS values either negative or
26809 greater than FD_SETSIZE.
26810
26811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26812
26813 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26814 allocated, call __vm_protect to finish enabling the existing space, and
26815 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26816 allocate the remainder.
26817
26818 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26819
26820 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26821 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26822
26823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26824
26825 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26826 sysdeps/mach/hurd/readlink.c.
26827
26828 * posix/tst-sysconf.c (posix_options): Only use
26829 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26830 _POSIX_SYNCHRONIZED_IO when they are defined
26831 * sysdeps/mach/hurd/bits/posix_opt.h:
26832 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26833 (_XOPEN_REALTIME): Undefine macro.
26834 (_XOPEN_REALTIME_THREADS): Undefine macro.
26835 (_XOPEN_SHM): Undefine macro.
26836 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26837 macro to -1.
26838 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26839 macro to -1.
26840 (_POSIX_ASYNC_IO): Undefine macro.
26841 (_POSIX_PRIORITIZED_IO): Undefine macro.
26842 (_POSIX_SPIN_LOCKS): Define macro to -1.
26843
26844 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26845 SA_NODEFER, SA_RESETHAND.
26846 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26847 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26848 F_DUPFD_CLOEXEC.
26849
26850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26851
26852 * elf/Makefile (pldd-modules): Define unconditionally.
26853
26854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26855
26856 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26857
26858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26859
26860 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26861 Return ENOENT when name is empty.
26862 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26863
26864 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26865
26866 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26867
26868 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26869
26870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26871
26872 Fix mlock in all cases except non-readable pages.
26873 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26874 instead of VM_PROT_ALL as parameter to __vm_wire function.
26875
26876 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26877 (__mkdir): When path is `/', just fail with EEXIST.
26878 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26879
26880 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26881
26882 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26883 <sys/uio.h> (for writev).
26884 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26885 and <sys/param.h> (for MIN).
26886
26887 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26888
26889 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26890 REQUESTED_TIME. Properly set the remaining time and return EINTR
26891 if interrupted.
26892
26893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26894
26895 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26896 Depend on against $(link-rpcuserlibs).
26897
26898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26899
26900 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26901 (__libc_stack_end): Do not use attribute_relro.
26902 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26903 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26904 to libthread-provided value.
26905 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26906 attribute_relro.
26907
26908 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26909
26910 [BZ #3748]
26911 * bits/libc-lock.h (__libc_once_get): New macro.
26912 * sysdeps/mach/bits/libc-lock.h: Likewise.
26913 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26914 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26915 instead of using implementation details.
26916
26917 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26918 * libio/freopen.c: Likewise.
26919 * libio/freopen64.c: Likewise.
26920 * misc/syslog.c: Likewise.
26921 * nscd/connections.c: Likewise.
26922 * nscd/netgroupcache.c: Likewise.
26923 * sysdeps/posix/getcwd.c: Likewise.
26924
26925 2012-05-10 Roland McGrath <roland@hack.frob.com>
26926
26927 * math/w_ilogbf.c: Add #include <limits.h>.
26928
26929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26930
26931 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26932 path instead of returning without unlocking.
26933
26934 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26935 immediate-write ioctls.
26936 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26937
26938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26939
26940 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26941 __builtin_frame_address instead of making assumptions about the
26942 location of the return address relative to DATA. Force early load of
26943 the return address.
26944 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26945 __builtin_frame_address.
26946
26947 dup3 for GNU Hurd.
26948 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26949 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26950 implement dup3 and do some further code clean-ups.
26951 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26952 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26953
26954 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26955
26956 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26957
26958 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26959 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26960 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26961 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26962 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26963 d->port.lock.
26964
26965 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26966 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26967 when handler == SIG_ERR, not when handler != SIG_ERR.
26968
26969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26970
26971 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26972 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26973 definitions.
26974
26975 accept4 for GNU Hurd.
26976 * include/sys/socket.h (__libc_accept4): New prototype.
26977 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26978 to implement __libc_accept4.
26979 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26980 __libc_accept4.
26981 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26982
26983 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26984 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26985 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26986 signal-defines.sym.
26987
26988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26989
26990 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26991
26992 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26993
26994 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26995 assertion on O_CLOEXEC flag.
26996 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26997 * hurd/intern-fd.c: Likewise.
26998 * hurd/port2fd.c: Likewise.
26999
27000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27001
27002 [BZ #3906]
27003 * bits/in.h (IPV6_PKTINFO): Define new macro.
27004 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27005
27006 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27007
27008 [BZ #13954]
27009 [BZ #13955]
27010 [BZ #13956]
27011 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27012 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27013 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27014 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27016 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27017 * math/libm-test.inc (logb_test) : Additional logb tests.
27018
27019 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
27020 Andreas Jaeger <aj@suse.de>
27021
27022 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27023 * configure: Regenerated.
27024 * config.h.in (LINK_OBSOLETE_RPC): New macro.
27025 * config.make.in (link-obsolete-rpc): New substituted variable.
27026 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27027 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27028 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27029 (shared-only-routines): Don't set it under [link-obsolete-rpc],
27030 so that libc.a contains the symbols.
27031 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27032 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27033 * sunrpc/auth_none.c: Likewise.
27034 * sunrpc/auth_unix.c: Likewise.
27035 * sunrpc/authdes_prot.c: Likewise.
27036 * sunrpc/authuxprot.c: Likewise.
27037 * sunrpc/clnt_gen.c: Likewise.
27038 * sunrpc/clnt_perr.c: Likewise.
27039 * sunrpc/clnt_raw.c: Likewise.
27040 * sunrpc/clnt_simp.c: Likewise.
27041 * sunrpc/clnt_tcp.c: Likewise.
27042 * sunrpc/clnt_udp.c: Likewise.
27043 * sunrpc/clnt_unix.c: Likewise.
27044 * sunrpc/des_crypt.c: Likewise.
27045 * sunrpc/des_soft.c: Likewise.
27046 * sunrpc/get_myaddr.c: Likewise.
27047 * sunrpc/key_call.c: Likewise.
27048 * sunrpc/key_prot.c: Likewise.
27049 * sunrpc/netname.c: Likewise.
27050 * sunrpc/pm_getmaps.c: Likewise.
27051 * sunrpc/pm_getport.c: Likewise.
27052 * sunrpc/pmap_clnt.c: Likewise.
27053 * sunrpc/pmap_prot.c: Likewise.
27054 * sunrpc/pmap_prot2.c: Likewise.
27055 * sunrpc/pmap_rmt.c: Likewise.
27056 * sunrpc/publickey.c: Likewise.
27057 * sunrpc/rpc_cmsg.c: Likewise.
27058 * sunrpc/rpc_common.c: Likewise.
27059 * sunrpc/rpc_dtable.c: Likewise.
27060 * sunrpc/rpc_prot.c: Likewise.
27061 * sunrpc/rpc_thread.c: Likewise.
27062 * sunrpc/rtime.c: Likewise.
27063 * sunrpc/svc.c: Likewise.
27064 * sunrpc/svc_auth.c: Likewise.
27065 * sunrpc/svc_raw.c: Likewise.
27066 * sunrpc/svc_run.c: Likewise.
27067 * sunrpc/svc_tcp.c: Likewise.
27068 * sunrpc/svc_udp.c: Likewise.
27069 * sunrpc/svc_unix.c: Likewise.
27070 * sunrpc/svcauth_des.c: Likewise.
27071 * sunrpc/xcrypt.c: Likewise.
27072 * sunrpc/xdr.c: Likewise.
27073 * sunrpc/xdr_array.c: Likewise.
27074 * sunrpc/xdr_float.c: Likewise.
27075 * sunrpc/xdr_intXX_t.c: Likewise.
27076 * sunrpc/xdr_mem.c: Likewise.
27077 * sunrpc/xdr_rec.c: Likewise.
27078 * sunrpc/xdr_ref.c: Likewise.
27079 * sunrpc/xdr_sizeof.c: Likewise.
27080 * sunrpc/xdr_stdio.c: Likewise.
27081
27082 2012-05-10 Roland McGrath <roland@hack.frob.com>
27083
27084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27085 change. Update copyright years.
27086
27087 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27088
27089 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27090
27091 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27092 Joseph Myers <joseph@codesourcery.com>
27093 Paul Pluzhnikov <ppluzhnikov@google.com>
27094
27095 [BZ #14012]
27096 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27097 requiring rpcgen.
27098 [cross-compiling] (extra-libs): Likewise.
27099 [cross-compiling] (extra-libs-others): Likewise.
27100 [cross-compiling] (librpcsvc-routines): Likewise.
27101 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27102 [cross-compiling] (omit-deps): Likewise.
27103 (sunrpc-CPPFLAGS): New variable.
27104 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27105 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27106 (cross-rpcgen-objs): New variable.
27107 (extra-objs): Append $(cross-rpcgen-objs).
27108 ($(cross-rpcgen-objs)): New rule.
27109 ($(objpfx)cross-rpcgen): Likewise.
27110 (rpcgen-cmd): Define to use $(built-program-file). Expand
27111 comment.
27112 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27113 ($(objpfx)x%.stmp): Likewise.
27114 * sunrpc/proto.h [IS_IN_build] (_): Define.
27115 [IS_IN_build] (_libc_intl_domainname): Likewise.
27116
27117 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27118
27119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27120 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27121 and R_X86_64_TPOFF64.
27122
27123 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27124
27125 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27126 sysdeps/unix/sysv/syscalls.list.
27127 (stime): Likewise.
27128 (utime): Likewise.
27129 * sysdeps/unix/sysv/syscalls.list: Remove file.
27130
27131 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27132
27133 [BZ #3440]
27134 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27135 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27136 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27137 (__LC_IDENTIFICATION): Make these macros useful in #if
27138 expressions, as required by C99.
27139
27140 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27141
27142 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27143 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27144 after this.
27145
27146 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27147
27148 * stdlib/longlong.h: Updated from GCC.
27149
27150 2012-05-09 Andreas Jaeger <aj@suse.de>
27151
27152 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27153 default is first entry.
27154 (run_mode): Set type.
27155 (main): Remove informal message about syslog.
27156 (options): Fix typo.
27157
27158 [BZ #14053]
27159 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27160 to asm.
27161 (lrint): Likewise.
27162 (llrintf): Likewise.
27163 (llrint): Likewise.
27164 (rint): Likewise.
27165 (rintf): Likewise.
27166 (nearbyint): Likewise.
27167 (nearbyintf): Likewise.
27168
27169 2012-05-09 Andreas Jaeger <aj@suse.de>
27170 Pedro Alves <palves@redhat.com>
27171
27172 * nscd/nscd.c (run_mode): Use enum.
27173 (main): Cleanup coding style issue.
27174
27175 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27176 Andreas Jaeger <aj@suse.de>
27177
27178 * nscd/nscd.c (go_background): Replaced with...
27179 (run_mode): ... this.
27180 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27181 (options): Add -F --foreground.
27182 (main): Implement it.
27183 (parse_opt): Parse it.
27184
27185 2012-05-09 Andreas Jaeger <aj@suse.de>
27186
27187 [BZ #14083]
27188 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27189 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27190 -Wconversion warning.
27191 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27192 Likewise.
27193
27194 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27195
27196 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27197 == 0.
27198 (LC_ALL): Use macro-int-constant.
27199 (LC_COLLATE): Likewise.
27200 (LC_CTYPE): Likewise.
27201 (LC_MESSAGES): Likewise.
27202 (LC_MONETARY): Likewise.
27203 (LC_NUMERIC): Likewise.
27204 (LC_TIME): Likewise.
27205 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27206 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27208 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27209 Specify type.
27210 [C99-based standards] (float_t): Expect type.
27211 [C99-based standards] (double_t): Expect type.
27212 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27213 type.
27214 [C99-based standards] (HUGE_VALL): Likewise.
27215 [C99-based standards] (INFINITY): Likewise.
27216 [C99-based standards] (NAN): Likewise.
27217 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27218 [C99-based standards] (FP_NAN): Likewise.
27219 [C99-based standards] (FP_NORMAL): Likewise.
27220 [C99-based standards] (FP_SUBNORMAL): Likewise.
27221 [C99-based standards] (FP_ZERO): Likewise.
27222 [C99-based standards] (FP_FAST_FMA): Use
27223 optional-macro-int-constant. Specify type. Require == 1.
27224 [C99-based standards] (FP_FAST_FMAF): Likewise.
27225 [C99-based standards] (FP_FAST_FMAL): Likewise.
27226 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27227 [C99-based standards] (FP_ILOGBNAN): Likewise.
27228 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27229 Specify type.
27230 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27231 [C99-based standards] (math_errhandling): Specify type.
27232 [ISO99 || ISO11] (signgam): Do not allow.
27233 [non-C99-based standards] (copysignf): Do not allow.
27234 [non-C99-based standards] (exp2f): Likewise.
27235 [non-C99-based standards] (log2f): Likewise.
27236 [non-C99-based standards] (modff): Allow.
27237 [non-C99-based standards] (erff): Do not allow.
27238 [non-C99-based standards] (erfcf): Likewise.
27239 [non-C99-based standards] (gammaf): Likewise.
27240 [non-C99-based standards] (hypotf): Likewise.
27241 [non-C99-based standards] (j0f): Likewise.
27242 [non-C99-based standards] (j1f): Likewise.
27243 [non-C99-based standards] (jnf): Likewise.
27244 [non-C99-based standards] (lgammaf): Likewise.
27245 [non-C99-based standards] (tgammaf): Likewise.
27246 [non-C99-based standards] (y0f): Likewise.
27247 [non-C99-based standards] (y1f): Likewise.
27248 [non-C99-based standards] (ynf): Likewise.
27249 [non-C99-based standards] (isnanf): Likewise.
27250 [non-C99-based standards] (acoshf): Likewise.
27251 [non-C99-based standards] (asinhf): Likewise.
27252 [non-C99-based standards] (atanhf): Likewise.
27253 [non-C99-based standards] (cbrtf): Likewise.
27254 [non-C99-based standards] (expm1f): Likewise.
27255 [non-C99-based standards] (ilogbf): Likewise.
27256 [non-C99-based standards] (log1pf): Likewise.
27257 [non-C99-based standards] (logbf): Likewise.
27258 [non-C99-based standards] (nextafterf): Likewise.
27259 [non-C99-based standards] (remainderf): Likewise.
27260 [non-C99-based standards] (rintf): Likewise.
27261 [non-C99-based standards] (scalbf): Likewise.
27262 [non-C99-based standards] (copysignl): Likewise.
27263 [non-C99-based standards] (exp2l): Likewise.
27264 [non-C99-based standards] (log2l): Likewise.
27265 [non-C99-based standards] (modfl): Allow.
27266 [non-C99-based standards] (erfl): Do not allow.
27267 [non-C99-based standards] (erfcl): Likewise.
27268 [non-C99-based standards] (gammal): Likewise.
27269 [non-C99-based standards] (hypotl): Likewise.
27270 [non-C99-based standards] (j0l): Likewise.
27271 [non-C99-based standards] (j1l): Likewise.
27272 [non-C99-based standards] (jnl): Likewise.
27273 [non-C99-based standards] (lgammal): Likewise.
27274 [non-C99-based standards] (tgammal): Likewise.
27275 [non-C99-based standards] (y0l): Likewise.
27276 [non-C99-based standards] (y1l): Likewise.
27277 [non-C99-based standards] (ynl): Likewise.
27278 [non-C99-based standards] (isnanl): Likewise.
27279 [non-C99-based standards] (acoshl): Likewise.
27280 [non-C99-based standards] (asinhl): Likewise.
27281 [non-C99-based standards] (atanhl): Likewise.
27282 [non-C99-based standards] (cbrtl): Likewise.
27283 [non-C99-based standards] (expm1l): Likewise.
27284 [non-C99-based standards] (ilogbl): Likewise.
27285 [non-C99-based standards] (log1pl): Likewise.
27286 [non-C99-based standards] (logbl): Likewise.
27287 [non-C99-based standards] (nextafterl): Likewise.
27288 [non-C99-based standards] (remainderl): Likewise.
27289 [non-C99-based standards] (rintl): Likewise.
27290 [non-C99-based standards] (scalbl): Likewise.
27291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27292 [non-C99-based standards] (FP_*): Do not allow.
27293 [C99-based standards] (FP_*): Change to
27294 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27295 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27296 allow.
27297 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27298 (SIG_ERR): Likewise.
27299 [X/Open-based standards] (SIG_HOLD): Likewise.
27300 (SIG_IGN): Likewise.
27301 (SIGABRT): Use macro-int-constant. Specify type. Require
27302 positive value.
27303 (SIGFPE): Likewise.
27304 (SIGILL): Likewise.
27305 (SIGINT): Likewise.
27306 (SIGSEGV): Likewise.
27307 (SIGTER): Likewise.
27308 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27309 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27310 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27311 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27312 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27313 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27314 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27315 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27316 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27317 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27318 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27319 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27320 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27321 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27322 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27323 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27324 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27325 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27326 [X/Open-based standards] (SIGTRAP): Likewise.
27327 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27328 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27329 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27330 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27331 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27332 allow.
27333
27334 2012-05-08 Ian Wienand <ianw@vmware.com>
27335
27336 [BZ #14080]
27337 * time/tzset.c (__tzset_parse_tz): Update default rules for
27338 daylight time changes in the Energy Policy Act of 2005.
27339
27340 2012-05-09 Andreas Jaeger <aj@suse.de>
27341
27342 [BZ #13983]
27343 * elf/ldconfig.c (parse_conf): Change string to make clear that
27344 ldconfig only issued a warning if ld.so.conf does not exist.
27345
27346 2012-05-08 David S. Miller <davem@davemloft.net>
27347
27348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27349 movxtod instead of popping the value on the stack.
27350
27351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27352
27353 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27354
27355 * config.h.in: Add HAVE_ARM_PCS_VFP.
27356
27357 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27358
27359 [BZ #13979]
27360 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27361 checking but the checks are disabled for any reason.
27362
27363 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27364
27365 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27366 and ELF64_R_TYPE with ELFW(R_TYPE).
27367
27368 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27369
27370 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27371 (ulimit): Likewise.
27372
27373 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27374 (settimeofday): Likewise.
27375
27376 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27377
27378 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27379 a struct th_u2 inside the union, and move tu_block/tu_code into
27380 a new th_u3 union of tu_block/tu_code inside of that. Move
27381 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27382 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27383 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27384 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27385 (th_stuff): Change to th_u1.tu_stuff.
27386 (th_data): Define.
27387 (th_msg): Change to th_u1.th_u2.tu_data.
27388
27389 2012-05-07 David S. Miller <davem@davemloft.net>
27390
27391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27392
27393 [BZ #14074]
27394 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27395 (SETUP_PIC_REG): Use it.
27396 (SETUP_PIC_REG_LEAF): Use it.
27397
27398 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27399
27400 [BZ #13885]
27401 [BZ #13923]
27402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27403 USE_AS_EXPM1L.
27404 (EXPL_FINITE): Likewise.
27405 (FLDLOG): Likewise.
27406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27407 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27408 e_expl.S.
27409 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27410 USE_AS_EXPM1L.
27411 (EXPL_FINITE): Likewise.
27412 (FLDLOG): Likewise.
27413 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27414 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27415 e_expl.S.
27416 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27417 test of -max_value argument for long double.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27420
27421 2012-05-06 David S. Miller <davem@davemloft.net>
27422
27423 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27424 quad soft-float symbols whose references which are compiler
27425 generated.
27426 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27427
27428 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27429
27430 [BZ #13884]
27431 [BZ #13914]
27432 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27433 USE_AS_EXP10L.
27434 (EXPL_FINITE): Likewise.
27435 (FLDLOG): Likewise.
27436 (c0): Likewise.
27437 (c1): Likewise.
27438 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27439 Adjust comments for base varying.
27440 (__expl_finite): Change alias to EXPL_FINITE.
27441 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27442 e_expl.S.
27443 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27444 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27446 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27448 USE_AS_EXP10L.
27449 (EXPL_FINITE): Likewise.
27450 (FLDLOG): Likewise.
27451 (c0): Likewise.
27452 (c1): Likewise.
27453 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27454 Adjust comments for base varying.
27455 (__expl_finite): Change alias to EXPL_FINITE.
27456 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27457 tests for bugs.
27458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27459
27460 [BZ #14064]
27461 * math/libm-test.inc (check_float_internal): Correct ulp
27462 calculation for subnormal expected results.
27463
27464 2012-05-06 Andreas Jaeger <aj@suse.de>
27465
27466 * Makeconfig (+math-flags): New, set to -frounding-math.
27467 (+cflags): Add +math-flags so that all of glibc gets compiled with
27468 it.
27469
27470 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27471
27472 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27473
27474 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27475 Disable one test.
27476
27477 [BZ #13787]
27478 [BZ #13922]
27479 [BZ #14036]
27480 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27481 (__ieee754_expl): Allow for and saturate large arguments.
27482 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27483 (u_threshold): Likewise.
27484 (__exp): Call __ieee754_exp before checking for overflow and
27485 underflow.
27486 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27487 (u_threshold): Likewise.
27488 (__expf): Call __ieee754_expf before checking for overflow and
27489 underflow.
27490 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27491 (u_threshold): Likewise.
27492 (__expl): Call __ieee754_expl before checking for overflow and
27493 underflow.
27494 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27495 (__ieee754_expl): Allow for and saturate large arguments.
27496 * math/libm-test.inc (exp_test): Add another test. Do not allow
27497 missing overflow exception on overflow.
27498 (expm1_test): Do not allow missing overflow exception on overflow.
27499
27500 * sysdeps/i386/fpu/e_expl.c: Move to ...
27501 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27502 rather than using inline asm.
27503 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27504 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27505 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27506
27507 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27508 (nice): Likewise.
27509 (poll): Likewise.
27510 (signal): Likewise.
27511 (time): Likewise.
27512 (times): Likewise.
27513
27514 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27515
27516 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27517 sysdeps/unix/common/syscalls.list.
27518 (fchmod): Likewise.
27519 (fchown): Likewise.
27520 (ftruncate): Likewise.
27521 (getrusage): Likewise.
27522 (gettimeofday): Likewise.
27523 (setpgid): Likewise.
27524 (setregid): Likewise.
27525 (setreuid): Likewise.
27526 (sigaction): Likewise.
27527 (truncate): Likewise.
27528 (vhangup): Likewise.
27529 * sysdeps/unix/common/syscalls.list: Remove file.
27530 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27531 * sysdeps/unix/sysv/linux/Implies: Likewise.
27532
27533 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27534
27535 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27537 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27538 Moved to ...
27539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27540 Here.
27541 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27542 to ...
27543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27544 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27545 to ...
27546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27547 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27548 to ...
27549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27550 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27551 to ...
27552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27553 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27554 to ...
27555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27556 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27557 to ...
27558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27559 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27560 to ...
27561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27562 Here.
27563 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27564 to ...
27565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27566 Here.
27567 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27568 to ...
27569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27570 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27571 Moved to ...
27572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27573 Here.
27574 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27575 to ...
27576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27577
27578 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27579
27580 * sysdeps/unix/common/bits/dirent.h: Remove file.
27581 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27582
27583 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27584 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27585 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27586 * sysdeps/unix/bsd/isatty.c: Likewise.
27587 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27588 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27589 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27590
27591 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27592
27593 [BZ #13563]
27594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27595 long double comparison inaccuracies.
27596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27598
27599 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27600
27601 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27603
27604 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27605
27606 [BZ #14049]
27607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27608 nonzero digits before rounding a hex value.
27609 * stdlib/tst-strtod.c (tests): Add another test.
27610
27611 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27612
27613 * sysdeps/s390/fpu/libm-test-ulps: Update.
27614
27615 2012-05-03 Andreas Jaeger <aj@suse.de>
27616
27617 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27618 does not get optimized out.
27619 (malloc_opt_barrier): New.
27620
27621 2012-05-03 Andreas Jaeger <aj@suse.de>
27622 Roland McGrath <roland@hack.frob.com>
27623
27624 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27625 intermediate file deletion.
27626 (generated): Add .symlist files.
27627
27628 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27629
27630 [BZ #13775]
27631 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27632 Redirect under this condition.
27633 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27634 [__USE_GNU] (__dprintf_chk): Not under this condition.
27635 [__USE_GNU] (__vdprintf_chk): Likewise.
27636 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27637 under this condition.
27638 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27639 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27640 [__USE_XOPEN2K8] (vdprintf): Likewise.
27641 [__USE_GNU] (__dprintf_chk): Not under this condition.
27642 [__USE_GNU] (__vdprintf_chk): Likewise.
27643 [__USE_GNU] (dprintf): Likewise.
27644 [__USE_GNU] (vdprintf): Likewise.
27645
27646 2012-05-03 Roland McGrath <roland@hack.frob.com>
27647
27648 * elf/Makefile (common-generated): Set this instead of generated for
27649 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27650 $(all-built-dso)-derived lists.
27651
27652 2012-05-03 Andreas Jaeger <aj@suse.de>
27653
27654 * sysdeps/i386/fpu/libm-test-ulps: Update.
27655
27656 * FAQ: Removed.
27657 * FAQ.in: Likewise.
27658 * scripts/gen-FAQ.pl: Likewise.
27659 * manual/install.texi (Installation): Point to online location of
27660 FAQ.
27661 * Makefile (files-for-dist): Remove FAQ.
27662 (FAQ): Remove.
27663
27664 2012-05-02 Allan McRae <allan@archlinux.org>
27665
27666 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27667 (LDFLAGS-reldepmod5.so): Likewise.
27668 (LDFLAGS-reldep6mod1.so): Likewise.
27669 (LDFLAGS-reldep6mod4.so): Likewise.
27670 (LDFLAGS-reldep8mod3.so): Likewise.
27671 (LDFLAGS-unload4mod1.so): Likewise.
27672 (LDFLAGS-unload4mod2.so): Likewise.
27673 (LDFLAGS-tst-initorder): Likewise.
27674 (LDFLAGS-tst-initordera2.so): Likewise.
27675 (LDFLAGS-tst-initordera3.so): Likewise.
27676 (LDFLAGS-tst-initordera4.so): Likewise.
27677 (LDFLAGS-tst-initorderb2.so): Likewise.
27678 (LDFLAGS-noload): Likewise.
27679 (LDFLAGS-next): Likewise.
27680 (LDFLAGS-order2mod1.so): Likewise.
27681 (LDFLAGS-order2mod2.so): Likewise.
27682 (LDFLAGS-tst-initorder2): Likewise.
27683 (LDFLAGS-tst-initorder2a.so): Likewise.
27684 (LDFLAGS-tst-initorder2b.so): Likewise.
27685 (LDFLAGS-tst-initorder2c.so): Likewise.
27686 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27687
27688 2012-05-02 David S. Miller <davem@davemloft.net>
27689
27690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27691
27692 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27693
27694 [BZ #14055]
27695 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27696
27697 2012-05-02 Andreas Jaeger <aj@suse.de>
27698
27699 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27700 since we manipulate rounding mode.
27701 (CPPFLAGS-test-idouble.c): Likewise.
27702 (CPPFLAGS-test-ifloat.c): Likewise.
27703 (CFLAGS-test-ldouble.c): Likewise.
27704 (CFLAGS-test-double.c): Likewise.
27705 (CFLAGS-test-float.c): Likewise.
27706 (CFLAGS-test-misc.c): Likewise.
27707 (CFLAGS-test-test-fenv.c): Likewise.
27708
27709 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27710
27711 [BZ #2550]
27712 [BZ #2570]
27713 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27714 comparisons to determine direction to adjust input.
27715
27716 2012-05-01 Roland McGrath <roland@hack.frob.com>
27717
27718 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27719 output to the target.
27720
27721 * scripts/localplt.awk: New file.
27722 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27723 (check-localplt-CFLAGS): Variable removed.
27724 ($(all-built-dso:=.jmprel)): New static pattern rule.
27725 (generated): Add those targets.
27726 (localplt-built-dso): New variable.
27727 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27728
27729 * elf/check-localplt.c: File removed.
27730
27731 * scripts/check-execstack.awk: New file.
27732 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27733 (check-execstack-CFLAGS): Variable removed.
27734 ($(objpfx)check-execstack.h): Target removed.
27735 ($(objpfx)execstack-default): New target.
27736 (generated): Add that instead of check-execstack.h.
27737 ($(all-built-dso:=.phdr)): New static pattern rule.
27738 (generated): Add those targets.
27739 * elf/check-execstack.c: File removed.
27740
27741 * scripts/check-textrel.awk: New file.
27742 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27743 (check-textrel-CFLAGS): Variable removed.
27744 (all-built-dso): Use := to define.o
27745 ($(all-built-dso:=.dyn)): New static pattern rule.
27746 (generated): Add those targets.
27747 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27748 * config.make.in (READELF): New substituted variable.
27749 * elf/check-textrel.c: File removed.
27750
27751 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27752
27753 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27754 allow.
27755 * conform/data/ctype.h-data [C99-based standards] (isblank):
27756 Expect function.
27757 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27758 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27760 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27761 Specify type. Require positive value.
27762 (EILSEQ): Likewise.
27763 (ERANGE): Likewise.
27764 [ISO || POSIX] (EILSEQ): Do not expect.
27765 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27766 Specify type. Require positive value.
27767 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27768 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27769 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27771 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27773 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27774 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27775 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27776 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27777 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27778 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27779 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27780 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27781 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27782 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27783 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27784 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27785 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27786 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27787 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27788 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27789 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27790 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27791 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27792 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27793 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27794 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27795 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27796 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27797 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27798 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27799 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27800 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27801 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27802 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27803 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27804 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27805 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27806 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27807 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27808 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27809 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27810 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27811 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27812 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27813 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27814 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27815 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27816 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27817 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27818 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27819 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27820 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27821 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27822 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27823 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27824 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27825 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27826 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27827 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27828 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27829 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27830 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27831 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27832 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27833 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27834 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27835 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27836 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27837 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27838 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27839 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27840 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27841 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27842 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27843 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27844 Require >= 2.
27845 (FLT_ROUNDS): Expect as macro, not constant.
27846 (FLT_MANT_DIG): Use macro-int-constant.
27847 (DBL_MANT_DIG): Likewise.
27848 (LDBL_MANT_DIG): Likewise.
27849 (FLT_DIG): Likewise.
27850 (DBL_DIG): Likewise.
27851 (LDBL_DIG): Likewise.
27852 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27853 (DBL_MIN_EXP): Likewise.
27854 (LDBL_MIN_EXP): Likewise.
27855 (FLT_MAX_EXP): Use macro-int-constant.
27856 (DBL_MAX_EXP): Likewise.
27857 (LDBL_MAX_EXP): Likewise.
27858 (FLT_MAX_10_EXP): Likewise.
27859 (DBL_MAX_10_EXP): Likewise.
27860 (LDBL_MAX_10_EXP): Likewise.
27861 (FLT_MAX): Use macro-constant.
27862 (DBL_MAX): Likewise.
27863 (LDBL_MAX): Likewise.
27864 (FLT_EPSILON): Use macro-constant. Give upper bound.
27865 (DBL_EPSILON): Likewise.
27866 (LDBL_EPSILON): Likewise.
27867 (FLT_MIN): Likewise.
27868 (DBL_MIN): Likewise.
27869 (LDBL_MIN): Likewise.
27870 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27871 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27872 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27873 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27874 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27875 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27876 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27877 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27878 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27879 [ISO11] (FLT_TRUE_MIN): Likewise.
27880 [ISO11] (LDBL_TRUE_MIN): Likewise.
27881 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27882 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27883 (SCHAR_MIN): Use macro-int-constant. Specify type.
27884 (SCHAR_MAX): Likewise.
27885 (UCHAR_MAX): Likewise.
27886 (CHAR_MIN): Likewise.
27887 (CHAR_MAX): Likewise.
27888 (MB_LEN_MAX): Use macro-int-constant.
27889 (SHRT_MIN): Use macro-int-constant. Specify type.
27890 (SHRT_MAX): Likewise.
27891 (USHRT_MAX): Likewise.
27892 (INT_MAX): Likewise.
27893 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27894 bound negative.
27895 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27896 bound with "U".
27897 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27898 bound with "L".
27899 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27900 bound negative. Suffix upper bound with "L".
27901 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27902 bound with "UL".
27903 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27904 Specify type.
27905 [C99-based standards] (LLONG_MAX): Likewise.
27906 [C99-based standards] (ULLONG_MAX): Likewise.
27907 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27908 == 0.
27909 [ISO11] (max_align_t): Require type.
27910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27911
27912 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27913 from $CFLAGS, without defining away __attribute__ calls.
27914 (checknamespace): Use $CFLAGS_namespace.
27915
27916 * conform/conformtest.pl (@keywords): Only include C99 keywords
27917 for standards based on C99 or C11.
27918
27919 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27920 Disable tests.
27921 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27922 UNIX98]: Likewise.
27923
27924 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27925 usability of symbols in #if.
27926
27927 * conform/conformtest.pl: If macro or constant types start
27928 "promoted:", expect the symbol to be of the following type
27929 promoted by the integer promotions.
27930
27931 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27932 in one place. Also handle "macro-constant".
27933
27934 * conform/conformtest.pl: Only accept expected macro values with
27935 "==". Parse all "macro" lines in one place.
27936 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27937
27938 * conform/conformtest.pl: Handle braced types on "constant" lines
27939 instead of handling "typed-constant".
27940 * conform/data/signal.h-data: Use "constant" instead of
27941 "typed-constant".
27942
27943 * conform/conformtest.pl: Handle "optional-" at start of lines in
27944 one place rather than duplicating several cases. Handle each
27945 format of "macro" line with initial "optional-".
27946
27947 * conform/conformtest.pl: Only accept expected constant or
27948 optional-constant values with "==". Parse all "constant" lines in
27949 one place. Parse all "optional-constant" lines in one place.
27950 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27951 * conform/data/fmtmsg.h-data: Likewise.
27952 * conform/data/netinet/in.h-data: Likewise.
27953 * conform/data/tar.h-data: Likewise.
27954 * conform/data/limits.h-data: Use "==" form on "constant" and
27955 "optional-constant" lines.
27956
27957 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27958 Use -std=c99 for XOPEN2K.
27959 (@knownproblems): Remove.
27960 (newtoken): Don't check %isknown.
27961
27962 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27963 Do not expect macro.
27964 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27976 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27977 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27992 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27993 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27994 [XPG3] (acosh): Likewise.
27995 [XPG3] (asinh): Likewise.
27996 [XPG3] (atanh): Likewise.
27997 [XPG3] (cbrt): Likewise.
27998 [XPG3] (expm1): Likewise.
27999 [XPG3] (ilogb): Likewise.
28000 [XPG3] (log1p): Likewise.
28001 [XPG3] (logb): Likewise.
28002 [XPG3] (nextafter): Likewise.
28003 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28004 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28005 [XPG3] (remainder): Likewise.
28006 [XPG3] (rint): Likewise.
28007 [XPG3 || XPG4 || UNIX98] (round): Likewise.
28008 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28009 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28010 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28011 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28012 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28013 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28014 [UNIX98 || XOPEN2K] (scalb): Expect.
28015 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28016 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28017 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28018 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28019 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28020 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28021 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28022 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28023 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28024 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28025 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28026 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28027 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28028 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28029 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28030 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28031 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28032 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28033 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28034 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28035 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28036 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28037 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28038 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28039 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28040 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28041 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28042 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28043 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28044 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28045 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28046 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28047 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28059 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28060 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28077 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28078 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28079 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28080 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28081 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28082 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28083 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28084 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28085 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28088 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28089 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28090 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28091 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28092 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28093 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28094 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28096 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28097 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28098 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28099 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28100 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28101 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28102 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28103 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28104 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28105 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28106 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28107 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28108 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28109 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28110 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28111 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28112 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28113 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28114 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28115 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28116 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28117 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28118 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28119 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28120 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28121 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28122 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28123 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28124 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28125 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28126 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28127 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28128 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28129 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28130 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28131 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28132 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28133 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28134 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28135 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28136 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28137 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28138 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28139 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28140 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28141 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28142 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28143 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28144 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28145 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28146 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28147 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28148 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28149 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28150 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28151 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28152
28153 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28154 _XOPEN_SOURCE_EXTENDED for XPG4.
28155
28156 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28157
28158 * Makeconfig (localtime): Remove variable.
28159 (inst_localtime-file): Likewise.
28160
28161 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28162
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28164 Update.
28165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28166 Update.
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28168 Update.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28170 Update.
28171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28172 Update.
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28174 Update.
28175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28176 Update.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28178 Update.
28179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28180 Update.
28181
28182 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28183
28184 [BZ #2550]
28185 [BZ #2570]
28186 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28187 comparisons to determine direction to adjust input.
28188 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28189 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28191 Likewise.
28192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28193 Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28195 Likewise.
28196 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28197 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28198 Likewise.
28199 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28200 Likewise.
28201 * math/libm-test.inc (nexttoward_test): Add more tests.
28202
28203 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28204
28205 [BZ #14040]
28206 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28207 in version GLIBC_2.1, not GLIBC_2.0.
28208 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28209 Likewise.
28210
28211 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28212
28213 [BZ #13942]
28214 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28215 (1 - x) * (1 + x).
28216 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28217 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28218 * math/libm-test.inc (acos_test): Add more tests.
28219 (asin_test): Likewise.
28220 * sysdeps/i386/fpu/libm-test-ulps: Update.
28221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28222
28223 [BZ #14034]
28224 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28225 of square root.
28226 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28227 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28228 * math/libm-test.inc (acos_test_tonearest): New function.
28229 (acos_test_towardzero): Likewise.
28230 (acos_test_downward): Likewise.
28231 (acos_test_upward): Likewise.
28232 (asin_test_tonearest): Likewise.
28233 (asin_test_towardzero): Likewise.
28234 (asin_test_downward): Likewise.
28235 (asin_test_upward): Likewise.
28236 (main): Call the new functions.
28237 * sysdeps/i386/fpu/libm-test-ulps: Update.
28238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28239
28240 [BZ #13884]
28241 [BZ #13924]
28242 * math/e_exp10.c: Include <float.h>.
28243 (__ieee754_exp10): Handle underflow here rather than multiplying
28244 large negative argument by M_LN10.
28245 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28246 of __ieee754_expf.
28247 * math/e_exp10l.c: Include <float.h>.
28248 (__ieee754_exp10l): Handle underflow here rather than multiplying
28249 large negative argument by M_LN10l.
28250 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28251 spurious overflow exception on underflow.
28252
28253 2012-04-29 Marek Polacek <polacek@redhat.com>
28254
28255 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28256 (__fortify_function): New macro.
28257 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28258 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28259 __extern_always_inline.
28260 * libio/bits/stdio2.h: Likewise.
28261 * libio/bits/stdio.h: Likewise.
28262 * string/string.h: Likewise.
28263 * string/bits/string3.h: Likewise.
28264 * include/stdio.h: Likewise.
28265 * stdlib/bits/stdlib.h: Likewise.
28266 * stdlib/stdlib.h: Likewise.
28267 * rt/bits/mqueue2.h: Likewise.
28268 * rt/mqueue.h: Likewise.
28269 * posix/bits/unistd.h: Likewise.
28270 * posix/unistd.h: Likewise.
28271 * io/bits/poll2.h: Likewise.
28272 * io/bits/fcntl2.h: Likewise.
28273 * io/fcntl.h: Likewise.
28274 * io/sys/poll.h: Likewise.
28275 * misc/bits/syslog.h: Likewise.
28276 * misc/bits/syslog-ldbl.h: Likewise.
28277 * misc/sys/syslog.h: Likewise.
28278 * socket/bits/socket2.h: Likewise.
28279 * socket/sys/socket.h: Likewise.
28280 * debug/tst-chk1.c: Likewise.
28281 * wcsmbs/bits/wchar2.h: Likewise.
28282 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28283 * wcsmbs/wchar.h: Likewise.
28284
28285 2012-04-29 Andreas Jaeger <aj@suse.de>
28286
28287 * Makerules (tests): Remove enable-check-abi protection.
28288 (check-abi-warn): Remove.
28289 (check-abi-%): Remove check-abi-warn usage.
28290
28291 * configure.in: Remove check-abi configure option.
28292 * configure: Regenerated.
28293 * config.make.in (enable-check-abi): Remove.
28294
28295 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28296
28297 [BZ #14033]
28298 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28299 double functions to double *_finite functions.
28300
28301 [BZ #13941]
28302 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28303 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28304 LDBL_MIN_EXP.
28305 * stdio-common/Makefile (tests): Add tst-sprintf3.
28306 * stdio-common/tst-sprintf3.c: New file.
28307
28308 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28309 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28310
28311 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28312
28313 * conform/conformtest.pl: Remove duplicate typed-constant
28314 handling.
28315
28316 2012-04-28 David S. Miller <davem@davemloft.net>
28317
28318 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28319 (check-abi-%): Remove AWK script prerequisite and explicit
28320 abilist directory.
28321 (check-abi): Rewrite to just diff the symlist with the abilist.
28322 (config-tls, config-abi-config): Delete, no longer used.
28323 (update-abi-%): Remove AWK script and explicit abilist directory.
28324 (update-abi): Rewrite to simply compare and conditionally copy the
28325 symlist and the sysdep abilist file. Remove update-abi-config
28326 checks.
28327 * abilist/ld.abilist: Remove.
28328 * abilist/libBrokenLocale.abilist: Remove.
28329 * abilist/libanl.abilist: Remove.
28330 * abilist/libcrypt.abilist: Remove.
28331 * abilist/libdl.abilist: Remove.
28332 * abilist/librt.abilist: Remove.
28333 * abilist/libthread_db.abilist: Remove.
28334 * abilist/libutil.abilist: Remove.
28335 * scripts/extract-abilist.awk: Remove.
28336 * scripts/merge-abilist.awk: Remove.
28337 * sysdeps/generic/libcidn.abilist: New file.
28338 * sysdeps/generic/libnss_compat.abilist: New file.
28339 * sysdeps/generic/libnss_db.abilist: New file.
28340 * sysdeps/generic/libnss_dns.abilist: New file.
28341 * sysdeps/generic/libnss_files.abilist: New file.
28342 * sysdeps/generic/libnss_hesiod.abilist: New file.
28343 * sysdeps/generic/libnss_nis.abilist: New file.
28344 * sysdeps/generic/libnss_nisplus.abilist: New file.
28345 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28346 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28347 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28348 file.
28349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28350 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28351 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28352 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28353 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28354 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28355 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28356 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28357 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28358 file.
28359 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28360 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28361 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28362 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28363 file.
28364 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28365 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28366 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28367 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28368 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28369 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28370 file.
28371 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28372 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28373 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28374 file.
28375 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28377 New file.
28378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28379 New file.
28380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28381 New file.
28382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28383 New file.
28384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28385 New file.
28386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28387 New file.
28388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28389 New file.
28390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28391 New file.
28392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28393 New file.
28394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28395 New file.
28396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28397 New file.
28398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28399 New file.
28400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28401 New file.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28403 file.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28405 New file.
28406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28407 New file.
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28409 file.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28411 New file.
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28413 New file.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28415 file.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28417 New file.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28419 New file.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28421 New file.
28422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28423 New file.
28424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28425 New file.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28427 New file.
28428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28430 file.
28431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28432 New file.
28433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28434 file.
28435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28436 file.
28437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28438 file.
28439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28440 file.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28442 file.
28443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28444 New file.
28445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28446 file.
28447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28448 file.
28449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28450 New file.
28451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28452 file.
28453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28455 file.
28456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28457 New file.
28458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28459 file.
28460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28461 file.
28462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28463 file.
28464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28465 file.
28466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28467 file.
28468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28469 New file.
28470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28471 file.
28472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28473 file.
28474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28475 New file.
28476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28477 file.
28478 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28479 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28480 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28481 file.
28482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28483 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28484 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28485 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28486 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28487 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28488 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28489 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28490 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28491 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28494 file.
28495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28496 New file.
28497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28498 file.
28499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28500 file.
28501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28502 file.
28503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28504 file.
28505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28506 file.
28507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28508 New file.
28509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28510 New file.
28511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28512 file.
28513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28514 New file.
28515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28516 file.
28517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28519 file.
28520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28521 New file.
28522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28523 file.
28524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28525 file.
28526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28527 file.
28528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28529 file.
28530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28531 file.
28532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28533 New file.
28534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28535 New file.
28536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28537 file.
28538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28539 New file.
28540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28541 file.
28542
28543 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28544
28545 * conform/conformtest.pl: Fix typo in handling typed-constant from
28546 allow-header.
28547
28548 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28549
28550 * README: Cut down references to pre-2.6 Linux kernels and
28551 Linuxthreads. Update lists of configurations in libc and ports
28552 and sort alphabetically. Say "or newer" with Linux kernel version
28553 requirements.
28554
28555 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28556
28557 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28558
28559 [BZ #887]
28560 * math/libm-test.inc (logb_test_downward): New test to expose
28561 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28562 rounding mode.
28563
28564 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28565
28566 [BZ #14027]
28567 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28568 to be done.
28569 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28570 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28571
28572 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28573
28574 * sysdeps/unix/i386/brk.S: Remove file.
28575 * sysdeps/unix/i386/dl-brk.S: Likewise.
28576 * sysdeps/unix/i386/pipe.S: Likewise.
28577 * sysdeps/unix/i386/sigreturn.S: Likewise.
28578 * sysdeps/unix/i386/syscall.S: Likewise.
28579 * sysdeps/unix/i386/vfork.S: Likewise.
28580 * sysdeps/unix/i386/wait.S: Likewise.
28581
28582 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28583 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28584
28585 * configure.in (arm*-none*): Do not allow without
28586 --enable-hacker-mode.
28587 (netbsd*): Remove case setting base_os.
28588 (386bsd*): Likewise.
28589 (freebsd*): Likewise.
28590 (bsdi*): Likewise.
28591 (osf*): Likewise.
28592 (sunos*): Likewise.
28593 (ultrix*): Likewise.
28594 (newsos*): Likewise.
28595 (dynix*): Likewise.
28596 (*bsd*): Likewise.
28597 (sysv*): Likewise.
28598 (isc*): Likewise.
28599 (esix*): Likewise.
28600 (sco*): Likewise.
28601 (minix*): Likewise.
28602 (irix4*): Likewise.
28603 (irix6*): Likewise.
28604 (solaris[2-9]*): Likewise.
28605 (none): Likewise.
28606 * configure: Regenerated.
28607
28608 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28609
28610 [BZ #11521]
28611 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28612 overflow or cancellation in calculating denominator.
28613 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28615 down expression to avoid unexpected rounding in newer GCCs.
28616 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28617
28618 2012-04-26 David S. Miller <davem@davemloft.net>
28619
28620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28621 long-double compat symbols.
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28635
28636 2012-04-25 David S. Miller <davem@davemloft.net>
28637
28638 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28639 HWCAP_* values only after the memory barriers have been defined.
28640 (atomic_full_barrier): Define.
28641 (atomic_read_barrier): Define.
28642 (atomic_write_barrier): Define.
28643
28644 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28645
28646 * shlib-versions: Add libgcc_s version information.
28647 * sysdeps/generic/libgcc_s.h: Remove.
28648 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28649 libgcc_s.h.
28650 * sysdeps/gnu/unwind-resume.c: Likewise.
28651 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28652
28653 2012-04-25 David S. Miller <davem@davemloft.net>
28654
28655 * sysdeps/unix/sparc/brk.S: Delete.
28656 * sysdeps/unix/sparc/dl-brk.S: Delete.
28657 * sysdeps/unix/sparc/pipe.S: Delete.
28658 * sysdeps/unix/sparc/sysdep.S: Delete.
28659 * sysdeps/unix/sparc/sysdep.h: Delete.
28660 * sysdeps/unix/sparc/vfork.S: Delete.
28661 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28662 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28664 ret_ERRVAL, r0, r1, MOVE): Define.
28665 (JUMPTARGET): Remove.
28666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28667 sysdeps/unix/sparc/sysdep.h
28668 (ENTRY, END): Remove.
28669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28670
28671 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28672
28673 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28674 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28675 -DIS_IN_build.
28676
28677 * timezone/README: Update upstream location and email address for
28678 tzcode and tzdata.
28679 * timezone/zdump.c: Update from tzcode 2012b.
28680 * timezone/zic.c: Likewise.
28681
28682 * configure.in (libc_cv_as_needed): Remove test.
28683 * configure: Regenerated.
28684 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28685 conditional definition.
28686 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28687 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28688 * config.make.in (have-as-needed): Remove variable.
28689
28690 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28691 Paul Pluzhnikov <ppluzhnikov@google.com>
28692
28693 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28694 strings correctly.
28695
28696 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28697
28698 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28699 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28700 * sysdeps/sh/strlen.S: Likewise.
28701
28702 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28703
28704 * sysdeps/unix/fork.S: Remove file.
28705 * sysdeps/unix/i386/fork.S: Likewise.
28706 * sysdeps/unix/sparc/fork.S: Likewise.
28707
28708 * sysdeps/unix/system.c: Remove file.
28709 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28710
28711 * sysdeps/unix/getegid.S: Remove file.
28712 * sysdeps/unix/geteuid.S: Likewise.
28713
28714 2012-04-24 Roland McGrath <roland@hack.frob.com>
28715
28716 * scripts/check-localplt.awk: New file.
28717 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28718 of diff.
28719 * scripts/data/localplt-generic.data: Add a comment.
28720
28721 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28722 NODE when __dir_mkfile failed.
28723 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28724 Reported by Ludovic Courtès <ludo@gnu.org>.
28725
28726 2012-04-24 Andreas Jaeger <aj@suse.de>
28727
28728 * Makerules (common-clean): Also remove gen-as-const-headers
28729 files.
28730
28731 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28732
28733 * Makerules (native-compile): Do not change working directory for
28734 build. Use $(OUTPUT_OPTION) in command.
28735 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28736
28737 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28738
28739 [BZ #13886]
28740 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28741 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28742 * math/libm-test.inc (floor_test): Add more tests.
28743 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28744
28745 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28746
28747 * sysdeps/unix/getdents.c: Remove file.
28748 * sysdeps/unix/sysv/getdents.c: Likewise.
28749 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28750
28751 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28752 sysdeps/unix/mman/syscalls.list.
28753 (mmap): Likewise.
28754 (mprotect): Likewise.
28755 (msync): Likewise.
28756 (munmap): Likewise.
28757 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28758 * sysdeps/unix/mman/syscalls.list: Remove.
28759 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28760
28761 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28762 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28763 * configure: Regenerated.
28764 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28765 $(libgcc_s_suffix).
28766 * config.make.in (libgcc_s_suffix): Remove variable.
28767
28768 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28769
28770 * sysdeps/unix/sysv/gethostname.c: Move to ...
28771 * sysdeps/posix/gethostname.c: ... here.
28772
28773 * sysdeps/unix/execve.S: Remove file.
28774
28775 * sysdeps/unix/_exit.S: Remove file.
28776
28777 2012-04-23 Andreas Jaeger <aj@suse.de>
28778
28779 [BZ #13739]
28780 * manual/Makefile: Remove make dist support, there's no
28781 need for a stand-alone documentation tar ball.
28782 (TEXI2DVI): Define always, it's not in Makeconfig.
28783 (dist): Removed.
28784 (tar-it): Removed.
28785 (edition): Removed.
28786 (glibc-doc-$(edition).tar): Removed
28787 (%.Z): Removed.
28788 (%.gz): Removed.
28789 (%.uu): Removed.
28790 (ETAGS): Remove, it's in Makeconfig.
28791 (move-if-change): Remove, it's in Makeconfig.
28792
28793 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28794
28795 [BZ #13970]
28796 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28797 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28798 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28799 (strtod_l, strtof_l, strtold_l): Remove __wur.
28800 It is not necessarily an error to ignore strtol's return value.
28801 One can reliably look at the stored endptr to decide whether
28802 the number had valid syntax.
28803
28804 2012-04-21 Andreas Jaeger <aj@suse.de>
28805
28806 [BZ #13739]
28807 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28808
28809 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28810
28811 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28812 * sysdeps/unix/sysv/Versions: Remove file.
28813
28814 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28815
28816 [BZ #13927]
28817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28818
28819 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28820
28821 [BZ #7064]
28822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28823 version from __vm86.
28824
28825 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28826
28827 * sysdeps/unix/common/lxstat.c: Remove file.
28828 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28829
28830 * sysdeps/unix/sysv/Makefile: Remove file.
28831
28832 * sysdeps/unix/sysv/direct.h: Remove file.
28833
28834 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28835 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28836 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28837 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28838 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28839 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28840 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28841
28842 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28843
28844 * sysdeps/unix/xmknod.c: Remove file.
28845 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28846
28847 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28848
28849 * sysdeps/unix/sysv/i386/time.S: Remove file.
28850
28851 * sysdeps/unix/fxstat.c: Remove file.
28852 * sysdeps/unix/xstat.c: Likewise.
28853 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28854
28855 * sysdeps/unix/sysv/sigaction.c: Remove file.
28856
28857 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28858 (sysdep_headers): Remove variable.
28859 [termio.h not in sysdep_headers] (generated): Likewise.
28860 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28861 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28862 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28863 * sysdeps/unix/sysv/tcflow.c: Likewise.
28864 * sysdeps/unix/sysv/tcflush.c: Likewise.
28865 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28866 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28867 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28868 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28869 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28870
28871 * sysdeps/unix/siglist.c: Remove file.
28872
28873 * sysdeps/unix/getppid.S: Remove file.
28874
28875 * sysdeps/unix/mkdir.c: Remove file.
28876 * sysdeps/unix/rmdir.c: Likewise.
28877
28878 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28879
28880 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28881 ERR_MAX value.
28882 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28883 errlist-compat value.
28884
28885 2012-04-18 David S. Miller <davem@davemloft.net>
28886
28887 * sysdeps/generic/memcopy.h (reg_char): Delete.
28888 * debug/strcat_chk.c: Use char, not reg_char.
28889 * debug/strcpy_chk.c: Likewise.
28890 * debug/strncat_chk.c: Likewise.
28891 * debug/strncpy_chk.c: Likewise.
28892 * string/memchr.c: Likewise.
28893 * string/memrchr.c: Likewise.
28894 * string/rawmemchr.c: Likewise.
28895 * string/strcat.c: Likewise.
28896 * string/strchr.c: Likewise.
28897 * string/strchrnul.c: Likewise.
28898 * string/strcmp.c: Likewise.
28899 * string/strcpy.c: Likewise.
28900 * string/strncat.c: Likewise.
28901 * string/strncmp.c: Likewise.
28902 * string/strncpy.c: Likewise.
28903
28904 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28905
28906 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28907 __builtin_memcopy is called when src and dest ranges are known to not
28908 overlap.
28909
28910 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28911
28912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28913 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28914 fwd_align_merge macro call.
28915 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28916 bwd_align_merge macro call.
28917 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28918
28919 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28920
28921 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28922 bwd_align_merge macros.
28923 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28924 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28925 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28926
28927 2012-04-18 David S. Miller <davem@davemloft.net>
28928
28929 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28930
28931 2012-04-18 Andreas Jaeger <aj@suse.de>
28932
28933 [BZ# 6794]
28934 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28935 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28936 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28937
28938 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28939 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28941
28942 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28943 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28944 Adjust for changed ldbl-128 files.
28945
28946 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28947 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28948 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28949
28950 2012-04-17 David S. Miller <davem@davemloft.net>
28951
28952 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28953
28954 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28955
28956 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28957 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28958 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28959 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28960 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28961 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28962
28963 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28964
28965 [BZ #6794]
28966 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28967 * math/libm-test.inc: Add ilogb errno and exception tests.
28968 * math/w_ilogb.c: New file: ilogb wrapper.
28969 * math/w_ilogbf.c: New file: ilogbf wrapper.
28970 * math/w_ilogbl.c: New file: ilogbl wrapper.
28971 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28972 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28973 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28974 exception being thrown with 0.0 as argument.
28975 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28976 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28977 exception being thrown with 0.0 as argument.
28978 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28979 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28980 exception being thrown with 0.0 as argument.
28981 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28982 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28983 exception being thrown with 0.0 as argument.
28984 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28985 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28986 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28987 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28989 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28990 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28991 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28992 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28993
28994 2012-04-17 Petr Baudis <pasky@ucw.cz>
28995
28996 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28997 with altivec.
28998
28999 2012-04-16 Marek Polacek <polacek@redhat.com>
29000
29001 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29002
29003 2012-04-16 Marek Polacek <polacek@redhat.com>
29004
29005 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29006 operands of fdivp instruction.
29007
29008 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29011 * elf/tst-auditmod3b.c: Likewise.
29012 * elf/tst-auditmod4b.c: Likewise.
29013 * elf/tst-auditmod5b.c: Likewise.
29014 * elf/tst-auditmod6b.c: Likewise.
29015 * elf/tst-auditmod6c.c: Likewise.
29016 * elf/tst-auditmod7b.c: Likewise.
29017 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29018 * sysdeps/x86_64/preconfigure.in: Likewise.
29019 * sysdeps/x86_64/preconfigure: Regenerated.
29020
29021 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29024 __ILP32__.
29025
29026 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
29027
29028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29029 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29030
29031 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
29032
29033 [BZ #13973]
29034 * locale/iso-639.def: Fix gl language name. Spotted by
29035 Yaron Shahrabani.
29036
29037 2012-04-12 Roland McGrath <roland@hack.frob.com>
29038
29039 [BZ #2074]
29040 * libio/libio.h (__io_write_fn): Update comment.
29041
29042 2012-04-12 Petr Baudis <pasky@ucw.cz>
29043
29044 [BZ #2074]
29045 * stdio.texi (Hook Functions): The user provided writer function
29046 is not allowed to return -1.
29047
29048 2012-04-11 David S. Miller <davem@davemloft.net>
29049
29050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29051
29052 2012-04-11 Mike Frysinger <vapier@gentoo.org>
29053
29054 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29055 Add a leading slash to rtkaio.
29056
29057 2012-04-11 Jim Meyering <meyering@redhat.com>
29058
29059 [BZ #11959]
29060 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29061 It is not necessarily an error to ignore fwrite's return
29062 value. One can reliably use ferror to test for errors after
29063 the fact.
29064
29065 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29066
29067 * bits/types.h (__snseconds_t): New type.
29068 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29069
29070 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29072 (__SNSECONDS_T_TYPE): Likewise.
29073 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29074 (__SNSECONDS_T_TYPE): Likewise.
29075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29076 (__SNSECONDS_T_TYPE): Likewise.
29077
29078 2012-04-10 Andreas Jaeger <aj@suse.de>
29079
29080 [BZ #2636]
29081 * manual/time.texi (Processor Time): Return type of times is
29082 elapsed real time since an arbitrary point in the past.
29083 (CPU Time): Move CLK_TCK from here...
29084 (Processor Time): ...to here. Correct description.
29085 * manual/conf.texi (Constants for Sysconf): Correct description of
29086 _SC_CLK_TCK.
29087
29088 2012-04-10 David S. Miller <davem@davemloft.net>
29089
29090 [BZ #13967]
29091 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29092 where the is a gap between DT_REL(A) and DT_JMPREL.
29093
29094 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29097 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29098 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29099
29100 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29101
29102 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29103 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29104 (dl_main): Handle --inhibit-cache.
29105 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29106 _dl_inhibit_cache.
29107 * elf/dl-load.c (_dl_map_object): Use it.
29108 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29109
29110 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29111
29112 [BZ #13872]
29113 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29114 (__ieee754_powl): Saturate large exponents rather than testing for
29115 overflow of y*log2(x).
29116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29117 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29118 exceptions.
29119
29120 [BZ #11521]
29121 * math/s_ctan.c: Include <float.h>.
29122 (__ctan): Avoid internal overflow or cancellation in calculating
29123 denominator.
29124 * math/s_ctanf.c: Likewise.
29125 * math/s_ctanl.c: Likewise.
29126 * math/s_ctanh.c: Likewise.
29127 * math/s_ctanhf.c: Likewise.
29128 * math/s_ctanhl.c: Likewise.
29129 * math/libm-test.inc (ctan_test): Add more tests.
29130 (ctanh_test): Likewise.
29131 * sysdeps/i386/fpu/libm-test-ulps: Update.
29132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29133
29134 2012-04-09 Andreas Jaeger <aj@suse.de>
29135
29136 [BZ #6894]
29137 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29138 is an optional BSD extension.
29139
29140 [BZ #10254]
29141 * manual/stdio.texi (Opening Streams): Document additional fopen
29142 parameters.
29143
29144 2012-04-09 Roland McGrath <roland@hack.frob.com>
29145
29146 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29147 %eax without telling the compiler.
29148
29149 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29150
29151 [BZ # 13963]
29152 * manual/install.texi: Use sourceware.org.
29153
29154 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29155
29156 [BZ #13873]
29157 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29158 (__ieee754_pow): Generate overflow and underflow using huge*huge
29159 and tiny*tiny rather than just returning constant infinity or zero
29160 for large exponents.
29161 * math/libm-test.inc (pow_test): Require overflow exceptions for
29162 applicable cases of large exponents.
29163
29164 [BZ #706]
29165 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29166 (__ieee754_pow): Use iterative multiplication algorithm only for
29167 integer exponents with absolute value below 1024. Check for odd
29168 integer exponents when using algorithm for real exponents.
29169 * math/libm-test.inc (pow_test): Add more tests.
29170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29171
29172 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29173
29174 [BZ #13705]
29175 * math/libm-test.inc (exp_test): Do not allow overflow exception
29176 on underflow test.
29177
29178 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29179
29180 [BZ #13705]
29181 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29182 instead of __kernel_standard_f.
29183
29184 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29185
29186 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29187 * sysdeps/x86_64/memset_chk.S: Likewise.
29188
29189 2012-04-08 Andreas Jaeger <aj@suse.de>
29190
29191 [BZ #10153]
29192 * manual/startup.texi (Environment Access): Describe return value
29193 for putenv and setenv.
29194
29195 [BZ #6895]
29196 * manual/filesys.texi (Directory Entries): Add description for
29197 DT_LNK.
29198
29199 [BZ #6890]
29200 * manual/filesys.texi (Directory Entries): Clarify that it's file
29201 system not operating system in the description of DT_UNKNOWN.
29202
29203 [BZ #6578]
29204 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29205
29206 2012-04-08 Stephen Compall <s11@member.fsf.org>
29207
29208 [BZ #6649]
29209 * manual/llio.texi (Opening and Closing Files): Add cross
29210 reference to explain mode argument.
29211
29212 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29213
29214 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29215 * sysdeps/x86_64/memset_chk.S: Likewise.
29216
29217 2012-04-07 David S. Miller <davem@davemloft.net>
29218
29219 * elf/elf.h (R_SPARC_WDISP10): Define.
29220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29221 R_SPARC_SIZE32.
29222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29223 R_SPARC_SIZE64 and R_SPARC_H34.
29224
29225 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29226
29227 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29228 conditions and remove no longer applicable assertion.
29229
29230 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 * bits/byteswap.h: Include <features.h>.
29233 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29234 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29235
29236 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29237
29238 * bits/byteswap.h (__bswap_16): Removed.
29239 Include <bits/byteswap-16.h> to get __bswap_16.
29240 * sysdeps/i386/bits/byteswap.h: Likewise.
29241 * sysdeps/s390/bits/byteswap.h: Likewise.
29242 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29243 * bits/byteswap-16.h: New file.
29244 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29245 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29246 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29247 * string/Makefile (headers): Add bits/byteswap-16.h.
29248
29249 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29250
29251 [BZ #13895]
29252 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29253 extra indirection.
29254 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29255 * nss/tst-nss-static.c: New.
29256
29257 2012-04-06 Robert Millan <rmh@gnu.org>
29258
29259 [BZ #6486]
29260 * manual/llio.texi (File Position Primitive): lseek
29261 refers to WHENCE when it really means OFFSET.
29262
29263 2012-04-06 Andreas Jaeger <aj@suse.de>
29264
29265 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29266 strncmp declarations.
29267
29268 * abilist/libc.abilist: Add __poll and __ppoll.
29269
29270 2012-04-05 David S. Miller <davem@davemloft.net>
29271
29272 * scripts/check-local-headers.sh: Accept a host triplet in the
29273 path matched by the exclude regexp.
29274
29275 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29276 definition.
29277 * sysdeps/powerpc/powerpc32/dl-machine.h
29278 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29279 * sysdeps/s390/s390-32/dl-machine.h
29280 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29281 * sysdeps/sparc/sparc32/dl-machine.h
29282 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29283 * sysdeps/sparc/sparc64/dl-machine.h
29284 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29285
29286 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29287 lazy binding.
29288 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29289 undefined symbol errors.
29290
29291 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29292 DT_NEEDED entries.
29293
29294 2012-04-05 Michael Matz <matz@suse.de>
29295
29296 [BZ #13592]
29297 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29298
29299 2012-04-05 Andreas Jaeger <aj@suse.de>
29300
29301 [BZ #13908]
29302 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29303 comment.
29304
29305 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29306
29307 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29308 which ROUND is no valid rounding mode.
29309
29310 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29311
29312 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29313 read again.
29314 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29315
29316 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29317
29318 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29319 an exception using FPU order intentionally.
29320
29321 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29322
29323 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29324 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29325 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29326 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29327
29328 2012-04-05 Simon Josefsson <simon@josefsson.org>
29329
29330 [BZ #12340]
29331 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29332 EINVAL when BUFLEN is too smal.
29333
29334 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29335
29336 [BZ #13553]
29337 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29338 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29339
29340 2012-04-03 Andreas Jaeger <aj@suse.de>
29341
29342 [BZ #13938]
29343 * manual/setjmp.texi (System V contexts): Fix sentence.
29344
29345 [BZ #13926]
29346 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29347 New macro for this case.
29348 [!__GNUC__] (__bswap_64): New inline function for this case.
29349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29350 * bits/byteswap.h: Likewise.
29351 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29352 ull, guard with __GLIBC_HAVE_LONG_LONG.
29353
29354 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29355 __GLIBC_HAVE_LONG_LONG.
29356
29357 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29358 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29359
29360 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29361
29362 [BZ #13691]
29363 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29364 inptr and inend, rather than using last_ch.
29365
29366 2012-04-02 David S. Miller <davem@davemloft.net>
29367
29368 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29369 * stdio-common/printf-parse.h (read_int): Change return type to
29370 'int', return -1 on INT_MAX overflow.
29371 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29372 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29373 overflows INT_MAX. Check for overflow of in-format-string precision
29374 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29375 SIZE_MAX not INT_MAX for integer overflow test.
29376 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29377 skip the construct in the format string but do not record anything.
29378 * stdio-common/bug22.c: Adjust to test both width/prevision
29379 INT_MAX overflow as well as total length INT_MAX overflow. Check
29380 explicitly for proper errno values.
29381
29382 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29383
29384 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29385 CHAR_MAX.
29386 * string/test-strcmp.c [! WIDE]: Likewise.
29387 * time/tst-mktime2.c: Likewise for INT_MAX.
29388 * string/test-string.h: #include <sys/param.h> for MIN.
29389
29390 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29391 * sysdeps/i386/init-first.c (init): Likewise.
29392 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29393 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29394 * sysdeps/sh/init-first.c (init): Likewise.
29395
29396 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29397
29398 * po/ru.po: Update from translation team.
29399 * po/vi.po: Likewise.
29400
29401 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29402
29403 * resolv/nss_dns/dns-host.c: Merge copyright years.
29404
29405 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29406
29407 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29408 Optimize memcpy with prefetch if
29409 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29410 src, dst pointers have unequal 16 byte alignments.
29411
29412 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29413
29414 [BZ #13928]
29415 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29416 from a CNAME entry and return the minimum ttl for the query.
29417 (gaih_getanswer_slice): Likewise.
29418
29419 2012-03-30 Jeff Law <law@redhat.com>
29420
29421 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29422 due to long keys.
29423 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29424 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29425
29426 * resolv/nss_dns/dns-host.c: Update copyright year.
29427
29428 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29429
29430 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29431 requests to save a system call. Fix check that all bytes are sent.
29432
29433 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29434 comments for sendmmsg.
29435
29436 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29437
29438 [BZ #13691]
29439 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29440 with only 1 character between 0x0041 and 0x01b0.
29441 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29442 * wcsmbs/tst-mbsnrtowcs.c: New file.
29443
29444 2012-03-29 David S. Miller <davem@davemloft.net>
29445
29446 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29447 small copies by hand.
29448
29449 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29450
29451 [BZ #13761]
29452 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29453 _nss_compat_initgroups_dyn): Fall back to malloc/free
29454 for large group memberships.
29455
29456 2012-03-28 David S. Miller <davem@davemloft.net>
29457
29458 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29459 that branches into memcpy.
29460 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29463 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29465 bits.
29466 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29467 implementation too.
29468 * sysdeps/sparc/mempcpy.S: New file.
29469
29470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29471 the IFUNC routine in the libc case.
29472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29473
29474 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29475 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29476 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29477 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29478 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29479 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29480 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29481 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29482
29483 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29484 loop to 256 bytes instead of 64 bytes and fix test signedness.
29485
29486 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29487 * sysdeps/sparc/sparc32/Makefile: rather than here...
29488 * sysdeps/sparc/sparc64/Makefile: and here.
29489
29490 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29491
29492 * malloc/mallocbug.c: Avoid warnings about unused variables.
29493
29494 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29495
29496 [BZ #13760]
29497 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29498 in the right place. Discard and retry query if response is
29499 larger than input buffer size.
29500
29501 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29502
29503 [BZ #369]
29504 [BZ #2678]
29505 [BZ #3866]
29506 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29507 x for large integer exponent.
29508 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29509 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29510 sign of result as needed afterwards.
29511 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29512 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29513 result for underflowing pow the same as for overflow.
29514 (__kernel_standard_l): Handle powl overflow and underflow here
29515 rather than calling __kernel_standard.
29516 * math/libm-test.inc (pow_test): Add more tests.
29517
29518 [BZ #3868]
29519 [BZ #13879]
29520 [BZ #13910]
29521 [BZ #13911]
29522 [BZ #13912]
29523 [BZ #13913]
29524 [BZ #13915]
29525 [BZ #13916]
29526 [BZ #13917]
29527 [BZ #13918]
29528 [BZ #13919]
29529 [BZ #13920]
29530 [BZ #13921]
29531 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29532 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29533 (__kernel_standard_l): New function.
29534 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29535 __kernel_standard.
29536 * math/w_acosl.c (__acosl): Likewise.
29537 * math/w_asinl.c (__asinl): Likewise.
29538 * math/w_atan2l.c (__atan2l): Likewise.
29539 * math/w_atanhl.c (__atanhl): Likewise.
29540 * math/w_coshl.c (__coshl): Likewise.
29541 * math/w_exp10l.c (__exp10l): Likewise.
29542 * math/w_exp2l.c (__exp2l): Likewise.
29543 * math/w_fmodl.c (__fmodl): Likewise.
29544 * math/w_hypotl.c (__hypotl): Likewise.
29545 * math/w_j0l.c (__j0l, __y0l): Likewise.
29546 * math/w_j1l.c (__j1l, __y1l): Likewise.
29547 * math/w_jnl.c (__jnl, __ynl): Likewise.
29548 * math/w_lgammal.c (__lgammal): Likewise.
29549 * math/w_log10l.c (__log10l): Likewise.
29550 * math/w_log2l.c (__log2l): Likewise.
29551 * math/w_logl.c (__logl): Likewise.
29552 * math/w_powl.c (__powl): Likewise.
29553 * math/w_remainderl.c (__remainderl): Likewise.
29554 * math/w_scalbl.c (sysv_scalbl): Likewise.
29555 * math/w_sinhl.c (__sinhl): Likewise.
29556 * math/w_sqrtl.c (__sqrtl): Likewise.
29557 * math/w_tgammal.c (__tgammal): Likewise.
29558 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29559 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29560 * math/libm-test.inc (acos_test): Add more tests.
29561 (acosh_test): Likewise.
29562 (asin_test): Likewise.
29563 (atanh_test): Likewise.
29564 (exp_test): Likewise.
29565 (exp10_test): Likewise.
29566 (exp2_test): Likewise.
29567 (expm1_test): Likewise.
29568 (lgamma_test): Likewise.
29569 (log_test): Likewise.
29570 (log10_test): Likewise.
29571 (log1p_test): Likewise.
29572 (log2_test): Likewise.
29573 (pow_test): Do not allow some spurious overflow exceptions.
29574 (sqrt_test): Add more tests.
29575 (tgamma_test): Likewise.
29576 (y0_test): Likewise.
29577 (y1_test): Likewise.
29578 (yn_test): Likewise.
29579
29580 2012-03-27 Anton Blanchard <anton@samba.org>
29581
29582 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29583 MAP_HUGETLB.
29584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29587
29588 2012-03-27 David S. Miller <davem@davemloft.net>
29589
29590 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29591
29592 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29593 have-as-vis3 check.
29594
29595 2012-03-27 Andreas Jaeger <aj@suse.de>
29596
29597 * sysdeps/x86_64/elf/configure.in: Moved to ...
29598 * sysdeps/x86_64/configure.in: ... here.
29599 * sysdeps/x86_64/elf/start.S: Moved to ...
29600 * sysdeps/x86_64/start.S: ... here.
29601 * sysdeps/x86_64/elf/configure: Delete.
29602
29603 * sysdeps/x86_64/configure.in: Merge contents from
29604 sysdeps/i386/configure.in (without i686 check).
29605
29606 * sysdeps/i386/elf/Versions: Merge into ...
29607 * sysdeps/i386/Versions: ... this.
29608 * sysdeps/i386/elf/Versions: Delete file.
29609 * sysdeps/i386/elf/start.S: Moved to ...
29610 * sysdeps/i386/start.S: ...here.
29611 * sysdeps/i386/elf/configure.in: Merge into...
29612 * sysdeps/i386/configure.in: ...here.
29613 * sysdeps/i386/elf/configure.in: Delete file.
29614 * sysdeps/i386/elf/configure: Delete file.
29615
29616 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29617 * debug/backtracesyms.c: ... here.
29618 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29619 * debug/backtracesymsfd.c: ... here.
29620 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29621 * sysdeps/generic/ifunc-sel.h: ... here.
29622
29623 * sysdeps/unix/i386/start.c: Delete file.
29624 * sysdeps/unix/sparc/start.c: Delete file.
29625 * sysdeps/unix/start.c: Delete file.
29626
29627 * sysdeps/sh/elf/configure.in: Moved to ...
29628 * sysdeps/sh/configure.in: ... here.
29629 * sysdeps/sh/elf/start.S: Moved to ...
29630 * sysdeps/sh/start.S: ... here.
29631 * sysdeps/sh/elf/configure: Delete file.
29632
29633 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29634 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29635 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29636 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29637 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29638 * sysdeps/powerpc/powerpc64/start.S: here.
29639 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29640 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29641 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29642 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29643 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29644
29645 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29646 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29647 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29648 * sysdeps/powerpc/powerpc32/start.S: ... here.
29649 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29650 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29651 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29652
29653 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29654 * sysdeps/powerpc/ifunc-sel.h: ... here.
29655 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29656 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29657
29658 * sysdeps/sparc/elf/configure.in: Moved to ...
29659 * sysdeps/sparc/configure.in: ... here.
29660 * sysdeps/sparc/elf/configure: Delete file.
29661 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29662 * sysdeps/sparc/sparc32/start.S: ... here.
29663 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29664 * sysdeps/sparc/sparc64/start.S: ... here.
29665 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29666 * sysdeps/sparc/sparc32/Makefile: ... this.
29667 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29668 * sysdeps/sparc/sparc64/Makefile: ... this.
29669
29670 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29671 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29672 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29673 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29674 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29675 * sysdeps/s390/s390-32/setjmp.S: ... here.
29676 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29677 * sysdeps/s390/s390-32/configure.in: ... here.
29678 * sysdeps/s390/s390-32/elf/configure: Delete file.
29679 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29680 * sysdeps/s390/s390-32/start.S: ... here.
29681
29682 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29683 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29684 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29685 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29686 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29687 * sysdeps/s390/s390-64/setjmp.S: ... here.
29688 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29689 * sysdeps/s390/s390-64/configure.in: ... here
29690 * sysdeps/s390/s390-64/elf/configure: Delete file.
29691 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29692 * sysdeps/s390/s390-64/start.S: ... here.
29693 * sysdeps/s390/s390-64/elf/configure: Delete.
29694
29695 * configure.in: Remove support for elf directories in sysdeps.
29696
29697 * configure: Regenerated.
29698 * sysdeps/i386/configure: Regenerated.
29699 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29700 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29701 * sysdeps/s390/s390-32/configure: Regenerated.
29702 * sysdeps/s390/s390-64/configure: Regenerated.
29703 * sysdeps/sh/configure: Regenerated.
29704 * sysdeps/sparc/configure: Regenerated.
29705 * sysdeps/x86_64/configure: Regenerated.
29706
29707 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29708
29709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29710
29711 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29712 denormal result into account.
29713
29714 2012-03-25 Roland McGrath <roland@hack.frob.com>
29715
29716 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29717 Reported by Allan McRae <allan@archlinux.org>.
29718
29719 2012-03-23 Jeff Law <law@redhat.com>
29720
29721 * nss/getnssent.c (__nss_getent): Fix typo.
29722
29723 2012-03-23 David S. Miller <davem@davemloft.net>
29724
29725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29726
29727 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29728
29729 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29730 to pad to uint64_t for each field.
29731 (dl_tls_index): Replace unsigned long with uint64_t.
29732
29733 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29734 Paul Pluzhnikov <ppluzhnikov@google.com>
29735
29736 [BZ #6528]
29737 * grp/Makefile (otherlibs): Don't set it.
29738 * inet/Makefile (otherlibs): Likewise.
29739 * login/Makefile (otherlibs): Likewise.
29740 * nscd/Makefile (otherlibs): Likewise.
29741 * posix/Makefile (otherlibs): Likewise.
29742 * pwd/Makefile (otherlibs): Likewise.
29743 * rt/Makefile (otherlibs): Likewise.
29744 * sunrpc/Makefile (otherlibs): Likewise.
29745 * nss/Makefile (otherlibs): Likewise.
29746 Add libnss_files to routines and static-only-routines.
29747 ($(objpfx)getent): Remove rule.
29748 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29749 static-only-routines.
29750
29751 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29752
29753 [BZ #13892]
29754 * math/s_cexp.c: Include <float.h>.
29755 (__cexp): Handle exp result overflowing not necessarily
29756 overflowing both real and imaginary parts of result.
29757 * math/s_cexpf.c: Likewise.
29758 * math/s_cexpl.c: Likewise.
29759 * math/libm-test.inc (cexp_test): Add more tests.
29760 * sysdeps/i386/fpu/libm-test-ulps: Update.
29761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29762
29763 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * include/link.h (ELFW): New macro.
29766 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29767 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29768
29769 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29770
29771 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29772 with uint64_t.
29773
29774 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29775
29776 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29777 declaration.
29778 (struct La_x32_retval): Likewise.
29779
29780 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29781
29782 * sysdeps/x86_64/preconfigure.in: New file.
29783 * sysdeps/x86_64/preconfigure: New generated file.
29784
29785 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29786
29787 [BZ #13824]
29788 * math/e_exp2l.c: Include <float.h>.
29789 (__ieee754_exp2l): Handle overflow and underflow cases
29790 separately. Only pass fractional part of argument to
29791 __ieee754_expl.
29792 * math/libm-test.inc (exp2_test): Add more tests.
29793
29794 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29795 negating x to take absolute value.
29796 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29797 Likewise.
29798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29800 Likewise.
29801 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29802 computing low part if x was negated.
29803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29804
29805 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29806
29807 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29808 la_x32_gnu_pltexit.
29809 (pltexit): Cast int_retval to ptrdiff_t.
29810 * elf/tst-auditmod3b.c: Likewise.
29811 * elf/tst-auditmod4b.c: Likewise.
29812 * elf/tst-auditmod5b.c: Likewise.
29813 * elf/tst-auditmod6b.c: Likewise.
29814 * elf/tst-auditmod6c.c: Likewise.
29815 * elf/tst-auditmod7b.c: Likewise.
29816
29817 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29818 and x32_gnu_pltexit.
29819
29820 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29821 __ELF_NATIVE_CLASS.
29822 (La_x32_regs): New macro.
29823 (La_x32_retval): Likewise.
29824 (la_x32_gnu_pltenter): New function prototype.
29825 (la_x32_gnu_pltexit): Likewise.
29826
29827 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29828
29829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29830 exponent.
29831
29832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29833
29834 * configure.in (libc_cv_cc_nofma): Check for option to disable
29835 generation of FMA instructions.
29836 * configure: Regenerate.
29837 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29838 * sysdeps/ieee754/dbl-64/Makefile: New file.
29839 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29840 Remove brandred-fma4.
29841 (CFLAGS-brandred-fma4.c): Remove.
29842 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29843 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29844 define.
29845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29846 define.
29847
29848 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29849
29850 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29851 LLONG_MAX != LONG_MAX.
29852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29853 (_fitoa_word): Likewise.
29854 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29855 LLONG_MAX != LONG_MAX.
29856 * stdio-common/_itowa.h: Include <_itoa.h>.
29857 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29858 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29859 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29860 only if not defined.
29861 (_ITOA_WORD_TYPE): Likewise.
29862 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29863 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29864
29865 2012-03-21 David S. Miller <davem@davemloft.net>
29866
29867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29868
29869 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29870
29871 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29872 of x86_64 when setting libc_cv_slibdir, libdir and
29873 libc_cv_localedir.
29874 * sysdeps/unix/sysv/linux/configure: Regenerated.
29875
29876 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29877
29878 * manual/lang.texi (Old Varargs): Remove section.
29879 (How Variadic): Update menu.
29880 (va_start): Do not mention varargs.h.
29881
29882 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29883 Joseph Myers <joseph@codesourcery.com>
29884
29885 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29886 link test.
29887 * configure: Regenerated.
29888
29889 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29890
29891 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29892 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29893 conformtest.pl
29894
29895 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29896
29897 * NOTES: Remove.
29898 * Makefile (files-for-dist): Remove NOTES.
29899 (NOTES): Remove rule.
29900 * README: Don't refer to NOTES.
29901 * manual/creature.texi: Don't include macros.texi.
29902 * manual/intro.texi (creature.texi): Remove comment referring to
29903 NOTES.
29904
29905 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29906 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29907 * configure: Regenerated.
29908 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29909 LIBC_TRY_CC_OPTION.
29910 (libc_cv_as_i686): Likewise.
29911 (libc_cv_cc_avx): Likewise.
29912 (libc_cv_cc_sse2avx): Likewise.
29913 (libc_cv_cc_fma4): Likewise.
29914 (libc_cv_cc_novzeroupper): Likewise.
29915 * sysdeps/i386/configure: Regenerated.
29916
29917 [BZ #13883]
29918 * sysdeps/i386/fpu/s_cexp.S: Remove.
29919 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29920 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29921 * math/libm-test.inc (cexp_test): Add more tests.
29922 * sysdeps/i386/fpu/libm-test-ulps: Update.
29923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29924
29925 2012-03-21 Allan McRae <allan@archlinux.org>
29926
29927 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29928
29929 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29930
29931 [BZ #13871]
29932 * math/w_exp2.c: Do not include <float.h>.
29933 (o_threshold, u_threshold): Remove.
29934 (__exp2): Calculate result before checking finiteness and calling
29935 __kernel_standard.
29936 * math/w_exp2f.c: Likewise.
29937 * math/w_exp2l.c: Likewise.
29938 * math/libm-test.inc (exp2_test): Require overflow exception for
29939 1e6 input.
29940
29941 [BZ #3866]
29942 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29943 range of signed 64-bit integers before using fistpll. Remove
29944 checks for whether integers fit in mantissa bits.
29945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29946 the range of signed 32-bit integers before using fistpl. Remove
29947 checks for whether integers fit in mantissa bits.
29948 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29949 (__ieee754_powl): Test for y outside the range of signed 64-bit
29950 integers before using fistpll. Reduce 64-bit values to 63-bit
29951 ones as needed.
29952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29953 divide-by-zero is raised for zero to large negative powers.
29954 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29955 (__ieee754_powl): Test for y outside the range of signed 64-bit
29956 integers before using fistpll. Reduce 64-bit values to 63-bit
29957 ones as needed.
29958 * math/libm-test.inc (pow_test): Add more tests.
29959
29960 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29961
29962 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29963 <stdio-common/_itoa.h>.
29964 * debug/segfault.c: Likewise.
29965 * elf/dl-cache.c: Likewise.
29966 * elf/dl-minimal.c: Likewise.
29967 * elf/dl-misc.c: Likewise.
29968 * elf/dl-sysdep.c: Likewise.
29969 * elf/dl-version.c: Likewise.
29970 * elf/rtld.c: Likewise.
29971 * hurd/hurdsock.c: Likewise.
29972 * hurd/lookup-retry.c: Likewise.
29973 * malloc/malloc.c: Likewise.
29974 * malloc/mtrace.c: Likewise.
29975 * nscd/nscd_getgr_r.c: Likewise.
29976 * nscd/nscd_getpw_r.c: Likewise.
29977 * nscd/nscd_getserv_r.c: Likewise.
29978 * posix/getopt_init.c: Likewise.
29979 * posix/wordexp.c: Likewise.
29980 * stdio-common/_itoa.c: Likewise.
29981 * stdio-common/printf_fphex.c: Likewise.
29982 * stdio-common/vfprintf.c: Likewise.
29983 * string/_strerror.c: Likewise.
29984 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29985 * sysdeps/i386/i686/hp-timing.h: Likewise.
29986 * sysdeps/mach/_strerror.c: Likewise.
29987 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29988 * sysdeps/mach/hurd/sethostid.c: Likewise.
29989 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29990 * sysdeps/mach/xpg-strerror.c: Likewise.
29991 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29993 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29994 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29995 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29996 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29997 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29998 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29999 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30000 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30001 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30002 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30003 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30004 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30005 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30006 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30007 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30008 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30009 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30010 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30011 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30012
30013 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30014
30015 * stdio-common/_itoa.h: Moved to ...
30016 * sysdeps/generic/_itoa.h: Here.
30017
30018 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30019
30020 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30021 instead of "_itoa.h" and "_itowa.h".
30022 * stdio-common/vfprintf.: Likewise.
30023
30024 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30025
30026 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30027 <bits/wordsize.h>.
30028 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30029 (__signbit): Likwise.
30030 (llrintf): Likwise.
30031 (llrint): Likwise.
30032
30033 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30036 __WORDSIZE != 64.
30037
30038 2012-03-20 Joseph Myers <joseph@codesourcery.com>
30039
30040 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30041 OVERFLOW_EXCEPTION_OK.
30042 * math/libm-test.inc ("Philosophy"): Update comment about
30043 exception testing.
30044 (OVERFLOW_EXCEPTION): Define.
30045 (OVERFLOW_EXCEPTION_OK): Likewise.
30046 (INVALID_EXCEPTION_OK): Renumber.
30047 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30048 (IGNORE_ZERO_INF_SIGN): Likewise.
30049 (test_exceptions): Handle FE_OVERFLOW.
30050 (exp10_test): Expect overflow exceptions.
30051 (exp2_test): Likewise.
30052 (expm1_test): Likewise.
30053 (nextafter_test): Likewise.
30054 (pow_test): Likewise.
30055 (scalbn_test): Likewise.
30056 (scalbln_test): Likewise.
30057
30058 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * sysdeps/x86_64/bits/atomic.h
30061 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30062 64bit integer.
30063 (atomic_exchange_acq): Likewise.
30064 (__arch_exchange_and_add_body): Likewise.
30065 (__arch_add_body): Likewise.
30066 (atomic_add_negative): Likewise.
30067 (atomic_add_zero): Likewise.
30068
30069 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30070
30071 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30072 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30073
30074 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30075
30076 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30077 Check __x86_64__ instead of __WORDSIZE.
30078
30079 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30080
30081 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30082
30083 2012-03-19 David S. Miller <davem@davemloft.net>
30084
30085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30086
30087 * sysdeps/sparc/fpu/fenv_private.h: New file.
30088 * sysdeps/sparc/fpu/math_private.h: Use it.
30089 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30090 Remove.
30091 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30092 (libc_feholdexcept_setroundl): Remove.
30093 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30094 Remove.
30095 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30096 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30097
30098 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30099
30100 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30101 int64_t instead of long int.
30102 (INSERT_WORDS64): Likwise.
30103
30104 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30105
30106 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30107 _Unwind_GetCFA return to _Unwind_Ptr first.
30108
30109 2012-03-19 Joseph Myers <joseph@codesourcery.com>
30110
30111 [BZ #13629]
30112 * math/s_clog.c: Include <float.h>.
30113 (__clog): Scale large or subnormal inputs.
30114 * math/s_clogf.c: Likewise.
30115 * math/s_clogl.c: Likewise.
30116 * math/s_clog10.c: Include <float.h>.
30117 (M_LOG10_2): Define.
30118 (__clog10): Scale large or subnormal inputs.
30119 * math/s_clog10f.c: Likewise.
30120 * math/s_clog10l.c: Likewise.
30121 * math/libm-test.inc (clog_test): Add more tests.
30122 (clog10_test): Likewise.
30123 * sysdeps/i386/fpu/libm-test-ulps: Update.
30124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30125
30126 [BZ #11451]
30127 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30128 x and y.
30129 * math/libm-test.inc (atan2_test): Add another test.
30130
30131 * Makerules (common-objdir-compile): Remove.
30132 * sysdeps/unix/Makefile (config-generated): Do not add
30133 $(unix-generated) to variable.
30134 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30135 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30136 Remove rule.
30137 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30138 Likewise.
30139 [generic bits/local_lim.h] (before-compile): Do not append to
30140 variable.
30141 [generic bits/local_lim.h] (common-generated): Likewise.
30142 [generic sys/param.h] (before-compile): Do not append to variable.
30143 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30144 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30145 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30146 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30147 include.
30148 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30149 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30150 [generic sys/param.h] ($(addprefix
30151 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30152 [generic sys/param.h] (common-generated): Do not append to
30153 variable.
30154 [generic sys/param.h] (sysdep_headers): Likewise.
30155 [generic bits/errno.h] (before-compile): Do not append to
30156 variable.
30157 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30158 rule.
30159 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30160 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30161 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30162 [generic bits/errno.h] (common-generated): Do not append to
30163 variable.
30164 [generic bits/ioctls.h] (before-compile): Do not append to
30165 variable.
30166 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30167 rule.
30168 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30169 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30170 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30171 rule.
30172 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30173 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30174 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30175 [generic bits/ioctls.h] (common-generated): Do not append to
30176 variable.
30177 [generic sys/syscall.h] (syscall.h): Remove variable.
30178 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30179 rule.
30180 [generic sys/syscall.h] (before-compile): Do not append to
30181 variable.
30182 [generic sys/syscall.h] (common-generated): Likewise.
30183 * sysdeps/unix/errnos-tmpl.c: Remove file.
30184 * sysdeps/unix/errnos.awk: Likewise.
30185 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30186 * sysdeps/unix/ioctls.awk: Likewise.
30187 * sysdeps/unix/mk-local_lim.c: Likewise.
30188 * sysdeps/unix/snarf-ioctls: Likewise.
30189
30190 2012-03-19 Richard Henderson <rth@twiddle.net>
30191
30192 * sysdeps/i386/fpu/fenv_private.h: New file.
30193 * sysdeps/i386/fpu/math_private.h: Use it.
30194 (math_opt_barrier, math_force_eval): Remove.
30195 (libc_feholdexcept_setround_53bit): Remove.
30196 (libc_feupdateenv_53bit): Remove.
30197 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30198 (math_opt_barrier, math_force_eval): Remove.
30199 (libc_feholdexcept): Remove.
30200 (libc_feholdexcept_setround): Remove.
30201 (libc_fetestexcept, libc_fesetenv): Remove.
30202 (libc_feupdateenv_test): Remove.
30203 (libc_feupdateenv, libc_feholdsetround): Remove.
30204 (libc_feresetround): Remove.
30205
30206 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30207 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30208
30209 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30210 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30211 (libc_feupdateenv_testl): New.
30212 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30213 (libc_feupdateenv_testf): New.
30214 (libc_feupdateenv): Use libc_feupdateenv_test.
30215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30216 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30217
30218 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30219 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30220 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30221 (libc_feresetround_noex): New.
30222 (libc_feresetround_noexf): New.
30223 (libc_feresetround_noexl): New.
30224 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30225 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30226 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30227 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30228 SET_RESTORE_ROUND.
30229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30231 (__cos): Likewise.
30232 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30233 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30234 SET_RESTORE_ROUND_NOEX.
30235 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30236 SET_RESTORE_ROUND_NOEXF.
30237 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30238 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30239 (libc_feholdsetroundf): New.
30240 (libc_feresetround, libc_feresetroundf): New.
30241
30242 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30243 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30244 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30245
30246 * sysdeps/generic/math_private.h: Include <fenv.h>.
30247 (default_libc_feholdexcept): New.
30248 (default_libc_feholdexcept_setround): New.
30249 (default_libc_fesetenv, default_libc_feupdateenv): New.
30250 (libc_feholdexcept): Only define if undefined.
30251 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30252 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30253 (libc_feholdexcept_setroundl): Likewise.
30254 (libc_feholdexcept_setround_53bit): Likewise.
30255 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30256 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30257 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30258 (libc_feupdateenv_53bit): Likewise.
30259 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30260 (libc_feholdexcept): Convert from macro to inline function.
30261 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30262 (libc_fesetenv, libc_feupdateenv): Likewise.
30263
30264 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30265 not previously defined.
30266 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30267 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30268 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30269 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30270 * sysdeps/ieee754/flt-32/math_private.h: New file.
30271 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30272 math_private.h below SET_FLOAT_WORD.
30273 (__isnan, __isinf_ns, __finite): Remove.
30274 (__isnanf, __isinf_nsf, __finitef): Remove.
30275
30276 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30277
30278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30279
30280 2012-03-17 David S. Miller <davem@davemloft.net>
30281
30282 [BZ #6471]
30283 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30284 for 2.16.
30285
30286 2012-03-16 David S. Miller <davem@davemloft.net>
30287
30288 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30289 warnings.
30290
30291 [BZ #6471]
30292 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30293 properly.
30294 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30295 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30296 sysdep_routines when subdir is sysvipc.
30297 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30298 __getshmlba helper.
30299
30300 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30301
30302 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30303
30304 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30305 [__LP64__].
30306
30307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30310 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30311 (__lround): Renamed to ...
30312 (__llround): This. Replace long int with long long int.
30313 Define lround functions as aliases of llround functions.
30314 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30315
30316 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30317
30318 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30319 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30320 adresses to uintptr_t. Replace "long int" and "unsigned long
30321 int" with "greg_t" on va_arg.
30322
30323 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30324
30325 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30326 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30327
30328 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30329 Move e_machine check before EI_CLASS check. Handle x32
30330 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30331 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30332 SKIP_EM_IA_64 and include
30333 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30334
30335 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30336 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30337 (add_system_dir): New macro.
30338
30339 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30340 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30341
30342 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30343
30344 [BZ #2551]
30345 [BZ #2552]
30346 [BZ #2553]
30347 [BZ #2554]
30348 [BZ #2562]
30349 [BZ #2563]
30350 [BZ #2565]
30351 [BZ #2566]
30352 [BZ #2576]
30353 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30354 (y0): Likewise.
30355 * math/w_j0f.c (j0f): Likewise.
30356 (y0f): Likewise.
30357 * math/w_j0l.c (__j0l): Likewise.
30358 (__y0l): Likewise.
30359 * math/w_j1.c (j1): Likewise.
30360 (y1): Likewise.
30361 * math/w_j1f.c (j1f): Likewise.
30362 (y1f): Likewise.
30363 * math/w_j1l.c (__j1l): Likewise.
30364 (__y1l): Likewise.
30365 * math/w_jn.c (jn): Likewise.
30366 (yn): Likewise.
30367 * math/w_jnf.c (jnf): Likewise.
30368 (ynf): Likewise.
30369 * math/w_jnl.c (__jnl): Likewise.
30370 (__ynl): Likewise.
30371 * math/libm-test.inc (j0_test): Add more tests.
30372 (j1_test): Likewise.
30373 (jn_test): Likewise. Add trailing semicolon to existing test.
30374 (y0_test): Likewise.
30375 (y1_test): Likewise.
30376 * sysdeps/i386/fpu/libm-test-ulps: Update.
30377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30378
30379 [BZ #13851]
30380 [BZ #13854]
30381 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30382 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30383 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30385 (__tanl): Set errno for infinite argument.
30386 * sysdeps/i386/fpu/mptan.c: Remove.
30387 * sysdeps/i386/fpu/s_tan.S: Likewise.
30388 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30389 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30390 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30391 * math/libm-test.inc (tan_test): Add more tests and enable more
30392 tests for double and long double.
30393 * sysdeps/i386/fpu/libm-test-ulps: Update.
30394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395
30396 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30397
30398 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30399 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30400
30401 2012-03-16 Roland McGrath <roland@hack.frob.com>
30402
30403 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30404 * configure.in: Use it for both main tree and add-ons.
30405 * configure: Regenerated.
30406
30407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30408
30409 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30410
30411 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30412
30413 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30414 in comment.
30415
30416 [BZ #13851]
30417 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30418 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30422 infinite argument.
30423 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30425 != 0 for prec == 2.
30426 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30427 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30428 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30429 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30430 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30431 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30432 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30433 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30434 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30435 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30436 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30437 * math/libm-test.inc (cos_test): Add more tests and enable more
30438 tests for long double.
30439 (sin_test): Likewise.
30440 (sincos_test): Likewise.
30441 * sysdeps/i386/fpu/libm-test-ulps: Update.
30442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30443
30444 2012-03-16 David S. Miller <davem@davemloft.net>
30445
30446 * sysdeps/sparc/fpu/math_private.h: New file.
30447
30448 2012-03-15 David S. Miller <davem@davemloft.net>
30449
30450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30451 file.
30452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30454 file.
30455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30461 sysdep routines.
30462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30463
30464 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30465 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30466
30467 * sysdeps/sparc/sparc-ifunc.h: New file.
30468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30469 sparc-ifunc.h
30470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30472 Likewise.
30473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30474 Likewise.
30475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30479 Likewise.
30480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30485 Likewise.
30486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30487 Likewise.
30488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30506 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30512
30513 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30514
30515 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30516 scaling.
30517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30518
30519 2012-03-15 Andreas Jaeger <aj@suse.de>
30520
30521 [BZ #13852]
30522 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30523 ieee754/flt-32 implementation for sin, cos and sincos.
30524 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30525 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30526 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30527 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30528 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30529 ieee754/flt-32 implementation for tan.
30530
30531 * math/libm-test.inc (cos_test): Enable some large input tests for
30532 float as well
30533 (sin_test): Likewise.
30534 (sincos_test): Likewise.
30535 (tan_test): Add tests for large input.
30536
30537 * sysdeps/i386/fpu/libm-test-ulps: Update.
30538
30539 2012-03-15 Andreas Jaeger <aj@suse.de>
30540
30541 [BZ #13658]
30542 * math/libm-test.inc (cos_test): Add more test cases.
30543 (sin_test): Likewise.
30544 (sincos_test): Likewise.
30545
30546 2012-03-15 Andreas Jaeger <aj@suse.de>
30547
30548 [BZ #13837]
30549 * math/libm-test.inc (cos_test): Add a test case for large input
30550 value.
30551 (sin_test): Likewise.
30552 (sincos_test): Likewise.
30553
30554 2012-03-15 Andreas Jaeger <aj@suse.de>,
30555 Joseph Myers <joseph@codesourcery.com>
30556
30557 [BZ #13658]
30558 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30559 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30560 * sysdeps/i386/fpu/branred.c: Likewise.
30561 * sysdeps/i386/fpu/dosincos.c: Likewise.
30562 * sysdeps/i386/fpu/mpa.c: Likewise.
30563 * sysdeps/i386/fpu/s_cos.S: Likewise.
30564 * sysdeps/i386/fpu/s_sin.S: Likewise.
30565 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30566 * sysdeps/i386/fpu/sincos32.c: Likewise.
30567
30568 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30569 Define.
30570 (libc_feupdateenv_53bit): Define.
30571 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30572 Define.
30573 (libc_feupdateenv_53bit): Define.
30574
30575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30576 53 bit (without extend i386 double precision).
30577
30578 * math/libm-test.inc (sincos_test): Add tests for large input.
30579 (sin): Likewise.
30580 (cos): Likewise.
30581
30582 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30583
30584 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30585
30586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30587
30588 2012-03-15 David S. Miller <davem@davemloft.net>
30589
30590 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30591 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30592 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30593 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30606 file.
30607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30609 file.
30610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30612 file.
30613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30615 file.
30616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30618 fmin/fmax sysdep routines.
30619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30620
30621 2012-03-14 David S. Miller <davem@davemloft.net>
30622
30623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30651 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30652 routines.
30653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30654 file.
30655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30657 file.
30658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30660 file.
30661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30663 file.
30664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30666 file.
30667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30669 file.
30670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30671 file.
30672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30673 file.
30674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30675 file.
30676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30677 New file.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30679 file.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30681 file.
30682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30684 file.
30685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30687 file.
30688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30690 file.
30691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30693 VIS3 routines.
30694
30695 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30696 New file.
30697
30698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30699
30700 * sysdeps/sparc/configure.in: New file.
30701 * sysdeps/sparc/configure: Generate.
30702 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30703 * configure: Regenerate.
30704 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30705 * config.make.in (have-as-vis3): New.
30706 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30707 available use -Av9d instead of -Av9a.
30708 * sysdeps/sparc/sparc64/Makefile: Likewise.
30709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30711 New file.
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30713 file.
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30715 New file.
30716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30717 file.
30718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30723
30724 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30725 fzeros/fnegs to load 0x80000000 into a float register instead of
30726 using the stack.
30727 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30728
30729 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30730
30731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30732 bits/syscall.h.
30733 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30734 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30735 ($(inst_includedir)/bits/syscall.h): Remove rule.
30736 ($(objpfx)bits/syscall.d): Include instead of
30737 $(objpfx)syscall-list.d.
30738 (generated): Change syscall-list.h and syscall-list.d to
30739 bits/syscall.h and bits/syscall.d.
30740
30741 2012-03-14 Roland McGrath <roland@hack.frob.com>
30742
30743 [BZ #13846]
30744 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30745
30746 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30747
30748 [BZ #13841]
30749 * math/s_csqrt.c: Include <float.h>.
30750 (__csqrt): Scale large or subnormal inputs.
30751 * math/s_csqrtf.c: Likewise.
30752 * math/s_csqrtl.c: Likewise.
30753 * math/libm-test.inc (csqrt_test): Add more tests.
30754 * sysdeps/i386/fpu/libm-test-ulps: Update.
30755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30756
30757 [BZ #13840]
30758 * math/libm-test.inc (hypot_test): Add more tests.
30759
30760 2012-03-13 David S. Miller <davem@davemloft.net>
30761
30762 [BZ #13840]
30763 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30764 double-precision for the calculation instead of scaling.
30765
30766 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30767
30768 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30769 manipulate bits before adding and subtracting TWO52[sx].
30770 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30772 Likewise.
30773 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30774
30775 2012-03-13 David S. Miller <davem@davemloft.net>
30776
30777 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30778 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30780 rtld-global-offsets.h
30781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30782
30783 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30784 large parameters.
30785
30786 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30787
30788 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30789 'err' in the ifdef scope in which it is actually used.
30790
30791 * nss/nss_db/db-init.c: Include string.h
30792
30793 2012-03-12 David S. Miller <davem@davemloft.net>
30794
30795 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30796 masking out of the most significant byte of random value used.
30797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30798 Fix coding style in previous change.
30799
30800 * sysdeps/unix/sysv/linux/kernel-features.h
30801 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30802 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30803 expression.
30804 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30805 later.
30806
30807 2012-03-11 David S. Miller <davem@davemloft.net>
30808
30809 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30810 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30811 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30812 for 'resultvar' otherwise things get truncated on 64-bit.
30813
30814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30815 Fix masking out of the most significant byte of random value used.
30816
30817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30818
30819 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30820
30821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30822
30823 2012-03-09 David S. Miller <davem@davemloft.net>
30824
30825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30826 variables with appropriate CPP guards.
30827 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30828 frame pointer, not the stack pointer. Correct layout comments. Fix test
30829 on resulting framesize and the management of the outregs buffer for pltexit.
30830 Preserve floating point return values across _dl_call_pltexit call.
30831 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30832 framesize and the management of the outregs buffer for pltexit.
30833 Preserve floating point return values across _dl_call_pltexit
30834 call.
30835 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30836 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30837 (print_exit): Fix format string for return register value.
30838
30839 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30840
30841 * sunrpc/Makefile (others): Add rpcgen.
30842 ($(objpfx)rpcgen): Remove special build rule and dependency on
30843 libc.
30844 * sunrpc/rpcgen.c: New file.
30845
30846 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30847
30848 [BZ #13673]
30849 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30850 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30851 * sysdeps/i386/crti.S: Likewise.
30852 * sysdeps/i386/crtn.S: Likewise.
30853 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30854 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30855 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30856 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30857 * sysdeps/sh/crti.S: Likewise.
30858 * sysdeps/sh/crtn.S: Likewise.
30859 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30860
30861 [BZ #13673]
30862 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30863 with URL.
30864 * locale/programs/locfile-kw.gperf: Likewise.
30865 * locale/programs/charmap-kw.h: Regenerated.
30866 * locale/programs/locfile-kw.h: Likewise.
30867
30868 [BZ #13673]
30869 * intl/plural.y: Replace FSF snail mail address with URL.
30870 * intl/plural.c: Regenerated.
30871
30872 2012-03-09 Richard Henderson <rth@twiddle.net>
30873
30874 * include/math_private.h: Remove file.
30875 * math/math_private.h: Move file ...
30876 * sysdeps/generic/math_private.h: ... here.
30877
30878 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30879 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30880 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30881
30882 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30883 and <math_private.h>.
30884 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30885 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30886 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30887 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30888 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30918 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30920 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30922 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30925 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30926 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30927 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30928 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30929 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30930 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30931 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30934 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30935 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30936 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30937 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30938 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30939 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30940 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30942 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30943 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30944 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30945 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30947 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30948 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30949 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30950 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30952 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30953 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30954 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30955 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30956 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30958 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30962 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30964 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30965 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30967 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30968 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30972 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30975 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30977 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30978 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30979 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30980 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30981 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30982 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30983 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30984 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30985 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30986 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30987 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30988 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30989 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30990 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30991 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30992 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30993 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30994 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30995 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30996 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30997 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30998 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30999 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31000 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31001 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31002 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31003 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31004 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31005 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31006 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31007 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31008 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31009 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31010 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31011 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31012 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31013 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31014 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31015 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31016 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31017 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31018 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31019 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31020 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31021 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31022 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31023 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31024 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31025 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31026 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31027 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31028 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31029 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31030 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31031 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31032 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31033 * sysdeps/ieee754/k_standard.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31101 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31107 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31111 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31125 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31127 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31148 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31150 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31151 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31153 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31155 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31156 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31161 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31166 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31167 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31169 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31172 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31174 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31177 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31183 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31184 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31194 * sysdeps/ieee754/s_lib_version.c: Likewise.
31195 * sysdeps/ieee754/s_matherr.c: Likewise.
31196 * sysdeps/ieee754/s_signgam.c: Likewise.
31197 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31199 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31200 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31201 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31202 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31203 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31204 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31205 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31206 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31207 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31208 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31211 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31212 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31214 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31215 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31218
31219 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31220
31221 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31222 * sunrpc/rpc_main.c: Likewise.
31223 * sunrpc/rpc_svcout.c: Likewise.
31224
31225 2012-03-09 David S. Miller <davem@davemloft.net>
31226
31227 * include/math_private.h: New file.
31228
31229 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31230
31231 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31232 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31233 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31234 from <bits/socket_type.h>.
31235 (enum __socket_type): Don't define here.
31236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31238 bits/socket_type.h.
31239
31240 [BZ #13566]
31241 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31242 checking __USE_GNU.
31243
31244 * Makerules ($(inst_includedir)/%.h): New rule.
31245 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31246 (install-others): Remove variable setting.
31247 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31248
31249 2012-03-08 Richard Henderson <rth@twiddle.net>
31250
31251 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31252 from macro to inline function; merge with the
31253 !__LIBC_INTERNAL_MATH_INLINES version.
31254 (__ieee754_sqrtf): Likewise.
31255
31256 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31257 to inline function.
31258 (__rintf, __floor, __floorf): Likewise.
31259
31260 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31261 macro to inline function.
31262 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31263
31264 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31265 not <math/math_private.h>.
31266
31267 2012-03-08 David S. Miller <davem@davemloft.net>
31268
31269 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31270 copyright year.
31271 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31272
31273 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31274
31275 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31276 normalization.
31277 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31278 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31279
31280 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31281
31282 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31283 be defined individually, they must be defined as a block. Define
31284 S for printing a string instead of hidint the different by using a
31285 macro for adding the 'l'.
31286 * stdio-common/tst-fphex-wide.c: Adjust.
31287
31288 2012-03-07 Marek Polacek <polacek@redhat.com>
31289
31290 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31291
31292 2012-03-08 Marek Polacek <polacek@redhat.com>
31293
31294 [BZ #13806]
31295 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31296 * stdio-common/tst-fphex.c: Define a few macros to make the
31297 test reusable. Use them.
31298 * stdio-common/tst-fphex-wide.c: New file.
31299
31300 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31301
31302 [BZ #6911]
31303 * manual/macros.texi (gnusystems): New macro.
31304 (nongnusystems): Likewise.
31305 (gnulinuxhurdsystems): Likewise.
31306 (gnuhurdsystems): Likewise..
31307 (gnulinuxsystems): Likewise.
31308 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31309 variants of the GNU system, not "GNU system".
31310 * manual/conf.texi: Likewise.
31311 * manual/errno.texi: Likewise. Update example of errno macro
31312 expansion.
31313 * manual/filesys.texi: Likewise.
31314 (getumask): Document as specific to GNU/Hurd.
31315 * manual/install.texi: Likewise. Reword some references to
31316 GNU/Linux.
31317 * manual/intro.texi: Likewise.
31318 * manual/io.texi: Likewise.
31319 (File Name Portability): Detail which constraints are inapplicable
31320 to all GNU systems and which are only inapplicable to GNU/Hurd.
31321 * manual/job.texi: Likewise.
31322 * manual/llio.texi: Likewise.
31323 (O_NOCTTY): Document as present on GNU/Linux.
31324 * manual/maint.texi: Likewise.
31325 * manual/memory.texi: Likewise.
31326 * manual/pattern.texi: Likewise.
31327 * manual/pipe.texi: Likewise.
31328 * manual/process.texi: Likewise.
31329 * manual/resource.texi: Likewise.
31330 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31331 child on GNU/Hurd.
31332 * manual/setjmp.texi: Likewise.
31333 * manual/signal.texi: Likewise.
31334 * manual/startup.texi: Likewise.
31335 * manual/stdio.texi: Likewise.
31336 * manual/terminal.texi: Likewise.
31337 (ONLCR): Document as POSIX.
31338 (OXTABS): Document availability on GNU/Linux as XTABS.
31339 (ONOEOT): Document availability separately from other bits.
31340 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31341 * manual/time.texi: Likewise.
31342 * manual/users.texi: Likewise.
31343 * INSTALL: Regenerated.
31344 * sysdeps/gnu/errlist.c: Regenerated.
31345
31346 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31347 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31348 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31349 puts.
31350 * configure: Regenerated.
31351
31352 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31353
31354 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31355 default includes instead of AC_HEADER_CHECK.
31356 * sysdeps/i386/configure: Regenerated.
31357
31358 [BZ #10716]
31359 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31360 * math/s_cacoshf.c (__cacoshf): Likewise.
31361 * math/s_cacoshl.c (__cacoshl): Likewise.
31362 * math/s_casinh.c (__casinh): Set signs of result from argument.
31363 * math/s_casinhf.c (__casinhf): Likewise.
31364 * math/s_casinhl.c (__casinhl): Likewise.
31365 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31366 (casinh_test): Add more tests.
31367 * sysdeps/i386/fpu/libm-test-ulps: Update.
31368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31369
31370 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31371
31372 * po/zh_TW.po: Update from translation team.
31373
31374 * login/Makefile (distribute): Remove variable.
31375 * catgets/Makefile: Likewise.
31376 * mach/Makefile: Likewise.
31377 * malloc/Makefile: Likewise.
31378 * misc/Makefile: Likewise.
31379 * iconv/Makefile: Likewise.
31380 * nscd/Makefile: Likewise.
31381 * hurd/Makefile: Likewise.
31382 * manual/Makefile: Likewise.
31383 * locale/Makefile: Likewise.
31384 * intl/Makefile: Likewise.
31385 * conform/Makefile: Likewise.
31386 * nss/Makefile: Likewise.
31387 * time/Makefile: Likewise.
31388 * soft-fp/Makefile: Likewise.
31389 * dirent/Makefile: Likewise.
31390 * gmon/Makefile: Likewise.
31391 * po/Makefile: Likewise.
31392 * rt/Makefile: Likewise.
31393 * socket/Makefile: Likewise.
31394 * math/Makefile: Likewise.
31395 * signal/Makefile: Likewise.
31396 * debug/Makefile: Likewise.
31397 * elf/Makefile: Likewise.
31398 * timezone/Makefile: Likewise.
31399 * stdlib/Makefile: Likewise.
31400 * iconvdata/Makefile: Likewise.
31401 * sunrpc/Makefile: Likewise.
31402 * io/Makefile: Likewise.
31403 * argp/Makefile: Likewise.
31404 * inet/Makefile: Likewise.
31405 * hesiod/Makefile: Likewise.
31406 * grp/Makefile: Likewise.
31407 * csu/Makefile: Likewise.
31408 * wctype/Makefile: Likewise.
31409 * crypt/Makefile: Likewise.
31410 * libio/Makefile: Likewise.
31411 * string/Makefile: Likewise.
31412 * nis/Makefile: Likewise.
31413 * resolv/Makefile: Likewise.
31414 * stdio-common/Makefile: Likewise.
31415 * wcsmbs/Makefile: Likewise.
31416 * dlfcn/Makefile: Likewise.
31417 * posix/Makefile: Likewise.
31418
31419 [BZ #6959]
31420 * timezone/Makefile: Don't install timezone files, just the programs
31421 and scripts.
31422
31423 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31424
31425 * nss/databases.def: Add missing gshadow entry.
31426
31427 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31428
31429 2012-03-06 Marek Polacek <polacek@redhat.com>
31430
31431 [BZ #13726]
31432 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31433 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31434 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31435 * stdio-common/tst-long-dbl-fphex.c: New file.
31436
31437 2012-03-06 David S. Miller <davem@davemloft.net>
31438
31439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31440 (set_obp_int): New function.
31441 (get_obp_int): New function.
31442 (__get_clockfreq_via_dev_openprom): Likewise.
31443 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31444 Avoid unused variable warnings on 'val' and use builtin_expect.
31445 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31446 __builtin_expect.
31447 (INLINE_CLONE_SYSCALL): Likewise.
31448
31449 2012-03-05 David S. Miller <davem@davemloft.net>
31450
31451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31452
31453 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31454
31455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31456
31457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31458 only for |x| >= 40.
31459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31460
31461 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31462
31463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31464 Replace gettimeofday with __vdso_gettimeofday.
31465
31466 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31467 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31468 __vdso_clock_gettime and __vdso_getcpu.
31469
31470 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31471 time with __vdso_time.
31472
31473 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31474
31475 * manual/lang.texi (size_t): Note types to which size_t may be
31476 equivalent with the GNU C Library, but do not describe when
31477 differences between them are significant.
31478
31479 2012-03-05 Andreas Jaeger <aj@suse.de>
31480
31481 * sysdeps/i386/fpu/libm-test-ulps: Update.
31482
31483 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31484
31485 [BZ #3976]
31486 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31487 (__ieee754_pow): Save and restore rounding mode and use
31488 round-to-nearest for main computations.
31489 * math/libm-test.inc (pow_test_tonearest): New function.
31490 (pow_test_towardzero): Likewise.
31491 (pow_test_downward): Likewise.
31492 (pow_test_upward): Likewise.
31493 (main): Call the new functions.
31494 * sysdeps/i386/fpu/libm-test-ulps: Update.
31495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31496
31497 [BZ #3976]
31498 * math/libm-test.inc (cosh_test_tonearest): New function.
31499 (cosh_test_towardzero): Likewise.
31500 (cosh_test_downward): Likewise.
31501 (cosh_test_upward): Likewise.
31502 (sinh_test_tonearest): Likewise.
31503 (sinh_test_towardzero): Likewise.
31504 (sinh_test_downward): Likewise.
31505 (sinh_test_upward): Likewise.
31506 (main): Call the new functions.
31507 * sysdeps/i386/fpu/libm-test-ulps: Update.
31508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31509
31510 2012-03-05 Tom de Vries <tom@codesourcery.com>
31511
31512 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31513 default stack guard is set in last bytes.
31514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31515
31516 2012-03-05 Kees Cook <keescook@chromium.org>
31517
31518 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31519
31520 [BZ #13656]
31521 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31522 possibly allocate from heap instead of stack.
31523 * stdio-common/bug-vfprintf-nargs.c: New file.
31524 * stdio-common/Makefile (tests): Add nargs overflow test.
31525
31526 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31527
31528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31529
31530 2012-03-03 Marek Polacek <polacek@redhat.com>
31531
31532 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31533 * math/math_private.h: Likewise.
31534 * stdlib/tst-strtod.c: Likewise.
31535 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31536 * sysdeps/x86_64/bits/atomic.h: Likewise.
31537
31538 2012-03-02 David S. Miller <davem@davemloft.net>
31539
31540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31544 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31545 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31546 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31547 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31548
31549 2012-03-02 Roland McGrath <roland@hack.frob.com>
31550
31551 [BZ #13792]
31552 * manual/examples/README: New file, says the example source files
31553 can be used under GPL>=2.
31554 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31555 line containing just "*/".
31556 * manual/examples/add.c: Add copyright header (GPL>=2).
31557 * manual/examples/argp-ex1.c: Likewise.
31558 * manual/examples/argp-ex2.c: Likewise.
31559 * manual/examples/argp-ex3.c: Likewise.
31560 * manual/examples/argp-ex4.c: Likewise.
31561 * manual/examples/atexit.c: Likewise.
31562 * manual/examples/db.c: Likewise.
31563 * manual/examples/dir.c: Likewise.
31564 * manual/examples/dir2.c: Likewise.
31565 * manual/examples/execinfo.c: Likewise.
31566 * manual/examples/filecli.c: Likewise.
31567 * manual/examples/filesrv.c: Likewise.
31568 * manual/examples/fmtmsgexpl.c: Likewise.
31569 * manual/examples/genpass.c: Likewise.
31570 * manual/examples/inetcli.c: Likewise.
31571 * manual/examples/inetsrv.c: Likewise.
31572 * manual/examples/isockad.c: Likewise.
31573 * manual/examples/longopt.c: Likewise.
31574 * manual/examples/memopen.c: Likewise.
31575 * manual/examples/memstrm.c: Likewise.
31576 * manual/examples/mkfsock.c: Likewise.
31577 * manual/examples/mkisock.c: Likewise.
31578 * manual/examples/mygetpass.c: Likewise.
31579 * manual/examples/pipe.c: Likewise.
31580 * manual/examples/popen.c: Likewise.
31581 * manual/examples/rprintf.c: Likewise.
31582 * manual/examples/search.c: Likewise.
31583 * manual/examples/select.c: Likewise.
31584 * manual/examples/setjmp.c: Likewise.
31585 * manual/examples/sigh1.c: Likewise.
31586 * manual/examples/sigusr.c: Likewise.
31587 * manual/examples/stpcpy.c: Likewise.
31588 * manual/examples/strdupa.c: Likewise.
31589 * manual/examples/strftim.c: Likewise.
31590 * manual/examples/strncat.c: Likewise.
31591 * manual/examples/subopt.c: Likewise.
31592 * manual/examples/swapcontext.c: Likewise.
31593 * manual/examples/termios.c: Likewise.
31594 * manual/examples/testopt.c: Likewise.
31595 * manual/examples/testpass.c: Likewise.
31596 * manual/examples/timeval_subtract.c: Likewise.
31597
31598 [BZ #13792]
31599 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31600 function to ...
31601 * manual/timeval_subtract.c.texi: ... here, new file.
31602
31603 2012-03-02 David S. Miller <davem@davemloft.net>
31604
31605 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31606
31607 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31608
31609 [BZ #3976]
31610 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31611 (__sin): Save and restore rounding mode and use round-to-nearest
31612 for all computations.
31613 (__cos): Save and restore rounding mode and use round-to-nearest
31614 for all computations.
31615 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31616 <fenv.h>.
31617 (tan): Save and restore rounding mode and use round-to-nearest for
31618 all computations.
31619 * math/libm-test.inc (cos_test_tonearest): New function.
31620 (cos_test_towardzero): Likewise.
31621 (cos_test_downward): Likewise.
31622 (cos_test_upward): Likewise.
31623 (sin_test_tonearest): Likewise.
31624 (sin_test_towardzero): Likewise.
31625 (sin_test_downward): Likewise.
31626 (sin_test_upward): Likewise.
31627 (tan_test_tonearest): Likewise.
31628 (tan_test_towardzero): Likewise.
31629 (tan_test_downward): Likewise.
31630 (tan_test_upward): Likewise.
31631 (main): Call the new functions.
31632 * sysdeps/i386/fpu/libm-test-ulps: Update.
31633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31634
31635 [BZ #10135]
31636 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31637 small n, then large n, before computing and testing k+n.
31638 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31640 Likewise.
31641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31642 Likewise.
31643 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31644 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31646 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31647 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31648 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31649 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31650 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31651 * math/libm-test.inc (scalbn_test): Add more tests.
31652 (scalbln_test): Likewise.
31653
31654 * manual/filesys.texi (mode_t): Describe constraints on size and
31655 signedness, not exact equivalence to a particular type.
31656 (ino_t): Likewise.
31657 (ino64_t): Likewise.
31658 (dev_t): Likewise.
31659 (nlink_t): Likewise.
31660 (blkcnt_t): Likewise.
31661 (blkcnt64_t): Likewise.
31662 * manual/llio.texi (off_t): Likewise.
31663
31664 [BZ #3976]
31665 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31666 (__ieee754_exp): Save and restore rounding mode and use
31667 round-to-nearest for all computations.
31668 * math/libm-test.inc (exp_test_tonearest): New function.
31669 (exp_test_towardzero): Likewise.
31670 (exp_test_downward): Likewise.
31671 (exp_test_upward): Likewise.
31672 (main): Call the new functions.
31673 * sysdeps/i386/fpu/libm-test-ulps: Update.
31674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31675
31676 2012-03-01 Chris Demetriou <cgd@google.com>
31677
31678 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31679 have predictable order.
31680
31681 2012-03-01 David S. Miller <davem@davemloft.net>
31682
31683 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31684
31685 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31686 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31687 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31688 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31689
31690 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31691 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31692 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31694 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31695 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31696 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31697 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31698 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31699
31700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31701
31702 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31703 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31705
31706 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31707 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31708 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31709 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31710 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31711 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31713 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31714 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31715 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31716 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31722 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31723 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31724 * sysdeps/sparc/elf/configure: Regenerated.
31725
31726 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31727
31728 * configure.in (AS, LD): Require binutils 2.20 or later.
31729 * configure: Regenerated.
31730 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31731 as required minimum version.
31732 * INSTALL: Regenerated.
31733
31734 [BZ #2541]
31735 [BZ #4108]
31736 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31737 before squaring exponent.
31738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31739 bottom long double and 27 bits of top long double before squaring
31740 exponent.
31741 * math/libm-test.inc (erfc_test): Add more tests.
31742 * sysdeps/i386/fpu/libm-test-ulps: Update.
31743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31745
31746 2012-03-01 Kai Tietz <ktietz@redhat.com>
31747
31748 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31749 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31750 containing bit-fields.
31751 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31752 * soft-fp/single.h (_FP_UNION_S): Likewise.
31753 * soft-fp/double.h (_FP_UNION_D): Likewise.
31754
31755 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31756
31757 [BZ #13786]
31758 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31759 not include ../strcmp.S.
31760 [USE_AS_STRNCASECMP_L]: Likewise.
31761 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31762 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31763 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31764 (__strncasecmp_l_ia32): Define as alias to
31765 __strncasecmp_l_nonascii.
31766
31767 [BZ #5794]
31768 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31769 * sysdeps/i386/fpu/libm-test-ulps: Update.
31770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31771
31772 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31774
31775 2012-02-29 Jeff Law <law@redhat.com>
31776
31777 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31778 out of bounds read.
31779
31780 2012-02-29 Marek Polacek <polacek@redhat.com>
31781
31782 [BZ #13706]
31783 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31784 * elf/Makefile: Add rules to run tst-unused-dep.out.
31785
31786 2012-02-28 David S. Miller <davem@davemloft.net>
31787
31788 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31789 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31792 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31793 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31794
31795 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31796
31797 * math/libm-test.inc (llround_test): Move one test from
31798 lround_test. Use TEST_f_L in moved test.
31799 (lround_test): Move misplaced test to llround_test. Add testcase
31800 from bug 2561.
31801
31802 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31803
31804 * sysdeps/x86_64/fpu/e_expf.S: New file.
31805 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31806
31807 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31808
31809 [BZ #13637]
31810 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31811 of remain_len that may cause incomplete multi-byte character and
31812 false match.
31813 * posix/bug-regex33.c: New file.
31814 * posix/Makefile (tests): Add bug-regex33.
31815
31816 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31817
31818 * manual/macros.texi: New file.
31819 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31820 * manual/libc.texinfo: Include macros.texi.
31821 * manual/creatute.texi: Likewise.
31822 * manual/install.texi: Likewise.
31823 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31824 @glibcadj{} in references to the GNU C Library.
31825 * manual/charset.texi: Likewise.
31826 * manual/conf.texi: Likewise.
31827 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31828 when not using those macros.
31829 * manual/creature.texi: Likewise.
31830 * manual/crypt.texi: Likewise.
31831 * manual/errno.texi: Likewise.
31832 * manual/filesys.texi: Likewise.
31833 * manual/header.texi: Likewise.
31834 * manual/install.texi: Likewise.
31835 * manual/intro.texi: Likewise.
31836 * manual/io.texi: Likewise.
31837 * manual/job.texi: Likewise.
31838 * manual/lang.texi: Likewise.
31839 * manual/libc.texiinfo: Likewise.
31840 * manual/llio.texi: Likewise.
31841 * manual/locale.texi: Likewise.
31842 * manual/maint.texi: Likewise.
31843 * manual/math.texi: Likewise.
31844 * manual/memory.texi: Likewise.
31845 * manual/message.texi: Likewise.
31846 * manual/nss.texi: Likewise.
31847 * manual/pattern.texi: Likewise.
31848 * manual/process.texi: Likewise.
31849 * manual/resource.texi: Likewise.
31850 * manual/search.texi: Likewise.
31851 * manual/setjmp.texi: Likewise.
31852 * manual/signal.texi: Likewise.
31853 * manual/socket.texi: Likewise.
31854 * manual/startup.texi: Likewise.
31855 * manual/stdio.texi: Likewise.
31856 * manual/string.texi: Likewise.
31857 * manual/sysinfo.texi: Likewise.
31858 * manual/syslog.texi: Likewise.
31859 * manual/terminal.texi: Likewise.
31860 * manual/time.texi: Likewise.
31861 * manual/users.texi: Likewise.
31862 * INSTALL: Regenerated.
31863 * NOTES: Regenerated.
31864 * sysdeps/gnu/errlist.c: Regenerated.
31865
31866 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31867
31868 * include/dirent.h: Include <dirstream.h> before
31869 <dirent/dirent.h>.
31870
31871 2012-02-28 David S. Miller <davem@davemloft.net>
31872
31873 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31874 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31875 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31876 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31877
31878 2012-02-27 David S. Miller <davem@davemloft.net>
31879
31880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31882 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31883 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31884
31885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31886 frame pointer instead of stack pointer relative arg slot.
31887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31888 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31889 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31890
31891 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31892
31893 [BZ #3992]
31894 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31895
31896 2012-02-27 David S. Miller <davem@davemloft.net>
31897
31898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31902 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31903 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31904 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31905 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31906
31907 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31908
31909 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31910 later. Allow versions 5-9.
31911 * configure: Regenerated.
31912 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31913 required minimum version and 4.6 as recommended version. Do not
31914 mention bugs in GCC 2.7 and 2.8.
31915 * INSTALL: Regenerated.
31916
31917 2012-02-27 David S. Miller <davem@davemloft.net>
31918
31919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31923 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31924 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31925 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31926 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31927
31928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31929 manipulate bits before adding and subtracting TWO112[sx].
31930 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31931
31932 2012-02-27 Roland McGrath <roland@hack.frob.com>
31933
31934 [BZ #13775]
31935 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31936 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31937 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31938 being in POSIX, because they are in 1003.1-2008.
31939
31940 * rt/tst-aio.c: Include <fcntl.h>.
31941 * rt/tst-aio7.c: Likewise.
31942 * rt/tst-aio64.c: Likewise.
31943
31944 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31945
31946 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31947
31948 * manual/install.texi (--with-headers): Describe headers as
31949 interface headers, not private headers.
31950 (Specific advice for GNU/Linux systems): Describe use of headers
31951 from "make headers_install", not private headers from older
31952 kernels.
31953 * INSTALL: Regenerated.
31954 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31955 Change to 2.6.19.
31956 * sysdeps/unix/sysv/linux/configure: Regenerated.
31957
31958 * manual/llio.texi (fclean): Remove documentation.
31959
31960 * manual/Makefile (libc-texi-generated): New variable. Include
31961 version.texi.
31962 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31963 $(libc-texi-generated), not duplicated list of files.
31964 (version.texi, stamp-version): New rules.
31965 (realclean): Remove $(libc-texi-generated), not individual files
31966 from that list. Do not remove dir-add.texinfo.
31967 * manual/libc.texinfo: Comment out uses of edition numbers and
31968 references to printed manual. Remove last-updated dates.
31969 (EDITION): Comment out.
31970 (ISBN): Likewise.
31971 (VERSION, UPDATED): Remove.
31972 (version.texi): Include.
31973
31974 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31975
31976 * sysdeps/posix/spawni.c: Include <signal.h>.
31977 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31978 * sysdeps/pthread/aio_fsync.c: Likewise.
31979
31980 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31981
31982 * conform/Makefile (tests): Run only when not cross-compiling and
31983 when fast-check is not defined.
31984
31985 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31986 * conform/data/limits.h-data: Fixes for POSIX2008.
31987 * conform/run-conformtest.sh: Run all tests.
31988 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31989 headers.
31990 * include/bits/dlfcn.h: Likewise.
31991 * include/langinfo.h: Likewise.
31992 * include/monetary.h: Likewise.
31993 * include/sys/poll.h: Likewise.
31994
31995 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31996 for __USE_GNU.
31997 * posix/spawn.h: Define __need_sigset_t.
31998 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31999 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32000 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
32001 to get sigevent_t only.
32002 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32003 only for __USE_GNU.
32004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32005 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32006 process_vm_writev only for __USE_GNU.
32007 * termios/termios.h: Declare tcgetsid also for POSIX2008.
32008
32009 * conform/Makefile: For now ignore errors from run-conformtest.
32010 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
32011 POSIX to avoid namespace pollution. Don't prepend headers.
32012 * conform/data/aio.h-data: Fixes for POSIX testing.
32013 * conform/data/fcntl.h-data: Likewise.
32014 * conform/data/glob.h-data: Likewise.
32015 * conform/data/grp.h-data: Likewise.
32016 * conform/data/pthread.h-data: Likewise.
32017 * conform/data/pwd.h-data: Likewise.
32018 * conform/data/signal.h-data: Likewise.
32019 * conform/data/spawn.h-data: Likewise.
32020 * conform/data/stdio.h-data: Likewise.
32021 * conform/data/stdlib.h-data: Likewise.
32022 * conform/data/stropts.h-data: Likewise.
32023 * conform/data/sys/mman.h-data: Likewise.
32024 * conform/data/sys/stat.h-data: Likewise.
32025 * conform/data/sys/types.h-data: Likewise.
32026 * conform/data/sys/wait.h-data: Likewise.
32027 * conform/data/time.h-data: Likewise.
32028 * conform/data/unistd.h-data: Likewise.
32029 * conform/data/utime.h-data: Likewise.
32030
32031 * io/sys/stat.h: fchmod was always in POSIX.
32032 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32033 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32034 * rt/aio.h: Define __need_timespec before including <time.h>.
32035 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32036 struct. Add forward declaration of pthread_attr_t and use it in
32037 sigevent.
32038 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32040 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32041 always remove CLK_TCK definition.
32042
32043 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
32044
32045 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32046
32047 2012-02-25 Ulrich Drepper <drepper@gmail.com>
32048
32049 * conform/run-conformtest.sh: New file.
32050 * conform/Makefile: Run run-conformtest for tests.
32051 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
32052 support.
32053
32054 * conform/data/uchar.h-data: New file.
32055 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32056 * conform/data/arpa/inet.h-data: Likewise.
32057 * conform/data/assert.h-data: Likewise.
32058 * conform/data/complex.h-data: Likewise.
32059 * conform/data/cpio.h-data: Likewise.
32060 * conform/data/ctype.h-data: Likewise.
32061 * conform/data/dirent.h-data: Likewise.
32062 * conform/data/dlfcn.h-data: Likewise.
32063 * conform/data/errno.h-data: Likewise.
32064 * conform/data/fcntl.h-data: Likewise.
32065 * conform/data/float.h-data: Likewise.
32066 * conform/data/fmtmsg.h-data: Likewise.
32067 * conform/data/fnmatch.h-data: Likewise.
32068 * conform/data/ftw.h-data: Likewise.
32069 * conform/data/glob.h-data: Likewise.
32070 * conform/data/grp.h-data: Likewise.
32071 * conform/data/iconv.h-data: Likewise.
32072 * conform/data/inttypes.h-data: Likewise.
32073 * conform/data/langinfo.h-data: Likewise.
32074 * conform/data/libgen.h-data: Likewise.
32075 * conform/data/limits.h-data: Likewise.
32076 * conform/data/locale.h-data: Likewise.
32077 * conform/data/math.h-data: Likewise.
32078 * conform/data/monetary.h-data: Likewise.
32079 * conform/data/mqueue.h-data: Likewise.
32080 * conform/data/ndbm.h-data: Likewise.
32081 * conform/data/net/if.h-data: Likewise.
32082 * conform/data/netdb.h-data: Likewise.
32083 * conform/data/netinet/in.h-data: Likewise.
32084 * conform/data/nl_types.h-data: Likewise.
32085 * conform/data/poll.h-data: Likewise.
32086 * conform/data/pthread.h-data: Likewise.
32087 * conform/data/pwd.h-data: Likewise.
32088 * conform/data/regex.h-data: Likewise.
32089 * conform/data/sched.h-data: Likewise.
32090 * conform/data/search.h-data: Likewise.
32091 * conform/data/semaphore.h-data: Likewise.
32092 * conform/data/setjmp.h-data: Likewise.
32093 * conform/data/signal.h-data: Likewise.
32094 * conform/data/spawn.h-data: Likewise.
32095 * conform/data/stdarg.h-data: Likewise.
32096 * conform/data/stdio.h-data: Likewise.
32097 * conform/data/stdlib.h-data: Likewise.
32098 * conform/data/string.h-data: Likewise.
32099 * conform/data/strings.h-data: Likewise.
32100 * conform/data/stropts.h-data: Likewise.
32101 * conform/data/sys/ipc.h-data: Likewise.
32102 * conform/data/sys/mman.h-data: Likewise.
32103 * conform/data/sys/msg.h-data: Likewise.
32104 * conform/data/sys/resource.h-data: Likewise.
32105 * conform/data/sys/select.h-data: Likewise.
32106 * conform/data/sys/sem.h-data: Likewise.
32107 * conform/data/sys/shm.h-data: Likewise.
32108 * conform/data/sys/socket.h-data: Likewise.
32109 * conform/data/sys/stat.h-data: Likewise.
32110 * conform/data/sys/statvfs.h-data: Likewise.
32111 * conform/data/sys/time.h-data: Likewise.
32112 * conform/data/sys/timeb.h-data: Likewise.
32113 * conform/data/sys/times.h-data: Likewise.
32114 * conform/data/sys/types.h-data: Likewise.
32115 * conform/data/sys/uio.h-data: Likewise.
32116 * conform/data/sys/un.h-data: Likewise.
32117 * conform/data/sys/utsname.h-data: Likewise.
32118 * conform/data/sys/wait.h-data: Likewise.
32119 * conform/data/syslog.h-data: Likewise.
32120 * conform/data/tar.h-data: Likewise.
32121 * conform/data/termios.h-data: Likewise.
32122 * conform/data/utime.h-data: Likewise.
32123 * conform/data/utmpx.h-data: Likewise.
32124 * conform/data/varargs.h-data: Likewise.
32125 * conform/data/wchar.h-data: Likewise.
32126 * conform/data/wctype.h-data: Likewise.
32127 * conform/data/wordexp.h-data: Likewise.
32128
32129 * include/stropts.h: New file.
32130 * include/uchar.h: New file.
32131 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32132 * include/assert.h: Likewise.
32133 * include/ctype.h: Likewise.
32134 * include/dirent.h: Likewise.
32135 * include/dlfcn.h: Likewise.
32136 * include/fcntl.h: Likewise.
32137 * include/fnmatch.h: Likewise.
32138 * include/glob.h: Likewise.
32139 * include/grp.h: Likewise.
32140 * include/libio.h: Likewise.
32141 * include/locale.h: Likewise.
32142 * include/math.h: Likewise.
32143 * include/net/if.h: Likewise.
32144 * include/netdb.h: Likewise.
32145 * include/netinet/in.h: Likewise.
32146 * include/pthread.h: Likewise.
32147 * include/pwd.h: Likewise.
32148 * include/regex.h: Likewise.
32149 * include/sched.h: Likewise.
32150 * include/search.h: Likewise.
32151 * include/setjmp.h: Likewise.
32152 * include/signal.h: Likewise.
32153 * include/stdio.h: Likewise.
32154 * include/stdlib.h: Likewise.
32155 * include/string.h: Likewise.
32156 * include/sys/cdefs.h: Likewise.
32157 * include/sys/mman.h: Likewise.
32158 * include/sys/msg.h: Likewise.
32159 * include/sys/resource.h: Likewise.
32160 * include/sys/select.h: Likewise.
32161 * include/sys/socket.h: Likewise.
32162 * include/sys/stat.h: Likewise.
32163 * include/sys/statvfs.h: Likewise.
32164 * include/sys/time.h: Likewise.
32165 * include/sys/times.h: Likewise.
32166 * include/sys/uio.h: Likewise.
32167 * include/sys/utsname.h: Likewise.
32168 * include/sys/wait.h: Likewise.
32169 * include/termios.h: Likewise.
32170 * include/time.h: Likewise.
32171 * include/ulimit.h: Likewise.
32172 * include/unistd.h: Likewise.
32173 * include/utime.h: Likewise.
32174 * include/wchar.h: Likewise.
32175 * include/wctype.h: Likewise.
32176 * include/wordexp.h: Likewise.
32177
32178 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32179
32180 * time/time.h: TIME_UTC must be a macro.
32181 Make timespec_get available for ISO C11 only as well.
32182
32183 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32184
32185 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32186 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32187
32188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32189
32190 * configure.in: Use -o not -a in test for unsupported multi-arch.
32191
32192 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32193
32194 * manual/texinfo.tex: Update to version 2012-01-19.16.
32195
32196 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32197
32198 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32199
32200 2012-02-24 Roland McGrath <roland@hack.frob.com>
32201
32202 [BZ #13738]
32203 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32204 * manual/fdl-1.3.texi: New file.
32205 * manual/fdl-1.1.texi: File removed.
32206
32207 [BZ #13738]
32208 * manual/libc.texinfo (FDL_VERSION): New @set.
32209 Use it for mention of FDL in cover text.
32210 (Documentation License): Use it in @include file name.
32211
32212 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32213 Roland McGrath <roland@hack.frob.com>
32214
32215 [BZ #5461]
32216 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32217 not LONG_LONG_MAX and LONG_LONG_MIN.
32218 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32219 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32220 name.
32221 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32222
32223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32224
32225 [BZ #2547]
32226 [BZ #11365]
32227 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32228 manipulate bits before adding and subtracting TWO23[sx].
32229 * math/libm-test.inc (nearbyint_test): Add more tests.
32230
32231 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32232
32233 [BZ #2548]
32234 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32235 bits before adding and subtracting TWO23[sx].
32236 * math/libm-test.inc (rint_test): Add more tests.
32237 (rint_test_tonearest): Likewise.
32238 (rint_test_towardzero): Likewise.
32239 (rint_test_downward): Likewise.
32240 (rint_test_upward: Likewise.
32241
32242 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32243
32244 [BZ #10110]
32245 * include/stdc-predef.h: New file. Extracted from features.h.
32246 * include/features.h: Include stdc-predef.h.
32247 * Makefile (headers): Add stdc-predef.h.
32248 * CONFORMANCE (Compiler limitations): Update.
32249
32250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32251
32252 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32253
32254 2012-02-21 David S. Miller <davem@davemloft.net>
32255
32256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32257 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32258
32259 2012-02-20 David S. Miller <davem@davemloft.net>
32260
32261 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32262 using a normal save/restore sequence, rather than allocating a
32263 dummy stack frame just to store a frame pointer and restore.
32264 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32265
32266 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32267
32268 * manual/install.texi: Fix stray word in line-wrapped comment.
32269
32270 2012-02-20 David S. Miller <davem@davemloft.net>
32271
32272 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32273 both binutils and gcc support GOTDATA.
32274
32275 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32276 "rd %pc" in the PIC register setup sequences.
32277
32278 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32279 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32280 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32281 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32282 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32284 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32287 (SYSCALL_ERROR_HANDLER): Likewise.
32288 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32289 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32291 (SYSCALL_ERROR_HANDLER): Likewise.
32292
32293 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32294 (HAVE_GCC_GOTDATA): New.
32295 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32296 relocation support in both binutils and gcc.
32297 * sysdeps/sparc/elf/configure: Regenerate.
32298
32299 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32300 * sysdeps/sparc/sparc32/elf/configure: Delete.
32301 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32302 * sysdeps/sparc/sparc64/elf/configure: Delete.
32303 * sysdeps/sparc/elf/configure.in: New file.
32304 * sysdeps/sparc/elf/configure: Generate.
32305
32306 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32307 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32309 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32310 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32311
32312 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32313
32314 * manual/install.texi: Do not mention specific glibc version
32315 numbers.
32316 * manual/libc.texinfo (VERSION, UPDATED): Update.
32317 (@copying): Use @copyright{} and range of years.
32318
32319 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32320
32321 [BZ #13695]
32322 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32323 [crti.S not in sysdirs] (generated): Do not append.
32324 [crti.S not in sysdirs] (omit-deps): Likewise.
32325 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32326 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32327 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32328 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32329 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32330 Likewise.
32331 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32332 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32333 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32334 * csu/defs.awk: Remove file.
32335 * sysdeps/generic/initfini.c: Likewise.
32336 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32337 variable.
32338 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32339 Likewise.
32340
32341 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32342
32343 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32344 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32347 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32348 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32349 <bits/epoll.h>.
32350 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32351 (__EPOLL_PACKED): Define to empty if not defined by
32352 <bits/epoll.h>.
32353 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32355 bits/epoll.h.
32356
32357 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32358
32359 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32360 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32361 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32362 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32363 <bits/timerfd.h>.
32364 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32366 bits/timerfd.h.
32367
32368 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32369
32370 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32371 in C locale.
32372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32373 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32376
32377 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32378
32379 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32380 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32381
32382 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32383
32384 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32385 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32386 defined.
32387 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32388 Likewise.
32389 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32390 entry for 2.16.
32391
32392 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32393
32394 * math/w_acos.c: Use non-signaling floating-point comparisons.
32395 * math/w_acosf.c: Likewise.
32396 * math/w_acosh.c: Likewise.
32397 * math/w_acoshf.c: Likewise.
32398 * math/w_acoshl.c: Likewise.
32399 * math/w_acosl.c: Likewise.
32400 * math/w_asin.c: Likewise.
32401 * math/w_asinf.c: Likewise.
32402 * math/w_asinl.c: Likewise.
32403 * math/w_atanh.c: Likewise.
32404 * math/w_atanhf.c: Likewise.
32405 * math/w_atanhl.c: Likewise.
32406 * math/w_exp2.c: Likewise.
32407 * math/w_exp2f.c: Likewise.
32408 * math/w_exp2l.c: Likewise.
32409 * math/w_j0.c: Likewise.
32410 * math/w_j0f.c: Likewise.
32411 * math/w_j0l.c: Likewise.
32412 * math/w_j1.c: Likewise.
32413 * math/w_j1f.c: Likewise.
32414 * math/w_j1l.c: Likewise.
32415 * math/w_jn.c: Likewise.
32416 * math/w_jnf.c: Likewise.
32417 * math/w_log.c: Likewise.
32418 * math/w_log10.c: Likewise.
32419 * math/w_log10f.c: Likewise.
32420 * math/w_log10l.c: Likewise.
32421 * math/w_log2.c: Likewise.
32422 * math/w_log2f.c: Likewise.
32423 * math/w_log2l.c: Likewise.
32424 * math/w_logf.c: Likewise.
32425 * math/w_logl.c: Likewise.
32426 * math/w_sqrt.c: Likewise.
32427 * math/w_sqrtf.c: Likewise.
32428 * math/w_sqrtl.c: Likewise.
32429 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32430 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32431 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32432 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32433 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32434
32435 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32436
32437 [BZ #9739]
32438 * manual/string.texi (strnlen): Use correct parameter name in
32439 equivalent expression.
32440
32441 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32442
32443 [BZ #11174]
32444 * manual/users.texi (seteuid): Consistently use neweuid for
32445 argument name.
32446
32447 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32448
32449 [BZ #13704]
32450 * manual/nss.texi (Services in the NSS configuration): Correct
32451 list of services in example configuration file.
32452
32453 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32454
32455 [BZ #11322]
32456 * manual/arith.texi: Remove statements about negative zero
32457 behaving identically to zero.
32458
32459 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32460
32461 [BZ #5993]
32462 * manual/install.texi: Do not document upgrading from libc5.
32463
32464 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32465
32466 [BZ #4596]
32467 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32468
32469 2012-02-18 David S. Miller <davem@davemloft.net>
32470
32471 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32472 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32473 %o7 across the call.
32474 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32475 instead.
32476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32477 SETUP_PIC_REG_LEAF.
32478 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32479 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32480 * sysdeps/sparc/crtn.S: Likewise.
32481
32482 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32483
32484 * aout/Makefile: Remove.
32485
32486 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32487
32488 [BZ #13058]
32489 * manual/examples/argp-ex1.c (main): Format definition in GNU
32490 style.
32491 * manual/examples/argp-ex2.c (main): Likewise.
32492 * manual/examples/argp-ex3.c (main): Likewise.
32493 * manual/examples/argp-ex4.c (main): Likewise.
32494 * manual/examples/longopt.c (main): Use new-style prototype
32495 definition.
32496 * manual/examples/strncat.c (main): Specify return type and use
32497 (void) for arguments.
32498 * manual/examples/subopt.c (main): Use char **argv argument.
32499
32500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32501
32502 [BZ #5077]
32503 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32504 rounding modes.
32505
32506 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32507
32508 [BZ #6907]
32509 * manual/string.texi (strchr): Change when strchrnul is
32510 recommended.
32511
32512 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32513
32514 [BZ #174]
32515 * manual/locale.texi (setlocale): Document LOCPATH.
32516
32517 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32518
32519 [BZ #10210]
32520 * manual/process.texi (execle): Move @dots{} before last argument.
32521
32522 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32523
32524 [BZ #12047]
32525 * manual/charset.texi (Generic Charset Conversion): Fix typo
32526 (LC_TYPE -> LC_CTYPE).
32527
32528 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32529
32530 [BZ #5805]
32531 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32532 (scalbnf): Likewise.
32533 (scalbnl): Likewise.
32534 (scalbln): Likewise.
32535 (scalblnf): Likewise.
32536 (scalblnl): Likewise.
32537 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32538 (vwarnx): Likewise.
32539 (verr): Likewise.
32540 (verrx): Likewise.
32541 * manual/filesys.texi (telldir): Use braces around return type.
32542 * manual/llio.texi (mmap): Add space after comma.
32543 (mmap64): Likewise.
32544 * manual/math.texi (jn): Use @var{} on parameter names.
32545 (jnf): Likewise.
32546 (jnl): Likewise.
32547 (yn): Likewise.
32548 (ynf): Likewise.
32549 (ynl): Likewise.
32550 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32551 line.
32552 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32553 "...".
32554 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32555 (sched_get_priority_max): Likewise.
32556 * manual/signal.texi (sigvec): Add space after comma.
32557 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32558 names.
32559 (if_indextoname): Likewise.
32560 (if_freenameindex): Likewise.
32561 (sendto): Use ',' instead of '.' in prototype.
32562 * manual/startup.texi (syscall): Use @dots{} instead of literal
32563 "...".
32564 * manual/stdio.texi (__fpending): Separate initial words of
32565 paragraph from @deftypefun line.
32566 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32567 "...".
32568 (vsyslog): Use @var{} on parameter names.
32569 * manual/terminal.texi (stty): Use @var{} on parameter names.
32570 * manual/users.texi (getutmp): Use @var{} on parameter names.
32571 (getutmpx): Likewise.
32572
32573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32574
32575 [BZ #6884]
32576 * manual/stdio.texi (fopen): Fix typos in description of
32577 ",ccs=STRING".
32578
32579 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32580
32581 [BZ #4026]
32582 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32583 get clock_id definition.
32584
32585 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32586
32587 [BZ #4822]
32588 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32589 (madvise): Cast every argument to void on its own.
32590
32591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32592
32593 [BZ #9902]
32594 * manual/startup.texi (Exit Status): Fix typo.
32595
32596 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32597
32598 [BZ #10140]
32599 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32600 * manual/examples/argp-ex2.c: Likewise.
32601 * manual/examples/argp-ex3.c: Likewise.
32602
32603 2012-02-16 Richard Henderson <rth@redhat.com>
32604
32605 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32606 * sysdeps/s390/s390-32/initfini.c: Remove.
32607 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32608 * sysdeps/s390/s390-64/initfini.c: Remove.
32609
32610 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32611
32612 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32613 compiler output for sysdeps/generic/initfini.c.
32614 * sysdeps/sh/elf/initfini.c: Remove file.
32615
32616 2012-02-16 David S. Miller <davem@davemloft.net>
32617
32618 [BZ #11494]
32619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32620
32621 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32622 * sysdeps/sparc/crti.S: New file.
32623 * sysdeps/sparc/crtn.S: New file.
32624 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32625 * sysdeps/sparc/sparc64/Makefile: Likewise.
32626
32627 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32628
32629 [BZ #3335]
32630 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32631
32632 2012-02-15 Roland McGrath <roland@hack.frob.com>
32633
32634 [BZ #4822]
32635 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32636
32637 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32638 (write, read, close): Likewise.
32639 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32640
32641 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32642
32643 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32644 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32645 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32646 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32647 <bits/signalfd.h>.
32648 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32650 bits/signalfd.h.
32651
32652 2012-02-14 Marek Polacek <polacek@redhat.com>
32653
32654 * sysdeps/x86_64/crti.S: New file.
32655 * sysdeps/x86_64/crtn.S: New file.
32656 * sysdeps/x86_64/elf/initfini.c: Remove file.
32657
32658 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32659
32660 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32661 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32662 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32663 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32664 <bits/inotify.h>.
32665 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32667 bits/inotify.h.
32668
32669 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32670
32671 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32672 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32673 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32674 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32675 <bits/eventfd.h>.
32676 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32678 bits/eventfd.h.
32679
32680 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32681
32682 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32683 __feraiseexcept instead of feraiseexcept.
32684
32685 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32686 nanosleep invocations.
32687 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32688 strings, and add error checking for a nanosleep invocations.
32689
32690 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32691
32692 Replace FSF snail mail address with URLs, as per GNU coding standards.
32693 Most of the snail mail addresses were wrong anyway, and omitting
32694 them makes the source code easier to maintain. Almost all of the
32695 changes are to license notices and to locale LC_IDENTIFICATION
32696 addresses, except for this one:
32697 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32698 not its snail mail address.
32699
32700 2012-02-09 Richard Henderson <rth@twiddle.net>
32701
32702 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32703 of kernel-features.h.
32704
32705 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32706
32707 2012-02-08 Marek Polacek <polacek@redhat.com>
32708
32709 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32710 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32711 * sysdeps/gnu/_G_config.h: Likewise.
32712 * sysdeps/generic/_G_config.h: Likewise.
32713
32714 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32715
32716 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32717 tests.
32718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32719
32720 * sysdeps/powerpc/powerpc32/crti.S: New file.
32721 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32722 * sysdeps/powerpc/powerpc64/crti.S: New file.
32723 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32724
32725 * Makeconfig (have-initfini): Don't set.
32726 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32727 * configure.in (nopic_initfini): Don't substitute.
32728 * config.h.in (HAVE_INITFINI): Don't #undef.
32729 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32730 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32731
32732 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32733
32734 Support crti.S and crtn.S provided directly by architectures.
32735 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32736 [crti.S in sysdirs] (omit-deps): Likewise.
32737 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32738 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32739 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32740 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32741 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32742 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32743 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32744 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32745 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32746 compiler output for sysdeps/generic/initfini.c.
32747 * sysdeps/i386/elf/Makefile: Remove file.
32748 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32749
32750 2012-02-07 Marek Polacek <polacek@redhat.com>
32751
32752 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32753 * sysdeps/gnu/_G_config.h: Likewise.
32754 * sysdeps/mach/hurd/_G_config.h: Likewise.
32755
32756 2012-02-07 Marek Polacek <polacek@redhat.com>
32757
32758 * math/Makefile (tests): Add tst-CMPLX2.
32759 * math/tst-CMPLX2.c: New file.
32760
32761 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32762
32763 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32764
32765 * math/libm-test.inc (jn_test): Add missing L suffix.
32766
32767 2012-02-06 Marek Polacek <polacek@redhat.com>
32768
32769 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32770 * sysdeps/i386/fpu/e_powf.S: Likewise.
32771 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32772 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32773 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32774 * sysdeps/i386/fpu/e_pow.S: Likewise.
32775 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32776 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32777 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32778 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32779 * sysdeps/i386/fpu/e_log2.S: Likewise.
32780 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32781 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32782 * sysdeps/i386/fpu/e_powl.S: Likewise.
32783 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32784 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32785 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32786 * sysdeps/i386/fpu/e_logl.S: Likewise.
32787 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32788 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32789 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32790 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32791 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32793 * sysdeps/i386/fpu/e_log.S: Likewise.
32794 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32795 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32796 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32797 * sysdeps/i386/fpu/e_logf.S: Likewise.
32798 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32800 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32801 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32802 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32803 * sysdeps/i386/fpu/e_log10.S: Likewise.
32804 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32805 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32806 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32807 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32808 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32809 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32810 * sysdeps/i386/asm-syntax.h: Likewise.
32811 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32812 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32814 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32815 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32817 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32818 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32819 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32820 * sysdeps/powerpc/sysdep.h: Likewise.
32821 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32822 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32823
32824 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32825
32826 [BZ #411]
32827 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32828
32829 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32830
32831 * sysdeps/i386/sysdep.h: Include <features.h>.
32832 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32833 version.
32834
32835 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32836
32837 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32838 Define.
32839 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32840 LOAD_PIC_REG_STR.
32841
32842 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32843
32844 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32845 (SETUP_PIC_REG): Use GET_PC_THUNK.
32846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32847 macro.
32848
32849 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32850
32851 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32852 for non-PIC compilation.
32853 (SETUP_PIC_REG): Add .p2align directive.
32854 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32855 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32856 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32857 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32858 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32859 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32862 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32863 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32864 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32865 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32866 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32867 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32868 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32869 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32870 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32871 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32872 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32873 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32874 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32875 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32876 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32877 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32881 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32882 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32883 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32884 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32885 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32886 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32887 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32888 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32889 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32890 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32891 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32892 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32893 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32894 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32895
32896 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32897
32898 * math/tst-CMPLX.c: Include <stdio.h>.
32899
32900 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32901
32902 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32903 float.
32904 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32905 * sysdeps/sparc/bits/mathdef.h: Likewise.
32906
32907 2012-01-31 Marek Polacek <polacek@redhat.com>
32908
32909 * libio/libio.h: Don't define _PARAMS.
32910 * locale/programs/config.h: Don't define PARAMS.
32911 * stdlib/strtol_l.c: Likewise.
32912 (__strtol_l): Remove PARAMS from the prototype.
32913
32914 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32915
32916 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32917 names. Just use the correct names. Remove unnecessary wrapper
32918 functions.
32919 * malloc/arena.c: Likewise.
32920 * malloc/hooks.c: Likewise.
32921
32922 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32923 ARENA_TEST says not to. Simplify test for creation of a new arena.
32924 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32925
32926 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32927
32928 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32929 into tail calls.
32930 (update_get_addr): New function.
32931 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32932 GET_ADDR_MODULE parameter.
32933
32934 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32935
32936 * crypt/cert.c: Remove __STDC__ conditionals.
32937 * crypt/crypt-entry.c: Likewise.
32938 * crypt/crypt_util.c: Likewise.
32939 * libio/filedoalloc.c: Likewise.
32940 * libio/fileops.c: Likewise.
32941 * libio/genops.c: Likewise.
32942 * libio/iofclose.c: Likewise.
32943 * libio/iofdopen.c: Likewise.
32944 * libio/iofopen.c: Likewise.
32945 * libio/iofopen64.c: Likewise.
32946 * libio/iogetdelim.c: Likewise.
32947 * libio/iopopen.c: Likewise.
32948 * libio/obprintf.c: Likewise.
32949 * libio/oldfileops.c: Likewise.
32950 * libio/oldiofclose.c: Likewise.
32951 * libio/oldiofdopen.c: Likewise.
32952 * libio/oldiofopen.c: Likewise.
32953 * libio/oldiopopen.c: Likewise.
32954 * libio/wfiledoalloc.c: Likewise.
32955 * libio/wgenops.c: Likewise.
32956 * locale/programs/xmalloc.c: Likewise.
32957 * misc/syslog.c: Likewise.
32958 * stdio-common/xbug.c: Likewise.
32959 * string/memchr.c: Likewise.
32960 * string/memcmp.c: Likewise.
32961 * string/memrchr.c: Likewise.
32962 * string/rawmemchr.c: Likewise.
32963 * sysdeps/posix/getcwd.c: Likewise.
32964 * time/strftime_l.c: Likewise.
32965
32966 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32967
32968 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32969 * config.make.in (config-cflags-sse2avx): Define.
32970 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32971 Fix typo.
32972
32973 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32974
32975 * scripts/config.guess: Update from upstream config git repository.
32976 * scripts/config.sub: Likewise.
32977
32978 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32979
32980 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32981 (EM_NUM): Update.
32982 (R_TILEPRO_*, R_TILEGX_*): New macros.
32983
32984 * scripts/firstversions.awk: Fix bug in version range handling.
32985
32986 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32987
32988 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32989
32990 * include/sys/epoll.h: New file.
32991 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32992 libc_hidden_def.
32993
32994 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32995
32996 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32997 Avoid unnecessary __WORDSIZE == 64 test.
32998 (fmaxf): Use VEX format if possible.
32999 (fmax): Likewise.
33000 (fminf): Likewise.
33001 (fmin): Likewise.
33002
33003 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33004 * math/math_private.h: Remove libc_fegetround* and
33005 libc_fesetround*.
33006 * sysdeps/i386/configure.in: Check for -msse2avx.
33007 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33008 also if SSE2AVX is defined.
33009 Remove libc_fegetround* and libc_fesetround*.
33010 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33011 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
33012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33013 of HAS_YMM_USABLE.
33014 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33015 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33016 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33017 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33018 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33019
33020 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33021
33022 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33023
33024 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33025 size is not set.
33026 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33027
33028 2012-01-27 Ulrich Drepper <drepper@gmail.com>
33029
33030 [BZ #13618]
33031 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33032 relocation.
33033 * Makeconfig (libm): Define.
33034 * elf/Makefile: Add rules to build and run tst-relsort1.
33035 * elf/tst-relsort1.c: New file.
33036 * elf/tst-relsort1mod1.c: New file.
33037 * elf/tst-relsort1mod2.c: New file.
33038
33039 2012-01-27 Joseph Myers <joseph@codesourcery.com>
33040
33041 * math/s_ldexp.c: Remove __STDC__ conditionals.
33042 * math/s_ldexpf.c: Likewise.
33043 * math/s_ldexpl.c: Likewise.
33044 * math/s_nextafter.c: Likewise.
33045 * math/s_nexttowardf.c: Likewise.
33046 * math/s_significand.c: Likewise.
33047 * math/s_significandf.c: Likewise.
33048 * math/s_significandl.c: Likewise.
33049 * math/w_jnl.c: Likewise.
33050 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33051 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33052 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33053 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33054 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33069 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33070 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33072 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33074 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33075 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33077 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33079 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33080 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33081 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33082 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33084 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33085 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33086 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33090 * sysdeps/ieee754/k_standard.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33138 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33139 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33140 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33141 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33152 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33157 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33165 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33166 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33170 * sysdeps/ieee754/s_matherr.c: Likewise.
33171 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33172 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33175
33176 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33177
33178 * crypt/md5.h: Remove __STDC__ conditionals.
33179 * libio/libioP.h: Likewise.
33180 * locale/programs/config.h: Likewise.
33181 * sysdeps/generic/sysdep.h: Likewise.
33182 * sysdeps/i386/asm-syntax.h: Likewise.
33183 * sysdeps/s390/asm-syntax.h: Likewise.
33184 * sysdeps/unix/sysdep.h: Likewise.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33187
33188 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33189
33190 * libio/libio.h: Remove __STDC__ conditionals.
33191 * malloc/obstack.h: Likewise.
33192 * math/complex.h: Likewise.
33193 * math/math.h: Likewise.
33194 * sysdeps/generic/_G_config.h: Likewise.
33195 * sysdeps/gnu/_G_config.h: Likewise.
33196 * sysdeps/mach/hurd/_G_config.h: Likewise.
33197 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33198 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33199 * sysdeps/sparc/bits/mathdef.h: Likewise.
33200
33201 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33202
33203 [BZ #13583]
33204 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33205 Clean up HAS_* macros.
33206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33207 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33208 possible.
33209 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33210 HAS_AVX.
33211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33212 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33216
33217 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33218
33219 * elf/tst-unique3.cc (gets): Remove declaration.
33220 * elf/tst-unique3lib.cc (gets): Likewise.
33221 * elf/tst-unique3lib2.cc (gets): Likewise.
33222 * elf/tst-unique4.cc (gets): Likewise.
33223
33224 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33225
33226 * include/stdio.h: Add C++ protection. Add gets declarations and
33227 definitions.
33228 * debug/tst-chk1.c: Don't declare gets here.
33229 * stdio-common/tst-gets.c: Likewise.
33230
33231 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33232
33233 * posix/glob: Remove directory.
33234
33235 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33236
33237 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33238
33239 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33240
33241 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33242 of the non-standard EPFNOSUPPORT.
33243
33244 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33245
33246 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33247 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33248 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33249
33250 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33251
33252 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33253
33254 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33255
33256 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33257 transient errors.
33258 * nscd/grpcache.c (cache_addgr): Likewise.
33259 * nscd/hstcache.c (cache_addhst): Likewise.
33260 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33261 * nscd/pwdcache.c (cache_addpw): Likewise.
33262 * nscd/servicescache.c (cache_addserv): Likewise.
33263
33264 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33265
33266 * malloc/malloc.c: Various cleanups.
33267 * malloc/hooks.c: Likewise.
33268
33269 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33270 * stdlib/bug-fmtmsg1.c: New file.
33271
33272 * stdlib/fmtmsg.c (init): Add missing unlock.
33273 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33274
33275 2012-01-12 Marek Polacek <polacek@redhat.com>
33276
33277 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33278 and _GNU_SOURCE.
33279
33280 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33281
33282 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33283 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33284 macro to ensure uniqueness of label name.
33285 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33286 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33287
33288 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33289
33290 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33291
33292 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33293 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33294 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33296
33297 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33298
33299 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33300
33301 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33302 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33304
33305 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33306
33307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33308 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33311
33312 * math/bits/math-finite.h: Add ldexp support.
33313
33314 2012-01-10 Marek Polacek <polacek@redhat.com>
33315
33316 * locale/programs/localedef.h (show_archive_content): Add noreturn
33317 attribute.
33318
33319 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33320
33321 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33322
33323 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33324
33325 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33326
33327 * io/Makefile (headers): Add bits/poll2.h.
33328
33329 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33330
33331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33332 typo #include statement.
33333
33334 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33335
33336 * include/sys/cdefs.h: Define __attribute_alloc_size.
33337 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33338 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33339 * elf/pldd.c: Likewise.
33340 * iconv/iconv_charmap.c: Likewise.
33341 * iconv/iconvconfig.c: Likewise.
33342 * iconv/strtab.c: Likewise.
33343 * locale/programs/locale.c: Likewise.
33344 * locale/programs/localedef.h: Likewise.
33345 * locale/programs/simple-hash.c: Likewise.
33346 * nscd/nscd.h: Likewise.
33347 * nss/makedb.c: Likewise.
33348 * sysdeps/generic/ldconfig.h: Likewise.
33349 * locale/programs/localedef.c: Remove xmalloc prototype.
33350 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33351
33352 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33353
33354 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33355 appropriate.
33356
33357 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33358
33359 * math/Makefile (tests): Add tst-CMPLX.
33360 * math/tst-CMPLX.c: New file.
33361
33362 * math/complex.h (CMPLXL): Fix typo.
33363
33364 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33365 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33366 GLIBC_2.16.
33367 * debug/tst-chk1.c: Add poll and ppoll tests.
33368 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33369 * include/sys/poll.h: Add hidden proto for ppoll.
33370 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33371 * sysdeps/mach/hurd/ppoll.c: Likewise.
33372 * io/ppoll.c: Likewise.
33373 * debug/poll_chk.c: New file.
33374 * debug/ppoll_chk.c: New file.
33375 * include/bits/poll2.h: New file.
33376 * io/bits/poll2.h: New file.
33377
33378 [BZ #1350]
33379 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33380
33381 * configure.in: static is always set to yes. Remove.
33382 * config.make.in: Don't set build-static.
33383 * Makeconfig: Remove use of build-static.
33384 * dlfcn/Makefile: Likewise.
33385 * elf/Makefile: Likewise.
33386 * math/Makefile: Likewise.
33387 * misc/Makefile: Likewise.
33388 * nptl/Makefile: Likewise.
33389 * sysdeps/mach/hurd/Makefile: Likewise.
33390
33391 * configure.in: PWD_P is not used anymore.
33392 * config.make.in: Remove PWD_P entry.
33393
33394 * configure.in: Remove last remnants of RANLIB.
33395 No need to check for signed size_t anymore.
33396 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33397 and IA-64.
33398 Remove __builtin_expect test because we require at least gcc 3.4.
33399 * aclocal.m4: Likewise.
33400
33401 * wcsmbs/mbrtoc16.c: Implement using towc function.
33402 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33403 * wcsmbs/wcsmbsload.c: Likewise.
33404 * iconv/gconv_simple.c: Likewise.
33405 * iconv/gconv_int.h: Likewise.
33406 * iconv/gconv_builtin.h: Likewise.
33407 * iconv/iconv_prog.c: Remove CHAR16 handling.
33408
33409 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33410
33411 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33412
33413 * configure.in: Remove --with-elf and --enable-bounded options.
33414 Dont set base_machine for ia64. More non-ELF conditions removed.
33415 Remove testing and setting of leading underscore information.
33416 * config.make.in (build-bounded): Set to no.
33417 * config.h.in: Remove NO_UNDERSCORES entry.
33418 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33419 them.
33420 * csu/start.c: Remove !NO_UNDERSCORE code.
33421 * locale/localeinfo.h: Likewise.
33422 * sysdeps/generic/machine-gmon.h: Likewise.
33423 * sysdeps/generic/sysdep.h: Likewise.
33424 * sysdeps/i386/sysdep.h: Likewise.
33425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33426 * sysdeps/mach/sysdep.h: Likewise.
33427 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33429 * sysdeps/sh/sysdep.h: Likewise.
33430 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33431 * sysdeps/unix/i386/sysdep.S: Likewise.
33432 * sysdeps/unix/sparc/start.c: Likewise.
33433 * sysdeps/unix/sparc/sysdep.S: Likewise.
33434 * sysdeps/unix/sparc/sysdep.h: Likewise.
33435 * sysdeps/unix/start.c: Likewise.
33436 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33437 * sysdeps/x86_64/sysdep.h: Likewise.
33438
33439 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33440
33441 [BZ #13553]
33442 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33443 for non-gcc.
33444 * argp/argp-fmtstream.h: Use const instead __const.
33445 * argp/argp.h: Likewise.
33446 * assert/assert.h: Likewise.
33447 * bits/fenv.h: Likewise.
33448 * bits/sched.h: Likewise.
33449 * bits/sigset.h: Likewise.
33450 * bits/sigthread.h: Likewise.
33451 * catgets/nl_types.h: Likewise.
33452 * conform/data/pthread.h-data: Likewise.
33453 * crypt/crypt-private.h: Likewise.
33454 * crypt/crypt.h: Likewise.
33455 * crypt/crypt_util.c: Likewise.
33456 * ctype/ctype.h: Likewise.
33457 * debug/execinfo.h: Likewise.
33458 * debug/mbsnrtowcs_chk.c: Likewise.
33459 * debug/mbsrtowcs_chk.c: Likewise.
33460 * debug/wcsnrtombs_chk.c: Likewise.
33461 * debug/wcsrtombs_chk.c: Likewise.
33462 * debug/wcstombs_chk.c: Likewise.
33463 * dirent/dirent.h: Likewise.
33464 * dlfcn/dlfcn.h: Likewise.
33465 * elf/neededtest4.c: Likewise.
33466 * grp/grp.h: Likewise.
33467 * gshadow/gshadow.h: Likewise.
33468 * iconv/gconv.h: Likewise.
33469 * iconv/gconv_int.h: Likewise.
33470 * iconv/gconv_simple.c: Likewise.
33471 * iconv/iconv.h: Likewise.
33472 * iconv/loop.c: Likewise.
33473 * iconv/skeleton.c: Likewise.
33474 * include/aio.h: Likewise.
33475 * include/aliases.h: Likewise.
33476 * include/argz.h: Likewise.
33477 * include/arpa/inet.h: Likewise.
33478 * include/assert.h: Likewise.
33479 * include/dirent.h: Likewise.
33480 * include/dlfcn.h: Likewise.
33481 * include/execinfo.h: Likewise.
33482 * include/fcntl.h: Likewise.
33483 * include/fenv.h: Likewise.
33484 * include/glob.h: Likewise.
33485 * include/grp.h: Likewise.
33486 * include/libintl.h: Likewise.
33487 * include/mntent.h: Likewise.
33488 * include/netdb.h: Likewise.
33489 * include/pwd.h: Likewise.
33490 * include/rpc/netdb.h: Likewise.
33491 * include/sched.h: Likewise.
33492 * include/search.h: Likewise.
33493 * include/shadow.h: Likewise.
33494 * include/signal.h: Likewise.
33495 * include/stdio.h: Likewise.
33496 * include/stdlib.h: Likewise.
33497 * include/string.h: Likewise.
33498 * include/sys/socket.h: Likewise.
33499 * include/sys/stat.h: Likewise.
33500 * include/sys/statfs.h: Likewise.
33501 * include/sys/statvfs.h: Likewise.
33502 * include/sys/syslog.h: Likewise.
33503 * include/sys/time.h: Likewise.
33504 * include/sys/uio.h: Likewise.
33505 * include/time.h: Likewise.
33506 * include/unistd.h: Likewise.
33507 * include/utmp.h: Likewise.
33508 * include/wchar.h: Likewise.
33509 * include/wctype.h: Likewise.
33510 * inet/aliases.h: Likewise.
33511 * inet/arpa/inet.h: Likewise.
33512 * inet/netinet/ether.h: Likewise.
33513 * inet/netinet/in.h: Likewise.
33514 * intl/libintl.h: Likewise.
33515 * io/bits/fcntl2.h: Likewise.
33516 * io/fcntl.h: Likewise.
33517 * io/ftw.h: Likewise.
33518 * io/sys/poll.h: Likewise.
33519 * io/sys/stat.h: Likewise.
33520 * io/sys/statfs.h: Likewise.
33521 * io/sys/statvfs.h: Likewise.
33522 * io/utime.h: Likewise.
33523 * libio/bits/stdio.h: Likewise.
33524 * libio/bits/stdio2.h: Likewise.
33525 * libio/libio.h: Likewise.
33526 * libio/libioP.h: Likewise.
33527 * libio/stdio.h: Likewise.
33528 * locale/lc-ctype.c: Likewise.
33529 * locale/locale.h: Likewise.
33530 * login/utmp.h: Likewise.
33531 * malloc/arena.c: Likewise.
33532 * malloc/malloc.c: Likewise.
33533 * malloc/malloc.h: Likewise.
33534 * malloc/mcheck.c: Likewise.
33535 * malloc/mtrace.c: Likewise.
33536 * math/bits/mathcalls.h: Likewise.
33537 * math/fenv.h: Likewise.
33538 * math/math_private.h: Likewise.
33539 * misc/bits/error.h: Likewise.
33540 * misc/bits/syslog.h: Likewise.
33541 * misc/err.h: Likewise.
33542 * misc/error.h: Likewise.
33543 * misc/fstab.h: Likewise.
33544 * misc/mntent.h: Likewise.
33545 * misc/regexp.h: Likewise.
33546 * misc/search.h: Likewise.
33547 * misc/sgtty.h: Likewise.
33548 * misc/sys/mman.h: Likewise.
33549 * misc/sys/syslog.h: Likewise.
33550 * misc/sys/uio.h: Likewise.
33551 * misc/sys/xattr.h: Likewise.
33552 * misc/ttyent.h: Likewise.
33553 * nis/rpcsvc/ypclnt.h: Likewise.
33554 * nss/nss.h: Likewise.
33555 * posix/bits/unistd.h: Likewise.
33556 * posix/fnmatch.h: Likewise.
33557 * posix/glob.h: Likewise.
33558 * posix/sched.h: Likewise.
33559 * posix/spawn.h: Likewise.
33560 * posix/sys/wait.h: Likewise.
33561 * posix/unistd.h: Likewise.
33562 * posix/wordexp.h: Likewise.
33563 * pwd/pwd.h: Likewise.
33564 * resolv/netdb.h: Likewise.
33565 * resource/sys/resource.h: Likewise.
33566 * rt/aio.h: Likewise.
33567 * rt/bits/mqueue2.h: Likewise.
33568 * rt/mqueue.h: Likewise.
33569 * shadow/shadow.h: Likewise.
33570 * signal/signal.h: Likewise.
33571 * socket/send.c: Likewise.
33572 * socket/sendto.c: Likewise.
33573 * socket/sys/socket.h: Likewise.
33574 * stdio-common/printf.h: Likewise.
33575 * stdlib/bits/stdlib.h: Likewise.
33576 * stdlib/fmtmsg.h: Likewise.
33577 * stdlib/monetary.h: Likewise.
33578 * stdlib/stdlib.h: Likewise.
33579 * stdlib/ucontext.h: Likewise.
33580 * streams/stropts.h: Likewise.
33581 * string/argz.h: Likewise.
33582 * string/bits/string2.h: Likewise.
33583 * string/string.h: Likewise.
33584 * string/strings.h: Likewise.
33585 * sunrpc/rpc/auth.h: Likewise.
33586 * sunrpc/rpc/auth_des.h: Likewise.
33587 * sunrpc/rpc/clnt.h: Likewise.
33588 * sunrpc/rpc/netdb.h: Likewise.
33589 * sunrpc/rpc/pmap_clnt.h: Likewise.
33590 * sunrpc/rpc/xdr.h: Likewise.
33591 * sysdeps/generic/inttypes.h: Likewise.
33592 * sysdeps/generic/net/if.h: Likewise.
33593 * sysdeps/generic/sys/swap.h: Likewise.
33594 * sysdeps/gnu/net/if.h: Likewise.
33595 * sysdeps/gnu/utmpx.h: Likewise.
33596 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33597 * sysdeps/i386/i486/bits/string.h: Likewise.
33598 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33599 * sysdeps/s390/bits/string.h: Likewise.
33600 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33601 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33602 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33603 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33604 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33605 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33606 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33607 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33608 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33609 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33610 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33611 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33612 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33613 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33614 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33615 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33616 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33618 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33621 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33622 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33623 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33624 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33625 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33626 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33627 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33628 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33629 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33630 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33631 * sysvipc/sys/ipc.h: Likewise.
33632 * sysvipc/sys/msg.h: Likewise.
33633 * sysvipc/sys/sem.h: Likewise.
33634 * sysvipc/sys/shm.h: Likewise.
33635 * termios/termios.h: Likewise.
33636 * time/sys/time.h: Likewise.
33637 * time/time.h: Likewise.
33638 * wcsmbs/bits/wchar2.h: Likewise.
33639 * wcsmbs/uchar.h: Likewise.
33640 * wcsmbs/wchar.h: Likewise.
33641 * wctype/wctype.h: Likewise.
33642
33643 [BZ #13551]
33644 * Makeconfig: Remove all but ELF support including AIX support.
33645 * Makerules: Likewise.
33646 * config.h.in: Likewise.
33647 * config.make.in: Likewise.
33648 * configure: Likewise.
33649 * configure.in: Likewise.
33650 * csu/Makefile: Likewise.
33651 * csu/version.c: Likewise.
33652 * debug/Makefile: Likewise.
33653 * dlfcn/Makefile: Likewise.
33654 * elf/Makefile: Likewise.
33655 * extra-lib.mk: Likewise.
33656 * iconv/Makefile: Likewise.
33657 * include/libc-symbols.h: Likewise.
33658 * include/shlib-compat.h: Likewise.
33659 * resolv/Makefile: Likewise.
33660 * resolv/res_libc.c: Likewise.
33661 * rt/Makefile: Likewise.
33662 * sysdeps/i386/asm-syntax.h: Likewise.
33663 * sysdeps/i386/sysdep.h: Likewise.
33664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33665 * sysdeps/mach/sysdep.h: Likewise.
33666 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33667 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33668 * sysdeps/s390/asm-syntax.h: Likewise.
33669 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33671 * sysdeps/sh/sysdep.h: Likewise.
33672 * sysdeps/unix/sparc/sysdep.h: Likewise.
33673 * sysdeps/wordsize-32/divdi3.c: Likewise.
33674 * sysdeps/x86_64/sysdep.h: Likewise.
33675
33676 * argp/Versions: Remove _argp_unlock_xxx.
33677
33678 [BZ #13559]
33679 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33680 * abilist/libBrokenLocale.abilist: Likewise.
33681 * abilist/libanl.abilist: Likewise.
33682 * abilist/libc.abilist: Likewise.
33683 * abilist/libcrypt.abilist: Likewise.
33684 * abilist/libdl.abilist: Likewise.
33685 * abilist/libm.abilist: Likewise.
33686 * abilist/libnsl.abilist: Likewise.
33687 * abilist/libpthread.abilist: Likewise.
33688 * abilist/libresolv.abilist: Likewise.
33689 * abilist/librt.abilist: Likewise.
33690 * abilist/libthread_db.abilist: Likewise.
33691 * abilist/libutil.abilist: Likewise.
33692 * abilist/libnss_db.abilist: New file.
33693
33694 * scripts/abilist.awk: Add support for indirect functions.
33695
33696 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33697
33698 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33699
33700 * shlib-versions: Remove entries for ports architectures.
33701
33702 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33703 files in ports.
33704 * elf/stackguard-macros.h: Remove support for IA-64.
33705 * elf/tst-auditmod1.c: Likewise.
33706 * sysdeps/generic/ldsodefs.h: Likewise.
33707
33708 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33709 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33710 configure files.
33711
33712 [BZ #13552]
33713 * configure.in: Remove --enable-omitfp support.
33714 * FAQ.in: Adjust.
33715 * config.make.in: Likewise.
33716 * Makeconfig: Likewise.
33717 * manual/install.texi: Likewise.
33718
33719 In case anyone cares, the IA-64 architecture could move to ports.
33720 * sysdeps/ia64/*: Removed.
33721 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33722 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33723
33724 [BZ #13555]
33725 * configure.in: Remove entries for unsupported architectures.
33726
33727 [BZ #13533]
33728 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33729 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33730 routines.
33731 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33732 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33733 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33734 fall back to using wcrtomb.
33735 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33736 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33737 renaming.
33738 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33739 * wcsmbs/tst-c16c32-1.c: New file.
33740
33741 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33742 local variable.
33743
33744 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33745
33746 * elf/tst-unique3.cc: Add explicit declaration of gets.
33747 * elf/tst-unique3lib.cc: Likewise.
33748 * elf/tst-unique3lib2.cc: Likewise.
33749 * elf/tst-unique4.cc: Likewise.
33750
33751 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33752
33753 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33754
33755 [BZ #13566]
33756 * assert/assert.h (static_assert): Don't define for C++.
33757 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33758 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33759
33760 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33761
33762 * iconv/loop.c (single loop): Fix assertion in storing of
33763 remaining bytes.
33764
33765 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33766
33767 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33768
33769 * posix/getconf.c: Update copyright year.
33770 * nss/getent.c: Likewise.
33771 * nss/makedb.c: Likewise.
33772 * iconv/iconvconfig.c: Likewise.
33773 * iconv/iconv_prog.c: Likewise.
33774 * elf/ldconfig.c: Likewise.
33775 * elf/pldd.c: Likewise.
33776 * elf/sotruss.ksh: Likewise.
33777 * catgets/gencat.c: Likewise.
33778 * csu/version.c: Likewise.
33779 * elf/ldd.bash.in: Likewise.
33780 * elf/sprof.c (print_version): Likewise.
33781 * locale/programs/locale.c: Likewise.
33782 * locale/programs/localedef.c: Likewise.
33783 * login/programs/pt_chown.c: Likewise.
33784 * nscd/nscd.c (print_version): Likewise.
33785 * debug/xtrace.sh: Likewise.
33786 * malloc/memusage.sh: Likewise.
33787 * malloc/mtrace.pl: Likewise.
33788 * debug/catchsegv.sh: Likewise.
33789
33790 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33791
33792 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33793 pure attribute.
33794
33795 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33796
33797 [BZ #13533]
33798 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33799 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33800 transformations.
33801 * iconv/gconv_int.h: Likewise.
33802 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33803 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33804 from libc for GLIBC_2.16.
33805 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33806 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33807 * wcsmbs/uchar.h: Really define mbstate_t.
33808 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33809 * wcsmbs/c16rtomb.c: New file.
33810 * wcsmbs/mbrtoc16.c: New file.
33811 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33812 for C/POSIX locale.
33813 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33814 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33815
33816 * wcsmbs/wchar.h: Add missing __restrict.
33817
33818 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33819
33820 [BZ #13532]
33821 * time/Makefile (routines): Add timespec_get.
33822 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33823 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33824 timespec for ISO C11.
33825 * time/timespec_get.c: New file.
33826 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33827 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33828
33829 [BZ #13531]
33830 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33831 * stdlib/stdlib.h: Declare aligned_alloc.
33832 * Versions.def: Add GLIBC_2.16 for libc.
33833 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33834
33835 [BZ 13527]
33836 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33837 ISO C11.
33838
33839 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33840 code.
33841
33842 [BZ #13528]
33843 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33844
33845 [BZ #13529]
33846 * assert/assert.h (static_assert): Define.
33847
33848 * version.h: Update for 2.16 development version.
33849
33850 [BZ #13526]
33851 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33852 _ISOC11_SOURCE.
33853
33854 * version.h (RELEASE): Bump for 2.15 release.
33855 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33856
33857 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33858 Patch by Marek Polacek <mpolacek@redhat.com>.
33859
33860 * bits/byteswap.h: Protect long long constants with __extension__.
33861 * sysdeps/i386/bits/byteswap.h: Likewise.
33862 * sysdeps/ia64/bits/byteswap.h: Likewise.
33863 * sysdeps/s390/bits/byteswap.h: Likewise.
33864 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33865
33866 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33867
33868 [BZ #13540]
33869 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33870 destination buffer.
33871 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33872
33873 2011-12-23 Marek Polacek <polacek@redhat.com>
33874
33875 * elf/dl-addr.c (determine_info): Add inline keyword.
33876 * elf/tst-auditmod4b.c (check_avx): Likewise.
33877 * elf/tst-auditmod6b.c (check_avx): Likewise.
33878 * elf/tst-auditmod6c.c (check_avx): Likewise.
33879 * elf/tst-auditmod7b.c (check_avx): Likewise.
33880
33881 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33882
33883 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33884 !__SSE_MATH__.
33885
33886 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33887
33888 [BZ #13540]
33889 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33890 processing for last bytes.
33891
33892 2011-08-06 Bruno Haible <bruno@clisp.org>
33893
33894 [BZ #13061]
33895 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33896 U+0385, not to U+1FEE.
33897
33898 [BZ #13062]
33899 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33900 entry for U+00A5 U+0301.
33901
33902 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33903
33904 [BZ #13166]
33905 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33906 buffer for the output is too small.
33907
33908 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33909 optimization.
33910
33911 [BZ #13185]
33912 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33913 SSE flags if possible.
33914
33915 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33916
33917 [BZ #13540]
33918 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33919 processing for last bytes.
33920
33921 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33922
33923 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33924 (syscall-list-default-options, syscall-list-default-condition)
33925 (syscall-list-includes): Define.
33926 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33927 list of ABIs and options and #if conditions for each ABI. Do not
33928 handle common syscalls between ABIs specially.
33929 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33930 Remove.
33931 (syscall-list-variants, syscall-list-32bit-options)
33932 (syscall-list-32bit-condition, syscall-list-64bit-options)
33933 (syscall-list-64bit-condition): Define.
33934 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33935 (syscall-list-variants, syscall-list-32bit-options)
33936 (syscall-list-32bit-condition, syscall-list-64bit-options)
33937 (syscall-list-64bit-condition): Define.
33938 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33939 Remove.
33940 (syscall-list-variants, syscall-list-32bit-options)
33941 (syscall-list-32bit-condition, syscall-list-64bit-options)
33942 (syscall-list-64bit-condition): Define.
33943 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33944 Remove.
33945 (syscall-list-variants, syscall-list-32bit-options)
33946 (syscall-list-32bit-condition, syscall-list-64bit-options)
33947 (syscall-list-64bit-condition): Define.
33948
33949 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33950
33951 * locale/iso-639.def: Add brx entry.
33952
33953 [BZ #13328]
33954 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33955 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33956
33957 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33958 __feraiseexcept_renamed.
33959
33960 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33961
33962 [BZ #13538]
33963 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33964 EPOLLET with unsigned values.
33965 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33967
33968 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33969 to large cancellation.
33970 * math/s_cacoshf.c: Likewise.
33971 * math/s_cacoshl.c: Likewise.
33972
33973 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33974
33975 [BZ #13305]
33976 [BZ #12786]
33977 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33978 * math/s_cacoshf.c: Likewise.
33979 * math/s_cacoshl.c: Likewise.
33980
33981 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33982
33983 [BZ #13439]
33984 * iconv/gconv.h: Define __GCONV_SWAP.
33985 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33986 * iconvdata/utf-16.c: Likewise.
33987 * iconvdata/utf-32.c: Likewise.
33988
33989 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33990
33991 [BZ #13524]
33992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33993 numerator after shifting it by one limb.
33994
33995 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33996
33997 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33998 under [__USE_EXTERN_INLINES].
33999
34000 2011-12-17 Ulrich Drepper <drepper@gmail.com>
34001
34002 [BZ #13446]
34003 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34004
34005 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34006
34007 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34008 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34009 optimized code.
34010 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34011 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34012 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34013 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34014 for strncasecmp/strncasecmp_l compilation.
34015 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34016 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34017
34018 2011-12-08 Marek Polacek <mpolacek@redhat.com>
34019
34020 [BZ #13484]
34021 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34022 of __asm__.
34023
34024 2011-12-17 Ulrich Drepper <drepper@gmail.com>
34025
34026 [BZ #13506]
34027 * time/tzfile.c (__tzfile_read): Check values from file header.
34028
34029 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34030
34031 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34032 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34033 * powerpc/powerpc32/dl-start.S: Likewise.
34034 * powerpc/powerpc32/elf/start.S: Likewise.
34035 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34036 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34037 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34038 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34039 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34040 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34041 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34042 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34043 * powerpc/powerpc32/fpu/s_round.S: Likewise.
34044 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34045 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34046 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34047 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34048 * powerpc/powerpc32/memset.S: Likewise.
34049 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34050 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34051 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34052 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34053 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34054 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34055 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34056 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34057 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34058 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34059 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34060 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34061 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34062
34063 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34064
34065 * math/libm-test.inc: Added more nearbyint tests.
34066 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34068 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34070
34071 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34072
34073 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34074 FD_CLOEXEC.
34075
34076 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34077
34078 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34079 Add wcscpy-ssse3 wcscpy-c.
34080 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34081 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34082 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34083 * sysdeps/x86_64/wcschr.S: New file.
34084 * sysdeps/x86_64/wcsrchr.S: New file.
34085 * string/test-strcmp.c: Remove checking of wcscmp function for
34086 wrong alignments.
34087 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34088 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34089 wcsrchr-sse2 wcsrchr-c.
34090 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34091 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34092 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34093 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34094 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34095 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34096 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34097 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34098 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34099 * wcsmbc/wcschr.c (WCSCHR): New macro.
34100
34101 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34102
34103 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34104 * wcsmbs/test-wcsrchr.c: New file.
34105 * string/test-strrchr.c: Add wcsrchr support.
34106 (WIDE): New macro.
34107 * wcsmbs/test-wcscpy.c: New file.
34108 * string/test-strcpy.c: Add wcscpy support.
34109 (WIDE): New macro.
34110
34111 2011-12-10 Ulrich Drepper <drepper@gmail.com>
34112
34113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34114 the inner loop.
34115
34116 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34117
34118 [BZ #13472]
34119 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34120
34121 2011-12-04 Ulrich Drepper <drepper@gmail.com>
34122
34123 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34124 Minor optimizations.
34125
34126 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34127 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34128 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34129
34130 2011-12-03 Ulrich Drepper <drepper@gmail.com>
34131
34132 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34133 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34134 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34135 for gcc to avoid warnings.
34136 * inet/Makefile (tests): Add tst-checks.
34137 * inet/tst-checks.c: New file.
34138
34139 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34140 warning.
34141
34142 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34143 __wmemcmp_sse2.
34144
34145 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34146 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34147
34148 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34149
34150 2011-12-02 Ulrich Drepper <drepper@gmail.com>
34151
34152 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34153 problem.
34154
34155 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34156
34157 2011-11-29 Joseph Myers <joseph@codesourcery.com>
34158
34159 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34160 conditional on GCC version.
34161 (__arch_compare_and_exchange_val_8_acq)
34162 (__arch_compare_and_exchange_val_16_acq)
34163 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34164 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34165 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34166
34167 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34168
34169 * sysdeps/sh/backtrace.c: New file.
34170
34171 2011-12-02 Andreas Schwab <schwab@redhat.com>
34172
34173 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34174 parenthesis.
34175
34176 2011-12-01 Andreas Schwab <schwab@redhat.com>
34177
34178 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34179 falling back to utime.
34180
34181 2011-11-30 Andreas Schwab <schwab@redhat.com>
34182
34183 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34184 expectations for float.
34185
34186 2011-11-29 Andreas Schwab <schwab@redhat.com>
34187
34188 * locale/weight.h (findidx): Add parameter len.
34189 * locale/weightwc.h (findidx): Likewise.
34190 * posix/fnmatch_loop.c (FCT): Adjust caller.
34191 * posix/regcomp.c (build_equiv_class): Likewise.
34192 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34193 * posix/regexec.c (check_node_accept_bytes): Likewise.
34194 * string/strcoll_l.c (STRCOLL): Likewise.
34195 * string/strxfrm_l.c (STRXFRM): Likewise.
34196
34197 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34198
34199 * Makefile.in: Remove CVSOPT handling.
34200 * configure.in: Remove use of AC_REVISION.
34201 * iconvdata/Makefile (distribute): No need to filter out CVS.
34202 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34203 handling.
34204
34205 2011-11-16 Andreas Schwab <schwab@redhat.com>
34206
34207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34208 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34209 [USE_AS_STRNCASECMP_L]: Likewise.
34210 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34211 NO_TLS_DIRECT_SEG_REFS.
34212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34213 Fix argument offsets for non-PIC.
34214 [USE_AS_STRNCASECMP_L]: Likewise.
34215 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34216 NO_TLS_DIRECT_SEG_REFS.
34217
34218 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34219
34220 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34221 O_CLOEXEC.
34222 * locale/loadlocale.c (_nl_load_locale): Likewise.
34223
34224 2011-11-15 Andreas Schwab <schwab@redhat.com>
34225
34226 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34227 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34229 (SYSCALL_GETTIME): Set errno on error.
34230
34231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34232 count references to noai6ai_cached.
34233
34234 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34235
34236 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34237
34238 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34239 FD_CLOEXEC for /proc/self/maps.
34240
34241 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34242 FD_CLOEXEC for /proc/meminfo.
34243
34244 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34245 gai.conf.
34246
34247 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34248 FD_CLOEXEC for given file.
34249
34250 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34251
34252 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34253 FD_CLOEXEC for /etc/hosts.
34254 (_gethtent): Likewise.
34255
34256 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34257
34258 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34259 cancellation and set FD_CLOEXEC for /etc/netgroup.
34260
34261 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34262 reading /etc/publickey.
34263
34264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34265 allow cancellation when reading /etc/group.
34266
34267 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34268 cancellation.
34269 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34270
34271 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34272 when using data file.
34273
34274 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34275
34276 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34277 (write_nis_obj): Use "c" and "e" in fopen.
34278
34279 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34280
34281 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34282
34283 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34284
34285 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34286
34287 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34288 locale.alias.
34289
34290 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34291
34292 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34293
34294 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34295
34296 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34297 file parsing and set FD_CLOEXEC.
34298
34299 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34300
34301 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34302
34303 2011-11-14 Andreas Schwab <schwab@redhat.com>
34304
34305 * malloc/arena.c (arena_get2): Don't call reused_arena when
34306 _int_new_arena failed.
34307
34308 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34309
34310 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34311 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34312 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34314 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34316 to compile strcasecmp and strncasecmp.
34317 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34318 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34319
34320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34321
34322 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34323
34324 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34325 locale-defines.sym to gen-as-const-headers.
34326 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34327 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34329 to compile strcasecmp and strncasecmp.
34330 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34331 strcasecmp_l and strncasecmp_l.
34332 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34333 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34334 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34335 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34336 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34337 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34338 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34339 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34340 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34341 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34342 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34343
34344 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34345
34346 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34347 result of SYSDEP_GETTIME_CPU to retval.
34348 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34349 parameter list to macro. Remove trailing semicolon. Adjust users.
34350
34351 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34352 variable.
34353
34354 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34355 mantissa words.
34356 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34357
34358 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34359 from unused variable.
34360
34361 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34362 DWARF definitions.
34363 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34364 for assembling.
34365
34366 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34367 over namespaces.
34368
34369 * sunrpc/rpc_prot.c (rejected): Fix case value.
34370
34371 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34372 unsigned long long int to avoid warnings in shift.
34373
34374 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34375 of use of trans.
34376 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34377 variable tmp.
34378
34379 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34380 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34381 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34382
34383 * nis/nis_table.c (nis_list): Use variable of correct type for
34384 result of __follow_path call.
34385
34386 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34387
34388 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34389 of math functions ceil, trunc, floor, round, and sqrt, when
34390 avaliable on the platform.
34391 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34392 name clash.
34393 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34394 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34395 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34396
34397 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34398
34399 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34400 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34401
34402 2011-11-11 Roland McGrath <roland@hack.frob.com>
34403
34404 * include/unistd.h: Fix __readlink return type.
34405 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34406
34407 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34408
34409 * stdlib/ucontext.h: Undo last change for makecontext.
34410
34411 2011-11-11 Andreas Schwab <schwab@redhat.com>
34412
34413 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34414
34415 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34416 * setjmp/setjmp.h: Mark functions as non-leaf.
34417 * setjmp/bits/setjmp2.h: Likewise.
34418 * stdlib/ucontext.h: Likewise.
34419
34420 2011-11-10 Andreas Schwab <schwab@redhat.com>
34421
34422 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34423 (reused_arena): Don't check arena limit.
34424 (arena_get2): Atomically check arena limit.
34425
34426 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34427
34428 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34429 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34430
34431 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34432 instructions.
34433
34434 2011-11-07 Andreas Schwab <schwab@redhat.com>
34435
34436 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34437 handler when locking.
34438
34439 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34440 Fix size of allocated buffer.
34441
34442 2011-11-04 Andreas Schwab <schwab@redhat.com>
34443
34444 [BZ #10103]
34445 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34446 declarations for long double functions.
34447 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34448
34449 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34450
34451 2011-11-03 Andreas Schwab <schwab@redhat.com>
34452
34453 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34454 installed.
34455
34456 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34457 is disabled.
34458
34459 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34460
34461 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34462
34463 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34464
34465 * include/alloca.h (stackinfo_alloca_round): Define.
34466 (extend_alloca): Use it.
34467 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34468 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34469 here.
34470
34471 * scripts/check-local-headers.sh: Ignore libaudit.h.
34472
34473 * nscd/Makefile (extra-objs): Make recursively expanded.
34474
34475 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34476
34477 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34479
34480 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34481 * posix/tst-rfc3484-2.c: Likewise.
34482 * posix/tst-rfc3484-3.c: Likewise.
34483
34484 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34485 process_vm_writev.
34486 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34487 process_vm_writev.
34488 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34489 process_vm_writev from libc using GLIBC_2.15 version.
34490
34491 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34492
34493 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34494
34495 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34496 stack usage.
34497
34498 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34499
34500 [BZ #13367]
34501 * nss/getent.c (initgroups_keys): Show error message in case no group
34502 names are given.
34503
34504 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34505 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34506 __bump_nl_timestamp.
34507 * nscd/connections (nscd_init): When host database is served open
34508 netlink socket and request notification about configuration changes.
34509 (main_loop_poll): Track netlink file descriptor and bump timestamp
34510 in case data becomes available.
34511 (main_loop_epoll): Likewise.
34512 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34513 (database_pers_head): Add extra_data fileds.
34514 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34515 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34516 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34517 Adjust caller.
34518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34519 in6ai data, call __free_in6ai.
34520 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34521 Add -DHAVE_NETLINK.
34522 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34523 interface information. Reuse previous data if netlink timestamp
34524 is not changed.
34525 (__bump_nl_timestamp): New function.
34526 (__free_in6ai): New function.
34527
34528 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34529
34530 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34531 close_not_cancel_no_status here.
34532 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34533
34534 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34535
34536 [BZ #13276]
34537 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34538 return value.
34539
34540 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34541 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34542 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34543
34544 2011-07-03 Andreas Jaeger <aj@suse.de>
34545
34546 [BZ #10709]
34547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34548 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34549 * math/libm-test.inc (sin_test): Add test case.
34550
34551 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34552
34553 [BZ #13337]
34554 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34556
34557 * elf/chroot_canon.c (chroot_canon): Cleanups.
34558
34559 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34560
34561 [BZ #13335]
34562 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34563 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34564
34565 * string/test-strchr.c: Make usable for strchrnul testing.
34566 * string/test-strchrnul.c: New file.
34567 * string/Makefile (strop-tests): Add strchrnul.
34568
34569 * po/it.po: Update from translation team.
34570 * po/es.po: Likewise.
34571
34572 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34573
34574 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34575 the three constants needed as parameters. Drop the others.
34576 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34577 __m128i_strloadu_tolower.
34578 Create and initialize variable zero and use it in all the places
34579 where _mm_setzero_si128 was used.
34580
34581 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34582 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34583 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34584 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34585 anymore.
34586 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34587 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34588 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34589 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34590 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34591 __mpranred, __mptan.
34592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34596 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34597 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34599 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34600 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34601
34602 2011-10-28 Andreas Schwab <schwab@redhat.com>
34603
34604 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34605 redefine if SHARED.
34606 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34607
34608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34609 wide char related routines to wcsmbs subdir.
34610
34611 2011-10-27 Andreas Schwab <schwab@redhat.com>
34612
34613 [BZ #13344]
34614 * misc/sys/cdefs.h (__THROWNL): Define.
34615 * posix/unistd.h: Use __THREADNL instead of __THREAD
34616 for memory synchronization functions.
34617
34618 2011-10-26 Roland McGrath <roland@hack.frob.com>
34619
34620 [BZ #13349]
34621 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34622 doesn't exist.
34623 * manual/stdio.texi (Obstack Streams): Node removed.
34624
34625 2011-10-26 Andreas Schwab <schwab@redhat.com>
34626
34627 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34628 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34629 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34630
34631 * math/math_private.h (math_force_eval): Allow non-addressable
34632 arguments.
34633 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34634
34635 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34636
34637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34638 file is not needed.
34639
34640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34647 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34648 Add AVX variants.
34649 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34650 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34651 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34652 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34653 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34654 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34655 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34656 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34657 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34658 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34659 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34660 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34663 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34664 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34665 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34666 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34667 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34668
34669 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34670 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34671
34672 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34673 place. Use VEX encoding when compiling for AVX.
34674
34675 2011-10-25 Andreas Schwab <schwab@redhat.com>
34676
34677 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34678 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34679
34680 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34681
34682 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34683
34684 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34685 useless if() expression.
34686 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34687 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34688 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34690 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34696 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34697 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34698 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34699 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34700 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34702 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34704 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34705
34706 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34707
34708 2011-10-25 Andreas Schwab <schwab@redhat.com>
34709
34710 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34711 condition.
34712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34713
34714 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34715
34716 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34717 .text section. Avoid duplicate constants.
34718 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34720 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34726 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34727 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34728 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34729 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34730 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34731 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34732 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34733 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34734 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34735 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34736 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34738 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34739 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34740 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34741 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34742 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34743 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34744 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34746 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34747 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34748 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34749 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34750 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34751 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34752 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34753 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34754 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34756 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34757 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34759 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34760 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34761 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34762 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34763
34764 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34765
34766 * sysdeps/x86_64/dla.h: Move to ...
34767 * sysdeps/x86_64/fpu/dla.h: ...here.
34768 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34769 situations. Use __builtin_fma only for gcc 4.6 and up.
34770
34771 * config.make.in: Add have-mfma4 entry.
34772 * configure.in: Substitute libc_cv_cc_fma4.
34773 * math/Makefile (dbl-only-routines): Add sincostab.
34774 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34775 Use __sincostab not sincos.
34776 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34777 name is a macro.
34778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34782 using __copysign.
34783 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34784 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34785 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34786 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34787 and __inv.
34788 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34789 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34790 __copysign.
34791 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34792 define aliases when function name is a macro.
34793 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34794 sysdeps/ieee754/dbl-64/sincos.tbl.
34795 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34796 fma4-enabled routines.
34797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34802 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34804 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34805 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34806 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34807 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34808 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34809 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34810 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34811 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34812 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34813 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34814 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34815 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34816 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34817 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34818 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34820 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34823 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34824 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34825 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34826 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34827
34828 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34829 rename.
34830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34838
34839 2011-10-24 Andreas Schwab <schwab@redhat.com>
34840
34841 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34842
34843 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34844
34845 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34846
34847 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34848 prediction.
34849 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34850
34851 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34852 Remove unused variable magic_bits.
34853 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34854
34855 * string/strnlen.c: Define and use STRNLEN macro.
34856 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34857 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34858 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34859 * wcsmbs/wcslen.c: Define and use WCSLEN.
34860 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34861 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34862 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34863 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34864 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34865 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34866 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34867
34868 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34869
34870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34871 strnlen-sse2-no-bsf.
34872 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34874 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34875 Add strnlen support.
34876 (USE_AS_STRNLEN): New macro.
34877 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34878 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34879 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34880 * sysdeps/x86_64/wcslen.S: New file.
34881
34882 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34883
34884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34885 XMM-moves are used for copying on small sizes.
34886
34887 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34888
34889 * wcsmbs/Makefile (strop-tests): Add wcschr.
34890 * wcsmbs/test-wcschr.c: New file.
34891 * string/test-strchr.c: Update.
34892 Add wcschr support.
34893 (WIDE): New macro.
34894
34895 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34896
34897 * wcsmbs/Makefile (strop-tests): Add wcslen.
34898 * wcsmbs/test-wcslen.c: New file.
34899 * string/test-strlen.c: Update.
34900 Add wcslen support.
34901 (WIDE): New macro.
34902
34903 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34904
34905 * po/it.po: Update from translation team.
34906
34907 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34908
34909 * sysdeps/x86_64/wcscmp.S: Update.
34910 Fix wrong comparison semantics.
34911 wcscmp shall use signed comparison not unsigned.
34912 Don't use substraction to avoid overflow bug.
34913 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34914 * wcsmbc/wcscmp.c: Likewise.
34915 * string/test-strcmp.c: Likewise.
34916 Add new tests to check cases with negative values.
34917
34918 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34919
34920 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34921 * sysdeps/x86_64/dla.h: ...here. New file.
34922 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34931
34932 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34933
34934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34935 __ynl_finite aliases.
34936
34937 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34938
34939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34940
34941 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34942 define DLA_FMA.
34943 [DLA_FMA] (EMULV): Use DLA_FMA.
34944 [DLA_FMA] (MUL12): Use EMULV.
34945 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34946 that are not needed.
34947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34954
34955 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34956
34957 * math/s_nan.c: Undef __nan.
34958 * math/s_nanf.c: Undef __nanf.
34959 * math/s_nanl.c: Undef __nanl.
34960 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34961 "math_private.h".
34962
34963 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34964
34965 * math/s_catan.c: Add branch predictions.
34966 * math/s_catanf.c: Likewise.
34967 * math/s_catanh.c: Likewise.
34968 * math/s_catanhf.c: Likewise.
34969 * math/s_catanhl.c: Likewise.
34970 * math/s_catanl.c: Likewise.
34971 * math/s_cexp.c: Likewise.
34972 * math/s_cexpf.c: Likewise.
34973 * math/s_cexpl.c: Likewise.
34974 * math/s_clog.c: Likewise.
34975 * math/s_clog10.c: Likewise.
34976 * math/s_clog10f.c: Likewise.
34977 * math/s_clog10l.c: Likewise.
34978 * math/s_clogf.c: Likewise.
34979 * math/s_clogl.c: Likewise.
34980 * math/s_csqrt.c: Likewise.
34981 * math/s_csqrtf.c: Likewise.
34982 * math/s_csqrtl.c: Likewise.
34983 * math/s_ctanf.c: Likewise.
34984 * math/s_ctanh.c: Likewise.
34985 * math/s_ctanhf.c: Likewise.
34986 * math/s_ctanhl.c: Likewise.
34987 * math/s_ctanl.c: Likewise.
34988
34989 * math/math_private.h: Define __nan, __nanf, __nanl.
34990 * math/s_cacosh.c: Include <math_private.h>.
34991 * math/s_cacoshl.c: Likewise.
34992 * math/s_casinh.c: Likewise.
34993 * math/s_casinhf.c: Likewise.
34994 * math/s_casinhl.c: Likewise.
34995 * math/s_ccos.c: Rely entire on ccosh.
34996 * math/s_ccosf.c: Rely entire on ccoshf.
34997 * math/s_ccosl.c: Rely entirely on ccoshl.
34998 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34999 Remove tests for FE_INVALID.
35000 * math/s_ccoshf.c: Likewise.
35001 * math/s_ccoshl.c: Likewise.
35002 * math/s_csin.c: Likewise.
35003 * math/s_csinf.c: Likewise.
35004 * math/s_csinh.c Likewise.
35005 * math/s_csinhf.c: Likewise.
35006 * math/s_csinhl.c: Likewise.
35007 * math/s_csinl.c: Likewise.
35008 * math/s_ctan.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35010 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35011 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35012
35013 2011-10-21 Ulrich Drepper <drepper@gmail.com>
35014
35015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35016 compilation problems.
35017
35018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35019 __builtin_expect.
35020
35021 2011-10-20 Ulrich Drepper <drepper@gmail.com>
35022
35023 * sysdeps/i386/configure.in: Test for -mfma4 option.
35024 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35025 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35026 COMMON_CPUID_INDEX_80000001.
35027 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35028 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35029 use it if FMA3 is not supported.
35030 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35031
35032 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35033 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35034
35035 2011-10-20 Andreas Schwab <schwab@redhat.com>
35036
35037 [BZ #12892]
35038 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35039 it would create a cycle with a link time dependency.
35040
35041 2011-10-19 Ulrich Drepper <drepper@gmail.com>
35042
35043 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35044 instruction.
35045 * string/Makefile (strop-tests): Add rawmemchr.
35046 * string/test-rawmemchr.c: New file.
35047
35048 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35049 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
35050 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
35051 when compiling str{,n}casecmp and when AVX is available. Hook up
35052 new optimized code in initializers.
35053
35054 2011-10-19 Andreas Schwab <schwab@redhat.com>
35055
35056 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35057 __feraiseexcept instead of feraiseexcept.
35058
35059 2011-10-18 Ulrich Drepper <drepper@gmail.com>
35060
35061 * math/math_private.h: Define defaults for libc_fetestexcept and
35062 libc_feupdateenv.
35063 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35064 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35065 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35066 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35067 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35068 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35069 libc_fetestexcept and libc_feupdateenv.
35070
35071 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35072 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35073 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35074 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35075 libc_feholdexcept_setround.
35076
35077 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35078 Add s_nearbyint-c and s_nearbyintf-c.
35079 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35080 nearbyintf inlines.
35081 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35082 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35083 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35084 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35085
35086 * math/math_private.h: Define defaults for libc_fegetround,
35087 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35088 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35089 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35090 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35091 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35092 standard functions.
35093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35094 Remove comments and hacks for old compiler versions.
35095 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35096 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35097 libc_feholdexceptl.
35098
35099 2011-10-18 Andreas Schwab <schwab@redhat.com>
35100
35101 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35102 (__feraiseexcept_renamed): Add __NTH.
35103 (feraiseexcept): Add __NTH. Rename local variables to fix
35104 namespace violations.
35105
35106 2011-10-17 Ulrich Drepper <drepper@gmail.com>
35107
35108 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35109
35110 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35111
35112 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35113 recently added interfaces.
35114 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35115
35116 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35117 about macro parameter expansion.
35118
35119 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35120 __NO_MATH_INLINES is defined. Cleanups.
35121
35122 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35123 and __floorf is target has SSE4.1.
35124 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35125 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35126 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35127 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35128
35129 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35130 name.
35131 (floorf): Likewise.
35132
35133 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35134
35135 2011-10-17 Andreas Schwab <schwab@redhat.com>
35136
35137 * misc/sys/cdefs.h: Fix last change.
35138
35139 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35140 database lookup.
35141
35142 2011-10-16 Ulrich Drepper <drepper@gmail.com>
35143
35144 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35145
35146 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35148 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35149 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35151 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35152 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35154 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35155 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35156 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35157 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35158 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35159 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35160 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35161 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35162 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35163 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35165 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35166 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35167 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35168
35169 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35170 ceil, ceilf, floor, floorf.
35171
35172 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35173 Perform IRELATIVE relocations last.
35174
35175 * elf/do-rel.h: Add another parameter nrelative, replacing the
35176 local variable with the same name. Change name of the function
35177 to end in Rel or Rela (uppercase).
35178 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35179 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35180 elf_dynamic_do_##reloc function.
35181
35182 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35183
35184 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35185 is sufficient, at least on modern CPUs.
35186
35187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35188
35189 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35190 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35191
35192 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35193 __expl_finite.
35194 * math/bits/math-finite.h: Add entries for exp.
35195 * math/e_expl.c: Add __*_finite alias.
35196 * sysdeps/i386/fpu/e_exp.S: Likewise.
35197 * sysdeps/i386/fpu/e_expf.S: Likewise.
35198 * sysdeps/i386/fpu/e_expl.c: Likewise.
35199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35200 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35203 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35204 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35205 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35206
35207 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35208 is sufficient, at least on modern CPUs.
35209
35210 * ctype/ctype-info.c (__ctype_init): Define.
35211 * include/ctype.h (__ctype_init): Declare.
35212 (__ctype_b_loc): The variable is always initialized.
35213 (__ctype_toupper_loc): Likewise.
35214 (__ctype_tolower_loc): Likewise.
35215 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35216 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35217
35218 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35219
35220 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35221
35222 * configure.in: Also look in $cxxmachine/include for C++ system
35223 headers.
35224
35225 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35226
35227 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35228 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35229 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35230 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35232 (USE_AS_WMEMCMP): New macro.
35233 Fixing indents.
35234 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35235 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35236 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35237 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35239 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35240 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35241 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35242 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35243 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35244 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35245 (USE_AS_WMEMCMP): New macro.
35246 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35247 * sysdeps/string/test-memcmp.c: Update.
35248 Fix simple_wmemcmp.
35249 Add new tests.
35250 * wcsmbs/wmemcmp.c: Update.
35251 (WMEMCMP): New macro.
35252 Fix overflow bug.
35253
35254 2011-10-12 Andreas Jaeger <aj@suse.de>
35255
35256 [BZ #13268]
35257 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35258
35259 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35260
35261 * libio/iofwide.c (do_length): Avoid warning.
35262
35263 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35264
35265 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35266
35267 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35268
35269 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35270 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35271 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35272 * sysdeps/i386/i686/fpu/e_log.S: New file.
35273 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35274 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35275
35276 * ctype/ctype.h: Add support for inlined isXXX functions when
35277 compiling C++ code.
35278
35279 2011-10-14 Andreas Schwab <schwab@redhat.com>
35280
35281 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35282
35283 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35284
35285 2011-10-13 Roland McGrath <roland@hack.frob.com>
35286
35287 [BZ #13291]
35288 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35289
35290 2011-10-13 Andreas Schwab <schwab@redhat.com>
35291
35292 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35293 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35294 feraiseexcept.
35295
35296 * sysdeps/x86_64/memrchr.S: Check for zero size.
35297
35298 * string/stratcliff.c: Add memrchr tests.
35299
35300 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35301
35302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35303 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35304 rawmemchr-sse2 rawmemchr-sse2-bsf.
35305 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35306 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35307 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35308 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35309 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35310 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35311 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35312 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35313 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35314 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35315 * string/memrchr.c (MEMRCHR): New macro.
35316
35317 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35318
35319 Add integration with gcc's -ffinite-math-only and optimize wrapper
35320 functions in libm.
35321 * Versions.def: Define GLIBC_2.15 version for libm.
35322 * math/Makefile (headers): Add bits/math-finite.h.
35323 * math/bits/math-finite.h: New file.
35324 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35325 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35326 * math/e_acoshl.c: Add __*_finite alias.
35327 * math/e_acosl.c: Likewise.
35328 * math/e_asinl.c: Likewise.
35329 * math/e_atan2l.c: Likewise.
35330 * math/e_atanhl.c: Likewise.
35331 * math/e_coshl.c: Likewise.
35332 * math/e_exp10.c: Likewise.
35333 * math/e_exp10f.c: Likewise.
35334 * math/e_exp10l.c: Likewise.
35335 * math/e_exp2l.c: Likewise.
35336 * math/e_fmodl.c: Likewise.
35337 * math/e_gammal_r.c: Likewise.
35338 * math/e_hypotl.c: Likewise.
35339 * math/e_j0l.c: Likewise.
35340 * math/e_j1l.c: Likewise.
35341 * math/e_jnl.c: Likewise.
35342 * math/e_lgammal_r.c: Likewise.
35343 * math/e_log10l.c: Likewise.
35344 * math/e_log2l.c: Likewise.
35345 * math/e_logl.c: Likewise.
35346 * math/e_powl.c: Likewise.
35347 * math/e_sinhl.c: Likewise.
35348 * math/e_sqrtl.c: Likewise.
35349 * math/e_scalb.c: Completely rewritten and optimized.
35350 * math/e_scalbf.c: Likewise.
35351 * math/e_scalbl.c: Likewise.
35352 * math/w_acos.c: Likewise.
35353 * math/w_acosf.c: Likewise.
35354 * math/w_acosl.c: Likewise.
35355 * math/w_acosh.c: Likewise.
35356 * math/w_acoshf.c: Likewise.
35357 * math/w_acoshl.c: Likewise.
35358 * math/w_asin.c: Likewise.
35359 * math/w_asinf.c: Likewise.
35360 * math/w_asinl.c: Likewise.
35361 * math/w_atan2.c: Likewise.
35362 * math/w_atan2f.c: Likewise.
35363 * math/w_atan2l.c: Likewise.
35364 * math/w_atanh.c: Likewise.
35365 * math/w_atanhf.c: Likewise.
35366 * math/w_atanhl.c: Likewise.
35367 * math/w_exp10.c: Likewise.
35368 * math/w_exp10f.c: Likewise.
35369 * math/w_exp10l.c: Likewise.
35370 * math/w_fmod.c: Likewise.
35371 * math/w_fmodf.c: Likewise.
35372 * math/w_fmodl.c: Likewise.
35373 * math/w_j0.c: Likewise.
35374 * math/w_j0f.c: Likewise.
35375 * math/w_j0l.c: Likewise.
35376 * math/w_j1.c: Likewise.
35377 * math/w_j1f.c: Likewise.
35378 * math/w_j1l.c: Likewise.
35379 * math/w_jn.c: Likewise.
35380 * math/w_jnf.c: Likewise.
35381 * math/w_log.c: Likewise.
35382 * math/w_logf.c: Likewise.
35383 * math/w_logl.c: Likewise.
35384 * math/w_log10.c: Likewise.
35385 * math/w_log10f.c: Likewise.
35386 * math/w_log10l.c: Likewise.
35387 * math/w_log2.c: Likewise.
35388 * math/w_log2f.c: Likewise.
35389 * math/w_log2l.c: Likewise.
35390 * math/w_pow.c: Likewise.
35391 * math/w_powf.c: Likewise.
35392 * math/w_powl.c: Likewise.
35393 * math/w_remainder.c: Likewise.
35394 * math/w_remainderf.c: Likewise.
35395 * math/w_remainderl.c: Likewise.
35396 * math/w_scalb.c: Likewise.
35397 * math/w_scalbf.c: Likewise.
35398 * math/w_scalbl.c: Likewise.
35399 * math/w_sqrt.c: Likewise.
35400 * math/w_sqrtf.c: Likewise.
35401 * math/w_sqrtl.c: Likewise.
35402 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35403 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35404 used.
35405 * math/math_private.h: Declare __kernel_standard_f.
35406 * math/w_cosh.c: Remove cruft and optimize a bit.
35407 * math/w_coshf.c: Likewise.
35408 * math/w_coshl.c: Likewise.
35409 * math/w_exp2.c: Likewise.
35410 * math/w_exp2f.c: Likewise.
35411 * math/w_exp2l.c: Likewise.
35412 * math/w_hypot.c: Likewise.
35413 * math/w_hypotf.c: Likewise.
35414 * math/w_hypotl.c: Likewise.
35415 * math/w_lgamma.c: Likewise.
35416 * math/w_lgamma_r.c: Likewise.
35417 * math/w_lgammaf.c: Likewise.
35418 * math/w_lgammaf_r.c: Likewise.
35419 * math/w_lgammal.c: Likewise.
35420 * math/w_lgammal_r.c: Likewise.
35421 * math/w_sinh.c: Likewise.
35422 * math/w_sinhf.c: Likewise.
35423 * math/w_sinhl.c: Likewise.
35424 * math/w_tgamma.c: Likewise.
35425 * math/w_tgammaf.c: Likewise.
35426 * math/w_tgammal.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35429 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35430 Minor optimizations. Pretty printing. Remove cruft.
35431 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35433 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35435 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35436 * sysdeps/i386/fpu/e_asin.S: Likewise.
35437 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35438 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35439 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35440 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35441 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35442 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35444 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35445 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35446 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35447 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35448 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35449 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35450 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35451 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35452 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35453 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35454 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35455 * sysdeps/i386/fpu/e_log.S: Likewise.
35456 * sysdeps/i386/fpu/e_log10.S: Likewise.
35457 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35458 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35459 * sysdeps/i386/fpu/e_log2.S: Likewise.
35460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35462 * sysdeps/i386/fpu/e_logf.S: Likewise.
35463 * sysdeps/i386/fpu/e_logl.S: Likewise.
35464 * sysdeps/i386/fpu/e_pow.S: Likewise.
35465 * sysdeps/i386/fpu/e_powf.S: Likewise.
35466 * sysdeps/i386/fpu/e_powl.S: Likewise.
35467 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35468 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35469 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35470 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35471 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35472 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35473 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35474 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35475 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35476 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35479 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35480 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35483 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35484 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35485 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35487 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35496 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35497 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35498 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35499 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35500 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35501 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35502 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35503 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35504 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35505 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35506 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35507 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35508 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35509 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35510 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35511 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35512 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35513 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35514 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35515 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35516 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35517 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35547 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35548 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35553 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35554 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35556 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35559 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35561 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35562 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35564 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35567 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35568 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35569 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35570 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35571 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35572 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35573 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35574 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35575 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35576 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35577 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35578 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35579 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35581 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35582 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35583 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35584 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35585 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35586 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35587 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35588 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35589 (__isnanf): Likewise.
35590 (__isinf_ns): Likewise.
35591 (__isinf_nsf): Likewise.
35592 (__finite): Likewise.
35593 (__finitef): Likewise.
35594 (__ieee754_sqrt): Define as macro.
35595 (__ieee754_sqrtf): Define as macro.
35596 (__ieee754_sqrtl): Define as macro.
35597 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35598 inlined copy.
35599 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35600 __FINITE_MATH_ONLY__ consistent.
35601 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35602
35603 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35604
35605 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35606 of rawmemchr.
35607
35608 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35609
35610 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35611
35612 * po/ja.po: Update from translation team.
35613
35614 2011-10-08 Roland McGrath <roland@hack.frob.com>
35615
35616 * locale/programs/locarchive.c (prepare_address_space): New function.
35617 (create_archive, enlarge_archive, open_archive): Use it.
35618
35619 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35620 inside [SHARED], where it is used.
35621
35622 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35623
35624 * nss/getent.c (netgroup_keys): Remove unused variable.
35625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35626
35627 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35628
35629 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35632 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35633 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35634 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35635 * math/Makefile (libm-calls): Add s_isinf_ns.
35636 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35637 * math/multc3.c: Likewise.
35638 * math/s_casin.c: Likewise.
35639 * math/s_casinf.c: Likewise.
35640 * math/s_casinl.c: Likewise.
35641 * math/s_ccos.c: Likewise.
35642 * math/s_ccosf.c: Likewise.
35643 * math/s_ccosl.c: Likewise.
35644 * math/s_ctan.c: Likewise.
35645 * math/s_ctanf.c: Likewise.
35646 * math/s_ctanh.c: Likewise.
35647 * math/s_ctanhf.c: Likewise.
35648 * math/s_ctanhl.c: Likewise.
35649 * math/s_ctanl.c: Likewise.
35650 * math/w_fmod.c: Likewise.
35651 * math/w_fmodf.c: Likewise.
35652 * math/w_fmodl.c: Likewise.
35653 * math/w_remainder.c: Likewise.
35654 * math/w_remainderf.c: Likewise.
35655 * math/w_remainderl.c: Likewise.
35656 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35657 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35660 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35661 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35662 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35663 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35664
35665 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35666 of the number.
35667 * stdio-common/printf_fphex.c: Likewise.
35668 * stdio-common/printf_size.c: Likewise.
35669
35670 * math/e_exp10.c: Include math_private.h using <...> not "...".
35671 * math/e_exp10f.c: Likewise.
35672 * math/e_exp10l.c: Likewise.
35673 * math/e_exp2l.c: Likewise.
35674 * math/e_j0l.c: Likewise.
35675 * math/e_j1l.c: Likewise.
35676 * math/e_jnl.c: Likewise.
35677 * math/e_lgammal_r.c: Likewise.
35678 * math/e_rem_pio2l.c: Likewise.
35679 * math/e_scalb.c: Likewise.
35680 * math/e_scalbf.c: Likewise.
35681 * math/e_scalbl.c: Likewise.
35682 * math/k_cosl.c: Likewise.
35683 * math/k_sinl.c: Likewise.
35684 * math/k_tanl.c: Likewise.
35685 * math/s_cacoshf.c: Likewise.
35686 * math/s_catan.c: Likewise.
35687 * math/s_catanf.c: Likewise.
35688 * math/s_catanh.c: Likewise.
35689 * math/s_catanhf.c: Likewise.
35690 * math/s_catanhl.c: Likewise.
35691 * math/s_catanl.c: Likewise.
35692 * math/s_ccosh.c: Likewise.
35693 * math/s_ccoshf.c: Likewise.
35694 * math/s_ccoshl.c: Likewise.
35695 * math/s_cexp.c: Likewise.
35696 * math/s_cexpf.c: Likewise.
35697 * math/s_cexpl.c: Likewise.
35698 * math/s_clog.c: Likewise.
35699 * math/s_clog10.c: Likewise.
35700 * math/s_clog10f.c: Likewise.
35701 * math/s_clog10l.c: Likewise.
35702 * math/s_clogf.c: Likewise.
35703 * math/s_clogl.c: Likewise.
35704 * math/s_csin.c: Likewise.
35705 * math/s_csinf.c: Likewise.
35706 * math/s_csinh.c: Likewise.
35707 * math/s_csinhf.c: Likewise.
35708 * math/s_csinhl.c: Likewise.
35709 * math/s_csinl.c: Likewise.
35710 * math/s_csqrt.c: Likewise.
35711 * math/s_csqrtf.c: Likewise.
35712 * math/s_csqrtl.c: Likewise.
35713 * math/s_ctan.c: Likewise.
35714 * math/s_ctanf.c: Likewise.
35715 * math/s_ctanh.c: Likewise.
35716 * math/s_ctanhf.c: Likewise.
35717 * math/s_ctanhl.c: Likewise.
35718 * math/s_ctanl.c: Likewise.
35719 * math/s_ldexp.c: Likewise.
35720 * math/s_ldexpf.c: Likewise.
35721 * math/s_ldexpl.c: Likewise.
35722 * math/s_significand.c: Likewise.
35723 * math/s_significandf.c: Likewise.
35724 * math/s_significandl.c: Likewise.
35725 * math/w_acos.c: Likewise.
35726 * math/w_acosf.c: Likewise.
35727 * math/w_acosh.c: Likewise.
35728 * math/w_acoshf.c: Likewise.
35729 * math/w_acoshl.c: Likewise.
35730 * math/w_acosl.c: Likewise.
35731 * math/w_asin.c: Likewise.
35732 * math/w_asinf.c: Likewise.
35733 * math/w_asinl.c: Likewise.
35734 * math/w_atan2.c: Likewise.
35735 * math/w_atan2f.c: Likewise.
35736 * math/w_atan2l.c: Likewise.
35737 * math/w_atanh.c: Likewise.
35738 * math/w_atanhf.c: Likewise.
35739 * math/w_atanhl.c: Likewise.
35740 * math/w_cosh.c: Likewise.
35741 * math/w_coshf.c: Likewise.
35742 * math/w_coshl.c: Likewise.
35743 * math/w_dremf.c: Likewise.
35744 * math/w_exp10.c: Likewise.
35745 * math/w_exp10f.c: Likewise.
35746 * math/w_exp10l.c: Likewise.
35747 * math/w_exp2.c: Likewise.
35748 * math/w_exp2f.c: Likewise.
35749 * math/w_fmod.c: Likewise.
35750 * math/w_fmodf.c: Likewise.
35751 * math/w_fmodl.c: Likewise.
35752 * math/w_hypot.c: Likewise.
35753 * math/w_hypotf.c: Likewise.
35754 * math/w_hypotl.c: Likewise.
35755 * math/w_j0.c: Likewise.
35756 * math/w_j0f.c: Likewise.
35757 * math/w_j0l.c: Likewise.
35758 * math/w_j1.c: Likewise.
35759 * math/w_j1f.c: Likewise.
35760 * math/w_j1l.c: Likewise.
35761 * math/w_jn.c: Likewise.
35762 * math/w_jnf.c: Likewise.
35763 * math/w_jnl.c: Likewise.
35764 * math/w_lgamma.c: Likewise.
35765 * math/w_lgamma_r.c: Likewise.
35766 * math/w_lgammaf.c: Likewise.
35767 * math/w_lgammaf_r.c: Likewise.
35768 * math/w_lgammal.c: Likewise.
35769 * math/w_lgammal_r.c: Likewise.
35770 * math/w_log.c: Likewise.
35771 * math/w_log10.c: Likewise.
35772 * math/w_log10f.c: Likewise.
35773 * math/w_log10l.c: Likewise.
35774 * math/w_log2.c: Likewise.
35775 * math/w_log2f.c: Likewise.
35776 * math/w_log2l.c: Likewise.
35777 * math/w_logf.c: Likewise.
35778 * math/w_logl.c: Likewise.
35779 * math/w_pow.c: Likewise.
35780 * math/w_powf.c: Likewise.
35781 * math/w_powl.c: Likewise.
35782 * math/w_remainder.c: Likewise.
35783 * math/w_remainderf.c: Likewise.
35784 * math/w_remainderl.c: Likewise.
35785 * math/w_scalb.c: Likewise.
35786 * math/w_scalbf.c: Likewise.
35787 * math/w_scalbl.c: Likewise.
35788 * math/w_sinh.c: Likewise.
35789 * math/w_sinhf.c: Likewise.
35790 * math/w_sinhl.c: Likewise.
35791 * math/w_sqrt.c: Likewise.
35792 * math/w_sqrtf.c: Likewise.
35793 * math/w_sqrtl.c: Likewise.
35794 * math/w_tgamma.c: Likewise.
35795 * math/w_tgammaf.c: Likewise.
35796 * math/w_tgammal.c: Likewise.
35797
35798 * po/ja.po: Update from translation team.
35799
35800 2011-09-29 Andreas Jaeger <aj@suse.de>
35801
35802 [BZ #13179]
35803 * sunrpc/netname.c (netname2host): Fix logic.
35804
35805 [BZ #6779]
35806 [BZ #6783]
35807 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35808 correctly.
35809 * math/w_remainder.c (__remainder): Likewise.
35810 * math/w_remainderf.c (__remainderf): Likewise.
35811 * math/libm-test.inc (remainder_test): Add test cases.
35812
35813 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35814
35815 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35816 sdiv_qrnnd.
35817
35818 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35819
35820 * string/test-memcmp.c: Avoid unncessary #defines.
35821 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35822
35823 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35824
35825 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35826 Use new sse2 version for core i3 - i7 as it's faster
35827 than sse42 version.
35828 (bit_Prefer_PMINUB_for_stringop): New.
35829 * sysdeps/x86_64/rawmemchr.S: Update.
35830 Replace with faster SSE2 version.
35831 * sysdeps/x86_64/memrchr.S: New file.
35832 * sysdeps/x86_64/memchr.S: Update.
35833 Replace with faster SSE2 version.
35834
35835 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35836
35837 * elf/dl-load.c (lose): Add cast to avoid warning.
35838
35839 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35840
35841 * po/ca.po: Update from translation team.
35842
35843 * inet/getnetgrent_r.c: Hook up nscd.
35844 * nscd/Makefile (routines): Add nscd_netgroup.
35845 (nscd-modules): Add netgroupcache.
35846 (CFLAGS-netgroupcache.c): Define.
35847 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35848 (cache_search): Add const to second parameter.
35849 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35850 INNETGR.
35851 (dbs): Add netgrdb entry.
35852 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35853 (verify_persistent_db): Handle netgrdb.
35854 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35855 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35856 GETFDNETGR.
35857 (netgroup_response_header): Define.
35858 (innetgroup_response_header): Define.
35859 (datahead): Add netgroup_response_header and innetgroup_response_header
35860 elements.
35861 * nscd/nscd.conf: Add entries for netgroup cache.
35862 * nscd/nscd.h (dbtype): Add netgrdb.
35863 (_PATH_NSCD_NETGROUP_DB): Define.
35864 (netgroup_iov_disabled): Declare.
35865 (xmalloc, xcalloc, xrealloc): Move declarations here.
35866 (cache_search): Adjust prototype.
35867 Add netgroup-related prototypes.
35868 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35869 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35870 (__nscd_innetgr): Declare.
35871 * nscd/selinux.c (perms): Use access_vector_t as element type and
35872 add netgroup-related initializers.
35873 * nscd/netgroupcache.c: New file.
35874 * nscd/nscd_netgroup.c: New file.
35875 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35876 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35877 For four parameters use innetgr.
35878 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35879 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35880 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35881 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35882
35883 * nscd/connections.c (register_traced_file): Don't register file
35884 for disabled databases.
35885
35886 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35887
35888 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35889
35890 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35891 from tree and freeing node.
35892
35893 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35894
35895 * nss/nsswitch.c (__nss_database_lookup): Handle
35896 nss_parse_service_list out of memory case.
35897
35898 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35899
35900 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35901 out of memory case.
35902
35903 2011-10-04 Andreas Schwab <schwab@redhat.com>
35904
35905 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35906 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35907 pass it down.
35908 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35909 elf_machine_rela, elf_machine_lazy_rel.
35910 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35911 (ELF_DYNAMIC_DO_REL): Likewise.
35912 (ELF_DYNAMIC_DO_RELA): Likewise.
35913 (ELF_DYNAMIC_RELOCATE): Likewise.
35914 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35915 to ELF_DYNAMIC_DO_REL.
35916 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35917 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35918 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35919 elf_machine_rela.
35920 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35921 skip_ifunc, don't call ifunc function if non-zero.
35922 (elf_machine_rela): Likewise.
35923 (elf_machine_lazy_rel): Likewise.
35924 (elf_machine_lazy_rela): Likewise.
35925 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35926 (elf_machine_lazy_rel): Likewise.
35927 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35928 Likewise.
35929 (elf_machine_lazy_rel): Likewise.
35930 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35931 Likewise.
35932 (elf_machine_lazy_rel): Likewise.
35933 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35934 (elf_machine_lazy_rel): Likewise.
35935 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35936 (elf_machine_lazy_rel): Likewise.
35937 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35938 (elf_machine_lazy_rel): Likewise.
35939 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35940 (elf_machine_lazy_rel): Likewise.
35941 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35942 (elf_machine_lazy_rel): Likewise.
35943 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35944 (elf_machine_lazy_rel): Likewise.
35945
35946 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35947
35948 * nss/nss_files/files-init.c (_nss_files_init): Use static
35949 initialization for all the *_traced_file variables.
35950
35951 2011-09-28 Andreas Schwab <schwab@redhat.com>
35952
35953 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35954
35955 2011-09-27 Roland McGrath <roland@hack.frob.com>
35956
35957 [BZ #13226]
35958 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35959
35960 2011-09-27 Andreas Schwab <schwab@redhat.com>
35961
35962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35963 Reread the line before reparsing it.
35964
35965 2011-09-26 Andreas Schwab <schwab@redhat.com>
35966
35967 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35968
35969 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35970 Maxim Kuvyrkov <maxim@codesourcery.com>
35971 Joseph Myers <joseph@codesourcery.com>
35972
35973 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35974 if needed for __stack_chk_guard.
35975
35976 2011-09-19 Roland McGrath <roland@hack.frob.com>
35977
35978 * sysdeps/posix/spawni.c (script_execute): Always define it.
35979 It will be optimized away if unused.
35980 (maybe_script_execute): New function.
35981 (__spawni): Call it.
35982
35983 * Makerules: Don't include tls.make.
35984 (config-tls): Always set to thread.
35985 * tls.make.c: File removed.
35986
35987 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35988
35989 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35990 * config.make.in (CPPFLAGS-config): New substituted variable.
35991
35992 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35993
35994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35995
35996 [BZ #13192]
35997 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35998 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35999
36000 2011-09-15 Roland McGrath <roland@hack.frob.com>
36001
36002 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36003 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36005 (CALL_FAIL): Likewise.
36006 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36007 (CALL_FAIL): Macro removed.
36008 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36009
36010 2011-09-15 Ulrich Drepper <drepper@gmail.com>
36011
36012 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36013 for __FINITE_MATH_ONLY__ == 1.
36014
36015 2011-09-15 Andreas Schwab <schwab@redhat.com>
36016
36017 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36018 __ieee754_sqrt instead of sqrt.
36019 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36020 __ieee754_sqrtf instead of sqrtf.
36021 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36022 __floorf instead of floorf.
36023 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36024 __floorf, __truncf instead of floorf, truncf.
36025
36026 2011-09-14 Ulrich Drepper <drepper@gmail.com>
36027
36028 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36029
36030 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36031 __extern_always_inline.
36032 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36033 32-bit.
36034
36035 2011-09-14 Andreas Schwab <schwab@redhat.com>
36036
36037 * elf/rtld.c (dl_main): Also relocate in dependency order when
36038 doing symbol dependency testing.
36039
36040 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
36041
36042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36043 Always define `refsym'.
36044
36045 2011-09-13 Andreas Schwab <schwab@redhat.com>
36046
36047 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36048 (__FD_ELT): Renamed from __FDELT.
36049 * misc/bits/select2.h (__FD_ELT): Likewise.
36050 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36051 __FD_MASK instead of __FDELT, __FDMASK.
36052 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36053 Likewise.
36054 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36055 Likewise.
36056
36057 * elf/Makefile (gen-ldd): Fix pattern.
36058
36059 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36060 (init_tls): Likewise.
36061
36062 2011-09-12 Ulrich Drepper <drepper@gmail.com>
36063
36064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36065
36066 2011-09-12 Andreas Schwab <schwab@redhat.com>
36067
36068 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36069 `struct cmsghdr *' instead of `void *'.
36070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36071 Likewise.
36072
36073 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36074
36075 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36076 if non-absolute.
36077 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36078 ldd_rewrite_script.
36079
36080 2011-09-11 Ulrich Drepper <drepper@gmail.com>
36081
36082 * configure.in: Remove --with-tls option.
36083 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36084 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36085 out in case it is missing.
36086 * sysdeps/ia64/elf/configure.in: Likewise.
36087 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36088 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36089 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36090 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36091 * sysdeps/sh/elf/configure.in: Likewise.
36092 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36093 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36094 * sysdeps/x86_64/elf/configure.in: Likewise.
36095 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36096 * sysdeps/mach/hurd/tls.h: Likewise.
36097
36098 [BZ #13067]
36099 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36100
36101 [BZ #13090]
36102 * configure.in: Fix use of AC_INIT.
36103
36104 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36105
36106 2011-09-10 Ulrich Drepper <drepper@gmail.com>
36107
36108 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36109 __set_errno.
36110 * malloc/hooks.c: Likewise.
36111
36112 [BZ #11929]
36113 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36114 variables statically.
36115 (narenas): Initialize.
36116 (list_lock): Initialize.
36117 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36118 initializtion of main_arena and list_lock. Small cleanups.
36119 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36120 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36121 Add initializers to main_arena and mp_.
36122 (malloc_state): Remove pagesize member. Change all users to use
36123 GLRO(dl_pagesize).
36124
36125 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36126 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36127 is always initialized.
36128
36129 * malloc/malloc.c: Removed unused configurations and dead code.
36130 * malloc/arena.c: Likewise.
36131 * malloc/hooks.c: Likewise.
36132 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36133
36134 * include/tls.h: Removed. USE___THREAD must always be defined.
36135 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36136 * elf/dl-libc.c: Likewise.
36137 * elf/dl-tsd.c: Likewise.
36138 * include/errno.h: Likewise.
36139 * include/netdb.h: Likewise.
36140 * include/resolv.h: Likewise.
36141 * inet/herrno-loc.c: Likewise.
36142 * inet/herrno.c: Likewise.
36143 * malloc/arena.c: Likewise.
36144 * malloc/hooks.c: Likewise.
36145 * malloc/malloc.c: Likewise.
36146 * resolv/res-state.c: Likewise.
36147 * resolv/res_libc.c: Likewise.
36148 * sysdeps/i386/dl-machine.h: Likewise.
36149 * sysdeps/ia64/dl-machine.h: Likewise.
36150 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36151 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36152 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36153 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36154 * sysdeps/sh/dl-machine.h: Likewise.
36155 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36156 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36157 * sysdeps/unix/i386/sysdep.S: Likewise.
36158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36159 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36164 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36168 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36169 * sysdeps/x86_64/dl-machine.h: Likewise.
36170 * tls.make.c: Likewise.
36171
36172 * configure.in: Remove --with-__thread option. Make tests for
36173 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36174 tls_model attribute fail if no support is available. Remove
36175 USE_IN_LIBIO.
36176 * Makeconfig: Adjust for dropped configure option. All features are
36177 now mandatory.
36178 * Makerules: Likewise.
36179 * Versions.def: Likewise.
36180 * argp/argp-fmtstream.c: Likewise.
36181 * argp/argp-fmtstream.h: Likewise.
36182 * argp/argp-help.c: Likewise.
36183 * assert/assert.c: Likewise.
36184 * config.h.in: Likewise.
36185 * config.make.in: Likewise.
36186 * configure: Likewise.
36187 * configure.in: Likewise.
36188 * csu/Versions: Likewise.
36189 * csu/init.c: Likewise.
36190 * elf/tst-audit2.c: Likewise.
36191 * elf/tst-tls10.c: Likewise.
36192 * elf/tst-tls10.h: Likewise.
36193 * elf/tst-tls11.c: Likewise.
36194 * elf/tst-tls12.c: Likewise.
36195 * elf/tst-tls14.c: Likewise.
36196 * elf/tst-tlsmod11.c: Likewise.
36197 * elf/tst-tlsmod12.c: Likewise.
36198 * elf/tst-tlsmod13.c: Likewise.
36199 * elf/tst-tlsmod13a.c: Likewise.
36200 * elf/tst-tlsmod14a.c: Likewise.
36201 * elf/tst-tlsmod15b.c: Likewise.
36202 * elf/tst-tlsmod16a.c: Likewise.
36203 * elf/tst-tlsmod16b.c: Likewise.
36204 * elf/tst-tlsmod7.c: Likewise.
36205 * elf/tst-tlsmod8.c: Likewise.
36206 * elf/tst-tlsmod9.c: Likewise.
36207 * gmon/gmon.c: Likewise.
36208 * grp/fgetgrent_r.c: Likewise.
36209 * grp/putgrent.c: Likewise.
36210 * hurd/fopenport.c: Likewise.
36211 * include/libc-symbols.h: Likewise.
36212 * include/tls.h: Likewise.
36213 * intl/gettextP.h: Likewise.
36214 * intl/loadinfo.h: Likewise.
36215 * locale/global-locale.c: Likewise.
36216 * locale/localeinfo.h: Likewise.
36217 * mach/devstream.c: Likewise.
36218 * malloc/arena.c: Likewise.
36219 * malloc/set-freeres.c: Likewise.
36220 * misc/err.c: Likewise.
36221 * misc/getttyent.c: Likewise.
36222 * misc/mntent_r.c: Likewise.
36223 * posix/getopt.c: Likewise.
36224 * posix/wordexp.c: Likewise.
36225 * pwd/fgetpwent_r.c: Likewise.
36226 * resolv/Versions: Likewise.
36227 * resolv/res_hconf.c: Likewise.
36228 * shadow/fgetspent_r.c: Likewise.
36229 * shadow/putspent.c: Likewise.
36230 * stdio-common/printf_fphex.c: Likewise.
36231 * stdio-common/tmpfile.c: Likewise.
36232 * stdlib/abort.c: Likewise.
36233 * stdlib/fmtmsg.c: Likewise.
36234 * sunrpc/auth_unix.c: Likewise.
36235 * sunrpc/clnt_perr.c: Likewise.
36236 * sunrpc/clnt_tcp.c: Likewise.
36237 * sunrpc/clnt_udp.c: Likewise.
36238 * sunrpc/clnt_unix.c: Likewise.
36239 * sunrpc/openchild.c: Likewise.
36240 * sunrpc/svc_simple.c: Likewise.
36241 * sunrpc/svc_tcp.c: Likewise.
36242 * sunrpc/svc_udp.c: Likewise.
36243 * sunrpc/svc_unix.c: Likewise.
36244 * sunrpc/xdr.c: Likewise.
36245 * sunrpc/xdr_array.c: Likewise.
36246 * sunrpc/xdr_rec.c: Likewise.
36247 * sunrpc/xdr_ref.c: Likewise.
36248 * sunrpc/xdr_stdio.c: Likewise.
36249
36250 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36251
36252 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36253
36254 2011-07-03 Andreas Jaeger <aj@suse.de>
36255
36256 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36257 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36258 regenerate with gen-libm-tests.pl.
36259
36260 2010-05-12 Petr Baudis <pasky@suse.cz>
36261
36262 [BZ #11589]
36263 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36264 around j0() zero points by switching to j1().
36265 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36269
36270 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36271
36272 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36273 instead of 0.
36274 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36275 instead of 0.
36276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36277 Patch in part by Pavel Roskin <proski@gnu.org>.
36278
36279 [BZ #13138]
36280 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36281 realloc.
36282 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36283 Free memory block if necessary.
36284
36285 [BZ #12847]
36286 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36287 be NULL. Don't lock in this case.
36288
36289 2011-09-09 Roland McGrath <roland@hack.frob.com>
36290
36291 * elf/elf.h (ELFOSABI_GNU): New macro.
36292 (ELFOSABI_LINUX): Define to that.
36293
36294 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36295
36296 * string/strncat.c (strncat): Undef the symbol in case it has been
36297 defined in bits/string.h.
36298
36299 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36300
36301 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36302
36303 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36304 link map.
36305
36306 2011-08-17 Andreas Jaeger <aj@suse.de>
36307
36308 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36309
36310 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36311 Ian Lance Taylor <iant@google.com>
36312
36313 * math/libm-test.inc (lround_test): New testcase.
36314 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36315
36316 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36317
36318 * Makefile: Remove support for automatic cvs check-ins.
36319 * Makerules: Likewise.
36320 * config.make.in: Likewise.
36321 * configure.in: Likewise.
36322 * intl/Makefile: Likewise.
36323 * locale/Makefile: Likewise.
36324 * po/Makefile: Likewise.
36325 * posix/Makefile: Likewise.
36326 * sysdeps/gnu/Makefile: Likewise.
36327 * sysdeps/mach/hurd/Makefile: Likewise.
36328 * sysdeps/sparc/sparc32/Makefile: Likewise.
36329
36330 [BZ #13118]
36331 * posix/Makefile (bug-regex32-ENV): Define.
36332 Patch by John Stanley <jpsinthemix@verizon.net>.
36333
36334 * misc/Makefile (headers): Add bits/select2.h.
36335 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36336 * misc/bits/select2.h: New file.
36337 * include/bits/select2.h: New file.
36338 * debug/Makefile (routines): Add fdelt_chk.
36339 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36340 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36341 FD_ISSET.
36342 * debug/fdelt_chk.c: New file.
36343
36344 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36345 * wcsmbs/test-wmemcmp.c: Likewise.
36346 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36347 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36348
36349 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36350
36351 * string/Makefile (strop-tests): Add memcmp.
36352 * string/test-wmemcmp.c: New file.
36353 * string/test-memcmp.c: Add wmemcmp support.
36354
36355 2011-09-08 Roland McGrath <roland@hack.frob.com>
36356
36357 [BZ #13153]
36358 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36359 2011-07-19 change.
36360
36361 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36362 garbage value in a __mach_port_mod_refs call in the cases of the
36363 task-self and thread-self ports.
36364
36365 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36366
36367 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36368
36369 2011-09-08 Andreas Schwab <schwab@redhat.com>
36370
36371 * elf/dl-load.c (lose): Check for non-null L.
36372
36373 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36374
36375 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36376
36377 * elf/dl-libc.c (dlerror_run): Pass back error code from
36378 dl_catch_error.
36379
36380 [BZ #13123]
36381 * elf/dl-load.c (lose): Free l_origin if it is valid.
36382
36383 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36384 names.
36385 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36386 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36387 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36388 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36389 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36390 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36391
36392 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36393
36394 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36395 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36396 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36397 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36398 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36399 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36400 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36401 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36402 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36403 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36404
36405 2011-08-15 Alan Modra <amodra@gmail.com>
36406
36407 [BZ #13092]
36408 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36409 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36410 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36411 ppc_mcount to static-only-routines.
36412 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36413 __mcount_internal.
36414 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36415 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36416
36417 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36418
36419 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36420 for finite and infinity parameters.
36421
36422 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36423
36424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36425 and add nop instructions for throughput optimization.
36426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36427
36428 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36429
36430 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36431 aligned copy for power7 with vector-scalar instructions.
36432 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36433
36434 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36435
36436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36437 AVX check.
36438
36439 2011-09-07 Andreas Schwab <schwab@redhat.com>
36440
36441 [BZ #13144]
36442 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36443 last change.
36444
36445 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36446
36447 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36448 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36449 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36450 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36451 clock_gettime.
36452
36453 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36454
36455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36456 Forgot to demangle the pointer.
36457
36458 * sysdeps/i386/sysdep.h: Define atom_text_section.
36459 * sysdeps/x86_64/sysdep.h: Likewise.
36460 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36461 section with atom_text_section.
36462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36463 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36464 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36465 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36467
36468 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36469 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36470 already be defined. Change to take two parameters and don't assign
36471 result to variable. Adjust all users.
36472 Define INTERNAL_GETTIME if not already defined.
36473 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36474 call.
36475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36476 HAVE_CLOCK_GETTIME_VSYSCALL.
36477 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36478
36479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36480 gettimeofday vsyscall, just use time.
36481
36482 2011-09-06 Andreas Schwab <schwab@redhat.com>
36483
36484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36485 <errno.h>.
36486
36487 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36488
36489 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36490 syscall on x86-64.
36491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36492 syscall.
36493 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36495 syscall if possible.
36496
36497 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36498
36499 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36500 e_ident. Don't pass to find_mapsXX.
36501 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36502
36503 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36504
36505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36506 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36507 * sysdeps/x86_64/multiarch/strchr.S: Update.
36508 Check bit_slow_BSF bit.
36509 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36510 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36511 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36512
36513 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36514
36515 [BZ #13134]
36516 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36517 before glibc 2.15.
36518 (tryshell): Define.
36519 (__spawni): Change last parameter to be flag. Test
36520 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36521 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36522 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36523 * posix/spawni.c: Likewise.
36524 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36525 * posix/spawnp.c: Likewise. Change normal version to use
36526 SPAWN_XFLAGS_USE_PATH.
36527 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36528 SPAWN_XFLAGS_TRY_SHELL.
36529
36530 [BZ #13150]
36531 * posix/glob.h: Remove gcc 1.x support.
36532
36533 [BZ #13068]
36534 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36535
36536 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36537
36538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36539 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36540 strrchr-sse2-bsf
36541 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36542 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36543 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36544 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36545 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36546 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36547
36548 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36549
36550 * sysdeps/x86_64/wcscmp.S: New file.
36551
36552 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36553 wcscmp-c wcscmp-sse2
36554 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36555 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36556 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36557 * wcsmbs/wcscmp.c: Allow renaming.
36558
36559 2011-09-05 David S. Miller <davem@davemloft.net>
36560
36561 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36562 stack slot, rather than the struct return pointer slot.
36563 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36564 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36566 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36567
36568 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36569
36570 * po/ja.po: Update from translation team.
36571
36572 [BZ #13144]
36573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36574 kernel in 64-bit binaries.
36575
36576 2011-09-01 David S. Miller <davem@davemloft.net>
36577
36578 * elf/elf.h (HWCAP_SPARC_*): Move to..
36579 * sysdeps/sparc/sysdep.h: this new file and add new values.
36580 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36581 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36582 _DL_HWCAP_COUNT to 24.
36583 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36584 entries.
36585 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36586 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36587 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36589 instead of magic constants.
36590 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36591
36592 2011-08-31 David S. Miller <davem@davemloft.net>
36593
36594 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36596 Reimplement to do errno handling inline.
36597 (SYSCALL_ERROR_HANDLER): New macro.
36598 (__SYSCALL_STRING): Do not do errno handling in asm.
36599 (__CLONE_SYSCALL_STRING): Delete.
36600 (__INTERNAL_SYSCALL_STRING): Delete.
36601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36602 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36603 (PSEUDO): Reimplement to do errno handling inline.
36604 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36605 (SYSCALL_ERROR_HANDLER): New macro.
36606 (__SYSCALL_STRING): Do not do errno handling in asm.
36607 (__CLONE_SYSCALL_STRING): Delete.
36608 (__INTERNAL_SYSCALL_STRING): Delete.
36609 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36610 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36611 i386.
36612 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36613 (inline_syscall*): Add 'err' argument.
36614 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36615 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36616 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36617 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36618
36619 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36620 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36621
36622 2011-08-30 Andreas Schwab <schwab@redhat.com>
36623
36624 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36625
36626 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36627
36628 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36629 directive.
36630
36631 2011-08-24 David S. Miller <davem@davemloft.net>
36632
36633 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36634
36635 2011-08-24 Andreas Schwab <schwab@redhat.com>
36636
36637 * elf/Makefile: Add rules to build and run unload8 test.
36638 * elf/unload8.c: New file.
36639 * elf/unload8mod1.c: New file.
36640 * elf/unload8mod1x.c: New file.
36641 * elf/unload8mod2.c: New file.
36642 * elf/unload8mod3.c: New file.
36643
36644 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36645 it wasn't used.
36646
36647 2011-08-23 David S. Miller <davem@davemloft.net>
36648
36649 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36650 subtract stack bias.
36651 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36652 %sp not %fp in calculations.
36653 (_JMPBUF_UNWINDS_ADJ): Likewise.
36654
36655 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36656 (aio_suspend): Call it to force an exception region around the
36657 AIO_MISC_WAIT() invocation.
36658
36659 2011-08-23 Andreas Schwab <schwab@redhat.com>
36660
36661 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36662 backslash.
36663
36664 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36665
36666 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36667 protection macro.
36668 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36669 and <dl-machine.h>.
36670 (Elf64_FuncDesc): Remove.
36671
36672 2011-08-22 David S. Miller <davem@davemloft.net>
36673
36674 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36675 sigaltstack check, add missing cfi directives.
36676 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36677 missing cfi directives, and sigaltstack handling.
36678
36679 2011-08-16 Andreas Schwab <schwab@redhat.com>
36680
36681 [BZ #11724]
36682 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36683 object is seen twice.
36684 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36685
36686 * elf/Makefile (distribute): Add tst-initorder2.c.
36687 (tests): Add tst-initorder2.
36688 (modules-names): Add tst-initorder2a tst-initorder2b
36689 tst-initorder2c tst-initorder2d. Add rules to build them.
36690 ($(objpfx)tst-initorder2.out): New rule.
36691 * elf/tst-initorder2.c: New file.
36692 * elf/tst-initorder2.exp: New file.
36693
36694 2011-08-22 Andreas Schwab <schwab@redhat.com>
36695
36696 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36697
36698 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36699 dependencies back to end of function.
36700
36701 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36702 $(elfobjdir)/ld.so.
36703
36704 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36705
36706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36707 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36709 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36710 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36711 of __vdso_gettimeofday.
36712 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36713 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36714 attribute_hidden.
36715 (_libc_vdso_platform_setup): Remove initialization of
36716 __vdso_gettimeofday and __vdso_time.
36717
36718 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36719
36720 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36721 and fgetc_unlocked.
36722 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36723 getc_unlocked.
36724
36725 * elf/dl-open.c (add_to_global): Report additions to the global scope
36726 for LD_DEBUG=scopes.
36727 (dl_open_worker): Also print scope of newly loaded dependencies.
36728 (_dl_show_scope): Indicate if there is no scope.
36729
36730 [BZ #13114]
36731 * stdio-common/Makefile (tests): Add bug24.
36732 * stdio-common/bug24.c: New file.
36733
36734 2011-08-19 Andreas Jaeger <aj@suse.de>
36735
36736 [BZ #13114]
36737 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36738 non-existant file when using close-on-exec mode.
36739
36740 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36741
36742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36743 the very first instruction.
36744
36745 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36746 the CFI state in the end.
36747 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36748 inclusion of dl-trampoline.h.
36749 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36750
36751 2011-08-19 Andreas Schwab <schwab@redhat.com>
36752
36753 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36754 expectations for long double.
36755
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36757 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36758
36759 2011-08-14 David S. Miller <davem@davemloft.net>
36760
36761 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36762 artificual limit depends upon the system page size.
36763
36764 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36765
36766 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36767 * resolv/Makefile: Define CFLAGS-libresolv.
36768
36769 2011-08-17 Andreas Schwab <schwab@redhat.com>
36770
36771 * nss/makedb.c (compute_tables): Make variables used in nested
36772 function static.
36773
36774 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36775
36776 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36777 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36778 if buffer was too small.
36779
36780 * elf/pldd.c (main): Attach to all threads in the process.
36781 Rewrite /proc handling to use *at functions.
36782
36783 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36784
36785 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36786 specifies first scope to show.
36787 (dl_open_worker): Update callers. Move printing scope of new
36788 object to before the relocation.
36789 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36790 * sysdeps/generic/ldsodefs.h: Update declaration.
36791
36792 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36793 string for the scope number.
36794
36795 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36796
36797 * nscd/servicescache.c (cache_addserv): Make sure written is always
36798 initialized.
36799
36800 2011-08-14 Roland McGrath <roland@hack.frob.com>
36801
36802 * sysdeps/i386/i486/bits/atomic.h
36803 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36804 statement expression, so as to suppress "set but not used" warning.
36805 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36806
36807 * string/strncat.c (STRNCAT): Use prototype definition.
36808
36809 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36810 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36811 -Iprograms here.
36812 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36813 (localedef-modules): Add localedef.
36814 (locale-modules): Add locale.
36815
36816 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36817 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36818 to avoid a warning.
36819
36820 2011-08-14 David S. Miller <davem@davemloft.net>
36821
36822 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36823 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36824
36825 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36826
36827 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36828 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36829 * elf/rtld.c (dl_main): Set l_name of vDSO.
36830 Call _dl_show_scope when DL_DEBUG_SCOPES.
36831 (process_dl_debug): Recognize scopes flag and also set it for all.
36832 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36833 Declare _dl_show_scope.
36834
36835 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36836 (do_dlopen): Pass caller_dlopen to dl_open.
36837 (__libc_dlopen_mode): Initialize caller_dlopen.
36838
36839 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36840 of libc. Make tolower call locale-independent. Optimize a bit by
36841 using isdigit instead of isalnum.
36842 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36843
36844 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36845
36846 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36847 was a dependency or dynamically loaded.
36848
36849 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36850
36851 * intl/l10nflist.c: Allow architecture-specific pop function.
36852 * sysdeps/x86_64/l10nflist.c: New file.
36853
36854 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36855 classification.
36856
36857 2011-08-10 Andreas Schwab <schwab@redhat.com>
36858
36859 * include/dirent.h: Add libc_hidden_proto for scandirat and
36860 scandirat64. Don't declare __scandirat64.
36861 * dirent/scandirat.c: Add libc_hidden_def.
36862 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36863 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36864
36865 2011-08-10 David S. Miller <davem@davemloft.net>
36866
36867 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36868 enum.
36869 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36870 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36872
36873 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36874
36875 * Versions.def [libc]: Add GLIBC_2.15.
36876 * dirent/Makefile (routines): Add scandirat and scandirat64.
36877 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36878 GLIBC_2.15.
36879 * dirent/dirent.h: Declare scandirat and scandirat64.
36880 * dirent/scandirat.c: New file.
36881 * dirent/scandirat64.c: New file.
36882 * sysdeps/wordsize-64/scandirat.c: New file.
36883 * sysdeps/wordsize-64/scandirat64.c: New file.
36884 * dirent/opendir.c: Define opendirat.
36885 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36886 using scandirat.
36887 * dirent/scandir64.c: Adjust for scandir.c change.
36888 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36889 __scandirat64, and __scandir_cancel_handler.
36890 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36891 additional parameter and use openat instead of open (outside of ld.so).
36892 Add new __opendir as wrapper around __opendirat.
36893 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36894 here without requiring old scandirat implementation.
36895
36896 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36897
36898 * dirent/scandir.c (cancel_handler): Renamed to
36899 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36900 defined. Adjust users.
36901 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36902 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36903
36904 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36905
36906 * string/test-string.h (IMPL): Use __STRING to expand name and then
36907 stringify it.
36908
36909 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36910 of cleanups.
36911
36912 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36913
36914 * string/Makefile: Update.
36915 (strop-tests): Append strncat.
36916 * string/test-wcscmp.c: New file.
36917 New comprehensive test for wcscmp.
36918 * string/test-strcmp.c: Update.
36919 (WIDE): New define.
36920
36921 2011-07-22 Andreas Schwab <schwab@redhat.com>
36922
36923 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36924 line.
36925
36926 2011-07-26 Andreas Schwab <schwab@redhat.com>
36927
36928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36929 encoding to ACE if AI_IDN.
36930
36931 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36932
36933 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36934 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36935
36936 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36937
36938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36939 Fix overflow bug in strncat.
36940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36941
36942 * string/test-strncat.c: Update.
36943 Add new tests for checking overflow bugs.
36944
36945 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36946
36947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36948 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36949 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36950 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36952 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36953 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36954 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36955 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36956
36957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36958 (USE_AS_STRCAT): Define.
36959 Add strcat and strncat support.
36960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36961
36962 2011-07-25 Andreas Schwab <schwab@redhat.com>
36963
36964 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36965 __n bigger than INT_MAX+1.
36966 (__strncmp_g): Likewise.
36967
36968 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36969
36970 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36971 * libio/stido.h: Likewise.
36972
36973 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36974 (AF_NFC): Define.
36975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36976 (AF_NFC): Define.
36977
36978 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36979 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36980 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36981 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36982 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36983
36984 [BZ #13021]
36985 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36986 installed.
36987
36988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36989 typo.
36990 (_dl_x86_64_save_sse): Likewise.
36991
36992 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36993
36994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36995 OSXSAVE.
36996 (_dl_x86_64_save_sse): Likewise.
36997
36998 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36999
37000 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37001
37002 2011-07-21 Andreas Schwab <schwab@redhat.com>
37003
37004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37005 change.
37006 (_dl_x86_64_save_sse): Use correct AVX check.
37007
37008 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37009
37010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37011 bug in strncpy/strncat.
37012 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37013
37014 2011-07-21 Ulrich Drepper <drepper@gmail.com>
37015
37016 * string/tester.c (test_strcat): Add tests for different alignments
37017 of source and destination.
37018 (test_strncat): Likewise.
37019
37020 2011-07-20 Ulrich Drepper <drepper@gmail.com>
37021
37022 [BZ #12852]
37023 * posix/glob.c (glob): Check passed in values before using them in
37024 expressions to avoid some overflows.
37025 (glob_in_dir): Likewise.
37026
37027 [BZ #13007]
37028 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37029 check for AVX enablement so that we don't crash with old kernels and
37030 new hardware.
37031 * elf/tst-audit4.c: Add same checks here.
37032 * elf/tst-audit6.c: Likewise.
37033
37034 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37035
37036 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
37037
37038 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37039
37040 2011-07-20 Ulrich Drepper <drepper@gmail.com>
37041
37042 * po/cs.po: Update from translation team.
37043 * po/bg.po: Likewise.
37044
37045 2011-07-12 Marek Polacek <mpolacek@redhat.com>
37046
37047 * misc/sys/cdefs.h: Add support for const attribute.
37048 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37049 to gnu_dev_{major,minor,makedev} functions.
37050
37051 2011-07-20 Marek Polacek <mpolacek@redhat.com>
37052
37053 * intl/dcigettext.c (get_output_charset): Add missing bracket.
37054
37055 2011-07-20 Andreas Schwab <schwab@redhat.com>
37056
37057 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37058 strlen results.
37059
37060 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37061
37062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37063 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37064 register in order to avoid conflicts with the soft frame pointer
37065 being held in r11 when necessary.
37066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37067 (INTERNAL_VSYSCALL_NCS): Likewise.
37068
37069 2011-07-14 Marek Polacek <mpolacek@redhat.com>
37070
37071 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37072 * elf/dl-fini.c (_dl_fini): Adjust caller.
37073 * elf/dl-close.c (_dl_close_worker): Likewise.
37074 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37075
37076 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37077
37078 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37079 "aux_cache->nlibs < 0".
37080
37081 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37082 in the reload-count case.
37083
37084 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37085
37086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37087 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37088 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37090 * sysdeps/x86_64/multiarch/strcat.S: New file.
37091 * sysdeps/x86_64/multiarch/strncat.S: New file.
37092 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37094 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37095 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37097 (USE_AS_STRCAT): Define.
37098 Add strcat and strncat support.
37099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37101 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37102 * string/strncat.c: Update.
37103 (USE_AS_STRNCAT): Define.
37104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37105 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37106 and i7.
37107 * sysdeps/x86_64/multiarch/init-arch.h
37108 (bit_Prefer_PMINUB_for_stringop): New.
37109 (index_Prefer_PMINUB_for_stringop): Likewise.
37110 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37111 bit_Prefer_PMINUB_for_stringop.
37112
37113 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37114
37115 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37116 buffer64.
37117 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37118 of casting of buffer.
37119 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37120 buffer32 and buffer64.
37121 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37122 writes instead of casting of buffer.
37123 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37124 buffer32.
37125 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37126 casting of buffer.
37127
37128 2011-07-19 Andreas Schwab <schwab@redhat.com>
37129
37130 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37131
37132 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37133
37134 * nscd/nscd.c (termination_handler): Don't do anything for a database
37135 if it has not yet been initialized.
37136
37137 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37138
37139 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37140
37141 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37142
37143 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37144
37145 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37146
37147 * po/nl.po: Update from translation team.
37148 * po/sv.po: Likewise.
37149
37150 2011-07-16 Roland McGrath <roland@hack.frob.com>
37151
37152 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37153 now disallowed by GCC.
37154
37155 * configure.in (use-default-link): Default to yes if a test -shared
37156 link meets our qualifications.
37157 * configure: Regenerated.
37158
37159 * config.make.in (output-format): New variable.
37160 * configure.in: Check for ld --print-output-format support.
37161 * configure: Regenerated.
37162 * Makerules ($(common-objpfx)format.lds)
37163 [$(output-format) != unknown]: Just use $(output-format),
37164 instead of the linker-script munging.
37165
37166 2011-07-14 Roland McGrath <roland@hack.frob.com>
37167
37168 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37169 of $(common-objpfx)shlib.lds.
37170 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37171
37172 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37173 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37174
37175 * configure.in (-z relro check): Adjust test code to add a large
37176 writable data section after it.
37177 * configure: Regenerated.
37178
37179 2011-07-11 Roland McGrath <roland@hack.frob.com>
37180
37181 * configure.in (-z relro check): Fix test code to make the variable
37182 truly const.
37183 * configure: Regenerated.
37184
37185 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37186
37187 * nscd/nscd.h (struct traced_file): Define.
37188 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37189 elements. Add traced_files.
37190 (inotify_fd): Declare.
37191 (register_traced_file): Declare.
37192 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37193 (inotify_fd): Export.
37194 (resolv_conf_descr): Remove.
37195 (nscd_init): Move inotify descriptor creation to main.
37196 Don't register files for notification here.
37197 (register_traced_file): New function.
37198 (invalidate_cache): Don't use reset_res to determine whether to call
37199 res_init, go through the list of registered files.
37200 (main_loop_poll): The inotify descriptors are now stored in the
37201 structures for the traced files.
37202 (main_loop_epoll): Likewise
37203 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37204 to __nss_disable_nscd.
37205 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37206 for a database anymore. Check the records for all the registered
37207 files instead.
37208 * nss/Makefile (libnss_files-routines): Add files-init.
37209 (libnss_db-routines): Add db-init.
37210 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37211 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37212 * nss/nss_db/db-init.c: New file.
37213 * nss/nss_files/files-init.c: New file.
37214 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37215 __nss_lookup_function.
37216 (__nss_lookup_function): Call nss_load_library.
37217 (nss_load_all_libraries): New function.
37218 (__nss_disable_nscd): Take parameter with callback function for files
37219 to register. Set is_nscd. Load all the DSOs for the NSS modules
37220 used for the cached services.
37221 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37222 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37223 options for features to all the files in nscd.
37224
37225 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37226
37227 2011-07-10 Roland McGrath <roland@hack.frob.com>
37228
37229 * csu/elf-init.c (__libc_csu_init): Comment typo.
37230
37231 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37232
37233 * po/pl.po: Update from translation team.
37234 * po/ja.po: Likewise.
37235 * po/ru.po: Likewise.
37236 * po/ko.po: Likewise.
37237 * po/fr.po: Likewise.
37238
37239 2011-07-09 Roland McGrath <roland@hack.frob.com>
37240
37241 * configure.in (.ctors/.dtors header and trailer check):
37242 Use an empirical test on a built program.
37243 * configure: Regenerated.
37244
37245 * configure.in (-z relro check): Use an empirical test on a built DSO.
37246 Detect, but do not require, on ia64.
37247 * configure: Regenerated.
37248
37249 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37250 Update tests that use readelf to use $READELF instead.
37251 * configure: Regenerated.
37252
37253 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37254
37255 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37256 if the result is not used.
37257
37258 2011-07-05 Andreas Jaeger <aj@suse.de>
37259
37260 [BZ#9696]
37261 * stdlib/tst-strtod.c: Add testcase.
37262
37263 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37264
37265 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37266 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37267 The latter has a higher limit. Take additional parameter to pass to
37268 the new function.
37269 (__pathconf): Pass file to __statfs_link_max.
37270 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37271 __statfs_link_max.
37272 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37273 __statfs_link_max.
37274
37275 [BZ #12868]
37276 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37278 Handle Lustre.
37279 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37280 (__statfs_filesize_max): Likewise.
37281 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37282
37283 2011-07-05 Andreas Jaeger <aj@suse.de>
37284
37285 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37286
37287 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37288
37289 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37290 `status' variable.
37291 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37292 Likewise.
37293
37294 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 * Makefile (strop-tests): Add strncat.
37297 * string/test-strncat.c: New file.
37298
37299 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37300
37301 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37302
37303 2011-06-21 Andreas Jaeger <aj@suse.de>
37304
37305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37306 Copy rule from iconvdata/Makefile.
37307
37308 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37309
37310 [BZ #12922]
37311 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37312 but no long options are defined, just return 'W'.
37313
37314 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37315
37316 [BZ #9696]
37317 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37318
37319 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37320
37321 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37322 netgroups to read.
37323 (innetgr): Likewise.
37324
37325 2011-07-05 Roland McGrath <roland@hack.frob.com>
37326
37327 * config.make.in (install_root): Default to $(DESTDIR).
37328
37329 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37330
37331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37332
37333 2011-07-02 Roland McGrath <roland@hack.frob.com>
37334
37335 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37336
37337 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37338 containing directory rather than embedding absolute directory names.
37339
37340 * scripts/check-local-headers.sh: Rewritten using awk.
37341 Match by word, not by line. Print error messages for matches.
37342 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37343
37344 * Makerules [shlib-lds-flags empty]:
37345 ($(common-objpfx)libc_pic.opts): New target.
37346 ($(common-objpfx)libc_pic.os.clean): New target.
37347 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37348
37349 * config.make.in (OBJCOPY): New variable.
37350 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37351 * configure: Regenerated.
37352
37353 * config.make.in (use-default-link): New variable.
37354 * configure.in (use_default_link): Grok --with-default-link to set it.
37355 * configure: Regenerated.
37356 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37357 (shlib-lds, shlib-lds-flags): Define to empty.
37358
37359 * Makerules (shlib-lds): New variable.
37360 (shlib-lds-flags): New variable.
37361 (build-shlib, build-moduile, build-module-asneeded): Use it.
37362 ($(common-objpfx)libc.so): Use $(shlib-lds).
37363 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37364 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37365
37366 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37367 DT_FLAGS/DT_FLAGS_1 with zero flags.
37368
37369 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37370 linker script munging.
37371
37372 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37373
37374 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37375 as 128-bit value.
37376 * crypt/sha512.c (sha512_process_block): Perform total addition using
37377 128-bit if possible.
37378 (__sha512_finish_ctx): Likewise.
37379 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37380 as 64-bit value.
37381 * crypt/sha256.c (SWAP64): Define.
37382 (sha256_process_block): Perform total addition using 64-bit if
37383 possible.
37384 (__sha256_finish_ctx): Likewise.
37385
37386 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37387
37388 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37389 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37390 * nscd/hstcache.c (cache_addhst): Likewise.
37391 * nscd/grpcache.c (cache_addgr): Likewise.
37392 * nscd/aicache.c (addhstaiX): Likewise
37393 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37394
37395 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37396
37397 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37399 * nscd/hstcache.c (cache_addhst): Likewise.
37400 * nscd/grpcache.c (cache_addgr): Likewise.
37401 * nscd/aicache.c (addhstaiX): Likewise
37402
37403 2011-07-01 Andreas Schwab <schwab@redhat.com>
37404
37405 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37406 domain only when needed.
37407
37408 2011-06-30 Andreas Schwab <schwab@redhat.com>
37409
37410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37411 is always restored.
37412
37413 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37414
37415 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37416 are re-adding the entry.
37417 * nscd/servicescache.c (cache_addserv): Likewise.
37418
37419 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37420
37421 * sysdeps/generic/dl-irel.h: fix protection against multiple
37422 inclusions.
37423 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37424
37425 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37426
37427 [BZ #12935]
37428 * malloc/memusage.sh: Fix quoting in message.
37429 * debug/xtrace.sh: Likewise.
37430
37431 * configure.in: Remove support for --experimental-malloc option, make
37432 it the default.
37433 * config.make.in: Likewise.
37434 * malloc/Makefile: Likewise.
37435
37436 2011-06-27 Andreas Schwab <schwab@redhat.com>
37437
37438 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37439 two-byte characters.
37440
37441 2011-06-27 Roland McGrath <roland@hack.frob.com>
37442
37443 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37444 AC_CACHE_CHECK invocation.
37445 * configure: Regenerated.
37446
37447 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37448
37449 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37450
37451 [BZ #12350]
37452 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37453 bit from old_res_options.
37454
37455 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37456
37457 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37458 value type for setfct.
37459
37460 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37463 __gettimeofday instead of gettimeofday.
37464
37465 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37466
37467 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37468
37469 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37470
37471 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37472
37473 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37474 info.
37475
37476 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37477
37478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37479 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37480 strcpy-sse2-unaligned strncpy-sse2-unaligned
37481 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37482 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37483 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37484 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37485 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37486 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37488 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37489 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37490 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37491 (STRCPY): Support SSE2 and SSSE3 versions.
37492
37493 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37494
37495 [BZ #12874]
37496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37497 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37498 kernels which artificially limit size of requests.
37499
37500 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37501
37502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37503 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37504 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37505 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37506 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37507 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37508 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37509 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37512 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37513 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37514 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37515 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37516 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37518 Enable unaligned load optimization for Intel Core i3, i5 and i7
37519 processors.
37520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37521 Define.
37522 (index_Fast_Unaligned_Load): Define.
37523 (HAS_FAST_UNALIGNED_LOAD): Define.
37524
37525 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37526
37527 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37528
37529 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37530
37531 [BZ #12907]
37532 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37533 until it is clear that the information is realy needed.
37534 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37535
37536 2011-06-22 Andreas Schwab <schwab@redhat.com>
37537
37538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37539
37540 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37541
37542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37543 /sys/devices/system/cpu/online if it is usable.
37544
37545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37546 reading the information from the /proc filesystem to once a second.
37547
37548 2011-06-21 Andreas Jaeger <aj@suse.de>
37549
37550 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37551 NULL after inclusion of kernel headers.
37552
37553 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37554
37555 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37556 calls to internal_setent.
37557
37558 [BZ #12885]
37559 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37560 addresses using gethostbyname4_r ignore IPv4 addresses.
37561
37562 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37563 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37564
37565 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37566
37567 2011-06-20 David S. Miller <davem@davemloft.net>
37568
37569 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37570 inclusions.
37571 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37572
37573 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37574 (elf_irel): Use it.
37575 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37576 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37577 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37578 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37579 * sysdeps/x86_64/dl-irel.h: Likewise.
37580
37581 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37582 * elf/dl-sym.c: Likewise.
37583
37584 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37585
37586 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37587 need to dereference resplen2.
37588
37589 2011-06-14 Andreas Schwab <schwab@redhat.com>
37590
37591 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37592
37593 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37594
37595 * Makeconfig: Define vardbdir and inst_vardbdir.
37596 * nss/Makefile: Add rules to install db-Makefile.
37597
37598 * nss/nss_db/db-XXX.c: Cleanup.
37599
37600 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37601 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37602 GLIBC_PRIVATE.
37603 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37604 * nss/makedb.c: Implement -g option to specify that value strings
37605 are generated and should not be added to table iterated over for
37606 get*ent calls.
37607 * nss/nss_db/db-initgroups.c: New file.
37608
37609 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37610 interface.
37611
37612 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37613 (internal_getgrouplist): Adjust to name change.
37614 Update use_initgroups_entry if this is not the first call.
37615 * nss/databases.def: Add initgroups entry.
37616
37617 * nss/makedb.c (compute_tables): Check result of multiple hash table
37618 sizes to minimize maximum chain length.
37619
37620 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37621
37622 * Versions.def: Add entry for libnss_db.
37623 * shlib-versions: Likewise.
37624 * nss/Makefile: Add rules to build libnss_db.
37625 * nss/Versions: Add libnss_db information. Organize libnss_files
37626 entries better.
37627 * nss/db-Makefile: Add gshadow support. Change rules for the new
37628 makedb progra. Some minor improvements to generate smaller files.
37629 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37630 here from...
37631 * nss/makedb.c: ...here.
37632 Improve database format to be smaller and require less memory at
37633 runtime.
37634 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37635 db anymore.
37636 * nss/nss_db/db-netgrp.c: Likewise.
37637 * nss/nss_db/db-open.c: Likewise.
37638 * nss/nss_files/flies-XXX.x: Adjust comments.
37639 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37640 * nss/nss_files/files-grp.c: Likewise.
37641 * nss/nss_files/files-hosts.c: Likewise.
37642 * nss/nss_files/files-network.c: Likewise.
37643 * nss/nss_files/files-proto.c: Likewise.
37644 * nss/nss_files/files-pwd.c: Likewise.
37645 * nss/nss_files/files-rpc.c: Likewise.
37646 * nss/nss_files/files-service.c: Likewise.
37647 * nss/nss_files/files-sgrp.c: Likewise.
37648 * nss/nss_files/files-spwd.c: Likewise.
37649 * nss/nss_db/db-alias.c: Removed.
37650 * nss/nss_db/dummy-db.h: Removed.
37651
37652 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37653
37654 * nss/makedb.c: Rewritten to not use database library.
37655 * nss/Makefile: Update to build new makedb program.
37656
37657 2011-06-14 Andreas Jaeger <aj@suse.de>
37658
37659 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37660 memset declaration.
37661
37662 2011-06-10 Andreas Schwab <schwab@redhat.com>
37663
37664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37665 tmpbuf.
37666
37667 2011-06-10 Roland McGrath <roland@hack.frob.com>
37668
37669 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37670 * elf/Makefile ($(objpfx)ld.so): Likewise.
37671
37672 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37673 Don't list ld.so twice in dependencies.
37674
37675 * posix/bug-regex31.c: Include <stdlib.h>.
37676
37677 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37678
37679 * nis/nss_compat/compat-spwd.c
37680 (getspent_next_nss_netgr): Remove unused variable.
37681 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37682
37683 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37684 nonmembers" output to use the right array.
37685
37686 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37687
37688 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37689
37690 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37691 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37692 * catgets/gencat.c (read_input_file): Likewise.
37693 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37694
37695 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37696 variable definition inside #if's controlling its use.
37697
37698 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37699
37700 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37701
37702 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37703
37704 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37705 unreachable code.
37706
37707 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37708
37709 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37710 * configure: Regenerated.
37711
37712 * Makerules: Revert last change.
37713 * elf/Makefile: Likewise.
37714
37715 2011-06-09 Roland McGrath <roland@hack.frob.com>
37716
37717 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37718 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37719 (reloc-link): Likewise.
37720
37721 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37722
37723 * elf/Makefile: Add rules to build pldd.
37724 * elf/pldd.c: New file.
37725 * elf/pldd-xx.c: New file.
37726
37727 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37728
37729 * version.h: Update for 2.15 development version.
37730
37731 2011-06-07 David S. Miller <davem@davemloft.net>
37732
37733 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37734 ifuncs.
37735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37736 elf_machine_lazy_rel): Likewise.
37737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37739 elf_machine_lazy_rel): Likewise.
37740 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37741 dl_hwcap via passed in argument.
37742 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37743 Likewise.
37744
37745 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37746
37747 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37748
37749 2011-06-06 Roland McGrath <roland@hack.frob.com>
37750
37751 [BZ #12849]
37752 * manual/fdl-1.1.texi: New file, verbatim from:
37753 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37754 * manual/lgpl-2.1.texi: New file, verbatim from:
37755 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37756 * manual/Makefile (licenses): New variable, list those new file names.
37757 (texis): Use it.
37758 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37759
37760 * manual/fdl.texi: File removed.
37761 * manual/lesser.texi: File removed.
37762 * manual/libc.texinfo (Copying, Documentation License):
37763 Use new @include file names, put @appendix directive before @include.
37764
37765 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37766
37767 [BZ #12841]
37768 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37769 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37770 (mq_open): Add __NTH.
37771
37772 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37773
37774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37775 Assume Intel Core i3/i5/i7 processor if AVX is available.
37776
37777 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37778
37779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37780 typo.
37781
37782 2011-05-31 Andreas Schwab <schwab@redhat.com>
37783
37784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37785 memory. Use alloca_account. Fix memory leak when retrying.
37786
37787 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37788
37789 * version.h (RELEASE): Bump for 2.14 release.
37790 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37791
37792 * config.make.in (RANLIB): Remove entry.
37793
37794 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37795
37796 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37797 (libc.pot): Work around missing support for .ksh extension in xgettext.
37798
37799 [BZ #12684]
37800 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37801 if both request failed.
37802 (send_dg): In case of server errors clear resplen or *resplen2.
37803
37804 [BZ #12454]
37805 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37806 when there are multiple maps.
37807 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37808 (_dl_fini): Remove test here.
37809
37810 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37811
37812 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37813
37814 [BZ #12350]
37815 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37816 bit from old_res_options.
37817 (gaih_inet): Likewise.
37818
37819 [BZ #11099]
37820 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37821 as signed.
37822
37823 * resolv/res_init.c (res_setoptions): Make the code more compact.
37824
37825 [BZ #11558]
37826 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37827 set RES_USEVC.
37828
37829 [BZ #11634]
37830 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37831
37832 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37833
37834 [BZ #11781]
37835 * malloc/malloc.h: Declare malloc hook variables as volatile.
37836
37837 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37838 in last patch.
37839
37840 [BZ #11799]
37841 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37842 raise in the comment.
37843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37844 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37845 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37846
37847 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37848
37849 [BZ #12811]
37850 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37851 grow the buffers more if it already has to be sufficient.
37852 (build_wcs_upper_buffer): Likewise.
37853 * posix/regexec.c (check_matching): Likewise.
37854 (clean_state_log_if_needed): Likewise.
37855 (extend_buffers): Don't enlarge buffers beyond size of the input
37856 buffer.
37857 Patches mostly by Emil Wojak <emil@wojak.eu>.
37858 * posix/bug-regex32.c: New file.
37859 * posix/Makefile (tests): Add bug-regex32.
37860
37861 * locale/findlocale.c (_nl_find_locale): Return right away if
37862 _nl_explode_name failed.
37863 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37864
37865 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37866
37867 * debug/xtrace.sh: Unify messages.
37868 * malloc/memusage.sh: Likewise.
37869
37870 [BZ #12813]
37871 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37872 time symbol from vDSO. Substitute with vsyscall if not available.
37873 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37874 __vdso_time.
37875
37876 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37877 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37878 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37879 Add sendmmsg and internal_sendmmsg.
37880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37881 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37882 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37883
37884 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37885 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37886 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37887
37888 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37889
37890 [BZ #12813]
37891 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37892 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37893 available.
37894 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37895 __vdso_getcpu.
37896
37897 [BZ #12814]
37898 * iconvdata/Makefile (tests): Add bug-iconv9.
37899 * iconvdata/bug-iconv9.c: New file.
37900
37901 2011-05-27 Andreas Schwab <schwab@redhat.com>
37902
37903 [BZ #12814]
37904 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37905
37906 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37907
37908 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37909 (struct user_regs_struct): Change intcs field back to cs.
37910
37911 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37912
37913 * po/ja.po: Update from translation team.
37914
37915 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37916
37917 [BZ #12795]
37918 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37919 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37920
37921 2011-05-20 Andreas Schwab <schwab@redhat.com>
37922
37923 * stdlib/longlong.h: Update from GCC.
37924
37925 2011-05-23 Andreas Schwab <schwab@redhat.com>
37926
37927 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37928 parameter name.
37929 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37930 Add parameter name.
37931 (__sysconf): Pass it down.
37932
37933 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37934
37935 [BZ #12671]
37936 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37937 some situations.
37938 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37939 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37940 add in in __libc_use_alloca calls. Adjust callers.
37941 (glob): Use malloc in some situations.
37942
37943 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37944 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37945 pltexit.
37946
37947 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37948
37949 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37950 and CLOCK_BOOTTIME_ALARM.
37951
37952 [BZ #12782]
37953 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37954 is returned.
37955
37956 * string/_strerror.c (__strerror_r): Print negative errors as signed
37957 numbers.
37958
37959 [BZ #12777]
37960 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37961 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37962 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37963
37964 * configure.in: Fix typo in redirection and correct removal of test
37965 files in two cases.
37966
37967 [BZ #12788]
37968 * locale/setlocale.c (new_composite_name): Fix test to check for
37969 identical name of all categories.
37970
37971 [BZ #12792]
37972 * libio/filedoalloc.c (local_isatty): New function.
37973 (_IO_file_doallocate): Use local_isatty.
37974 * stdio-common/perror.c (perror): In case a new stream is used
37975 forward the stream error.
37976 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37977 error flag.
37978
37979 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37980
37981 [BZ #11869]
37982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37983 alloca.
37984 * include/alloca.h (extend_alloca_account): Define.
37985
37986 [BZ #11857]
37987 * posix/regex.h: Fix comments with documentation of user-accessible
37988 fields after compilation and describe correct free'ing of pattern
37989 after re_compile_pattern.
37990 Patch by Reuben Thomas <rrt@sc3d.org>.
37991
37992 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37993
37994 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37995 and -mno-altivec to prevent the compiler from using Altivec and/or
37996 VSX instructions when the corresponding registers are not available.
37997
37998 2011-05-19 Andreas Schwab <schwab@redhat.com>
37999
38000 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38001
38002 2011-05-19 Ulrich Drepper <drepper@gmail.com>
38003
38004 * libio/freopen.c (freopen): Use __dup2, not dup2.
38005 * libio/freopen64.c (freopen64): Likewise.
38006
38007 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
38008
38009 [BZ #12775]
38010 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38011 * math/Makefile (tests): Add test-powl.
38012 (CFLAGS-test-powl.c): Define.
38013 * math/test-powl.c: New file.
38014
38015 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
38016
38017 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38018
38019 2011-05-17 Ulrich Drepper <drepper@gmail.com>
38020
38021 [BZ #11837]
38022 * iconvdata/gb18030.c: Update to GB18020-2005.
38023
38024 2011-05-16 Ulrich Drepper <drepper@gmail.com>
38025
38026 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38027 RE_SYNTAX_POSIX_AWK): Update to match recent development.
38028 Patch by Aharon Robbins <arnold@skeeve.com>.
38029
38030 [BZ #11892]
38031 * stdlib/putenv.c (putenv): Don't always create copy of the variable
38032 on the stack.
38033
38034 [BZ #11895]
38035 * misc/pselect.c (__pselect): Handle timeout value errors hidden
38036 through underflows.
38037
38038 [BZ #12766]
38039 * misc/error.c (error_at_line): Ensure file_name and old_file_name
38040 point to strings before performing equality test for error_one_per_line
38041 mode.
38042
38043 [BZ #11697]
38044 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38045
38046 [BZ #11820]
38047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38048 (struct user_fpregs_struct): Avoid __uint*_t types.
38049
38050 [BZ #6420]
38051 * malloc/mtrace.c (tr_where): Add additional parameter to point to
38052 symbol info. Use it instead of calling _dl_addr locally.
38053 (lock_and_info): New function.
38054 (tr_freehook): Call lock_and_info and pass symbol info as additional
38055 parameter to tr_where.
38056 (tr_mallochook): Likewise.
38057 (tr_reallochook): Likewise.
38058 (tr_memalignhook): Likewise.
38059
38060 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38061 used and couldn't be at all thread-safe.
38062
38063 2011-05-15 Ulrich Drepper <drepper@gmail.com>
38064
38065 * libio/freopen.c (freopen): Don't close old file descriptor
38066 before the new one is opened. Instead dup the new file descriptor
38067 to the old one after the new stream is created.
38068 * libio/freopen64.c (freopen64): Likewise.
38069 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38070 * libio/fileops.c (_IO_new_file_close_it): Handle new
38071 _IO_FLAGS2_NOCLOSE flag.
38072 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38073 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38074 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38075 _IO_FLAGS2_NOCLOSE flag.
38076 * include/unistd.h: Add hidden_proto for dup3.
38077 Define __have_dup3.
38078 * io/dup3.c: Define hidden symbol.
38079 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38080
38081 [BZ #7101]
38082 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38083 when an incomplete long option is used.
38084 * posix/tst-getopt_long1.c: New file.
38085 * posix/Makefile (tests): Add tst-getopt_long1.
38086
38087 [BZ #10138]
38088 * scripts/config.guess: Update from autoconf-2.68.
38089 * scripts/config.sub: Likewise.
38090
38091 [BZ #10157]
38092 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38093 tests into ...
38094 (has_cpuclock): ...this. New function.
38095 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38096 macro here based on has_cpuclock code.
38097
38098 [BZ #10149]
38099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38100 First byte (not low byte) is now always NUL.
38101 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38102
38103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38104 Use non-cancelable interfaces.
38105
38106 [BZ #9809]
38107 * locale/iso-639.def: Add entry for Sorani.
38108
38109 [BZ #11901]
38110 * include/stdlib.h: Move include protection to the right place.
38111 Define abort_msg_s. Declare __abort_msg with it.
38112 * stdlib/abort.c (__abort_msg): Adjust type.
38113 * assert/assert.c (__assert_fail_base): New function. Majority
38114 of code from __assert_fail. Allocate memory for __abort_msg with
38115 mmap.
38116 (__assert_fail): Now call __assert_fail_base.
38117 * assert/assert-perr.c: Remove bulk of implementation. Use
38118 __assert_fail_base.
38119 * include/assert.hL Declare __assert_fail_base.
38120 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38121 mmap.
38122 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38123
38124 2011-05-14 Ulrich Drepper <drepper@gmail.com>
38125
38126 [BZ #11952]
38127 [BZ #12453]
38128 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38129 until all modules are registered in the DTV.
38130 * elf/Makefile: Add rules to build and run tst-tls19.
38131 * elf/tst-tls19.c: New file.
38132 * elf/tst-tls19mod1.c: New file.
38133 * elf/tst-tls19mod2.c: New file.
38134 * elf/tst-tls19mod3.c: New file.
38135 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38136
38137 [BZ #12083]
38138 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38139 correctly.
38140
38141 [BZ #12601]
38142 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38143 two-byte sequence errors.
38144 * iconvdata/Makefile (tests): Add bug-iconv8.
38145 * iconvdata/bug-iconv8.c: New file.
38146
38147 [BZ #12626]
38148 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38149 buf2 definition.
38150
38151 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38152
38153 [BZ #12432]
38154 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38155 (dummy_getcfa): New function.
38156 (init): Get _Unwind_GetCFA address, use dummy if not found.
38157 (backtrace_helper): In recursion check, also check whether CFA changes.
38158 (__backtrace): Completely initialize arg.
38159
38160 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38161 storing incomplete byte sequence in state object. Avoid testing for
38162 guaranteed too small input if we know there is enough data available.
38163
38164 2011-05-11 Andreas Schwab <schwab@redhat.com>
38165
38166 * Makeconfig (+link-pie): Indent.
38167 * Rules (binaries-pie): Define if $(have-fpie) and
38168 $(build-shared).
38169 (binaries-shared): Also filter out $(binaries-pie).
38170 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38171 * nscd/Makefile (others-pie): Add nscd.
38172 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38173 ($(objpfx)nscd): Remove command override.
38174 * login/Makefile (others-pie): Add pt_chown.
38175 ($(objpfx)pt_chown): Remove command override.
38176 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38177 remove command overrides.
38178
38179 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38180
38181 * libio/tst_putwc.c: Fix error messages.
38182
38183 [BZ #12724]
38184 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38185 currently writing and seek to current position when not.
38186 * libio/Makefile (tests): Add bug-fclose1.
38187 * libio/bug-fclose1.c: New file.
38188
38189 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38190
38191 [BZ #12511]
38192 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38193 don't set DF_1_NODELETE here.
38194 (do_lookup_x): When entering new entry test for copy relocation
38195 and if necessary set DF_1_NODELETE flag.
38196 * elf/tst-unique4.cc: New file.
38197 * elf/tst-unique4.h: New file.
38198 * elf/tst-unique4lib.cc: New file.
38199 * elf/Makefile: Add rules to build and run tst-unique4.
38200 Patch by Piotr Bury <pbury@goahead.com>.
38201
38202 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38203
38204 [BZ #12052]
38205 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38206
38207 [BZ #12625]
38208 * misc/mntent_r.c (addmntent): Flush the stream after the output
38209
38210 [BZ #12393]
38211 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38212 (is_trusted_path_normalize): Skip initial colon. Append slash
38213 to empty buffer. Duplicate is_trusted_path code but allow
38214 constructed patch to be prefix.
38215 (is_dst): Allow $ORIGIN followed by /.
38216 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38217 Correct testing of result of is_trusted_path_normalize
38218 (decompose_rpath): Fix warning.
38219
38220 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38221
38222 [BZ #11257]
38223 * grp/initgroups.c (internal_getgrouplist): When we found the service
38224 list through the initgroups entry in nsswitch.conf do not always
38225 continue on a successful lookup. Don't always use the
38226 __nss_group_database value if it is set.
38227 * nss/nsswitch.conf (initgroups): Change action for successful db
38228 lookup to continue for compatibility.
38229
38230 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38231
38232 [BZ #11532]
38233 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38234 and CP774 modules.
38235 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38236 and CP774 modules.
38237 * iconvdata/tst-tables.sh: Likewise.
38238 * iconvdata/cp770.c: New file.
38239 * iconvdata/cp771.c: New file.
38240 * iconvdata/cp772.c: New file.
38241 * iconvdata/cp773.c: New file.
38242 * iconvdata/cp774.c: New file.
38243 * iconvdata/testdata/CP770: New file.
38244 * iconvdata/testdata/CP770..UTF8: New file.
38245 * iconvdata/testdata/CP771: New file.
38246 * iconvdata/testdata/CP771..UTF8: New file.
38247 * iconvdata/testdata/CP772: New file.
38248 * iconvdata/testdata/CP772..UTF8: New file.
38249 * iconvdata/testdata/CP773: New file.
38250 * iconvdata/testdata/CP773..UTF8: New file.
38251 * iconvdata/testdata/CP774: New file.
38252 * iconvdata/testdata/CP774..UTF8: New file.
38253
38254 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38255 END CHARMAP line.
38256 * iconvdata/gen-8bit-gap.sh: Likewise.
38257 * iconvdata/gen-8bit.sh: Likewise.
38258
38259 * locale/iso-639.def: Add ary entry.
38260
38261 [BZ #11258]
38262 * locale/C-translit.h.in: Add U20A1 transliteration.
38263
38264 [BZ #12178]
38265 * locale/iso-639.def: Add wae entry.
38266 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38267
38268 [BZ #12545]
38269 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38270 for n.
38271
38272 [BZ #12711]
38273 * locale/C-translit.h.in: Add entry for U20B9.
38274 Patch by pravin.d.s@gmail.com.
38275
38276 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38277
38278 [BZ #12713]
38279 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38280 ENAMETOOLONG use generic getcwd.
38281 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38282 in rtld. Use *stat64.
38283 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38284 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38285 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38286 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38287 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38288 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38289 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38290 __fstatat64 macros.
38291 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38292 * dirent/rewinddir.c: Add libc_hidden_def.
38293 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38294 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38295
38296 * include/dirent.h (__alloc_dir): Add flags parameter.
38297 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38298 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38299 __alloc_dir.
38300 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38301 from fdopendir if O_CLOEXEC is already set.
38302
38303 2011-03-15 Alan Modra <amodra@gmail.com>
38304
38305 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38306 l_tls_firstbyte_offset non-zero. Save padding offset in
38307 l_tls_firstbyte_offset for later use.
38308 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38309 freeing static tls block.
38310
38311 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38312
38313 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38314 where #ifdef was intended. The intent is to prevent ARG_MAX from
38315 being defined by the kernel headers.
38316
38317 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38318
38319 [BZ #12734]
38320 * resolv/resolv.h: Define RES_NOTLDQUERY.
38321 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38322 no-tld-query and set RES_NOTLDQUERY.
38323 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38324 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38325 modern BIND to search name as TLD unless forbidden.
38326
38327 2011-05-07 Petr Baudis <pasky@suse.cz>
38328 Ulrich Drepper <drepper@gmail.com>
38329
38330 [BZ #12393]
38331 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38332 (is_trusted_path): ...to here.
38333 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38334 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38335 using is_trusted_path_normalize() in setuid scripts.
38336
38337 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38338
38339 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38340 __BEGIN/__END_DECLS.
38341
38342 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38343
38344 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38345 NSS_STATUS_NOTFOUND if no record was found.
38346
38347 2011-05-05 Andreas Schwab <schwab@redhat.com>
38348
38349 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38350 (headers-not-in-tirpc): Remove rpc/netdb.h
38351 * resolv/netdb.h: Revert last change.
38352
38353 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38354
38355 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38356 circular dependency between libgcc.a and libc.a.
38357
38358 2011-05-05 Andreas Schwab <schwab@redhat.com>
38359
38360 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38361 * nis/Makefile: Don't install rpcsvc/*.
38362 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38363 instead of <rpc/types.h>.
38364 (MAXHOSTNAMELEN): Define.
38365
38366 2011-05-03 Andreas Schwab <schwab@redhat.com>
38367
38368 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38369
38370 2011-04-28 Maciej Babinski <mbabinski@google.com>
38371
38372 [BZ #12714]
38373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38374 gethostbyname4_r when IPv6 results are possible.
38375
38376 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38377
38378 [BZ #12723]
38379 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38380 _PC_PIPE_BUF handling.
38381
38382 2011-04-30 Bruno Haible <bruno@clisp.org>
38383
38384 [BZ #12717]
38385 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38386 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38387 to 'int'.
38388 * inet/getnameinfo.c (getnameinfo): Likewise.
38389
38390 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38391
38392 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38393 to groups setting in database lookup.
38394 * nss/nsswitch.conf: Add initgroups entry.
38395
38396 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38397
38398 [BZ #12685]
38399 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38400 mode string.
38401 Patch by Eric Blake <eblake@redhat.com>.
38402
38403 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38404
38405 * sunrpc/Makefile (need-export-routines): Add svc_run.
38406 (routines): Remove svc_run.
38407 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38408 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38409 * sunrpc/svc_run.c (svc_run): Likewise.
38410 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38411
38412 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38413
38414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38415 problem in reallocation in last patch.
38416
38417 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38418
38419 * sunrpc/Makefile: Move inclusion of Rules.
38420
38421 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38422
38423 * nss/nss_files/files-initgroups.c: New file.
38424 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38425 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38426 _nss_files_initgroups_dyn.
38427
38428 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38429
38430 * elf/elf.h (R_ARM_IRELATIVE): Define.
38431
38432 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38433
38434 * po/ru.po: Update from translation team.
38435
38436 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38437
38438 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38439 dependencies.
38440
38441 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38442
38443 [BZ #12653]
38444 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38445 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38449
38450 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38451
38452 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38453 differing bytes.
38454 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38457
38458 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38459
38460 [BZ #12420]
38461 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38462 storing it.
38463 * stdlib/bug-getcontext.c: New file.
38464 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38465
38466 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38467
38468 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38469 instructions into .machine "z9-109".
38470 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38471 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38472
38473 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38474
38475 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38476 between environment variables and auxiliary vector.
38477
38478 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38479
38480 * Makefile: Add rules to build linkobj/libc.so.
38481 * include/libc-symbols.h: Define libc_hidden_nolink.
38482 * include/rpc/auth.h: Mark functions which are to be hidden.
38483 * include/rpc/auth_des.h: Likewise.
38484 * include/rpc/auth_unix.h: Likewise.
38485 * include/rpc/clnt.h: Likewise.
38486 * include/rpc/des_crypt.h: Likewise.
38487 * include/rpc/key_prot.h: Likewise.
38488 * include/rpc/pmap_clnt.h: Likewise.
38489 * include/rpc/pmap_prot.h: Likewise.
38490 * include/rpc/pmap_rmt.h: Likewise.
38491 * include/rpc/rpc_msg.h: Likewise.
38492 * include/rpc/svc.h: Likewise.
38493 * include/rpc/svc_auth.h: Likewise.
38494 * include/rpc/xdr.h: Likewise.
38495 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38496 * nss/Makefile: Likewise.
38497 * sunrpc/Makefile: Don't install headers. Build library with normal
38498 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38499 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38500 for the compat linking library. Remove use of INTDEF/INTUSE.
38501 * sunrpc/auth_none.c: Likewise.
38502 * sunrpc/auth_unix.c: Likewise.
38503 * sunrpc/authdes_prot.c: Likewise.
38504 * sunrpc/authuxprot.c: Likewise.
38505 * sunrpc/clnt_gen.c: Likewise.
38506 * sunrpc/clnt_perr.c: Likewise.
38507 * sunrpc/clnt_raw.c: Likewise.
38508 * sunrpc/clnt_simp.c: Likewise.
38509 * sunrpc/clnt_tcp.c: Likewise.
38510 * sunrpc/clnt_udp.c: Likewise.
38511 * sunrpc/clnt_unix.c: Likewise.
38512 * sunrpc/des_crypt.c: Likewise.
38513 * sunrpc/des_soft.c: Likewise.
38514 * sunrpc/get_myaddr.c: Likewise.
38515 * sunrpc/key_call.c: Likewise.
38516 * sunrpc/key_prot.c: Likewise.
38517 * sunrpc/netname.c: Likewise.
38518 * sunrpc/pm_getmaps.c: Likewise.
38519 * sunrpc/pm_getport.c: Likewise.
38520 * sunrpc/pmap_clnt.c: Likewise.
38521 * sunrpc/pmap_prot.c: Likewise.
38522 * sunrpc/pmap_prot2.c: Likewise.
38523 * sunrpc/pmap_rmt.c: Likewise.
38524 * sunrpc/publickey.c: Likewise.
38525 * sunrpc/rpc_cmsg.c: Likewise.
38526 * sunrpc/rpc_common.c: Likewise.
38527 * sunrpc/rpc_dtable.c: Likewise.
38528 * sunrpc/rpc_prot.c: Likewise.
38529 * sunrpc/rpc_thread.c: Likewise.
38530 * sunrpc/rtime.c: Likewise.
38531 * sunrpc/svc.c: Likewise.
38532 * sunrpc/svc_auth.c: Likewise.
38533 * sunrpc/svc_authux.c: Likewise.
38534 * sunrpc/svc_raw.c: Likewise.
38535 * sunrpc/svc_run.c: Likewise.
38536 * sunrpc/svc_simple.c: Likewise.
38537 * sunrpc/svc_tcp.c: Likewise.
38538 * sunrpc/svc_udp.c: Likewise.
38539 * sunrpc/svc_unix.c: Likewise.
38540 * sunrpc/svcauth_des.c: Likewise.
38541 * sunrpc/xcrypt.c: Likewise.
38542 * sunrpc/xdr.c: Likewise.
38543 * sunrpc/xdr_array.c: Likewise.
38544 * sunrpc/xdr_float.c: Likewise.
38545 * sunrpc/xdr_intXX_t.c: Likewise.
38546 * sunrpc/xdr_mem.c: Likewise.
38547 * sunrpc/xdr_rec.c: Likewise.
38548 * sunrpc/xdr_ref.c: Likewise.
38549 * sunrpc/xdr_sizeof.c: Likewise.
38550 * sunrpc/xdr_stdio.c: Likewise.
38551
38552 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38553
38554 [BZ #12650]
38555 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38556 * sysdeps/ia64/dl-tls.h: Likewise.
38557 * sysdeps/powerpc/dl-tls.h: Likewise.
38558 * sysdeps/s390/dl-tls.h: Likewise.
38559 * sysdeps/sh/dl-tls.h: Likewise.
38560 * sysdeps/sparc/dl-tls.h: Likewise.
38561 * sysdeps/x86_64/dl-tls.h: Likewise.
38562 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38563
38564 2011-03-14 Andreas Schwab <schwab@redhat.com>
38565
38566 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38567 rpath element also skip the following colon.
38568 (expand_dynamic_string_token): Add is_path parameter and pass
38569 down to DL_DST_REQUIRED and _dl_dst_substitute.
38570 (decompose_rpath): Call expand_dynamic_string_token with
38571 non-zero is_path. Ignore empty rpaths.
38572 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38573 with zero is_path.
38574
38575 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38576
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38578 Make cancelable.
38579
38580 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38581
38582 [BZ #12655]
38583 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38584 Patch by Filipe David Manana <fdmanana@apache.org>.
38585
38586 2011-04-07 Andreas Schwab <schwab@redhat.com>
38587
38588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38589 Maintain aligned stack.
38590 (CHECK_RSP): Remove unused macro.
38591
38592 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38593
38594 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38595 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38596
38597 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38598
38599 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38600
38601 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38602
38603 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38604
38605 [BZ #12518]
38606 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38607 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38608 * sysdeps/x86_64/memmove.c: New file.
38609 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38610 (memcpy): Renamed to ...
38611 (__new_memcpy): This.
38612 (memcpy): Provide GLIBC_2_14 memcpy.
38613 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38614 (memcpy): Provide GLIBC_2_2_5 memcpy.
38615
38616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38617
38618 [BZ #12631]
38619 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38620
38621 2011-03-30 Andreas Schwab <schwab@redhat.com>
38622
38623 * misc/syncfs.c: New file.
38624 * misc/Makefile (routines): Add syncfs.
38625 * posix/unistd.h: Declare syncfs.
38626 * sysdeps/unix/syscalls.list: Add syncfs.
38627
38628 2011-04-01 Andreas Schwab <schwab@redhat.com>
38629
38630 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38631 open_by_handle_at.
38632 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38633 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38637 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38639
38640 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38641
38642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38643 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38644 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38649
38650 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38651 sync_file_range.c with -fexceptions.
38652 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38653 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38654 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38655 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38656 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38657 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38659 sync_file_range as cancellation point
38660 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38661 now a wrapper around __call_sync_file_range with cancellation handling.
38662 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38663 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38664 function name to __call_sync_file_range.
38665 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38666 Add call_sync_file_range.
38667
38668 2011-04-01 Andreas Schwab <schwab@redhat.com>
38669
38670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38671 bits/timex.h.
38672
38673 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38674
38675 * iconv/iconv.h: Fix typo in comment.
38676 * io/fcntl.h: Likewise.
38677 * libio/stdio.h: Likewise.
38678 * posix/spawn.h: Likewise.
38679 * posix/unistd.h: Likewise.
38680 * stdlib/stdlib.h: Likewise.
38681 * time/time.h: Likewise.
38682 * wcsmbs/wchar.h: Likewise.
38683
38684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38685 open_by_handle): Add.
38686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38687 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38688 Augment a few comments.
38689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38693 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38694 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38695 open_by_handle.
38696
38697 * io/fcntl.h (AT_EMPTY_PATH): Define.
38698
38699 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38700
38701 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38702 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38703 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38704 to...
38705 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38706 * Versions.def: Add GLIBC_2.14.
38707 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38708 Export.
38709
38710 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38711
38712 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38713 round counter.
38714 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38715
38716 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38717
38718 [BZ #12597]
38719 * string/test-strncmp.c (do_page_test): New function.
38720 (check2): Likewise.
38721 (test_main): Call check2.
38722 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38723
38724 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38725
38726 [BZ #12587]
38727 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38728 Handle cache information in CPU leaf 4.
38729 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38730
38731 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38732
38733 [BZ #12583]
38734 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38735 character representation.
38736 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38737
38738 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38739
38740 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38741 END(__isnan) to END(__isnanf) to match function entry point/label
38742 EALIGN(__isnanf,...).
38743
38744 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38745
38746 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38747
38748 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38749
38750 [BZ #12510]
38751 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38752 copy from the symbol referenced in the relocation to initialize the
38753 used variable.
38754 Patch by Piotr Bury <pbury@goahead.com>.
38755 * elf/Makefile: Add rules to build and tst-unique3.
38756 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38757 * elf/tst-unique3.cc: New file.
38758 * elf/tst-unique3.h: New file.
38759 * elf/tst-unique3lib.cc: New file.
38760 * elf/tst-unique3lib2.cc: New file.
38761
38762 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38763
38764 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38765
38766 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38767 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38768 to _start.
38769
38770 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38771
38772 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38773 to-be-loaded object along a path to loader is ld.so.
38774
38775 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38776 Ulrich Drepper <drepper@gmail.com>
38777
38778 * sysdeps/x86_64/memset.S: After aligning destination, code
38779 branches to different locations depending on the value of
38780 misalignment, when multiarch is enabled. Fix this.
38781
38782 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38783
38784 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38785 Set _x86_64_preferred_memory_instruction for AMD processsors.
38786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38787 Set bit_Prefer_SSE_for_memop for AMD processors.
38788
38789 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38790
38791 * libio/fmemopen.c (fmemopen): Optimize a bit.
38792
38793 2011-03-03 Andreas Schwab <schwab@redhat.com>
38794
38795 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38796
38797 2011-03-03 Roland McGrath <roland@redhat.com>
38798
38799 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38800
38801 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38802
38803 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38804 __bzero_ultra1 instead of __memset_ultra1.
38805
38806 2011-02-23 Andreas Schwab <schwab@redhat.com>
38807 Ulrich Drepper <drepper@gmail.com>
38808
38809 [BZ #12509]
38810 * include/link.h (struct link_map): Add l_orig_initfini.
38811 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38812 returning unsuccessfully.
38813 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38814 close of a file loaded at startup, restore the original l_initfini
38815 list.
38816 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38817 list, store the pointer.
38818 * elf/Makefile ($(objpfx)noload-mem): New rule.
38819 (noload-ENV): Define.
38820 (tests): Add $(objpfx)noload-mem.
38821 * elf/noload.c: Include <memcheck.h>.
38822 (main): Call mtrace. Close all opened handles.
38823
38824 2011-02-17 Andreas Schwab <schwab@redhat.com>
38825
38826 [BZ #12454]
38827 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38828 dependencies are missing.
38829
38830 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38831
38832 Fix __if_freereq crash: Unlike the generic version which uses free,
38833 Hurd needs munmap.
38834 * sysdeps/mach/hurd/ifreq.h: New file.
38835
38836 2011-01-27 Petr Baudis <pasky@suse.cz>
38837 Ulrich Drepper <drepper@gmail.com>
38838
38839 [BZ 12445]#
38840 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38841 to extend_alloca().
38842 * stdio-common/bug23.c: New file.
38843 * stdio-common/Makefile (tests): Add bug23.
38844
38845 2010-09-28 Andreas Schwab <schwab@redhat.com>
38846 Ulrich Drepper <drepper@gmail.com>
38847
38848 [BZ #12489]
38849 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38850 before performing relro protection. At old place add assertion
38851 to make sure nothing changed.
38852
38853 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38854 Glauber de Oliveira Costa <glommer@gmail.com>
38855
38856 * elf/elf.h: Add new ARM TLS relocs.
38857
38858 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38859
38860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38861 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38862 cast from r3.
38863 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38864 'tests' variable.
38865 * sysdeps/wordsize-64/tst-writev.c: New file.
38866
38867 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38868
38869 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38870 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38871 insns in _dl_start to prevent a TOC reference before relocs are
38872 resolved.
38873
38874 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38875
38876 [BZ #12469]
38877 * Makeconfig: Remove RANLIB definition.
38878 * Makerules: Don't use RANLIB.
38879 * aclocal.m4: Remove ranlib test.
38880 * configure.in: No need to check for ranlib.
38881 * elf/rtld-Rules: Don't use RANLIB.
38882
38883 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38884
38885 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38886 protection macro.
38887 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38888 inclusion protection macro.
38889
38890 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38891 SIGRTMIN and SIGRTMAX and print information in that case only when
38892 SIGRTMIN is defined.
38893
38894 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38895
38896 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38897 arginfo fn returning -1.
38898
38899 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38900 and thousands string is zero terminated.
38901
38902 2011-02-03 Andreas Schwab <schwab@redhat.com>
38903
38904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38905 sysdeps/unix/sysv/linux/bits/socket.h.
38906
38907 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38908
38909 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38910 (__CPU_COUNT): Remove old macros.
38911 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38912 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38913 (__CPU_ALLOC, __CPU_FREE): Add macros.
38914 (__sched_cpualloc, __sched_cpufree): Add declarations.
38915
38916 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38917
38918 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38919 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38920 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38921 (readdhstai): Return value of addhstaiX call.
38922 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38923 (addgrbyX): Return value returned by cache_addgr.
38924 (readdgrbyname): Return value returned by addgrbyX.
38925 (readdgrbygid): Likewise.
38926 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38927 (addpwbyX): Return value returned by cache_addpw.
38928 (readdpwbyname): Return value returned by addhstbyX.
38929 (readdpwbyuid): Likewise.
38930 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38931 (addservbyX): Return value returned by cache_addserv.
38932 (readdservbyname): Return value returned by addservbyX:
38933 (readdservbyport): Likewise.
38934 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38935 (addhstbyX): Return value returned by cache_addhst.
38936 (readdhstbyname): Return value returned by addhstbyX.
38937 (readdhstbyaddr): Likewise.
38938 (readdhstbynamev6): Likewise.
38939 (readdhstbyaddrv6): Likewise.
38940 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38941 (readdinitgroups): Return value returned by addinitgroupsX.
38942 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38943 (prune_cache): Keep track of timeout value of re-added entries.
38944 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38945 * nscd/nscd.h: Adjust prototypes of readd* functions.
38946
38947 2011-02-04 Roland McGrath <roland@redhat.com>
38948
38949 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38950 (nis_stats): Likewise.
38951 * nis/nis_modify.c (nis_modify): Likewise.
38952 * nis/nis_remove.c (nis_remove): Likewise.
38953 * nis/nis_add.c (nis_add): Likewise.
38954
38955 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38956
38957 * posix/fnmatch_loop.c: Add some consts.
38958
38959 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38960
38961 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38962
38963 [BZ #12460]
38964 * config.make.in (config-cflags-novzeroupper): Define.
38965 * configure.in: Substitute libc_cv_cc_novzeroupper.
38966 * elf/Makefile (AVX-CFLAGS): Define.
38967 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38968 (CFLAGS-tst-auditmod4a.c): Likewise.
38969 (CFLAGS-tst-auditmod4b.c): Likewise.
38970 (CFLAGS-tst-auditmod6b.c): Likewise.
38971 (CFLAGS-tst-auditmod6c.c): Likewise.
38972 (CFLAGS-tst-auditmod7b.c): Likewise.
38973 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38974
38975 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38976
38977 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38978 function to the callback.
38979 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38980
38981 2011-02-02 Andreas Schwab <schwab@redhat.com>
38982
38983 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38984 of errno.
38985
38986 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38987
38988 [BZ #11724]
38989 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38990 of constructors.
38991 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38992 of destructors.
38993 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38994
38995 [BZ #11724]
38996 * elf/Makefile: Add rules to build and run new test.
38997 * elf/tst-initorder.c: New file.
38998 * elf/tst-initorder.exp: New file.
38999 * elf/tst-initordera1.c: New file.
39000 * elf/tst-initordera2.c: New file.
39001 * elf/tst-initordera3.c: New file.
39002 * elf/tst-initordera4.c: New file.
39003 * elf/tst-initorderb1.c: New file.
39004 * elf/tst-initorderb2.c: New file.
39005 * elf/tst-order-a1.c: New file.
39006 * elf/tst-order-a2.c: New file.
39007 * elf/tst-order-a3.c: New file.
39008 * elf/tst-order-a4.c: New file.
39009 * elf/tst-order-b1.c: New file.
39010 * elf/tst-order-b2.c: New file.
39011 * elf/tst-order-main.c: New file.
39012 New test case by George Gensure <werkt0@gmail.com>.
39013
39014 2010-10-01 Andreas Schwab <schwab@redhat.com>
39015
39016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39017 decoding ACE if AI_CANONIDN.
39018
39019 2011-01-18 Ulrich Drepper <drepper@gmail.com>
39020
39021 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39022
39023 2011-01-17 Ulrich Drepper <drepper@gmail.com>
39024
39025 * version.h (RELEASE): Bump for 2.13 release.
39026 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39027
39028 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39029
39030 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39031 MADV_NOHUGEPAGE.
39032 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39035 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39038
39039 * posix/getconf.c: Update copyright year.
39040 * catgets/gencat.c: Likewise.
39041 * csu/version.c: Likewise.
39042 * debug/catchsegv.sh: Likewise.
39043 * debug/xtrace.sh: Likewise.
39044 * elf/ldconfig.c: Likewise.
39045 * elf/ldd.bash.in: Likewise.
39046 * elf/sprof.c (print_version): Likewise.
39047 * iconv/iconv_prog.c: Likewise.
39048 * iconv/iconvconfig.c: Likewise.
39049 * locale/programs/locale.c: Likewise.
39050 * locale/programs/localedef.c: Likewise.
39051 * malloc/memusage.sh: Likewise.
39052 * malloc/mtrace.pl: Likewise.
39053 * nscd/nscd.c (print_version): Likewise.
39054 * nss/getent.c: Likewise.
39055
39056 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39057 PF_CAIF, and PF_ALG.
39058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39059
39060 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39061
39062 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39063 (modules-names): Use them.
39064 (ifunc-test-modules, ifunc-pie-tests): Define.
39065 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39066 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39067 (test-extras): Likewise.
39068 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39069 $(compile-command.c).
39070 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39071 (all-built-dso): Define.
39072 (check-textrel.out, check-execstack.out): Depend on it.
39073
39074 * configure.in: Don't override --enable-multi-arch.
39075
39076 2011-01-15 Ulrich Drepper <drepper@gmail.com>
39077
39078 [BZ #6812]
39079 * nscd/hstcache.c (tryagain): Define.
39080 (cache_addhst): Return tryagain not notfound for temporary errors.
39081 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39082 failed.
39083
39084 2011-01-14 Ulrich Drepper <drepper@gmail.com>
39085
39086 [BZ #10563]
39087 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39088 to make the syscall.
39089 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39090
39091 [BZ #12378]
39092 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39093 and fall back to matching as normal character if the string ends before
39094 the matching ']' is found. This is what POSIX requires.
39095 * posix/testfnm.c: Adjust test result.
39096 * posix/globtest.sh: Adjust test result. Add new test.
39097 * posix/tst-fnmatch.input: Likewise.
39098 * posix/tst-fnmatch2.c: Add new test.
39099
39100 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39101
39102 * elf/Makefile (check-execstack): Revert last change. Depend on
39103 check-execstack.h.
39104 (check-execstack.h): New target.
39105 (generated): Add check-execstack.h.
39106 * elf/check-execstack.c: Include "check-execstack.h".
39107 (main): Revert last change.
39108 (handle_file): Return zero if GNU_STACK is absent and
39109 DEFAULT_STACK_PERMS doesn't include PF_X.
39110
39111 2011-01-13 Ulrich Drepper <drepper@gmail.com>
39112
39113 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39114 in child fails because the descriptor is already closed.
39115 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39116 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39117 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39118
39119 [BZ #12397]
39120 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39121 syscall.
39122
39123 [BZ #10484]
39124 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39125 temporary buffer used to handle multi lookups locally.
39126 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39127
39128 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39129
39130 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39131 loader is ld.so.
39132
39133 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39134
39135 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39136 alignment for SSE2.
39137
39138 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39139
39140 [BZ #12394]
39141 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39142 characters. When rounding increased number of integer digits recompute
39143 number of groups.
39144 * stdio-common/tst-grouping.c: New file.
39145 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39146
39147 2011-01-09 Ulrich Drepper <drepper@gmail.com>
39148
39149 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39150 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39151
39152 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39153 void.
39154 * bits/select.h: Likewise.
39155
39156 2011-01-08 Ulrich Drepper <drepper@gmail.com>
39157
39158 * po/ja.po: Update from translation team.
39159
39160 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39161
39162 [BZ #11155]
39163 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39164 implementation just like for lxstat, fxstatat, et al.
39165
39166 2010-12-27 Jim Meyering <meyering@redhat.com>
39167
39168 [BZ #12348]
39169 * posix/regexec.c (build_trtable): Return failure indication upon
39170 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39171
39172 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39173
39174 [BZ #12201]
39175 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39176 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39177 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39179
39180 [BZ #12207]
39181 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39182
39183 [BZ #12204]
39184 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39185 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39186
39187 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39188
39189 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39190 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39191 script has SORT_BY_INIT_PRIORITY.
39192 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39193 NO_CTORS_DTORS_SECTIONS is defined.
39194 * elf/soinit.c: Likewise.
39195 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39196 NO_CTORS_DTORS_SECTIONS is defined.
39197 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39198 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39199 * sysdeps/sh/init-first.c: Likewise.
39200 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39201
39202 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39203
39204 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39205 always use the slow path.
39206
39207 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39208
39209 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39210 similar rule which adds the sysdep directories to the header search in
39211 order to pick up the correct platform stackinfo.h.
39212 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39213 perform test if it is, otherwise return successfully without testing.
39214 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39215 DEFAULT_STACK_PERMS define in stackinfo.h.
39216 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39217 defined in stackinfo.h.
39218 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39219 DEFAULT_STACK_PERMS defined in stackinfo.h.
39220 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39221 * sysdeps/ia64/stackinfo.h: Likewise.
39222 * sysdeps/s390/stackinfo.h: Likewise.
39223 * sysdeps/sh/stackinfo.h: Likewise.
39224 * sysdeps/sparc/stackinfo.h: Likewise.
39225 * sysdeps/x86_64/stackinfo.h: Likewise.
39226 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39227 PF_X for powerpc64. Retain PF_X for powerpc32.
39228
39229 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39230
39231 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39232 accurately.
39233 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39234 GETDENTS_64BIT_ALIGNED.
39235
39236 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39237
39238 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39239
39240 2010-12-10 Andreas Schwab <schwab@redhat.com>
39241
39242 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39243 _GNU_SOURCE.
39244
39245 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39246 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39247 Remove __restrict.
39248 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39249 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39250
39251 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39252
39253 [BZ #11655]
39254 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39255 are initialized.
39256
39257 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39258
39259 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39260
39261 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39262
39263 * po/it.po: Update from translation team.
39264
39265 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39266
39267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39268 unused codes.
39269
39270 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39271
39272 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39273
39274 2010-11-24 Andreas Schwab <schwab@redhat.com>
39275
39276 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39277 specially.
39278 (gaih_getanswer_slice): Likewise.
39279
39280 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39281
39282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39283
39284 2010-05-31 Petr Baudis <pasky@suse.cz>
39285
39286 [BZ #11149]
39287 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39288 silently even in the chroot mode.
39289
39290 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39291
39292 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39293 last patch a bit. Pretty printing
39294
39295 2010-05-31 Petr Baudis <pasky@suse.cz>
39296
39297 [BZ #10085]
39298 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39299 initialization of skip_initgroups_dyn.
39300
39301 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39302
39303 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39305
39306 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39307
39308 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39309
39310 2010-11-11 Andreas Schwab <schwab@redhat.com>
39311
39312 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39313 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39314 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39315 ($(objpfx)tst-fnmatch-mem): New rule.
39316 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39317 * posix/tst-fnmatch.c (main): Call mtrace.
39318
39319 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39320
39321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39322 Support Intel processor model 6 and model 0x2c.
39323
39324 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39325
39326 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39327 signed comparison.
39328
39329 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39330
39331 [BZ #12205]
39332 * string/test-strncasecmp.c (check_result): New function.
39333 (do_one_test): Use it.
39334 (check1): New function.
39335 (test_main): Use it.
39336 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39337 Support strcasecmp and strncasecmp.
39338
39339 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39340
39341 [BZ #12194]
39342 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39343 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39344
39345 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39346
39347 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39348 IFUNC support.
39349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39350 memset-x86-64.
39351 * sysdeps/x86_64/multiarch/bzero.S: New file.
39352 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39353 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39354 * sysdeps/x86_64/multiarch/memset.S: New file.
39355 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39357 Set bit_Prefer_SSE_for_memop for Intel processors.
39358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39359 Define.
39360 (index_Prefer_SSE_for_memop): Define.
39361 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39362
39363 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39364
39365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39366 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39367
39368 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39369
39370 [BZ #12191]
39371 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39372 (__x86_64_raw_data_cache_size_half): Likewise.
39373 (__x86_64_raw_shared_cache_size): Likewise.
39374 (__x86_64_raw_shared_cache_size_half): Likewise.
39375
39376 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39377 (__x86_64_raw_data_cache_size_half): Likewise.
39378 (__x86_64_raw_shared_cache_size): Likewise.
39379 (__x86_64_raw_shared_cache_size_half): Likewise.
39380 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39381 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39382 and __x86_64_raw_shared_cache_size_half. Round
39383 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39384 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39385 to multiple of 256 bytes.
39386
39387 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39388
39389 [BZ #12167]
39390 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39391 of inacessible symlinks. Verify result of symlink before returning it.
39392 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39393 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39394
39395 2010-10-28 Erich Ritz <erichritz@gmail.com>
39396
39397 * math/math.h (isinf): Fix typo in comment.
39398
39399 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39400
39401 * po/da.po: Update from translation team.
39402
39403 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39404
39405 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39406 is added to the list.
39407
39408 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39409 Ulrich Drepper <drepper@gmail.com>
39410
39411 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39412 the global list here. Move code to...
39413 (_dl_add_to_namespace_list): ...here. New function.
39414 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39415 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39416 * elf/dl-load.c (lose): Don't remove the element from the list.
39417 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39418 (_dl_map_object): Likewise.
39419
39420 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39421
39422 [BZ #12159]
39423 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39424 into all bytes of SSE register.
39425 Patch by Richard Li <richardpku@gmail.com>.
39426
39427 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39428
39429 [BZ #12140]
39430 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39431 perturbing.
39432
39433 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39434
39435 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39436 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39437 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39438 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39440 submachine.
39441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39442
39443 2010-10-22 Andreas Schwab <schwab@redhat.com>
39444
39445 * include/dlfcn.h (__RTLD_SECURE): Define.
39446 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39447 mode & __RTLD_SECURE instead.
39448 (open_path): Rename preloaded parameter to secure.
39449 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39450 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39451 * elf/dl-deps.c (openaux): Likewise.
39452 * elf/rtld.c (struct map_args): Remove is_preloaded.
39453 (map_doit): Don't use it.
39454 (dl_main): Likewise.
39455 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39456 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39457
39458 2010-09-09 Andreas Schwab <schwab@redhat.com>
39459
39460 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39461 (sysd-rules-targets): Remove duplicates.
39462 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39463 rtld-%.$o dependency.
39464
39465 2010-10-18 Andreas Schwab <schwab@redhat.com>
39466
39467 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39468 _dl_map_object do it.
39469
39470 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39471
39472 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39473 fast fma builtins, define the macros in the C99 standard.
39474 (FP_FAST_FMAF): Likewise.
39475 (FP_FAST_FMAL): Likewise.
39476 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39477
39478 * bits/mathdef.h: Update copyright year.
39479 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39480
39481 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39482
39483 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39484 builtins, define the macros in the C99 standard.
39485 (FP_FAST_FMAF): Likewise.
39486 (FP_FAST_FMAL): Likewise.
39487 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39488 multiply/add.
39489 (FP_FAST_FMAF): Likewise.
39490
39491 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39492
39493 [BZ #3268]
39494 * math/libm-test.inc (fma_test): Some new testcases.
39495 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39496 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39497 y and infinite z. Do multiplication by C already in long double.
39498 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39500 y and infinite z. Do bitwise or of inexact bit into u.d.
39501 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39502 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39503 * sysdeps/i386/fpu/s_fma.S: Removed.
39504 * sysdeps/i386/fpu/s_fmal.S: Removed.
39505
39506 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39507
39508 [BZ #3268]
39509 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39511 computation is not scheduled after fetestexcept. Fix value
39512 of minimum denormal long double.
39513
39514 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39515
39516 [BZ #3268]
39517 * math/libm-test.inc (fma_test): Add some more tests.
39518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39519 correctly.
39520
39521 2010-10-15 Andreas Schwab <schwab@redhat.com>
39522
39523 * scripts/data/localplt-s390-linux-gnu.data: New file.
39524 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39525
39526 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39527
39528 [BZ #3268]
39529 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39530 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39531 instead of dbl-64.
39532 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39533 inlines.
39534 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39536 if one of x and y is very large and the other is subnormal.
39537 * sysdeps/s390/fpu/s_fmaf.c: New file.
39538 * sysdeps/s390/fpu/s_fma.c: New file.
39539 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39540 * sysdeps/powerpc/fpu/s_fma.S: New file.
39541 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39542 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39543 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39544
39545 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39546
39547 [BZ #3268]
39548 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39549 fma tests.
39550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39551 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39552 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39553 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39554 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39555 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39557
39558 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39559
39560 [BZ #12078]
39561 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39562 * posix/bug-regex31.input: Add test case.
39563
39564 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39565
39566 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39567 * posix/bug-regex31.input: New file.
39568
39569 [BZ #12078]
39570 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39571 (parse_sub_exp): Fix last change, use postorder.
39572
39573 * posix/bug-regex31.c: New file.
39574 * posix/Makefile: Add rules to build and run bug-regex31.
39575
39576 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39577
39578 [BZ #12078]
39579 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39580
39581 [BZ #12108]
39582 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39583 to have entries in sys_siglist.
39584
39585 [BZ #12093]
39586 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39587 be NULL.
39588
39589 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39590
39591 [BZ #3268]
39592 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39593 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39594 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39595 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39596 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39597 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39598 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39599 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39600 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39601 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39602 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39603 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39604 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39605 * math/ftestexcept.c (fetestexcept): Likewise.
39606 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39607 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39608 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39609 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39610 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39611 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39612 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39613
39614 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39615
39616 [BZ #12107]
39617 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39618 newline.
39619
39620 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39621
39622 * string/bug-strstr1.c: New file.
39623 * string/Makefile: Add rules to build and run bug-strstr1.
39624
39625 2010-10-05 Eric Blake <eblake@redhat.com>
39626
39627 [BZ #12092]
39628 * string/str-two-way.h (two_way_long_needle): Always clear memory
39629 when skipping input due to the shift table.
39630
39631 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39632
39633 [BZ #12005]
39634 * malloc/mcheck.c: Handle large requests.
39635
39636 [BZ #12077]
39637 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39638 for strncmp and strncasecmp.
39639 * string/stratcliff.c: Add tests for strcmp and strncmp.
39640 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39641
39642 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39643
39644 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39645 __set_fpscr.
39646
39647 2010-09-30 Andreas Jaeger <aj@suse.de>
39648
39649 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39650 (CGROUP_SUPER_MAGIC): Define.
39651 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39652 Handle btrfs and cgroup file systems.
39653 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39654 Likewise.
39655
39656 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39657
39658 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39659 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39660
39661 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39662
39663 [BZ #12067]
39664 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39665 trying to locate the ELF header.
39666
39667 2010-09-27 Andreas Schwab <schwab@redhat.com>
39668
39669 [BZ #11611]
39670 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39671 Mask out sign-bit copies when constructing f_fsid.
39672
39673 2010-09-24 Petr Baudis <pasky@suse.cz>
39674
39675 * debug/stack_chk_fail_local.c: Add missing licence exception.
39676 * debug/warning-nop.c: Likewise.
39677
39678 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39679
39680 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39681 implementing getdents64 using getdents syscall, set d_type if
39682 __ASSUME_GETDENTS32_D_TYPE.
39683
39684 2010-09-16 Andreas Schwab <schwab@redhat.com>
39685
39686 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39687 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39688
39689 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39690
39691 [BZ #12037]
39692 * posix/unistd.h: Undo change of feature selection for ftruncate from
39693 2010-01-11.
39694
39695 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39696
39697 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39698 detection.
39699
39700 2010-09-20 Andreas Schwab <schwab@redhat.com>
39701
39702 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39703 fanotify_mark.
39704 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39705
39706 2010-09-14 Andreas Schwab <schwab@redhat.com>
39707
39708 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39709 variables after CHECK_SP call.
39710 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39711
39712 2010-09-13 Andreas Schwab <schwab@redhat.com>
39713 Ulrich Drepper <drepper@redhat.com>
39714
39715 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39716 re-relocationg ld.so.
39717 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39718 _dl_init_paths call.
39719 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39720 here anymore.
39721
39722 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39723
39724 * resolv/res_init.c (__res_vinit): Count the default server we added.
39725
39726 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39727 Ulrich Drepper <drepper@redhat.com>
39728
39729 [BZ #11968]
39730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39731 (____longjmp_chk): Use %ebx for saving value across system call.
39732 Add unwind info.
39733
39734 2010-09-06 Andreas Schwab <schwab@redhat.com>
39735
39736 * manual/Makefile: Don't mix pattern rules with normal rules.
39737
39738 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39739
39740 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39741 operation.
39742 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39743 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39744 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39745 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39747 Likewise.
39748
39749 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39750
39751 [BZ #11979]
39752 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39753 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39754
39755 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39756
39757 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39758 * sysdeps/x86_64/addmul_1.S: Likewise.
39759 * sysdeps/x86_64/lshift.S: Likewise.
39760 * sysdeps/x86_64/mul_1.S: Likewise.
39761 * sysdeps/x86_64/rshift.S: Likewise.
39762 * sysdeps/x86_64/sub_n.S: Likewise.
39763 * sysdeps/x86_64/submul_1.S: Likewise.
39764
39765 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39766
39767 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39768 Define __sched_param instead of SCHED_* and sched_param when
39769 <bits/sched.h> is included with __need_schedparam defined.
39770 * bits/sched.h [__need_schedparam]
39771 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39772 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39773 (__defined_schedparam): Define to 1.
39774 (__sched_param): New structure, identical to sched_param.
39775 (__need_schedparam): Undefine.
39776
39777 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39778
39779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39780 (epoll_create1): Declare.
39781
39782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39783
39784 2010-08-31 Andreas Schwab <schwab@redhat.com>
39785
39786 [BZ #7066]
39787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39788 shifting retval into place.
39789
39790 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39791
39792 * nis/rpcsvc/nis.h: Update copyright notice.
39793 * nis/rpcsvc/nis.x: Likewise.
39794 * nis/rpcsvc/nis_callback.h: Likewise.
39795 * nis/rpcsvc/nis_callback.x: Likewise.
39796 * nis/rpcsvc/nis_object.x: Likewise.
39797 * nis/rpcsvc/nis_tags.h: Likewise.
39798 * nis/rpcsvc/yp.h: Likewise.
39799 * nis/rpcsvc/yp.x: Likewise.
39800 * nis/rpcsvc/ypupd.h: Likewise.
39801 * nis/yp_xdr.c: Likewise.
39802 * nis/ypupdate_xdr.c: Likewise.
39803
39804 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39805 mainly the body of pmap_getport. Add parameters to specify timeouts.
39806 (pmap_getport): Use __libc_rpc_getport.
39807 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39808 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39809 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39810
39811 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39812
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39814 fanotify_mark.
39815
39816 2010-08-27 Roland McGrath <roland@redhat.com>
39817
39818 * sysdeps/i386/i686/multiarch/Makefile
39819 (CFLAGS-varshift.c): New variable.
39820
39821 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39822
39823 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39824 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39825
39826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39827
39828 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39829
39830 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39831
39832 * sysdeps/x86_64/strlen.S: Unroll the loop.
39833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39834 strlen-sse2 strlen-sse2-bsf.
39835 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39836 __strlen_no_bsf if bit_Slow_BSF is set.
39837 (__strlen_sse42): Removed.
39838 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39839 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39840
39841 2010-08-25 Roland McGrath <roland@redhat.com>
39842
39843 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39844 * sysdeps/x86_64/multiarch/varshift.c: New file.
39845 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39846 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39847 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39848 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39849
39850 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39851
39852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39853 strlen-sse2 strlen-sse2-bsf.
39854 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39855 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39856 (__strlen_sse2): Removed.
39857 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39858 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39860 bit_Slow_BSF for Atom.
39861 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39862 (index_Slow_BSF): Define.
39863 (HAS_SLOW_BSF): Define.
39864
39865 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39866
39867 [BZ #10851]
39868 * resolv/res_init.c (__res_vinit): When no server address at all
39869 is given default to loopback.
39870
39871 2010-08-24 Roland McGrath <roland@redhat.com>
39872
39873 * configure.in: Remove config-name.h generation.
39874 * configure: Regenerated.
39875 * config-name.in: File removed.
39876 * scripts/config-uname.sh: New file.
39877 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39878 ($(objdir)config-name.h): New target.
39879
39880 * sunrpc/rpc_parse.h: Avoid nested comment.
39881
39882 2010-08-24 Richard Henderson <rth@redhat.com>
39883 Ulrich Drepper <drepper@redhat.com>
39884 H.J. Lu <hongjiu.lu@intel.com>
39885
39886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39888 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39889 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39890 _mm_alignr_epi8 with _mm_loadu_si128.
39891 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39892 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39893 (__m128i_shift_right): Removed.
39894 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39895 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39896 * sysdeps/x86_64/multiarch/varshift.h: New file.
39897 * sysdeps/x86_64/multiarch/varshift.S: New file.
39898
39899 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39900
39901 * configure.in: Move assembler checks to before sysdep dir checking.
39902
39903 2010-08-20 Petr Baudis <pasky@suse.cz>
39904
39905 * LICENSES: Sync the sunrpc license.
39906
39907 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39908
39909 * sunrpc/auth_des.c: Update copyright notice once again.
39910 * sunrpc/auth_none.c: Likewise.
39911 * sunrpc/auth_unix.c: Likewise.
39912 * sunrpc/authdes_prot.c: Likewise.
39913 * sunrpc/authuxprot.c: Likewise.
39914 * sunrpc/bindrsvprt.c: Likewise.
39915 * sunrpc/clnt_gen.c: Likewise.
39916 * sunrpc/clnt_perr.c: Likewise.
39917 * sunrpc/clnt_raw.c: Likewise.
39918 * sunrpc/clnt_simp.c: Likewise.
39919 * sunrpc/clnt_tcp.c: Likewise.
39920 * sunrpc/clnt_udp.c: Likewise.
39921 * sunrpc/clnt_unix.c: Likewise.
39922 * sunrpc/des_crypt.c: Likewise.
39923 * sunrpc/des_soft.c: Likewise.
39924 * sunrpc/get_myaddr.c: Likewise.
39925 * sunrpc/getrpcport.c: Likewise.
39926 * sunrpc/key_call.c: Likewise.
39927 * sunrpc/key_prot.c: Likewise.
39928 * sunrpc/openchild.c: Likewise.
39929 * sunrpc/pm_getmaps.c: Likewise.
39930 * sunrpc/pm_getport.c: Likewise.
39931 * sunrpc/pmap_clnt.c: Likewise.
39932 * sunrpc/pmap_prot.c: Likewise.
39933 * sunrpc/pmap_prot2.c: Likewise.
39934 * sunrpc/pmap_rmt.c: Likewise.
39935 * sunrpc/rpc/auth.h: Likewise.
39936 * sunrpc/rpc/auth_unix.h: Likewise.
39937 * sunrpc/rpc/clnt.h: Likewise.
39938 * sunrpc/rpc/des_crypt.h: Likewise.
39939 * sunrpc/rpc/key_prot.h: Likewise.
39940 * sunrpc/rpc/netdb.h: Likewise.
39941 * sunrpc/rpc/pmap_clnt.h: Likewise.
39942 * sunrpc/rpc/pmap_prot.h: Likewise.
39943 * sunrpc/rpc/pmap_rmt.h: Likewise.
39944 * sunrpc/rpc/rpc.h: Likewise.
39945 * sunrpc/rpc/rpc_des.h: Likewise.
39946 * sunrpc/rpc/rpc_msg.h: Likewise.
39947 * sunrpc/rpc/svc.h: Likewise.
39948 * sunrpc/rpc/svc_auth.h: Likewise.
39949 * sunrpc/rpc/types.h: Likewise.
39950 * sunrpc/rpc/xdr.h: Likewise.
39951 * sunrpc/rpc_clntout.c: Likewise.
39952 * sunrpc/rpc_cmsg.c: Likewise.
39953 * sunrpc/rpc_common.c: Likewise.
39954 * sunrpc/rpc_cout.c: Likewise.
39955 * sunrpc/rpc_dtable.c: Likewise.
39956 * sunrpc/rpc_hout.c: Likewise.
39957 * sunrpc/rpc_main.c: Likewise.
39958 * sunrpc/rpc_parse.c: Likewise.
39959 * sunrpc/rpc_parse.h: Likewise.
39960 * sunrpc/rpc_prot.c: Likewise.
39961 * sunrpc/rpc_sample.c: Likewise.
39962 * sunrpc/rpc_scan.c: Likewise.
39963 * sunrpc/rpc_scan.h: Likewise.
39964 * sunrpc/rpc_svcout.c: Likewise.
39965 * sunrpc/rpc_tblout.c: Likewise.
39966 * sunrpc/rpc_util.c: Likewise.
39967 * sunrpc/rpc_util.h: Likewise.
39968 * sunrpc/rpcinfo.c: Likewise.
39969 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39970 * sunrpc/rpcsvc/key_prot.x: Likewise.
39971 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39972 * sunrpc/rpcsvc/mount.x: Likewise.
39973 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39974 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39975 * sunrpc/rpcsvc/rex.x: Likewise.
39976 * sunrpc/rpcsvc/rstat.x: Likewise.
39977 * sunrpc/rpcsvc/rusers.x: Likewise.
39978 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39979 * sunrpc/rpcsvc/spray.x: Likewise.
39980 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39981 * sunrpc/rtime.c: Likewise.
39982 * sunrpc/svc.c: Likewise.
39983 * sunrpc/svc_auth.c: Likewise.
39984 * sunrpc/svc_authux.c: Likewise.
39985 * sunrpc/svc_raw.c: Likewise.
39986 * sunrpc/svc_run.c: Likewise.
39987 * sunrpc/svc_simple.c: Likewise.
39988 * sunrpc/svc_tcp.c: Likewise.
39989 * sunrpc/svc_udp.c: Likewise.
39990 * sunrpc/svc_unix.c: Likewise.
39991 * sunrpc/svcauth_des.c: Likewise.
39992 * sunrpc/xcrypt.c: Likewise.
39993 * sunrpc/xdr.c: Likewise.
39994 * sunrpc/xdr_array.c: Likewise.
39995 * sunrpc/xdr_float.c: Likewise.
39996 * sunrpc/xdr_mem.c: Likewise.
39997 * sunrpc/xdr_rec.c: Likewise.
39998 * sunrpc/xdr_ref.c: Likewise.
39999 * sunrpc/xdr_sizeof.c: Likewise.
40000 * sunrpc/xdr_stdio.c: Likewise.
40001
40002 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40003 handling.
40004
40005 2010-08-19 Andreas Schwab <schwab@redhat.com>
40006
40007 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40008
40009 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
40010
40011 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40012 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40013 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40014 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40015 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40016 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40017 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40018 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40020 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40021 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40022 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40023 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40024 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40025
40026 2010-07-26 Anton Blanchard <anton@samba.org>
40027
40028 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40029 * malloc/arena.c (heap_trim): Likewise.
40030
40031 2010-08-16 Ulrich Drepper <drepper@redhat.com>
40032
40033 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40034 here. Not...
40035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40036 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40037
40038 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
40039
40040 * sysdeps/i386/elf/Makefile: New file.
40041
40042 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40043
40044 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40045 from fanotify_init.
40046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40047 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40048
40049 2010-08-15 Ulrich Drepper <drepper@redhat.com>
40050
40051 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40052 of strncasecmp_l.
40053 * sysdeps/multiarch/strcmp.S: Likewise.
40054
40055 2010-08-14 Ulrich Drepper <drepper@redhat.com>
40056
40057 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40058 strncase_l-nonascii.
40059 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40060 Add strncase_l-ssse3.
40061 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40062 * sysdeps/x86_64/strcmp.S: Likewise.
40063 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40064 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40065 * sysdeps/x86_64/strncase.S: New file.
40066 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40067 * sysdeps/x86_64/strncase_l.S: New file.
40068 * string/Makefile (strop-tests): Add strncasecmp.
40069 * string/test-strncasecmp.c: New file.
40070
40071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40072 warning.
40073
40074 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40075 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40076
40077 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40078
40079 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40080
40081 2010-08-12 Ulrich Drepper <drepper@redhat.com>
40082
40083 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40084 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40085 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40086
40087 2010-05-01 Alan Modra <amodra@gmail.com>
40088
40089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40090 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40091 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40092 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40093 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40094 tidying. Don't tail-call __sigjmp_save for static lib.
40095 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40096 save location.
40097 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40098 (CALL_MCOUNT): Add eh info, and nop after bl.
40099 (TAIL_CALL_SYSCALL_ERROR): New macro.
40100 (PSEUDO_RET): Use it.
40101 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40102 Correct save location of integer regs and cr.
40103 (_dl_profile_resolve): Correct cr save location. Delete nops
40104 after bl when SHARED. Reduce cfi size a little by better
40105 placement of cfi directives.
40106 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40107 make a stack frame. Instead use parm save area as a temp.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40109 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40111 Don't make a stack frame for parent, use parm save area.
40112 Increase child stack frame to 112 bytes. Don't save unused reg,
40113 and adjust reg usage. Set up cfi on error recovery and
40114 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40116 (__makecontext): Add dummy nop after jump to exit.
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40118 Use correct parm save area and cr save, reduce stack frame.
40119 Correct cfi for possible PSEUDO_RET frame setup.
40120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40121 Branch to local label emitted by PSEUDO_RET rather than
40122 __syscall_error.
40123
40124 2010-08-12 Andreas Schwab <schwab@redhat.com>
40125
40126 [BZ #11904]
40127 * locale/programs/locale.c (print_assignment): New function.
40128 (show_locale_vars): Use it.
40129
40130 2010-08-11 Ulrich Drepper <drepper@redhat.com>
40131
40132 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40133 field.
40134 (struct statfs64): Likewise.
40135 (_STATFS_F_FLAGS): Define.
40136 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40137 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40138 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40139 (ST_VALID): Define locally.
40140 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40141 __statvfs_getflags, use the provided value.
40142 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40143 __ASSUME_STATFS_F_FLAGS.
40144
40145 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40146
40147 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40148 Add sys/fanotify.h.
40149 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40150 fanotify_mask for GLIBC_2.13.
40151 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40152 fanotify_init and fanotify_mark.
40153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40154 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40155
40156 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40157 Add prlimit.
40158 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40159 prlimit64 for GLIBC_2.13.
40160 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40161 prlimit64.
40162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40163 syscall.
40164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40166 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40167 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40169 add prlimit alias.
40170 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40171
40172 [BZ #11903]
40173 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40174 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40175
40176 * nss/Makefile: Add rules to build and run tst-nss-test1.
40177 * shlib-versions: Add entry for libnss_test1.
40178 * nss/nss_test1.c: New file.
40179 * nss/tst-nss-test1.c: New file.
40180
40181 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40182 (__nss_configure_lookup): Set appropriate entry in
40183 __nss_configure_lookup to true.
40184 * nss/nsswitch.h: Define enum with indeces of databases in
40185 databases and __nss_database_custom arrays. Declare
40186 __nss_database_custom.
40187 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40188 to avoid using nscd when custom rules are installed.
40189 * nss/getXXbyYY_r.c: Likewise.
40190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40191
40192 * nss/nss_files/files-parse.c: Whitespace fixes.
40193
40194 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40195
40196 [BZ #11883]
40197 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40198 * posix/fnmatch_loop.c: Likewise.
40199
40200 2010-07-17 Andi Kleen <ak@linux.intel.com>
40201
40202 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40203 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40204 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40205 * Versions.def [GLIBC_2.13]: Add.
40206
40207 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40208
40209 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40210 Also fail if tpwd after pwuid call is NULL.
40211
40212 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40213
40214 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40215 when converting to ms.
40216
40217 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40218
40219 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40220 EOPNOTSUPP errors with ENOTTY.
40221 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40222 EOPNOTSUPP errors with ENOTTY.
40223
40224 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40225
40226 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40227 Add strcasecmp_l-ssse3.
40228 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40229 strcasecmp.
40230 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40231 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40232 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40233
40234 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40235
40236 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40237
40238 * string/Makefile (strop-tests): Add strcasecmp.
40239 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40240 strcasecmp_l-nonascii.
40241 (gen-as-const-headers): Add locale-defines.sym.
40242 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40243 * sysdeps/x86_64/strcasecmp.S: New file.
40244 * sysdeps/x86_64/strcasecmp_l.S: New file.
40245 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40246 * sysdeps/x86_64/locale-defines.sym: New file.
40247 * string/test-strcasecmp.c: New file.
40248
40249 * string/test-strcasestr.c: Test both ends of the range of characters.
40250 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40251
40252 2010-07-29 Roland McGrath <roland@redhat.com>
40253
40254 [BZ #11856]
40255 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40256
40257 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40258
40259 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40260 for ld.so.
40261
40262 2010-07-27 Andreas Schwab <schwab@redhat.com>
40263
40264 * manual/memory.texi (Malloc Tunable Parameters): Document
40265 M_PERTURB.
40266
40267 2010-07-26 Roland McGrath <roland@redhat.com>
40268
40269 [BZ #11840]
40270 * configure.in (-fgnu89-inline check): Set and substitute
40271 gnu89_inline, not libc_cv_gnu89_inline.
40272 * configure: Regenerated.
40273 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40274
40275 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40276
40277 * string/test-strnlen.c: New file.
40278 * string/Makefile (strop-tests): Add strnlen.
40279 * string/tester.c (test_strnlen): Add a few more test cases.
40280 * string/tst-strlen.c: Better error reporting.
40281
40282 * sysdeps/x86_64/strnlen.S: New file.
40283
40284 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40285
40286 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40287 lower-latency instructions.
40288
40289 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40290
40291 * string/test-strcasestr.c: New file.
40292 * string/test-strstr.c: New file.
40293 * string/Makefile (strop-tests): Add strstr and strcasestr.
40294 * string/str-two-way.h: Don't undefine MAX.
40295 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40296
40297 2010-07-21 Andreas Schwab <schwab@redhat.com>
40298
40299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40300 strcasestr-nonascii.
40301 (CFLAGS-strcasestr-nonascii.c): Define.
40302 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40303 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40304 Remove unused attribute.
40305
40306 2010-07-20 Roland McGrath <roland@redhat.com>
40307
40308 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40309 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40310 ld.so.cache was broken. With it, there is no way to disable dsocaps
40311 like LD_HWCAP_MASK can disable hwcaps.
40312
40313 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40314
40315 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40316
40317 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40318
40319 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40320 call in strcasestr.
40321 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40322 __strcasestr_sse42_nonascii.
40323 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40324 strcasestr-nonascii.c.
40325 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40326
40327 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40328
40329 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40331 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40332 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40333
40334 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40335
40336 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40337 fcntl.
40338
40339 2010-07-06 Andreas Schwab <schwab@redhat.com>
40340
40341 [BZ #11577]
40342 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40343 dl_signal_cerror.
40344
40345 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40346
40347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40348 _PC_PIPE_BUF using F_GETPIPE_SZ.
40349
40350 2010-07-05 Roland McGrath <roland@redhat.com>
40351
40352 * manual/arith.texi (Rounding Functions): Fix rint description
40353 implicit in round description.
40354
40355 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40356
40357 * elf/Makefile: Fix linking for a few tests to make recent linker
40358 happy.
40359
40360 2010-06-30 Andreas Schwab <schwab@redhat.com>
40361
40362 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40363 $(common-objpfx)libc_nonshared.a.
40364
40365 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40366
40367 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40368 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40369 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40370 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40371 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40372 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40373 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40374 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40389 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40390 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40391 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40392 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40393 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40394 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40395 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40396 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40397 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40398 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40399 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40400 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40415
40416 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40417
40418 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40419 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40420 * string/memmove.c (memmove): Renamed to ...
40421 (MEMMOVE): ...this. Default to memmove.
40422 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40423 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40424 (END_CHK): Define.
40425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40426 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40427 mempcpy-ssse3-back memmove-ssse3-back.
40428 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40429 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40430 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40431 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40432 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40433 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40434 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40435 * sysdeps/x86_64/multiarch/memmove.c: New file.
40436 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40437 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40438 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40439 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40440 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40442 Define.
40443 (index_Fast_Copy_Backward): Define.
40444 (HAS_ARCH_FEATURE): Define.
40445 (HAS_FAST_REP_STRING): Define.
40446 (HAS_FAST_COPY_BACKWARD): Define.
40447
40448 2010-06-21 Andreas Schwab <schwab@redhat.com>
40449
40450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40451 Restore proper fallback handling.
40452
40453 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40454
40455 [BZ #11701]
40456 * posix/group_member.c (__group_member): Correct checking loop.
40457
40458 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40459 OOM in getpwuid_r correctly. Return error number when the caller
40460 should return, otherwise -1.
40461 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40462 call returning > 0 value.
40463 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40464
40465 2010-06-07 Andreas Schwab <schwab@redhat.com>
40466
40467 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40468 libc_nonshared.a from targets in modules-names.
40469
40470 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40471
40472 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40473 requires it.
40474
40475 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40476
40477 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40478 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40480 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40481
40482 2010-06-02 Andreas Schwab <schwab@redhat.com>
40483
40484 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40485
40486 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40487
40488 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40489 and F_GETPIPE_SZ.
40490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40495 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40496
40497 2010-06-14 Roland McGrath <roland@redhat.com>
40498
40499 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40500
40501 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40502
40503 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40504 __REDIRECT followed by __THROW.
40505 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40506 * posix/getopt.h (getopt): Likewise.
40507
40508 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40509
40510 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40511 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40512 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40513 in AT_FLAGS.
40514 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40515 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40516
40517 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40518
40519 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40520
40521 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40522
40523 [BZ #11640]
40524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40525 Properly check family and model.
40526
40527 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40528
40529 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40530
40531 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40532
40533 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40534
40535 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40536
40537 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40538 symbol reference.
40539
40540 2010-05-19 Andreas Schwab <schwab@redhat.com>
40541
40542 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40543 symbol reference.
40544
40545 2010-05-21 Andreas Schwab <schwab@redhat.com>
40546
40547 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40548 and internal_recvmmsg.
40549 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40550 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40551 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40552 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40553
40554 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40555 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40556 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40557
40558 2010-05-20 Andreas Schwab <schwab@redhat.com>
40559
40560 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40561
40562 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40563
40564 POWER7 optimizations.
40565 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40566 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40567
40568 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40569
40570 * version.h: Update for 2.13 development version.
40571
40572 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40573
40574 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40575 exceptions. Return 0.
40576
40577 2010-05-07 Roland McGrath <roland@redhat.com>
40578
40579 * elf/ldconfig.c (main): Add a const.
40580
40581 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40582
40583 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40584 (args_options): Add no-idn option.
40585 (ahosts_keys_int): Add idn_flags to ai_flags.
40586 (parse_option): Handle 'i' option to clear idn_flags.
40587
40588 * malloc/malloc.c (_int_free): Possible race in the most recently
40589 added check. Only act on the data if no current modification
40590 happened.
40591
40592 See ChangeLog.17 for earlier changes.