1 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3 * elf/dl-lookup.c (check_match): New function.
4 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5 (do_lookup_x): Remove nested function check_match. Use non-nested
8 2014-02-28 Roland McGrath <roland@hack.frob.com>
10 * csu/Makefile (generated, before-compile): Use += rather than =.
11 * catgets/Makefile (generated, generated-dirs): Likewise.
12 * debug/Makefile (generated): Likewise.
13 * dlfcn/Makefile (generated): Likewise.
14 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15 * iconvdata/Makefile (before-compile, generated): Likewise.
16 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17 * libio/Makefile (generated): Likewise.
18 * malloc/Makefile (generated): Likewise.
19 * manual/Makefile (generated, generated-dirs): Likewise.
20 * misc/Makefile (generated): Likewise.
21 * posix/Makefile (generated): Likewise.
22 * resolv/Makefile (generated): Likewise.
23 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24 * timezone/Makefile (generated, generated-dirs): Likewise.
26 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
32 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
33 POWER8 llround ifunc implementation.
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
35 POWER8 implementation.
36 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37 POWER8 llround implementation.
39 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
44 POWER8 llrint ifunc implementation.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
46 POWER8 implementation.
47 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48 POWER8 llrint implementation.
50 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
55 POWER8 finite ifunc implementation.
56 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
57 POWER8 implementation.
58 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
60 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
61 POWER8 finite implementation.
62 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
64 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
68 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
69 POWER8 isinf ifunc implementation.
70 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
71 POWER8 implementation.
72 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
74 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
75 POWER8 isinf implementation.
76 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
78 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
81 Add hwcap2 initialization.
82 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
84 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
85 POWER8 isnan ifunc implementation.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
87 POWER8 implementation.
88 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
90 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
91 POWER8 isnan implementation.
92 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
94 2014-02-27 Joey Ye <joey.ye@arm.com>
96 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
97 (_FP_NANFRAC_Q): Set to zero.
99 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * math/auto-libm-test-in: New test inputs.
103 * math/auto-libm-test-out: Regenerate.
104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
107 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
109 2014-02-27 Joseph Myers <joseph@codesourcery.com>
111 * scripts/evaluate-test.sh: Take new argument indicating whether
113 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
114 indicating whether failure is expected.
115 * conform/Makefile (test-xfail-run-conformtest): New variable.
116 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
118 * posix/Makefile (test-xfail-annexc): New variable.
119 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
121 2014-02-26 Joseph Myers <joseph@codesourcery.com>
123 * argp/Makefile: Include Makeconfig immediately after defining
125 * assert/Makefile: Likewise.
126 * benchtests/Makefile: Likewise.
127 * catgets/Makefile: Likewise.
128 * conform/Makefile: Likewise.
129 * crypt/Makefile: Likewise.
130 * csu/Makefile: Likewise.
131 (all): Remove target.
132 * ctype/Makefile: Include Makeconfig immediately after defining
134 * debug/Makefile: Likewise.
135 * dirent/Makefile: Likewise.
136 * dlfcn/Makefile: Likewise.
137 * gmon/Makefile: Likewise.
138 * gnulib/Makefile: Likewise.
139 * grp/Makefile: Likewise.
140 * gshadow/Makefile: Likewise.
141 * hesiod/Makefile: Likewise.
142 * hurd/Makefile: Likewise.
143 (all): Remove target.
144 * iconvdata/Makefile: Include Makeconfig immediately after
146 * inet/Makefile: Likewise.
147 * intl/Makefile: Likewise.
148 * io/Makefile: Likewise.
149 * libio/Makefile: Likewise.
150 (all): Remove target.
151 * locale/Makefile: Include Makeconfig immediately after defining
153 * login/Makefile: Likewise.
154 * mach/Makefile: Likewise.
155 (all): Remove target.
156 * malloc/Makefile: Include Makeconfig immediately after defining
158 (all): Remove target.
159 * manual/Makefile: Include Makeconfig immediately after defining
161 * math/Makefile: Likewise.
162 * misc/Makefile: Likewise.
163 * nis/Makefile: Likewise.
164 * nss/Makefile: Likewise.
165 * po/Makefile: Likewise.
166 (all): Remove target.
167 * posix/Makefile: Include Makeconfig immediately after defining
169 * pwd/Makefile: Likewise.
170 * resolv/Makefile: Likewise.
171 * resource/Makefile: Likewise.
172 * rt/Makefile: Likewise.
173 * setjmp/Makefile: Likewise.
174 * shadow/Makefile: Likewise.
175 * signal/Makefile: Likewise.
176 * socket/Makefile: Likewise.
177 * soft-fp/Makefile: Likewise.
178 * stdio-common/Makefile: Likewise.
179 * stdlib/Makefile: Likewise.
180 * streams/Makefile: Likewise.
181 * string/Makefile: Likewise.
182 * sunrpc/Makefile: Likewise.
183 (all): Remove target.
184 * sysvipc/Makefile: Include Makeconfig immediately after defining
186 * termios/Makefile: Likewise.
187 * time/Makefile: Likewise.
188 * timezone/Makefile: Likewise.
189 (all): Remove target.
190 * wcsmbs/Makefile: Include Makeconfig immediately after defining
192 * wctype/Makefile: Likewise.
194 2014-02-26 Steve Ellcey <sellcey@mips.com>
196 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
197 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
198 (libc_feholdexcept_setround_mips): Ditto.
199 (libc_feholdsetround): New.
200 (libc_feholdsetroundf): New.
201 (libc_feholdsetroundl): New.
202 (libc_feupdateenv_test_mips): New.
203 (libc_feupdateenv_test): New.
204 (libc_feupdateenv_testf): New.
205 (libc_feupdateenv_testl): New.
206 (libc_feresetround): New.
207 (libc_feresetroundf): New.
208 (libc_feresetroundl): New.
209 (libc_fetestexcept_mips): New.
210 (libc_fetestexcept): New.
211 (libc_fetestexceptf): New.
212 (libc_fetestexceptl): New.
214 (libc_feholdexcept_setround_mips_ctx): New.
215 (libc_feholdexcept_setround_ctx): New.
216 (libc_feholdexcept_setroundf_ctx): New.
217 (libc_feholdexcept_setroundl_ctx): New.
218 (libc_fesetenv_mips_ctx): New.
219 (libc_fesetenv_ctx): New.
220 (libc_fesetenv_ctxf): New.
221 (libc_fesetenv_ctxl): New.
222 (libc_feupdateenv_mips_ctx): New.
223 (libc_feupdateenv_ctx): New.
224 (libc_feupdateenvf_ctx): New.
225 (libc_feupdateenvl_ctx): New.
226 (libc_feholdsetround_mips_ctx): New.
227 (libc_feholdsetround_ctx): New.
228 (libc_feholdsetroundf_ctx): New.
229 (libc_feholdsetroundl_ctx): New.
230 (libc_feresetround_mips_ctx): New.
231 (libc_feresetround_ctx): New.
232 (libc_feresetroundf_ctx): New.
233 (libc_feresetroundl_ctx): New.
235 2014-02-26 Carlos O'Donell <carlos@redhat.com>
237 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
239 * manual/ipc.texi: New file.
240 * manual/Makefile (chapters): Add ipc.
241 * manual/job.texi: Add "Inter-Process Communication" to next.
242 * manual/process.texi: Add "Inter-Process Communication" to prev.
244 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
248 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
250 * malloc/malloc.c (__libc_calloc): Simplify implementation.
252 * manual/arith.texi: Fix spaces after sentences.
253 * manual/charset.texi: Likewise.
254 * manual/errno.texi: Likewise.
255 * manual/install.texi: Likewise.
256 * manual/llio.texi: Likewise.
257 * manual/locale.texi: Likewise.
258 * manual/maint.texi: Likewise.
259 * manual/math.texi: Likewise.
260 * manual/memory.texi: Likewise.
261 * manual/message.texi: Likewise.
262 * manual/probes.texi: Likewise.
263 * manual/resource.texi: Likewise.
264 * manual/signal.texi: Likewise.
265 * manual/socket.texi: Likewise.
266 * manual/stdio.texi: Likewise.
267 * manual/string.texi: Likewise.
268 * manual/time.texi: Likewise.
269 * manual/users.texi: Likewise.
271 2014-02-25 Carlos O'Donell <carlos@redhat.com>
274 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
275 _DEFAULT_SOURCE is defined.
277 2014-02-25 Ulrich Drepper <drepper@gmail.com>
278 Carlos O'Donell <carlos@redhat.com>
281 * elf/dl-tls.c (_dl_count_modids): New function.
282 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
283 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
284 audit library and increment generation counter.
285 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
286 * elf/tst-audit9.c: New file.
287 * elf/tst-auditmod9a.c: New file.
288 * elf/tst-auditmod9b.c: New file.
289 * elf/Makefile: Add rules to build and run tst-audit9.
291 2014-02-25 Florian Weimer <fweimer@redhat.com>
294 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
296 2014-02-25 Will Newton <will.newton@linaro.org>
298 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
299 (__longjmp): Restore sp and lr before restoring callee
300 saved registers. Add longjmp and longjmp_target
301 SystemTap probe point.
302 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
303 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
304 Define to zero to match jmpbuf layout.
305 * sysdeps/arm/setjmp.S: Include stap-probe.h.
306 (__sigsetjmp): Save sp and lr before saving callee
307 saved registers. Add setjmp SystemTap probe point.
309 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
311 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
313 2014-02-24 Andreas Schwab <schwab@suse.de>
316 * elf/pldd.c (wait_for_ptrace_stop): New function.
317 (main): Call it after attaching.
319 2014-02-22 Roland McGrath <roland@hack.frob.com>
321 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
322 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
323 Versions files is now verboten.
324 * hurd/Versions (libc: GLIBC_2.0):
325 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
326 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
327 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
328 * mach/Versions: Likewise.
330 * csu/Versions: Remove unused %include.
331 * resolv/Versions: Likewise.
333 2014-02-21 Joseph Myers <joseph@codesourcery.com>
335 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
336 ($(objpfx)check-local-headers.out): Likewise.
337 ($(objpfx)begin-end-check.out): Likewise.
338 * Makerules (check-abi-%.out): Likewise.
339 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
340 ($(objpfx)test2.cat): Likewise.
341 ($(objpfx)de/libc.cat): Likewise.
342 ($(objpfx)test-gencat.out): Likewise.
343 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
344 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
345 ($(objpfx)noload-mem): Likewise.
346 ($(objpfx)tst-pathopt.out): Likewise.
347 ($(objpfx)tst-rtld-load-self.out): Likewise.
348 ($(objpfx)tst-array1-cmp.out): Likewise.
349 ($(objpfx)tst-array1-static-cmp.out): Likewise.
350 ($(objpfx)tst-array2-cmp.out): Likewise.
351 ($(objpfx)tst-array3-cmp.out): Likewise.
352 ($(objpfx)tst-array4-cmp.out): Likewise.
353 ($(objpfx)tst-array5-cmp.out): Likewise.
354 ($(objpfx)tst-array5-static-cmp.out): Likewise.
355 ($(objpfx)check-textrel.out): Likewise.
356 ($(objpfx)check-execstack.out): Likewise.
357 ($(objpfx)check-localplt.out): Likewise.
358 ($(objpfx)order2-cmp.out): Likewise.
359 ($(objpfx)tst-leaks1-mem): Likewise.
360 ($(objpfx)tst-leaks1-static-mem): Likewise.
361 ($(objpfx)tst-initorder-cmp.out): Likewise.
362 ($(objpfx)tst-initorder2-cmp.out): Likewise.
363 ($(objpfx)tst-unused-dep.out): Likewise.
364 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
365 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
366 * iconv/Makefile (test-iconvconfig): Likewise.
367 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
368 ($(objpfx)iconv-test.out): Likewise.
369 ($(objpfx)tst-tables.out): Likewise.
370 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
371 ($(objpfx)tst-gettext.out): Likewise.
372 ($(objpfx)tst-translit.out): Likewise.
373 ($(objpfx)tst-gettext2.out): Likewise.
374 ($(objpfx)tst-gettext4.out): Likewise.
375 ($(objpfx)tst-gettext6.out): Likewise.
376 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
377 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
378 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
379 ($(objpfx)tst-fopenloc-mem.out): Likewise.
380 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
381 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
382 * posix/Makefile ($(objpfx)globtest.out): Likewise.
383 ($(objpfx)wordexp-tst.out): Likewise.
384 ($(objpfx)annexc.out): Likewise.
385 ($(objpfx)tst-fnmatch-mem): Likewise.
386 ($(objpfx)bug-regex2-mem): Likewise.
387 ($(objpfx)bug-regex14-mem): Likewise.
388 ($(objpfx)bug-regex21-mem): Likewise.
389 ($(objpfx)bug-regex31-mem): Likewise.
390 ($(objpfx)tst-vfork3-mem): Likewise.
391 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
392 ($(objpfx)tst-pcre-mem): Likewise.
393 ($(objpfx)tst-boost-mem): Likewise.
394 ($(objpfx)tst-getconf.out): Likewise.
395 ($(objpfx)bug-ga2-mem): Likewise.
396 ($(objpfx)bug-glob2-mem): Likewise.
397 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
398 ($(objpfx)mtrace-tst-leaks2): Likewise.
399 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
400 ($(objpfx)tst-printf.out): Likewise.
401 ($(objpfx)tst-setvbuf1.out): Likewise.
402 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
403 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
404 ($(objpfx)tst-fmtmsg.out): Likewise.
405 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
406 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
408 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
409 * bits/sigaction.h [__USE_MISC]: Likewise.
410 * bits/waitstatus.h: Update #endif comments.
411 * ctype/ctype.h: Likewise.
412 * dirent/dirent.h: Likewise.
413 [__USE_MISC]: Remove redundant conditionals.
414 * grp/grp.h: Update #endif comments.
415 [__USE_GNU]: Remove redundant conditionals.
416 [__USE_MISC]: Likewise.
417 * inet/netinet/in.h [__USE_GNU]: Likewise.
418 * io/sys/stat.h [__USE_MISC]: Likewise.
419 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
420 * libio/bits/stdio.h: Update #endif comments.
421 [__USE_MISC]: Remove redundant conditionals.
422 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
423 * libio/stdio.h: Update #endif comments.
424 [__USE_MISC]: Remove redundant conditionals.
425 * math/bits/math-finite.h [__USE_MISC]: Likewise.
426 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
427 * math/math.h: Update #else and #endif comments.
428 [__USE_MISC]: Remove redundant conditionals.
429 * misc/sys/uio.h: Update #endif comments.
430 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
431 * posix/glob.h [__USE_MISC]: Likewise.
432 * posix/sys/types.h: Update #endif comments.
433 [__USE_MISC]: Remove redundant conditionals.
434 * posix/sys/wait.h: Update #endif comments.
435 [__USE_MISC]: Remove redundant conditionals.
436 * posix/unistd.h: Update #endif comments.
437 [__USE_MISC]: Remove redundant conditionals.
438 * pwd/pwd.h [__USE_GNU]: Likewise.
439 [__USE_MISC]: Likewise.
440 * resolv/netdb.h [__USE_GNU]: Likewise.
441 * signal/signal.h: Update #endif comments.
442 [__USE_MISC]: Remove redundant conditionals.
443 * stdlib/stdlib.h: Update #else and #endif comments.
444 [__USE_MISC]: Remove redundant conditionals.
445 [__USE_GNU]: Likewise.
446 * string/bits/string2.h [__USE_MISC]: Likewise.
447 * string/string.h: Update #endif comments.
448 [__USE_MISC]: Remove redundant conditionals.
449 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
451 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
452 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
453 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
455 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
459 [__USE_MISC]: Remove redundant conditionals.
460 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
461 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
462 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
463 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
464 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
466 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
467 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
469 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
472 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
474 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
475 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
477 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
479 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
480 * sysdeps/x86/bits/string.h: Update #endif comments.
481 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
483 * time/sys/time.h: Update #endif comments.
484 * time/time.h: Likewise.
485 [__USE_MISC]: Remove redundant conditionals.
487 2014-02-21 Yury Gribov <y.gribov@samsung.com>
490 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
492 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
494 * Versions.def (librt): Add GLIBC_2.17.
496 2014-02-21 Adam Conrad <adconrad@0c3.net>
498 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
499 synonym for _SYS_AUXV_H to allow direct inclusion.
500 * sysdeps/sparc/bits/hwcap.h: Likewise.
501 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
502 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
503 * sysdeps/sparc/sysdep.h: Likewise.
505 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
507 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
509 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
511 * benchtests/bench-strrchr.c: Print length instead of position.
513 2014-02-20 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/unix/sysv/linux/kernel-features.h
517 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
518 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
519 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
520 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
522 [__i386__ || __powerpc__ || __sh__ || __sparc__]
523 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
524 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
525 (__ASSUME_SENDMMSG): Define instead of using previous
526 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
528 (__ASSUME_SENDMMSG_SYSCALL): Define.
529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
530 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
532 * sysdeps/unix/sysv/linux/arm/kernel-features.h
533 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
535 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
536 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
538 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
539 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
540 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
541 [__ASSUME_SENDMMSG]: Change conditionals to
542 [__ASSUME_SENDMMSG_SOCKETCALL].
543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
544 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
546 * sysdeps/unix/sysv/linux/mips/kernel-features.h
547 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
549 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
550 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
551 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
552 [!__ASSUME_SENDMMSG]: Change conditional to
553 [!__ASSUME_SENDMMSG_SOCKETCALL].
554 * sysdeps/unix/sysv/linux/tile/kernel-features.h
555 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
559 * sysdeps/unix/sysv/linux/kernel-features.h
560 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
561 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
562 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
563 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
564 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
565 [__i386__ || __sparc__]
566 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
567 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
568 (__ASSUME_RECVMMSG): Define instead of using previous
569 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
571 (__ASSUME_RECVMMSG_SYSCALL): Define.
572 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
573 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
576 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
578 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
579 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
581 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
582 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
583 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
584 [__ASSUME_RECVMMSG]: Change condition to
585 [__ASSUME_RECVMMSG_SOCKETCALL].
586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
587 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
589 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
590 * sysdeps/unix/sysv/linux/mips/kernel-features.h
591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
593 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
594 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
595 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
596 [!__ASSUME_RECVMMSG]: Change condition to
597 [!__ASSUME_RECVMMSG_SOCKETCALL].
598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
599 (__ASSUME_RECVMMSG_SYSCALL): Define.
602 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
603 __powerpc__ || __s390__ || __sh__ || __sparc__]
604 (__ASSUME_SOCKETCALL): Define.
605 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
606 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
607 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
608 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
609 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
610 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
611 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
612 (__ASSUME_ACCEPT4): Define instead of using previous
613 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
614 __powerpc__ || __sparc__ || __s390__)] condition.
615 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
616 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
617 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
618 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
619 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
620 [!__ASSUME_ACCEPT4]: Change condition to
621 [!__ASSUME_ACCEPT4_SOCKETCALL].
622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
623 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
624 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
625 * sysdeps/unix/sysv/linux/arm/kernel-features.h
626 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
627 __ASSUME_ACCEPT4_SYSCALL.
628 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
629 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
630 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
631 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
632 __ASSUME_ACCEPT4_SYSCALL.
633 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
634 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
635 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
636 [__ASSUME_ACCEPT4]: Change condition to
637 [__ASSUME_ACCEPT4_SOCKETCALL].
638 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
639 (__ASSUME_SOCKETCALL): Define.
640 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
642 (__ASSUME_SOCKETCALL): Define.
643 (__ASSUME_ACCEPT4): Remove.
644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
646 * sysdeps/unix/sysv/linux/mips/kernel-features.h
647 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
649 * sysdeps/unix/sysv/linux/tile/kernel-features.h
650 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
652 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
654 (HWCAP_ARM_LPAE): Likewise.
655 (HWCAP_ARM_EVTSTRM): Likewise.
656 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
657 Add vpfd32, lpae and evtstrm.
658 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
661 2014-02-19 Joseph Myers <joseph@codesourcery.com>
663 * math/auto-libm-test-in: Add tests of clog10.
664 * math/auto-libm-test-out: Regenerated.
665 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
666 * sysdeps/i386/fpu/libm-test-ulps: Update.
667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
669 2014-02-18 Andreas Schwab <schwab@suse.de>
672 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
673 Store non-zero if the second buffer was newly allocated.
675 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
676 to send_vc and send_dg.
677 (res_nsend): Pass NULL for ansp2_malloced.
678 * resolv/res_query.c (__libc_res_nquery): Add parameter
679 answerp2_malloced and pass it down to __libc_res_nsend.
680 (res_nquery): Pass additional NULL to __libc_res_nquery.
681 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
682 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
683 second answer buffer if answerp2_malloced was set.
684 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
685 (__libc_res_nquerydomain): Add parameter
686 answerp2_malloced and pass it down to __libc_res_nquery.
687 (res_nquerydomain): Pass additional NULL to
688 __libc_res_nquerydomain.
689 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
690 additional NULL to __libc_res_nsend and __libc_res_nquery.
691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
692 additional NULL to __libc_res_nsearch.
693 (_nss_dns_gethostbyname4_r): Revert last change. Use new
694 parameter of __libc_res_nsearch to check for separately allocated
696 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
698 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
699 additional NULL to __libc_res_nquery.
700 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
702 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
703 * include/resolv.h: Update prototypes of __libc_res_nquery,
704 __libc_res_nsearch, __libc_res_nsend.
706 2014-02-18 Joseph Myers <joseph@codesourcery.com>
708 * math/auto-libm-test-in: Add tests of fma.
709 * math/auto-libm-test-out: Regenerated.
710 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
711 (fma_towardzero_test_data): Likewise.
712 (fma_downward_test_data): Likewise.
713 (fma_upward_test_data): Likewise.
714 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
716 (rounding_modes): Add values for new field.
717 (func_calc_method): Add value mpfr_fff_f.
718 (func_calc_desc): Add mpfr_fff_f union field.
719 (test_function): Add field exact_args.
720 (FUNC): Add macro argument EXACT_ARGS.
721 (FUNC_mpfr_f_f): Update call to FUNC.
722 (FUNC_mpfr_f_f): Likewise.
723 (FUNC_mpfr_ff_f): Likewise.
724 (FUNC_mpfr_if_f): Likewise.
725 (FUNC_mpc_c_f): Likewise.
726 (FUNC_mpc_c_c): Likewise.
727 (test_functions): Add fma. Update calls to FUNC.
728 (handle_input_arg): Add argument exact_args.
729 (add_test): Update call to handle_input_arg.
730 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
731 (output_for_one_input_case): Update call to calc_generic_results.
732 Recalculate exact zero results in each rounding mode.
734 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
735 non-negative before setting low bit.
736 * math/auto-libm-test-in: Mark one asin test possibly having
738 * math/auto-libm-test-out: Regenerated.
739 * sysdeps/i386/fpu/libm-test-ulps: Update.
740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
744 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
745 * sysdeps/unix/sysv/linux/microblaze: Move directory from
746 ports/sysdeps/unix/sysv/linux/microblaze.
747 * README: Add missing listing for microblaze*-*-linux-gnu.
749 2014-02-16 Mike Frysinger <vapier@gentoo.org>
751 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
752 * sysdeps/unix/sysv/linux/ia64: Move directory from
753 ports/sysdeps/unix/sysv/linux/ia64.
754 * README: Update listing for ia64-*-linux-gnu.
756 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
757 Joseph Myers <joseph@codesourcery.com>
759 * Makeconfig (test-name): New variable.
760 (evaluate-test): Likewise.
761 * Makerules (do-test-clean): Remove .test-result files.
762 (common-mostlyclean): Likewise.
763 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
764 * scripts/evaluate-test.sh: New file.
766 2014-02-14 Joseph Myers <joseph@codesourcery.com>
768 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
769 separate $(objpfx)tst-fopenloc-cmp.out and
770 $(objpfx)tst-fopenloc-mem.out targets.
771 (tests): Update dependencies.
772 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
773 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
774 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
775 (tst-rxspencer-no-utf8-ARGS): New variable.
776 (tst-rxspencer-no-utf8-ENV): Likewise.
777 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
778 instead of $(objpfx)tst-rxspencer-mem.
779 ($(objpfx)tst-rxspencer-mem): Change target to
780 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
781 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
782 * posix/tst-rxspencer-no-utf8.c: New file.
784 * elf/Makefile ($(objpfx)order.out): Remove rule.
785 [$(run-built-tests) = yes] (tests): Depend on
786 $(objpfx)order-cmp.out.
787 ($(objpfx)order-cmp.out): New rule.
788 [$(run-built-tests) = yes] (tests): Depend on
789 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
790 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
791 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
792 $(objpfx)tst-array5-static-cmp.out.
793 ($(objpfx)tst-array1.out): Remove rule.
794 ($(objpfx)tst-array1-cmp.out): New rule.
795 ($(objpfx)tst-array1-static.out): Remove rule.
796 ($(objpfx)tst-array1-static-cmp.out): New rule.
797 ($(objpfx)tst-array2.out): Remove rule.
798 ($(objpfx)tst-array2-cmp.out): New rule.
799 ($(objpfx)tst-array3.out): Remove rule.
800 ($(objpfx)tst-array3-cmp.out): New rule.
801 ($(objpfx)tst-array4.out): Remove rule.
802 ($(objpfx)tst-array4-cmp.out): New rule.
803 ($(objpfx)tst-array5.out): Remove rule.
804 ($(objpfx)tst-array5-cmp.out): New rule.
805 ($(objpfx)tst-array5-static.out): Remove rule.
806 ($(objpfx)tst-array5-static-cmp.out): New rule.
807 [$(run-built-tests) = yes] (tests): Depend on
808 $(objpfx)order2-cmp.out.
809 ($(objpfx)order2.out): Remove rule.
810 ($(objpfx)order2-cmp.out): New rule.
811 ($(objpfx)tst-initorder.out): Remove rule.
812 [$(run-built-tests) = yes] (tests): Depend on
813 $(objpfx)tst-initorder-cmp.out.
814 ($(objpfx)tst-initorder-cmp.out): New rule.
815 ($(objpfx)tst-initorder2.out): Remove rule.
816 [$(run-built-tests) = yes] (tests): Depend on
817 $(objpfx)tst-initorder2-cmp.out.
818 ($(objpfx)tst-initorder2-cmp.out): New rule.
819 [$(run-built-tests) = yes] (tests): Depend on
820 $(objpfx)tst-unused-dep-cmp.out.
821 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
822 ($(objpfx)tst-unused-dep-cmp.out): New rule.
823 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
824 on $(objpfx)tst-setvbuf1-cmp.out.
825 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
826 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
827 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
828 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
829 ($(objpfx)tst-svc.out): Remove rule.
830 ($(objpfx)tst-svc-cmp.out): New rule.
832 2014-02-13 Joseph Myers <joseph@codesourcery.com>
834 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
835 * ctype/ctype.h [__USE_MISC]: Likewise.
836 * dirent/dirent.h [__USE_MISC]: Likewise.
837 * grp/grp.h [__USE_MISC]: Likewise.
838 * io/fcntl.h [__USE_MISC]: Likewise.
839 * io/sys/stat.h [__USE_MISC]: Likewise.
840 * libio/stdio.h [__USE_MISC]: Likewise.
841 * posix/unistd.h [__USE_MISC]: Likewise.
842 * pwd/pwd.h [__USE_MISC]: Likewise.
843 * stdlib.h [__USE_MISC]: Likewise.
844 * string/bits/string2.h [__USE_MISC]: Likewise.
845 * string/string.h [__USE_MISC]: Likewise.
846 * time/time.h [__USE_MISC]: Likewise.
848 2014-02-13 Andreas Schwab <schwab@suse.de>
851 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
852 second answer buffer if it was separately allocated.
854 2014-02-12 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/mips/math-tests.h: Include <features.h>.
857 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
858 (ROUNDING_TESTS_long_double): Do not define.
859 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
860 (EXCEPTION_TESTS_long_double): Likewise.
861 * sysdeps/mips/mips64/libm-test-ulps: Update.
863 * include/features.h (__USE_BSD): Remove macro definitions.
864 (__USE_SVID): Likewise.
865 (_BSD_SOURCE): Likewise.
866 (_SVID_SOURCE): Likewise.
867 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
868 from definition of _DEFAULT_SOURCE.
869 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
871 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
872 * bits/mman.h [__USE_BSD]: Likewise.
873 * bits/termios.h [__USE_BSD]: Likewise.
874 * bits/waitstatus.h [__USE_BSD]: Likewise.
875 * ctype/ctype.h [__USE_SVID]: Likewise.
876 * dirent/dirent.h [__USE_BSD]: Likewise.
877 * grp/grp.h [__USE_SVID]: Likewise.
878 [__USE_BSD]: Likewise.
879 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
880 * io/fcntl.h [__USE_BSD]: Likewise.
881 * io/ftw.h [__USE_BSD]: Likewise.
882 * io/sys/stat.h [__USE_BSD]: Likewise.
883 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
884 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
885 * libio/stdio.h [__USE_SVID]: Likewise.
886 [__USE_BSD]: Likewise.
887 * math/math.h [__USE_SVID]: Likewise.
888 [__USE_BSD]: Likewise.
889 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
890 * misc/bits/syslog.h [__USE_BSD]: Likewise.
891 * misc/search.h [__USE_SVID]: Likewise.
892 * misc/sys/mman.h [__USE_BSD]: Likewise.
893 * misc/sys/syslog.h [__USE_BSD]: Likewise.
894 * misc/sys/uio.h [__USE_BSD]: Likewise.
895 * posix/bits/unistd.h [__USE_BSD]: Likewise.
896 * posix/glob.h [__USE_BSD]: Likewise.
897 * posix/regex.h [__USE_BSD]: Likewise.
898 * posix/sys/types.h [__USE_BSD]: Likewise.
899 [__USE_SVID]: Likewise.
900 * posix/sys/utsname.h [__USE_SVID]: Likewise.
901 * posix/sys/wait.h [__USE_BSD]: Likewise.
902 [__USE_SVID]: Likewise.
903 * posix/unistd.h [__USE_BSD]: Likewise.
904 [__USE_SVID]: Likewise.
905 * pwd/pwd.h [__USE_SVID]: Likewise.
906 * resolv/netdb.h [__USE_BSD]: Likewise.
907 * setjmp/setjmp.h [__USE_BSD]: Likewise.
908 * signal/signal.h [__USE_BSD]: Likewise.
909 [__USE_SVID]: Likewise.
910 * socket/sys/socket.h [__USE_BSD]: Likewise.
911 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
912 * stdlib/stdlib.h [__USE_BSD]: Likewise.
913 [__USE_SVID]: Likewise.
914 * string/bits/string2.h [__USE_BSD]: Likewise.
915 [__USE_SVID]: Likewise.
916 * string/bits/string3.h [__USE_BSD]: Likewise.
917 * string/endian.h [__USE_BSD]: Likewise.
918 * string/string.h [__USE_SVID]: Likewise.
919 [__USE_BSD]: Likewise.
920 * string/strings.h [__USE_BSD]: Likewise.
921 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
922 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
923 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
924 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
925 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
926 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
930 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
931 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
933 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
934 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
936 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
938 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
939 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
944 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
945 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
946 * termios/termios.h [__USE_BSD]: Likewise.
947 * time/sys/time.h [__USE_BSD]: Likewise.
948 * time/time.h [__USE_BSD]: Likewise.
949 [__USE_SVID]: Likewise.
951 * Makefile (subdir_targets): Remove subdir_lint.out.
953 * stdio-common/Makefile (do-tst-unbputc): Remove target.
954 (do-tst-printf): Likewise.
955 (tests): Depend directly on $(objpfx)tst-unbputc.out and
956 $(objpfx)tst-printf.out.
958 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
960 * Makerules (check-abi-%): Change target to
961 $(objpfx)check-abi-%.out.
962 (check-abi target): Update dependencies.
963 (check-abi-pattern variable): Redirect output of diff to $@.
964 (check-abi variable): Likewise.
965 * elf/Makefile (check-abi): Update dependencies.
967 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
969 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
970 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
972 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
973 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
974 value has largest subnormal exponent.
975 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
976 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
977 * sysdeps/aarch64/soft-fp/sfp-machine.h
978 (_FP_TININESS_AFTER_ROUNDING): New macro.
979 * sysdeps/alpha/soft-fp/sfp-machine.h
980 (_FP_TININESS_AFTER_ROUNDING): Likewise.
981 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
983 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
984 (_FP_TININESS_AFTER_ROUNDING): Likewise.
985 * sysdeps/mips/soft-fp/sfp-machine.h
986 (_FP_TININESS_AFTER_ROUNDING): Likewise.
987 * sysdeps/powerpc/soft-fp/sfp-machine.h
988 (_FP_TININESS_AFTER_ROUNDING): Likewise.
989 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
991 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
992 (_FP_TININESS_AFTER_ROUNDING): Likewise.
993 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
994 (_FP_TININESS_AFTER_ROUNDING): Likewise.
995 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
998 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1004 2014-02-12 Richard Henderson <rth@redhat.com>
1006 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1007 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1008 * sysdeps/unix/sysv/linux/alpha: Move directory from
1009 ports/sysdeps/unix/sysv/linux/alpha.
1010 * README: Update listing for alpha-*-linux-gnu.
1012 2014-02-11 Joseph Myers <joseph@codesourcery.com>
1014 * include/features.h: Update comment documenting feature test
1016 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1018 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1019 (_SVID_SOURCE): Likewise.
1020 (_DEFAULT_SOURCE): Update description of default features.
1021 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1023 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1024 (S_ISVTX): Likewise.
1025 * manual/math.texi (Mathematical Constants): Likewise.
1026 * manual/signal.texi (Interrupted Primitives): Likewise.
1027 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1028 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1029 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1030 Don't refer to _SVID_SOURCE in warning text.
1032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1034 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1036 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1037 * sysdeps/mips/dl-lookup.c: Remove.
1038 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1040 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1043 * math/auto-libm-test-in: Add testcase for expl.
1044 * math/auto-libm-test-out: Regenerate.
1045 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1046 calculation of unsafe.
1047 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1049 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1051 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1052 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1053 ports/sysdeps/unix/sysv/linux/aarch64.
1054 * README: Update listing for aarch64*-*-linux-gnu.
1056 2014-02-11 Will Newton <will.newton@linaro.org>
1058 * manual/probes.texi (Mathematical Function Probes): Use
1059 "triggered" instead of "hit".
1061 2014-02-11 Will Newton <will.newton@linaro.org>
1063 * manual/probes.texi (Internal Probes): Add documentation
1064 of setjmp, longjmp and longjmp_target probes.
1066 2014-02-11 Will Newton <will.newton@linaro.org>
1068 * include/stap-probe.h: Add comment about probe argument
1071 2014-02-11 Will Newton <will.newton@linaro.org>
1073 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1074 definition. (tr_where, tr_freehook, tr_mallochook,
1075 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1077 2014-02-11 David S. Miller <davem@davemloft.net>
1079 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1080 processing int_tests.
1082 2014-02-10 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1085 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1086 * sysdeps/unix/sysv/linux/mips: Move directory from
1087 ports/sysdeps/unix/sysv/linux/mips.
1088 * README: Update listing for mips-*-linux-gnu and
1091 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1093 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1094 * sysdeps/unix/sysv/linux/m68k: Move directory from
1095 ports/sysdeps/unix/sysv/linux/m68k.
1096 * README: Update listing for m68k-*-linux-gnu.
1098 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1100 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1101 * sysdeps/unix/sysv/linux/generic: Move directory from
1102 ports/sysdeps/unix/sysv/linux/generic.
1103 * sysdeps/unix/sysv/linux/tile: Move directory from
1104 ports/sysdeps/unix/sysv/linux/tile.
1105 * README: Update listing for tile*-*-linux-gnu.
1107 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1109 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1110 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1111 * catgets/open_catalog.c (__open_catalog): Likewise.
1112 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1113 * debug/confstr_chk.c: Likewise.
1114 * debug/fread_chk.c (__fread_chk): Likewise.
1115 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1116 * debug/getgroups_chk.c: Likewise.
1117 * debug/mbsnrtowcs_chk.c: Likewise.
1118 * debug/mbsrtowcs_chk.c: Likewise.
1119 * debug/mbstowcs_chk.c: Likewise.
1120 * debug/memcpy_chk.c: Likewise.
1121 * debug/memmove_chk.c: Likewise.
1122 * debug/mempcpy_chk.c: Likewise.
1123 * debug/memset_chk.c: Likewise.
1124 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1125 * debug/strcat_chk.c (__strcat_chk): Likewise.
1126 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1127 * debug/strncat_chk.c (__strncat_chk): Likewise.
1128 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1129 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1130 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1131 * debug/wcpncpy_chk.c: Likewise.
1132 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1133 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1134 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1135 * debug/wcsncpy_chk.c: Likewise.
1136 * debug/wcsnrtombs_chk.c: Likewise.
1137 * debug/wcsrtombs_chk.c: Likewise.
1138 * debug/wcstombs_chk.c: Likewise.
1139 * debug/wmemcpy_chk.c: Likewise.
1140 * debug/wmemmove_chk.c: Likewise.
1141 * debug/wmempcpy_chk.c: Likewise.
1142 * debug/wmemset_chk.c: Likewise.
1143 * dirent/scandirat.c (SCANDIRAT): Likewise.
1144 * dlfcn/dladdr1.c (dladdr1): Likewise.
1145 * dlfcn/dladdr.c (dladdr): Likewise.
1146 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1147 * dlfcn/dlerror.c (__dlerror): Likewise.
1148 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1149 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1150 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1151 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1152 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1153 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1154 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1155 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1157 * elf/dl-conflict.c: Likewise.
1158 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1159 * elf/dl-dst.h: Likewise.
1160 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1161 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1162 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1163 * elf/dl-init.c (call_init, _dl_init): Likewise.
1164 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1165 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1166 _dl_map_object_from_fd, open_verify, open_path,
1167 _dl_map_object): Likewise.
1168 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1170 * elf/dl-minimal.c (__libc_memalign): Likewise.
1171 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1172 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1173 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1174 * elf/dl-sym.c (do_sym): Likewise.
1175 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1176 _dl_tls_get_addr_soft): Likewise.
1177 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1178 * elf/dl-writev.h (_dl_writev): Likewise.
1179 * elf/ldconfig.c (search_dir): Likewise.
1180 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1182 * elf/setup-vdso.h (setup_vdso): Likewise.
1183 * grp/compat-initgroups.c (compat_call): Likewise.
1184 * grp/fgetgrent.c (fgetgrent): Likewise.
1185 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1186 * grp/putgrent.c (putgrent): Likewise.
1187 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1189 * hurd/hurdinit.c: Likewise.
1190 * iconvdata/8bit-gap.c (struct): Likewise.
1191 * iconvdata/ansi_x3.110.c : Likewise.
1192 * iconvdata/big5.c : Likewise.
1193 * iconvdata/big5hkscs.c : Likewise.
1194 * iconvdata/cp1255.c: Likewise.
1195 * iconvdata/cp1258.c : Likewise.
1196 * iconvdata/cp932.c : Likewise.
1197 * iconvdata/euc-cn.c: Likewise.
1198 * iconvdata/euc-jisx0213.c : Likewise.
1199 * iconvdata/euc-jp.c: Likewise.
1200 * iconvdata/euc-jp-ms.c : Likewise.
1201 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1202 * iconvdata/gb18030.c : Likewise.
1203 * iconvdata/gbbig5.c (const): Likewise.
1204 * iconvdata/gbgbk.c: Likewise.
1205 * iconvdata/gbk.c : Likewise.
1206 * iconvdata/ibm1364.c : Likewise.
1207 * iconvdata/ibm930.c : Likewise.
1208 * iconvdata/ibm932.c: Likewise.
1209 * iconvdata/ibm933.c : Likewise.
1210 * iconvdata/ibm935.c : Likewise.
1211 * iconvdata/ibm937.c : Likewise.
1212 * iconvdata/ibm939.c : Likewise.
1213 * iconvdata/ibm943.c: Likewise.
1214 * iconvdata/iso_11548-1.c: Likewise.
1215 * iconvdata/iso-2022-cn.c : Likewise.
1216 * iconvdata/iso-2022-cn-ext.c : Likewise.
1217 * iconvdata/iso-2022-jp-3.c: Likewise.
1218 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1219 * iconvdata/iso-2022-kr.c : Likewise.
1220 * iconvdata/iso646.c (gconv_end): Likewise.
1221 * iconvdata/iso_6937-2.c : Likewise.
1222 * iconvdata/iso_6937.c : Likewise.
1223 * iconvdata/iso8859-1.c: Likewise.
1224 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1225 * iconvdata/shift_jisx0213.c : Likewise.
1226 * iconvdata/sjis.c : Likewise.
1227 * iconvdata/t.61.c : Likewise.
1228 * iconvdata/tcvn5712-1.c : Likewise.
1229 * iconvdata/tscii.c: Likewise.
1230 * iconvdata/uhc.c : Likewise.
1231 * iconvdata/unicode.c (gconv_end): Likewise.
1232 * iconvdata/utf-16.c (gconv_end): Likewise.
1233 * iconvdata/utf-32.c (gconv_end): Likewise.
1234 * iconvdata/utf-7.c (base64): Likewise.
1235 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1236 * iconv/gconv_close.c (__gconv_close): Likewise.
1237 * iconv/gconv_open.c (__gconv_open): Likewise.
1238 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1239 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1240 internal_ucs4le_loop_single, ucs4le_internal_loop,
1241 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1242 * iconv/iconv.c (iconv): Likewise.
1243 * iconv/iconv_close.c: Likewise.
1244 * iconv/loop.c (SINGLE): Likewise.
1245 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1246 * include/atomic.h: Likewise.
1247 * inet/inet6_option.c (option_alloc): Likewise.
1248 * intl/bindtextdom.c (set_binding_values): Likewise.
1249 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1250 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1251 * intl/localealias.c (read_alias_file): Likewise.
1252 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1253 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1254 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1255 * libio/fmemopen.c (fmemopen): Likewise.
1256 * libio/iofgets.c (_IO_fgets): Likewise.
1257 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1258 * libio/iofgetws.c (fgetws): Likewise.
1259 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1260 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1261 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1262 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1263 * locale/findlocale.c (_nl_find_locale): Likewise.
1264 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1265 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1267 * locale/setlocale.c (setlocale): Likewise.
1268 * login/programs/pt_chown.c (main): Likewise.
1269 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1270 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1271 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1272 mmap, mmap64, mremap, munmap): Likewise.
1273 * math/e_exp2l.c: Likewise.
1274 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1275 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1276 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1277 * math/s_catan.c (__catan): Likewise.
1278 * math/s_catanf.c (__catanf): Likewise.
1279 * math/s_catanh.c (__catanh): Likewise.
1280 * math/s_catanhf.c (__catanhf): Likewise.
1281 * math/s_catanhl.c (__catanhl): Likewise.
1282 * math/s_catanl.c (__catanl): Likewise.
1283 * math/s_ccosh.c (__ccosh): Likewise.
1284 * math/s_ccoshf.c (__ccoshf): Likewise.
1285 * math/s_ccoshl.c (__ccoshl): Likewise.
1286 * math/s_cexp.c (__cexp): Likewise.
1287 * math/s_cexpf.c (__cexpf): Likewise.
1288 * math/s_cexpl.c (__cexpl): Likewise.
1289 * math/s_clog10.c (__clog10): Likewise.
1290 * math/s_clog10f.c (__clog10f): Likewise.
1291 * math/s_clog10l.c (__clog10l): Likewise.
1292 * math/s_clog.c (__clog): Likewise.
1293 * math/s_clogf.c (__clogf): Likewise.
1294 * math/s_clogl.c (__clogl): Likewise.
1295 * math/s_csin.c (__csin): Likewise.
1296 * math/s_csinf.c (__csinf): Likewise.
1297 * math/s_csinh.c (__csinh): Likewise.
1298 * math/s_csinhf.c (__csinhf): Likewise.
1299 * math/s_csinhl.c (__csinhl): Likewise.
1300 * math/s_csinl.c (__csinl): Likewise.
1301 * math/s_csqrt.c (__csqrt): Likewise.
1302 * math/s_csqrtf.c (__csqrtf): Likewise.
1303 * math/s_csqrtl.c (__csqrtl): Likewise.
1304 * math/s_ctan.c (__ctan): Likewise.
1305 * math/s_ctanf.c (__ctanf): Likewise.
1306 * math/s_ctanh.c (__ctanh): Likewise.
1307 * math/s_ctanhf.c (__ctanhf): Likewise.
1308 * math/s_ctanhl.c (__ctanhl): Likewise.
1309 * math/s_ctanl.c (__ctanl): Likewise.
1310 * math/w_pow.c: Likewise.
1311 * math/w_powf.c: Likewise.
1312 * math/w_powl.c: Likewise.
1313 * math/w_scalb.c (sysv_scalb): Likewise.
1314 * math/w_scalbf.c (sysv_scalbf): Likewise.
1315 * math/w_scalbl.c (sysv_scalbl): Likewise.
1316 * misc/error.c (error_tail): Likewise.
1317 * misc/pselect.c (__pselect): Likewise.
1318 * nis/nis_callback.c (__nis_create_callback): Likewise.
1319 * nis/nis_call.c (__nisfind_server): Likewise.
1320 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1321 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1322 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1323 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1324 * nis/nis_lookup.c (nis_lookup): Likewise.
1325 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1326 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1327 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1328 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1329 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1330 internal_getgrgid_r): Likewise.
1331 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1333 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1334 internal_getpwuid_r): Likewise.
1335 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1336 internal_getspnam_r): Likewise.
1337 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1338 _nss_nis_getaliasbyname_r): Likewise.
1339 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1340 _nss_nis_getntohost_r): Likewise.
1341 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1342 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1344 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1345 internal_nis_gethostent_r, internal_gethostbyname2_r,
1346 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1347 _nss_nis_gethostbyname4_r): Likewise.
1348 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1349 initgroups_netid): Likewise.
1350 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1351 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1352 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1353 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1354 _nss_nis_getprotobynumber_r): Likewise.
1355 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1356 _nss_nis_getsecretkey): Likewise.
1357 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1358 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1360 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1361 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1362 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1363 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1364 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1365 _nss_nis_getspnam_r): Likewise.
1366 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1368 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1369 _nss_nisplus_getntohost_r): Likewise.
1370 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1371 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1372 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1373 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1374 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1376 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1377 _nss_nisplus_getnetbyaddr_r): Likewise.
1378 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1379 _nss_nisplus_getprotobynumber_r): Likewise.
1380 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1381 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1382 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1384 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1385 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1386 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1387 _nss_nisplus_getspnam_r): Likewise.
1388 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1389 * nscd/aicache.c (addhstaiX): Likewise.
1390 * nscd/cache.c (cache_search, prune_cache): Likewise.
1391 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1392 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1393 * nscd/grpcache.c (addgrbyX): Likewise.
1394 * nscd/hstcache.c (addhstbyX): Likewise.
1395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1396 * nscd/mem.c (gc, mempool_alloc): Likewise.
1397 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1399 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1401 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1402 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1403 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1405 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1407 * nscd/nscd_helper.c (__readvall, open_socket,
1408 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1409 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1410 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1411 * nscd/pwdcache.c (addpwbyX): Likewise.
1412 * nscd/selinux.c (preserve_capabilities): Likewise.
1413 * nscd/servicescache.c (addservbyX): Likewise.
1414 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1415 * posix/fnmatch.c (fnmatch): Likewise.
1416 * posix/getopt.c (_getopt_internal_r): Likewise.
1417 * posix/glob.c (glob, glob_in_dir): Likewise.
1418 * posix/wordexp.c (exec_comm_child): Likewise.
1419 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1420 gaih_getanswer_slice): Likewise.
1421 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1422 * resolv/res_init.c: Likewise.
1423 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1424 * resolv/res_query.c (__libc_res_nquery): Likewise.
1425 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1427 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1428 * stdio-common/perror.c (perror): Likewise.
1429 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1430 * stdio-common/tmpnam.c (tmpnam): Likewise.
1431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1432 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1433 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1434 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1435 * stdlib/putenv.c (putenv): Likewise.
1436 * stdlib/setenv.c (__add_to_environ): Likewise.
1437 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1438 * stdlib/strtol_l.c (INTERNAL): Likewise.
1439 * string/memmem.c (memmem): Likewise.
1440 * string/strerror.c (strerror): Likewise.
1441 * string/strnlen.c (__strnlen): Likewise.
1442 * string/test-memmem.c (simple_memmem): Likewise.
1443 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1444 * sunrpc/pm_getport.c (__get_socket): Likewise.
1445 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1446 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1447 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1448 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1450 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1451 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1452 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1453 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1454 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1455 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1457 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1460 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1461 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1463 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1465 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1466 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1467 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1472 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1478 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1480 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1487 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1490 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1492 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1496 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1498 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1500 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1501 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1502 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1503 * sysdeps/posix/sleep.c: Likewise.
1504 * sysdeps/posix/tempname.c: Likewise.
1505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1506 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1509 elf_machine_rela): Likewise.
1510 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1512 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1513 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1515 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1516 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1517 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1518 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1519 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1520 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1521 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1522 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1524 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1526 elf_machine_lazy_rel): Likewise.
1527 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1529 elf_machine_lazy_rel): Likewise.
1530 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1531 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1532 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1533 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1534 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1535 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1536 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1539 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1540 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1541 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1542 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1543 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1544 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1545 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1546 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1547 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1548 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1549 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1551 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1552 (__posix_fallocate64_l64): Likewise.
1553 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1554 (posix_fallocate): Likewise.
1555 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1556 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1557 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1558 getifaddrs_internal): Likewise.
1559 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1560 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1561 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1562 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1563 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1564 (__posix_fallocate64_l64): Likewise.
1565 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1567 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1570 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1571 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1572 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1575 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1576 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1579 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1580 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1581 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1583 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1584 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1585 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1587 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1588 (posix_fallocate): Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1590 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1591 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1592 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1593 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1595 * time/asctime.c (asctime_internal): Likewise.
1596 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1597 * time/tzset.c (__tzset_parse_tz): Likewise.
1598 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1599 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1600 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1601 * wcsmbs/wcsmbsload.h: Likewise.
1603 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1606 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1608 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1610 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1611 arena_get2): Remove THREAD_STATS conditionals.
1612 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1613 __malloc_stats, int): Likewise.
1615 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1617 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1618 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1620 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1622 * manual/setjmp.texi: Fix typos/grammar errors.
1624 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1626 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1627 Only return early when n is <= 0. Delete unused return statement.
1629 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1631 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1632 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1633 * debug/tst-longjmp_chk3.c: New file.
1635 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1637 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1638 (test_main): Replace code with set_fortify_handler call.
1639 * debug/test-strcpy_chk.c: Likewise.
1640 * debug/tst-chk1.c: Likewise.
1641 * debug/tst-longjmp_chk.c: Likewise.
1642 * test-skeleton.c: Include fcntl.h & paths.h
1643 (set_fortify_handler): Define.
1645 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1647 * debug/tst-longjmp_chk.c: Add header comment and include
1649 (do_test): Mark static.
1650 (TEST_FUNCTION): Define.
1652 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1654 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1655 (IP_PMTUDISC_INTERFACE): Likewise.
1656 (IP_MULTICAST_IF): Likewise.
1657 (IP_MULTICAST_TTL): Likewise.
1658 (IP_MULTICAST_LOOP): Likewise.
1659 (IP_ADD_MEMBERSHIP): Likewise.
1660 (IP_DROP_MEMBERSHIP): Likewise.
1661 (IP_UNBLOCK_SOURCE): Likewise.
1662 (IP_BLOCK_SOURCE): Likewise.
1663 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1664 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1665 (IP_MSFILTER): Likewise.
1666 (MCAST_JOIN_GROUP): Likewise.
1667 (MCAST_BLOCK_SOURCE): Likewise.
1668 (MCAST_UNBLOCK_SOURCE): Likewise.
1669 (MCAST_LEAVE_GROUP): Likewise.
1670 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1671 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1672 (MCAST_MSFILTER): Likewise.
1673 (IP_MULTICAST_ALL): Likewise.
1674 (IP_UNICAST_IF): Likewise.
1676 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1678 * timezone/Makefile: Delete $(have-ksh) check.
1679 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1680 * timezone/tzselect.ksh: Add +x mode bits.
1682 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1684 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1685 (ANON_INODE_FS_MAGIC): Likewise.
1686 (BDEVFS_MAGIC): Likewise.
1687 (BINFMTFS_MAGIC): Likewise.
1688 (BTRFS_TEST_MAGIC): Likewise.
1689 (CRAMFS_MAGIC_WEND): Likewise.
1690 (DEBUGFS_MAGIC): Likewise.
1691 (ECRYPTFS_SUPER_MAGIC): Likewise.
1692 (EXT3_SUPER_MAGIC): Likewise.
1693 (EXT4_SUPER_MAGIC): Likewise.
1694 (FUTEXFS_SUPER_MAGIC): Likewise.
1695 (HOSTFS_SUPER_MAGIC): Likewise.
1696 (HUGETLBFS_MAGIC): Likewise.
1697 (MINIX3_SUPER_MAGIC): Likewise.
1698 (MTD_INODE_FS_MAGIC): Likewise.
1699 (NILFS_SUPER_MAGIC): Likewise.
1700 (OPENPROM_SUPER_MAGIC): Likewise.
1701 (PIPEFS_MAGIC): Likewise.
1702 (PSTOREFS_MAGIC): Likewise.
1703 (QNX6_SUPER_MAGIC): Likewise.
1704 (RAMFS_MAGIC): Likewise.
1705 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1706 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1707 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1708 (SECURITYFS_MAGIC): Likewise.
1709 (SELINUX_MAGIC): Likewise.
1710 (SMACK_MAGIC): Likewise.
1711 (SOCKFS_MAGIC): Likewise.
1712 (SQUASHFS_MAGIC): Likewise.
1713 (STACK_END_MAGIC): Likewise.
1714 (TMPFS_MAGIC): Likewise.
1715 (USBDEVICE_SUPER_MAGIC): Likewise.
1716 (V9FS_MAGIC): Likewise.
1717 (XENFS_SUPER_MAGIC): Likewise.
1718 (CRAMFS_MAGIC): Fix typo in comment.
1719 (EXT2_SUPER_MAGIC): Update comment.
1720 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1722 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1724 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1725 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1726 * sysdeps/unix/sysv/linux/arm: Move directory from
1727 ports/sysdeps/unix/sysv/linux/arm.
1728 * README: Update listing for arm-*-linux-gnueabi.
1730 * README: Remove mention of am33.
1732 2014-02-07 Roland McGrath <roland@hack.frob.com>
1734 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1735 than the comma operator, to avoid "rhs of comma has no effect"
1737 (__sigfillset, __sigandset, __sigorset): Likewise.
1738 * include/signal.h (__sigemptyset): Likewise.
1739 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1741 2014-02-07 Allan McRae <allan@archlinux.org>
1743 * version.h (RELEASE): Set to "development".
1744 (VERSION): Set to "2.19.90"
1745 * NEWS: Add 2.20 section.
1747 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1750 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1752 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1754 * manual/contrib.texi: Update entry for Carlos O'Donell,
1755 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1757 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1759 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1761 * sysdeps/unix/sysv/linux/kernel-features.h
1762 [__LINUX_KERNEL_VERSION >= 0x020621]
1763 (__ASSUME_PROC_PID_TASK_COMM): Define.
1765 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1768 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1769 conversion when destination buffer does not have enough space.
1770 * libio/tst-ftell-partial-wide.c: New test case.
1771 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1773 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1774 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1775 Leonard and Allan McRae.
1777 2014-02-04 David S. Miller <davem@davemloft.net>
1779 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1782 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1811 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1813 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1814 * shlib-versions: Likewise.
1816 2014-02-04 Roland McGrath <roland@hack.frob.com>
1817 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1819 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1820 (abilist-pattern): New variable, set to %-le.abilist.
1822 * Makerules (abilist-pattern): New variable.
1823 (vpath): Use $(abilist-pattern) in place of %.abilist.
1824 (check-abi-% pattern rule): Likewise.
1825 (check-abi, update-abi): Likewise.
1827 2014-02-04 Eric Wong <normalperson@yhbt.net>
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1831 2014-02-04 Eric Wong <normalperson@yhbt.net>
1833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1835 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1837 * manual/startup.texi: Add next, previous, and top entries for
1838 the `Program Arguments' and `Environment Variables' nodes.
1840 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1842 * manual/macros.texi: Add comments before MTASC-safety macros.
1844 * manual/users.texi: Document MTASC-safety properties.
1846 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1847 pthread_getspecific, pthread_setspecific): Format with
1848 @deftypefun, and add @safety note.
1849 * manual/signal.texi: Move comments that analyze the above
1850 functions to their home place.
1852 2014-02-03 Allan McRae <allan@archlinux.org>
1854 * po/sl.po: Update Slovenian translation from translation project.
1856 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1858 * manual/time.texi (timegm): Add missing blank after @c.
1859 Reported by Joseph Myers <joseph@codesourcery.com>.
1861 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1863 * manual/check-safety.sh: New.
1864 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1866 * manual/terminal.texi: Document MTASC-safety properties.
1868 * manual/filesys.texi: Document MTASC-safety properties.
1870 * manual/errno.texi: Document MTASC-safety properties.
1872 * manual/intro.texi: Document safety identifiers and
1875 * manual/string.texi (wcstok): Fix prototype.
1876 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1878 * manual/time.texi: Document MTASC-safety properties.
1880 * manual/string.texi: Document MTASC-safety properties.
1882 * manual/threads.texi: Document MTASC-safety properties.
1884 * manual/stdio.texi: Document MTASC-safety properties.
1886 * manual/syslog.texi: Document MTASC-safety properties.
1888 * manual/sysinfo.texi: Document MTASC-safety properties.
1890 * manual/startup.texi: Document MTASC-safety properties.
1892 * manual/socket.texi: Document MTASC-safety properties.
1894 * manual/signal.texi: Document MTASC-safety properties.
1896 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1898 * manual/setjmp.texi: Document MTASC-safety properties.
1900 * manual/search.texi: Document MTASC-safety properties.
1902 * manual/resource.texi: Document MTASC-safety properties.
1904 * manual/process.texi: Document MTASC-safety properties.
1906 * manual/platform.texi: Document MTASC-safety properties.
1908 * manual/pipe.texi: Document MTASC-safety properties.
1910 * manual/pattern.texi: Document MTASC-safety properties.
1912 * manual/message.texi: Document MTASC-safety properties.
1915 * manual/memory.texi: Document MTASC-safety properties.
1917 * manual/math.texi: Document MTASC-safety properties.
1919 * manual/locale.texi: Document MTASC-safety properties.
1921 * manual/llio.texi: Document MTASC-safety properties.
1923 * manual/libdl.texi: New.
1925 * manual/lang.texi: Document MTASC-safety properties.
1927 * manual/job.texi: Document MTASC-safety properties.
1929 * manual/getopt.texi: Document MTASC-safety properties.
1931 * manual/ctype.texi: Document MTASC-safety properties.
1933 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1936 * csu/libc-tls.c (static_map): Remove variable.
1937 (__libc_setup_tls): Use main executable's link map for TLS data.
1938 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1939 casing for LM_ID_BASE and GL(dl_nns).
1940 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1941 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1942 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1943 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1944 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1946 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1949 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1951 * manual/debug.texi: Document MTASC-safety properties.
1953 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1956 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1957 of __x86_64__ when disabling x87 inline functions.
1959 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1961 * manual/charset.texi: Document MTASC-safety properties.
1963 * manual/crypt.texi: Document MTASC-safety properties.
1965 * manual/conf.texi: Document MTASC-safety properties.
1967 * manual/arith.texi: Document MTASC-safety properties.
1969 * manual/argp.texi: Document MTASC-safety properties.
1971 * manual/macros.texi: Introduce macros to document multi
1972 thread, asynchronous signal and asynchronous cancellation
1974 * manual/intro.texi: Introduce the properties themselves.
1976 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1978 * sysdeps/sh/sh4/Makefile: New file.
1980 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1982 * math/gen-libm-test.pl ($srcdir): New variable.
1983 ($auto_input): Use it.
1985 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1988 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1989 access beyond array bounds when parsing netgroups file.
1991 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1992 the old buffer before realloc.
1994 2014-01-27 Allan McRae <allan@archlinux.org>
1996 * po/fr.po: Update French translation from translation project.
1998 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2000 * sysdeps/sh/libm-test-ulps: Regenerate.
2002 2014-01-24 David S. Miller <davem@davemloft.net>
2004 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2006 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2008 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2009 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2011 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2014 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2015 string pointers after reallocation.
2017 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2019 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2020 __SH4A__ instead of __SH_FPU_ANY__.
2022 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2024 * sysdeps/sh/fpu_control.h: New file.
2025 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2026 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2027 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2028 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2029 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2030 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2031 * sysdeps/sh/sys/ucontext.h: Remove.
2032 * sysdeps/sh/sys: Remove directory.
2034 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2036 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2037 s390/sys/ucontext.h.
2038 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2041 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2046 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2050 Adjust the vDSO correctly for internal calls.
2051 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2053 2014-01-20 Allan McRae <allan@archlinux.org>
2055 * po/ca.po: Update Catalan translation from translation project.
2057 2014-01-16 Mike Frysinger <vapier@gentoo.org>
2059 * sysdeps/s390/sotruss-lib.c: New file.
2061 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2064 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2065 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2066 local calls issues by not having a PLT stub required for IFUNC calls.
2067 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2069 2014-01-16 Joseph Myers <joseph@codesourcery.com>
2071 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2072 * math/test-fpucw-static.c: Likewise.
2074 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2079 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2082 implementation for powerpc.
2084 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
2087 * sysdeps/posix/system.c (__libc_system): Do not enable
2088 asynchronous cancellation.
2090 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2093 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2094 handling only for numbers special also in the IEEE case.
2096 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2098 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2100 2014-01-11 Allan McRae <allan@archlinux.org>
2102 * po/bg.po: Update Bulgarian translation from translation project.
2104 * po/de.po: Update German translation from translation project.
2106 2014-01-10 Roland McGrath <roland@hack.frob.com>
2108 * sysdeps/generic/gcc-compat.h: New file.
2110 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2112 * benchtests/asin-inputs: Correct slow inputs.
2113 * benchtests/acos-inputs: Likewise.
2115 2014-01-10 Allan McRae <allan@archlinux.org>
2117 * po:sv.po: Update Swedish translation from translation project.
2119 * po/vi.po: Update Vietnamese translation from translation project.
2121 * po/eo.po: Update Esperanto translation from translation project.
2123 * po/cs.po: Update Czech translation from translation project.
2125 * po/nl.po: Update Dutch translation from translation project.
2127 * po/pl.po: Update Polish translation from translation project.
2129 * po/ru.po: Update Russian translation from translation project.
2131 * po/uk.po: Update Ukrainian translation from translation project.
2133 2014-01-08 Brooks Moses <bmoses@google.com>
2135 * elf/dl-load.c: Fix comment typo.
2137 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2139 * po/header.pot: Rename to...
2140 * po/pot.header: ... this.
2141 * po/Makefile: Use pot.header.
2143 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2144 Maxim Kuvyrkov <maxim@kugelworks.com>
2147 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2148 SRC and DEST against LEN.
2150 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2155 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2157 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2161 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2164 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2165 for large positive arguments.
2167 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2169 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2171 * math/auto-libm-test-in: Mark various tests with
2172 xfail-rounding:ldbl-128ibm.
2173 * math/auto-libm-test-out: Regenerated.
2176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2177 Increase overflow threshold.
2179 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2182 * stdio-common/vfprintf.c: Check for integer overflow.
2184 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2186 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2187 the first argument and return value of __tls_get_addr_internal.
2189 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2191 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2192 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2194 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2196 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2197 * sysdeps/s390/rtld-global-offsets.sym: New file.
2198 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2200 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2201 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2202 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2204 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2205 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2211 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2212 halfs of GPRs for high_gprs contexts.
2213 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2214 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2216 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2218 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2220 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2221 for high GPRs (uc_high_gprs) and for future extensions
2223 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2224 for future extensions (__reserved).
2225 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2227 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2228 SC_HIGHGPRS offset definition.
2229 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2230 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2232 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2234 * Versions.def: Add GLIBC_2.19 for libpthread.
2235 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2236 siglongjmp for libpthread with GLIBC_2.19 symver.
2237 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2238 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2239 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2240 * sysdeps/s390/__longjmp.c: New file.
2241 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2242 * sysdeps/s390/longjmp.c: New file.
2243 * sysdeps/s390/setjmp.S: New file.
2244 * sysdeps/s390/sigjmp.S: New file.
2245 * sysdeps/s390/v1-longjmp.c: New file.
2246 * sysdeps/s390/v1-setjmp.h: New file.
2247 * sysdeps/s390/v1-sigjmp.c: New file.
2248 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2249 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2251 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2252 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2253 versioned symbols for ____longjmp_chk.
2254 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2264 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2265 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2266 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2267 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2268 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2269 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2270 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2271 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2272 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2273 * sysdeps/s390/rtld-__longjmp.c: New file.
2274 * sysdeps/s390/rtld-setjmp.S: New file.
2276 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2280 Return -__logl (x) for small positive arguments without evaluating
2283 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2285 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2287 (__ptrace_peeksiginfo_args): ... this.
2288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2292 2014-01-06 Allan McRae <allan@archlinux.org>
2294 * inet/netinet/in.h: Fix typo in comment.
2296 2014-01-05 Andreas Jaeger <aj@suse.de>
2298 * sysdeps/i386/fpu/libm-test-ulps: Update.
2300 2014-01-05 Allan McRae <allan@archlinux.org>
2302 * po/libc.pot: Regenerated.
2304 * malloc/memusagestat.c: Fix gettext call formatting.
2306 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2308 * nscd/nscd.c: Improve usage() output.
2310 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2312 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2313 * sysdeps/unix/sysv/linux/configure: Regenerated.
2314 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2315 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2317 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2320 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2321 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2323 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2326 extra tokens at end of #undef directive.
2327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2331 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2333 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2335 * math/auto-libm-test-in: Mark various tests with
2336 xfail-rounding:ldbl-128ibm.
2337 * math/auto-libm-test-out: Regenerated.
2339 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2342 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2343 numbers with subnormal high part when calculating exponent.
2346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2350 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2352 (__ieee754_acoshl): Use __log1pl not __log1p.
2354 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2356 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2357 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2358 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2359 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2360 Convert to GNU style.
2361 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2362 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2363 memalign_check, __malloc_set_state): Likewise.
2364 * malloc/mallocbug.c (main): Likewise.
2365 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2366 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2367 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2368 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2369 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2370 * malloc/malloc.h: Likewise.
2371 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2372 memalignhook, reallochook, mabort): Likewise.
2373 * malloc/mcheck.h: Likewise.
2374 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2375 mmap64, mremap, munmap, dest): Likewise.
2376 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2377 * malloc/morecore.c (__default_morecore): Likewise.
2378 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2379 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2380 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2381 print_and_abort): Likewise.
2382 * malloc/obstack.h: Likewise.
2383 * malloc/set-freeres.c (__libc_freeres): Likewise.
2384 * malloc/tst-mallocstate.c (main): Likewise.
2385 * malloc/tst-mtrace.c (main): Likewise.
2386 * malloc/tst-realloc.c (do_test): Likewise.
2388 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2391 * nscd/netgroupcache.c (do_notfound): New function.
2392 (addgetnetgrentX): Use it.
2395 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2396 NSS_STATUS_NOTFOUND.
2398 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2400 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403 2014-01-01 Allan McRae <allan@archlinux.org>
2405 * scripts/update-copyrights: Update configure input file suffix.
2407 * NEWS: Update copyright year.
2408 * catgets/gencat.c: Likewise.
2409 * csu/version.c: Likewise.
2410 * debug/catchsegv.sh: Likewise.
2411 * debug/pcprofiledump.c: Likewise.
2412 * debug/xtrace.sh: Likewise.
2413 * elf/ldconfig.c: Likewise.
2414 * elf/ldd.bash.in: Likewise.
2415 * elf/pldd.c: Likewise.
2416 * elf/sotruss.ksh: Likewise.
2417 * elf/sprof.c: Likewise.
2418 * iconv/iconv_prog.c: Likewise.
2419 * iconv/iconvconfig.c: Likewise.
2420 * locale/programs/locale.c: Likewise.
2421 * locale/programs/localedef.c: Likewise.
2422 * login/programs/pt_chown.c: Likewise.
2423 * malloc/memusage.sh: Likewise.
2424 * malloc/memusagestat.c: Likewise.
2425 * malloc/mtrace.pl: Likewise.
2426 * manual/libc.texinfo: Likewise.
2427 * nscd/nscd.c: Likewise.
2428 * nss/getent.c: Likewise.
2429 * nss/makedb.c: Likewise.
2430 * posix/getconf.c: Likewise.
2431 * scripts/test-installation.pl: Likewise.
2433 * All files with FSF copyright notices: Update copyright dates
2434 using scripts/update-copyrights.
2435 * intl/plural.c: Regenerated.
2436 * locale/programs/charmap-kw.h: Likewise.
2437 * locale/programs/locfile-kw.h: Likewise.
2439 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2441 * sysdeps/unix/sysv/linux/configure: Regenerated.
2442 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2443 the linux/fanotify.h header.
2444 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2445 HAVE_LINUX_FANOTIFY_H is defined.
2447 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2449 * benchtests/cos-inputs: New inputs.
2450 * benchtests/sin-inputs: Likewise.
2452 * benchtests/atan-inputs: New inputs. Fix name of multiple
2453 precision fallback inputs.
2455 * benchtests/atanh-inputs: New inputs.
2456 * benchtests/tanh-inputs: Likewise.
2458 * benchtests/acosh-inputs: New inputs.
2459 * benchtests/asinh-inputs: Likewise.
2461 * benchtests/cosh-inputs: New inputs.
2462 * benchtests/sinh-inputs: Likewise.
2464 * benchtests/acos-inputs: Add more inputs.
2465 * benchtests/asin-inputs: Likewise.
2467 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2470 * manual/arith.texi: Fix spelling.
2471 * manual/charset.texi: Likewise.
2472 * manual/errno.texi: Likewise.
2473 * manual/filesys.texi: Likewise.
2474 * manual/lang.texi: Likewise.
2475 * manual/llio.texi: Likewise.
2476 * manual/locale.texi: Likewise.
2477 * manual/message.texi: Likewise.
2478 * manual/resource.texi: Likewise.
2479 * manual/search.texi: Likewise.
2480 * manual/setjmp.texi: Likewise.
2481 * manual/stdio.texi: Likewise.
2482 * manual/string.texi: Likewise.
2483 * manual/sysinfo.texi: Likewise.
2484 * manual/time.texi: Likewise.
2486 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2488 * po/sl.po: New file.
2490 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2492 * .gitignore: Add core/.gdbinit/.gdb_history.
2494 2013-12-27 Allan McRae <allan@archlinux.org>
2497 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2498 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2500 2013-12-24 Brooks Moses <bmoses@google.com>
2502 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2503 all compilers that claim C++98 compliance, not just GCC.
2504 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2507 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2509 * NEWS: Restore accidentally deleted bug-fix entries.
2511 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2512 Ondřej Bílka <neleai@seznam.cz>
2515 * malloc/malloc.c (_int_free): Perform sanity check only if we
2518 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2521 * manual/stdio.texi (String Input Conversions): Clarify that character
2522 classes are not supported.
2524 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2528 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2531 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2532 Calculate results for small negative arguments directly rather
2533 than using reflection formula with special underflow handling.
2535 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2536 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2537 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2538 (fchflags): Likewise.
2540 (setlogin): Likewise.
2541 (sigaltstack): Likewise.
2544 (sigsetmask): Likewise.
2546 (waitpid): Likewise.
2547 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2548 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2550 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2551 * sysdeps/unix/bsd/Makefile: ... here.
2552 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2553 * sysdeps/unix/bsd/Versions: ... here.
2554 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2555 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2556 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2557 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2558 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2559 * sysdeps/unix/bsd/sigblock.c: ... here.
2560 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2561 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2562 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2563 * sysdeps/unix/bsd/sigvec.c: ... here.
2564 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2565 * sysdeps/unix/bsd/tcdrain.c: ... here.
2566 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2567 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2568 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2569 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2570 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2571 * sysdeps/unix/bsd/wait.c: ... here.
2572 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2573 * sysdeps/unix/bsd/wait3.c: ... here.
2574 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2575 * sysdeps/unix/bsd/waitpid.c: ... here.
2577 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2581 round-to-nearest for [!USE_AS_EXPM1L].
2582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2583 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2584 more tests of exp and exp10. Expect some exp10 tests to miss
2585 exceptions or fail in directed rounding modes.
2586 * math/auto-libm-test-out: Regenerated.
2587 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2588 (exp10_test_tonearest): New function.
2589 (exp10_towardzero_test_data): New array.
2590 (exp10_test_towardzero): New function.
2591 (exp10_downward_test_data): New array.
2592 (exp10_test_downward): New function.
2593 (exp10_upward_test_data): New array.
2594 (exp10_test_upward): New function.
2595 (main): Call the new functions.
2596 * sysdeps/i386/fpu/libm-test-ulps: Update.
2597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2599 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2601 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2602 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2603 * math/auto-libm-test-out: Regenerated.
2604 * math/libm-test.inc (acosh_test_data): Add more tests.
2605 (atanh_test_data): Likewise.
2606 (ceil_test_data): Likewise.
2607 (copysign_test_data): Likewise.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611 * timezone/checktab.awk: Update from tzcode 2013i.
2612 * timezone/private.h: Likewise.
2613 * timezone/scheck.c: Likewise.
2614 * timezone/tzfile.h: Likewise.
2615 * timezone/tzselect.ksh: Likewise.
2616 * timezone/zdump.c: Likewise.
2617 * timezone/zic.c: Likewise.
2619 * math/auto-libm-test-in: Add tests of cpow.
2620 * math/auto-libm-test-out: Regenerated.
2621 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2622 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2624 (func_calc_desc): Add mpc_cc_c union field.
2625 (test_functions): Add cpow.
2626 (special_fill_2pi): New function.
2627 (special_real_inputs): Add 2pi.
2628 (calc_generic_results): Handle mpc_cc_c.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2632 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2633 csqrt, ctan and ctanh.
2634 * math/auto-libm-test-out: Regenerated.
2635 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2636 (TEST_COND_x86): Likewise.
2637 (ccos_test_data): Use AUTO_TESTS_c_c.
2638 (ccosh_test_data): Likewise.
2639 (cexp_test_data): Likewise.
2640 (clog_test_data): Likewise.
2641 (csqrt_test_data): Likewise.
2642 (ctan_test_data): Likewise.
2643 (ctan_tonearest_test_data): Likewise.
2644 (ctan_towardzero_test_data): Likewise.
2645 (ctan_downward_test_data): Likewise.
2646 (ctan_upward_test_data): Likewise.
2647 (ctanh_test_data): Likewise.
2648 (ctanh_tonearest_test_data): Likewise.
2649 (ctanh_towardzero_test_data): Likewise.
2650 (ctanh_downward_test_data): Likewise.
2651 (ctanh_upward_test_data): Likewise.
2652 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2654 (func_calc_desc): Add mpc_c_c union field.
2655 (FUNC_mpc_c_c): New macro.
2656 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2657 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2659 (special_fill_min_subnorm_p120): New function.
2660 (special_real_inputs): Add min_subnorm_p120.
2661 (calc_generic_results): Handle mpc_c_c.
2662 * sysdeps/i386/fpu/libm-test-ulps: Update.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2665 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2667 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2668 do_sin_slow): New functions.
2669 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2670 cslow2, csloww1, csloww2): Use the new functions.
2672 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2673 Use M to change sign of result instead of X. Assume X is
2675 (csloww1): Likewise.
2679 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2686 (sloww1): Don't adjust sign of DX.
2687 (csloww1): Likewise.
2688 (sloww2): Use X directly and don't adjust sign of DX.
2689 (csloww2): Likewise.
2691 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2693 * math/auto-libm-test-in: Add tests of cabs and carg.
2694 * math/auto-libm-test-out: Regenerated.
2695 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2696 (carg_test_data): Likewise.
2697 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2699 (func_calc_desc): Add mpc_c_f union field.
2700 (test_functions): Add cabs and carg.
2701 (calc_generic_results): Handle mpc_c_f.
2703 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2704 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2705 as a macro and a compat symbol.
2706 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2707 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2708 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2709 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2710 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2713 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2715 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2721 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2723 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2724 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2727 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2731 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2733 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2734 trailing whitespace removed.
2735 * scripts/config.guess: Update to version 2013-11-29.
2736 * scripts/config.sub: Update to version 2013-10-01.
2738 * math/auto-libm-test-in: Add tests of sincos.
2739 * math/auto-libm-test-out: Regenerated.
2740 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2741 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2743 (func_calc_desc): Add mpfr_f_11 union field.
2744 (test_functions): Add sincos.
2745 (calc_generic_results): Handle mpfr_f_11.
2746 * sysdeps/i386/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749 2013-12-19 Andreas Schwab <schwab@suse.de>
2751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2755 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2757 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2759 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2760 * sysdeps/i386/fpu/libm-test-ulps: Update.
2761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2765 round-to-nearest mode when using frndint.
2766 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2767 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2770 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2772 * math/auto-libm-test-out: Regenerated.
2773 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2774 (TEST_COND_x86): Likewise.
2775 (expm1_tonearest_test_data): New array.
2776 (expm1_test_tonearest): New function.
2777 (expm1_towardzero_test_data): New array.
2778 (expm1_test_towardzero): New function.
2779 (expm1_downward_test_data): New array.
2780 (expm1_test_downward): New function.
2781 (expm1_upward_test_data): New array.
2782 (expm1_test_upward): New function.
2783 (main): Run the new test functions.
2784 * sysdeps/i386/fpu/libm-test-ulps: Update.
2785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2787 * include/features.h: Update comment documenting feature test
2788 macros. Mention _DEFAULT_SOURCE in comment.
2789 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2790 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2791 _BSD_SOURCE and _SVID_SOURCE.
2792 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2793 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2794 !_SVID_SOURCE]: Likewise.
2795 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2796 (__USE_POSIX_IMPLICITLY): Define.
2797 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2798 (_POSIX_SOURCE): Undefine and redefine.
2799 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2800 (_POSIX_C_SOURCE): Likewise.
2801 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2802 (Feature Test Macros): Update documentation of default features.
2804 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2806 * benchtests/Makefile: Add bench-strtok.
2807 * benchtests/bench-strtok.c: New file: strtok benchtest.
2809 2013-12-19 Allan McRae <allan@archlinux.org>
2811 * manual/install.texi: Suppress menu for plain text output.
2812 * INSTALL: Regenerated.
2814 2013-12-18 Brooks Moses <bmoses@google.com>
2817 * misc/getauxval.c: Include errno.h.
2818 (__getauxval): Set errno to ENOENT if the requested type is not
2820 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2821 don't declare with __attribute_const__.
2822 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2823 * manual/startup.texi: Document that getauxval sets errno.
2825 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2827 * math/auto-libm-test-in: Add tests of jn and yn.
2828 * math/auto-libm-test-out: Regenerated.
2829 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2830 (yn_test_data): Likewise.
2831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2833 (func_calc_desc): Add mpfr_if_f union field.
2834 (FUNC_mpfr_if_f): New macro.
2835 (test_functions): Add jn and yn.
2836 (calc_generic_results): Assert type of second input for
2837 mpfr_ff_f. Handle mpfr_if_f.
2838 (output_for_one_input_case): Disable all checking for arguments
2839 fitting floating-point types in case of an integer argument.
2840 * sysdeps/i386/fpu/libm-test-ulps: Update.
2841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2844 Don't expect fegetround reference in libm.so.
2846 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2848 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2849 $(config-cflags-nofma).
2851 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2853 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2854 * math/auto-libm-test-out: Regenerated.
2857 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2858 to determine exponent and adjust argument to have exponent of -1.
2859 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2861 * math/auto-libm-test-out: Regenerated.
2862 * sysdeps/i386/fpu/libm-test-ulps: Update.
2863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2865 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2867 * manual/probes.texi: Remove cases when per-thread arenas are
2870 2013-12-18 Andreas Schwab <schwab@suse.de>
2872 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2873 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2874 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2875 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2876 * sysdeps/i386/i686/multiarch/Makefile: Update.
2877 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2879 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2881 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2882 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2884 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2887 Support TZ transition times < 00:00:00.
2888 This is needed for version-3 tz-format files; it supports time
2889 stamps past 2037 for America/Godthab (the only entry in the tz
2890 database for which this change is relevant).
2891 * manual/time.texi (TZ Variable): Document transition times
2892 from -167:59:59 through -00:00:01.
2893 * time/tzset.c (tz_rule): Time of day is now signed.
2894 (__tzset_parse_tz): Parse negative time of day.
2896 Document TZ transition times >= 25:00:00.
2897 * manual/time.texi (TZ Variable): Document transition times from
2898 25:00:00 through 167:59:59. These are already supported, and this
2899 support will help with version-3 tz-format files.
2901 * manual/time.texi (TZ Variable): Modernize North America example
2902 to reflect current (i.e., 2007-and-later) daylight saving rules.
2904 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2906 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2908 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2909 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2912 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2913 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2914 * sysdeps/unix/bsd/clock.c: Likewise.
2915 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2916 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2917 * sysdeps/unix/bsd/init-posix.c: Likewise.
2918 * sysdeps/unix/bsd/poll.c: Likewise.
2919 * sysdeps/unix/bsd/ptsname.c: Likewise.
2920 * sysdeps/unix/bsd/seekdir.c: Likewise.
2921 * sysdeps/unix/bsd/setegid.c: Likewise.
2922 * sysdeps/unix/bsd/seteuid.c: Likewise.
2923 * sysdeps/unix/bsd/setgid.c: Likewise.
2924 * sysdeps/unix/bsd/setrgid.c: Likewise.
2925 * sysdeps/unix/bsd/setruid.c: Likewise.
2926 * sysdeps/unix/bsd/setsid.c: Likewise.
2927 * sysdeps/unix/bsd/setuid.c: Likewise.
2928 * sysdeps/unix/bsd/sigaction.c: Likewise.
2929 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2930 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2931 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2932 * sysdeps/unix/bsd/telldir.c: Likewise.
2933 * sysdeps/unix/bsd/times.c: Likewise.
2934 * sysdeps/unix/bsd/usleep.c: Likewise.
2936 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2937 ($(objpfx)libbsd-compat.a): Remove rule.
2939 * include/features.h (__FAVOR_BSD): Do not define.
2940 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2941 features conflicting with POSIX.
2942 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2943 (_BSD_SOURCE): Remove description of not being a subset of other
2944 feature test macros.
2945 * manual/job.texi (getpgrp): Do not document BSD version.
2946 (getpgid): Do not document by reference to BSD getpgrp.
2947 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2948 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2949 * signal/signal.h [__FAVOR_BSD]: Likewise.
2950 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2951 instead of making contents conditional on [__FAVOR_BSD].
2952 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2954 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2958 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2961 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2962 values below 2**-450, not 2**-500.
2963 * math/auto-libm-test-in: Don't allow spurious underflow from
2965 * math/auto-libm-test-out: Regenerated.
2969 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2970 values of ha and hb and sort them after adjusting subnormal
2972 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2974 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2975 values of ea and eb and sort them after adjusting subnormal
2977 * math/auto-libm-test-in: Do not expect some hypot tests of
2978 subnormals to fail. Add more hypot tests.
2979 * math/auto-libm-test-out: Regenerated.
2981 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2984 * sysdeps/sh/s_fma.c: New file.
2985 * sysdeps/sh/s_fmaf.c: New file.
2986 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2988 * sysdeps/sh/Implies: Add sh/soft-fp.
2990 2013-12-16 Roland McGrath <roland@hack.frob.com>
2992 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2993 level of indirection to members `objname', `errstring', `malloced'.
2994 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2995 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2996 it as the __longjmp argument (just pass 1 instead).
2997 (_dl_catch_error): Initialize C with argument pointers and address of
2998 volatile local ERRCODE rather than copying values out of C at return.
3000 2013-12-16 Joseph Myers <joseph@codesourcery.com>
3002 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3003 * math/auto-libm-test-out: Regenerated.
3004 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3005 (hypot_test_data): Likewise.
3006 (pow_test_data): Likewise.
3007 (pow_tonearest_test_data): Likewise.
3008 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3010 (func_calc_desc): Add mpfr_ff_f union field.
3011 (FUNC_mpfr_ff_f): New macro.
3012 (test_functions): Add atan2, hypot and pow.
3013 (special_fill_min): New function.
3014 (special_fill_minus_min): Likewise.
3015 (special_fill_min_subnorm): Likewise.
3016 (special_fill_minus_min_subnorm): Likewise.
3017 (special_real_inputs): Add min, -min, min_subnorm and
3019 (calc_generic_results): Handle mpfr_ff_f.
3020 * sysdeps/i386/fpu/libm-test-ulps: Update.
3021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3023 2013-12-16 Will Newton <will.newton@linaro.org>
3025 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3026 (Aligned Memory Blocks): Add documentation for aligned_alloc
3027 and suggest it as an alternative to posix_memalign.
3028 (Hooks for Malloc): Document __memalign_hook is also called
3029 for aligned_alloc. (Summary of Malloc): Add summary for
3030 aligned alloc. Document __memalign_hook is also called
3033 2013-12-16 Will Newton <will.newton@linaro.org>
3035 * manual/memory.texi (Malloc Examples): Clarify default
3036 alignment documentation. Suggest posix_memalign rather
3037 than memalign or valloc.
3038 (Aligned Memory Blocks): Remove suggestion to use memalign
3039 or valloc. Remove obsolete comment about BSD.
3040 Document memalign errno values and mark the function obsolete.
3041 Document posix_memalign returned error codes. Mark valloc
3042 as obsolete. (Hooks for Malloc): __memalign_hook is also
3043 called for posix_memalign and valloc.
3044 (Summary of Malloc): Add posix_memalign to function summary.
3045 __memalign_hook is also called for posix_memalign and valloc.
3047 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3049 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3053 (sloww): Use mynumber union. Expand ternary operator into
3055 (cslow): use mynumber union.
3057 2013-12-16 Allan McRae <allan@archlinux.org>
3059 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3060 * configure: Regenerated.
3062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3065 * configure.ac: Added --enable-maintainer-mode. Check for
3066 autoconf when enabled.
3067 * configure: Regenerated.
3069 * nscd/nscd.service: New file.
3070 * nscd/nscd.tmpfiles: New file.
3072 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
3075 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3076 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3077 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3078 (strstr): Add __strstr_sse2_unaligned ifunc.
3079 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3080 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3081 (strcasestr): Remove __strcasestr_sse42 ifunc.
3082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3086 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3088 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3089 * sysdeps/sh/bits/fenv.h: ... here.
3090 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3092 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3099 hypotf multiarch implementations.
3100 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3103 multiarch hypot for PPC64.
3104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3107 multiarch hypotf for PPC64.
3109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3112 modff multiarch implementations.
3113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3116 multiarch modf for PPC64.
3117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3120 multiarch modff for PPC64.
3122 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3125 and logl multiarch implementations.
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3129 multiarch logb for PPC64.
3130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3133 multiarch logb for PPC64.
3134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3137 multiarch logb for PPC64.
3139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3142 isinff multiarch implementation.
3143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3147 multiarch isinf for PPC64.
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3151 multiarch isinff for PPC64.
3153 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3156 finitef multiarch implementation.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3161 multiarch finite for PPC64.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3165 multiarch finitef for PPC64.
3167 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3170 lrint multiarch implementation.
3171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3175 multiarch llrint for PPC64.
3176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3177 multiarch lrint for PPC64.
3179 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3182 copysignf multiarch implementation.
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3188 multiarch copysign for PPC64.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3190 multiarch copysignf for PPC64.
3192 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3195 multiarch implementation.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3204 multiarch llround for PPC64.
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3206 multiarch trunc for PPC64.
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3208 multiarch truncf for PPC64.
3210 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3213 multiarch implementation.
3214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3222 multiarch llround for PPC64.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3224 multiarch round for PPC64.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3226 multiarch roundf for PPC64.
3228 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3231 multiarch implementation.
3232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3240 multiarch llround for PPC64.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3242 multiarch floor for PPC64.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3244 multiarch floorf for PPC64.
3246 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3249 multiarch implementation.
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3258 multiarch llround for PPC64.
3259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3260 multiarch ceil for PPC64.
3261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3262 multiarch ceilf for PPC64.
3264 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3267 multiarch implementation.
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3275 multiarch llround for PPC64.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3277 multiarch lround for PPC64.
3279 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3282 multiarch implementation.
3283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3290 multiarch isnan for PPC64.
3291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3292 multiarch isnanf for PPC64.
3294 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3297 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3298 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3299 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3300 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3303 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3305 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3306 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3310 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3313 multiarch implementations.
3314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3315 (__libc_ifunc_impl_list): Likewise.
3316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3317 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3319 multiarch stpcpy for PPC64.
3321 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3324 multiarch implementations.
3325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Likewise.
3327 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3328 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3329 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3330 multiarch strcpy for PPC64.
3332 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3335 redefine function name.
3336 (_wordcopy_fwd_dest_aligned): Likewise.
3337 (_wordcopy_bwd_aligned): Likewise.
3338 (_wordcopy_bwd_dest_aligned): Likewise.
3339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3340 multiarch implementations.
3341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3342 (__libc_ifunc_impl_list): Likewise.
3343 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3344 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3345 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3346 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3347 multiarch wcscpy for PPC64.
3349 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3352 multiarch implementations.
3353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3354 (__libc_ifunc_impl_list): Likewise.
3355 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3356 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3357 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3358 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3359 multiarch wcscpy for PPC64.
3361 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3364 multiarch implementations.
3365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3366 (__libc_ifunc_impl_list): Likewise.
3367 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3368 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3369 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3370 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3371 multiarch wcsrchr for PPC64.
3373 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3376 multiarch implementations.
3377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3378 (__libc_ifunc_impl_list): Likewise.
3379 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3380 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3381 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3382 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3383 multiarch wcschr for PPC64.
3385 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3388 multiarch implementations.
3389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3390 (__libc_ifunc_impl_list): Likewise.
3391 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3392 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3393 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3394 multiarch strchrnul for PPC64.
3396 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3401 (__libc_ifunc_impl_list): Likewise.
3402 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3403 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3404 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3405 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3408 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3413 (__libc_ifunc_impl_list): Likewise.
3414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3415 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3416 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3417 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3420 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3423 multiarch implementations.
3424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3425 (__libc_ifunc_impl_list): Likewise.
3426 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3427 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3428 strncasecmp for PPC64.
3429 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3430 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3431 multiarch strncasecmp_l for PPC64.
3433 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3436 multiarch implementations.
3437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3438 (__libc_ifunc_impl_list): Likewise.
3439 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3440 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3441 multiarch strcasecmp for PPC64.
3442 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3444 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3445 multiarch strcasecmp_l for PPC64.
3447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3452 (__libc_ifunc_impl_list): Likewise.
3453 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3454 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3455 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3458 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3463 (__libc_ifunc_impl_list): Likewise.
3464 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3465 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3466 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3469 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3474 (__libc_ifunc_impl_list): Likewise.
3475 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3476 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3477 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3478 rawmemrchr for PPC64.
3480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3485 (__libc_ifunc_impl_list): Likewise.
3486 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3487 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3488 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3491 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3496 (__libc_ifunc_impl_list): Likewise.
3497 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3498 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3499 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3502 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3507 (__libc_ifunc_impl_list): Likewise.
3508 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3509 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3510 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3513 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3516 avoid cretion of __bzero symbol.
3517 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3519 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3521 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3524 multiarch implementations.
3525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3526 (__libc_ifunc_impl_list): Likewise.
3527 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3528 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3529 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3530 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3532 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3533 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3534 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3535 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3536 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3538 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3540 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3542 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3546 (__libc_ifunc_impl_list): Likewise.
3547 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3548 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3549 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3550 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3553 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3556 multiarch for POWER/PPC64.
3557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3558 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3559 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3562 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3564 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3565 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3568 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3571 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3572 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3573 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3574 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3575 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3576 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3577 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3578 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3579 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3580 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3581 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3582 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3583 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3584 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3593 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3597 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3599 * benchtests/Makefile (bench): Add exp2 and log2.
3600 (LDLIBS-bench-exp2): Add -lm.
3601 (LDLIBS-bench-log2): Likewise.
3602 * benchtests/exp2-inputs: New inputs file.
3603 * benchtests/log2-inputs: New inputs file.
3604 * benchtests/log-inputs: Add new inputs.
3605 * benchtests/tan-inputs: Likewise.
3607 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3609 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3611 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3612 csloww1, csloww2): ... from here.
3614 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3615 instead of structures.
3616 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3617 (POLYNOMIAL): Likewise.
3618 (TAYLOR_SLOW): Likewise.
3626 (bsloww1): Likewise.
3627 (bsloww2): Likewise.
3630 (csloww1): Likewise.
3631 (csloww2): Likewise.
3633 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3635 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3636 (__malloc_assert, __libc_realloc, __libc_calloc,
3637 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3639 * malloc/hooks.c (realloc_check): Likewise.
3641 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3643 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3644 * malloc/arena.c: Remove PER_THREAD conditional.
3645 [!PER_THREAD]: Remove code.
3646 (ptmalloc_unlock_all2): Likewise.
3647 (ptmalloc_init): Likewise.
3648 (_int_new_arena): Likewise.
3649 (arena_get2): Likewise.
3650 * malloc/hooks.c (__malloc_get_state): Likewise.
3651 (__malloc_set_state): Likewise.
3652 * malloc/malloc.c: Likewise.
3653 (struct malloc_state): Likewise.
3654 (struct malloc_par): Likewise.
3655 (__libc_realloc): Likewise.
3656 (__libc_mallopt): Likewise.
3658 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3660 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3662 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3664 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3665 macro to a function. Check for zero perturb_byte.
3666 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3668 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3670 * malloc/malloc.c: (force_reg): Remove.
3671 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3672 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3673 force_reg by atomic_forced_read.
3674 * malloc/arena.c (ptmalloc_init): Likewise.
3675 * malloc/hooks.c (top_check): Likewise.
3677 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3681 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3685 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3687 * math/auto-libm-test-in: Add tests of lgamma.
3688 * math/auto-libm-test-out: Regenerated.
3689 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3690 (M_LOG_2_SQRT_PIl): Likewise.
3691 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3692 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3694 (func_calc_desc): Add mpfr_f_f1 union field.
3703 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3704 (test_functions): Add lgamma.
3705 (calc_generic_results): Handle mpfr_f_f1.
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3711 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3712 __mpn_add_n for PowerPC64/POWER7.
3713 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3714 __mpn_sub_n for PowerPC64/POWER7.
3716 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3718 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3719 __mpn_addmul_1 for PowerPC64.
3720 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3721 __mpn_submul_1 for PowerPC64.
3722 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3724 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3727 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3730 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3732 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3736 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3739 add multiarch folders.
3740 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3741 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3742 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3743 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3744 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3745 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3746 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3747 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3748 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3749 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3750 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3758 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3761 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3767 multiarch __ieee754_hypot for PowerPC32.
3768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3773 multiarch __ieee754_hypotf for PowerPC32.
3775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3778 long_double_symbol only if __logbl is defined.
3779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3780 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3782 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3784 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3785 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3786 path for implementation.
3787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3788 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3790 logb, and logbl multiarch implementations for PowerPC32.
3791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3796 multiarch logb for PowerPC32.
3797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3802 multiarch logbf for PowerPC32.
3803 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3807 multiarch logbl implementation for PowerPC32.
3809 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3812 and modff multiarch implementations.
3813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3818 multiarch modf for PowerPC32.
3819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3824 multiarch modff for PowerPC32.
3826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3829 and lrintf multiarch implementations.
3830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3835 multiarch lrint for PowerPC32.
3836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3837 file: multiarch lrintf for PowerPC32.
3839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3842 and lroundf multiarch implementations.
3843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3850 multiarch lround for PowerPC32.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3852 file: multiarch lroundf for PowerPC32.
3854 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3857 copysign and copysignf multiarch implementations.
3858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3863 file: multiarch copysign for PowerPC32.
3864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3865 file: multiarch copysignf for PowerPC32.
3867 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3870 and truncf multiarch implementations.
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3876 multiarch trunc for PowerPC32.
3877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3882 multiarch truncf for PowerPC32.
3884 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3887 and roundf multiarch implementations.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3893 multiarch round for PowerPC32.
3894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3899 multiarch roundf for PowerPC32.
3901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3904 and floorf multiarch implementations.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3910 multiarch floor for PowerPC32.
3911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3916 multiarch floorf for PowerPC32.
3918 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3921 and ceilf multiarch implementations.
3922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3927 multiarch ceil for PowerPC32.
3928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3933 multiarch ceilf for PowerPC32.
3935 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3937 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3939 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3942 and finitef multiarch implementations.
3943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3948 multiarch finite for PowerPC32.
3949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3952 file: multiarch finitef for PowerPC32.
3954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3957 and isinff multiarch implementations.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3963 multiarch isinf for PowerPC32.
3964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3967 multiarch isinff for PowerPC32.
3969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3971 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3972 alias when __isnan is defined.
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3974 and isnanf multiarch implementations.
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3984 multiarch isnan for PowerPC32.
3985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3990 multiarch isnanf for PowerPC32.
3992 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3995 and sqrtf multiarch implementations.
3996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4001 multiarch sqrt for PowerPC32.
4002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4007 multiarch sqrtf for PowerPC32.
4009 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4012 and llroundf multiarch implementations.
4013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4020 file: multiarch llround for PowerPC32.
4021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4022 file: multiarch llroundf for PowerPC32.
4024 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4027 multiarch PowerPC32 fpu implementations.
4028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4033 multiarch llrint for PowerPC32.
4034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4041 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4045 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4047 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4049 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4051 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4053 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4054 multiarch wordcopy for PPC32.
4055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4058 (__libc_ifunc_impl_list): Likewise.
4059 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4060 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4061 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4062 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4064 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4066 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4076 multiarch wcscpy for PPC32.
4077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4079 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4080 (__libc_ifunc_impl_list): Likewise.
4081 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4082 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4083 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4084 sysdeps/powerpc/power6/wcscpy.c.
4086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4088 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4096 multiarch wcsrchr for PPC32.
4097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4100 (__libc_ifunc_impl_list): Likewise.
4101 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4102 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4103 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4104 sysdeps/powerpc/power6/wcsrchr.c.
4106 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4114 multiarch wcschr for PPc32.
4115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4118 (__libc_ifunc_impl_list): Likewise.
4119 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4120 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4121 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4122 sysdeps/powerpc/power6/wcschr.c.
4124 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4126 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4129 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4130 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4131 file: multiarch strchr for PPC32.
4132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4135 (__libc_ifunc_impl_list): Likewise.
4137 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4139 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4141 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4145 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4146 multiarch strchrnul for PPC32.
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4150 (__libc_ifunc_impl_list): Likewise.
4152 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4157 multiarch strncasecmp for PPC32.
4158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4161 multiarch strncasecmp_l for PPC32.
4162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4163 strncasecmp multiarch objects.
4164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4165 (__libc_ifunc_impl_list): Likewise.
4167 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4172 multiarch strncasecmp for PPC32.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4175 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4176 multiarch strcasecmp_l for PPC32.
4177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4180 (__libc_ifunc_impl_list): Likewise.
4182 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4189 multiarch strncmp for PPC32.
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4193 (__libc_ifunc_impl_list): Likewise.
4195 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4197 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4198 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4200 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4201 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4205 (__libc_ifunc_impl_list): Likewise.
4207 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4211 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4217 (__libc_ifunc_impl_list): Likewise.
4219 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4223 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4225 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4226 multiarch rawmemchr for PPC32.
4227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4230 (__libc_ifunc_impl_list): Likewise.
4232 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4239 file: memrchr multiarch for PPC32.
4240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4243 (__libc_ifunc_impl_list): Likewise.
4245 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4247 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4248 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4250 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4251 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4252 multiarch memchr for PPC32.
4253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4256 (__libc_ifunc_impl_list): Likewise.
4258 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4261 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4263 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4266 file: multiarch mempcpy for PPC32.
4267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4270 (__libc_ifunc_impl_list): Likewise.
4272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4275 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4277 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4278 multiarch bzero for PPC32.
4279 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4281 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4284 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4285 file: multiarch memset for PPC32.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4288 memset multiarch objects.
4289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4290 (__libc_ifunc_impl_list): Likewise.
4292 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4299 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4303 (__libc_ifunc_impl_list): Likewise.
4305 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4316 multiarch memcpy for PPC32.
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4320 (__libc_ifunc_impl_list): Likewise.
4322 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4325 support multiarch for POWER/PPC32.
4326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4328 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4330 Implies file to make multiarch folder appers before the fpu and
4331 default folder for power4 configuration.
4333 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4335 * scripts/bench.pl: Append volatile keyword to type.
4337 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4339 * sysdeps/sh/sotruss-lib.c: New file.
4340 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4342 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4346 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4349 * math/w_tgamma.c: Include <errno.h>.
4350 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4351 * math/w_tgammaf.c: Include <errno.h>.
4352 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4353 * math/w_tgammal.c: Include <errno.h>.
4354 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4355 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4356 underflow. Add more tgamma tests.
4357 * math/auto-libm-test-out: Regenerated.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4361 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4362 sin, sinh, tan, tanh, tgamma, y0 and y1.
4363 * math/auto-libm-test-out: Regenerated.
4364 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4365 (TEST_COND_x86): Likewise.
4366 (M_E2l): Remove macro.
4368 (M_2_SQRT_PIl): Likewise.
4369 (M_SQRT_PIl): Likewise.
4370 (M_1_DIV_El): Likewise.
4371 (log_test_data): Use AUTO_TESTS_f_f.
4372 (log10_test_data): Likewise.
4373 (log1p_test_data): Likewise.
4374 (log2_test_data): Likewise.
4375 (sin_test_data): Likewise.
4376 (sin_tonearest_test_data): Likewise.
4377 (sin_towardzero_test_data): Likewise.
4378 (sin_downward_test_data): Likewise.
4379 (sin_upward_test_data): Likewise.
4380 (sinh_test_data): Likewise.
4381 (sinh_tonearest_test_data): Likewise.
4382 (sinh_towardzero_test_data): Likewise.
4383 (sinh_downward_test_data): Likewise.
4384 (sinh_upward_test_data): Likewise.
4385 (tan_test_data): Likewise.
4386 (tan_tonearest_test_data): Likewise.
4387 (tan_towardzero_test_data): Likewise.
4388 (tan_downward_test_data): Likewise.
4389 (tan_upward_test_data): Likewise.
4390 (tanh_test_data): Likewise.
4391 (tgamma_test_data): Likewise.
4392 (y0_test_data): Likewise.
4393 (y1_test_data): Likewise.
4394 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4395 (special_real_inputs): Add pi/4.
4396 * sysdeps/i386/fpu/libm-test-ulps: Update.
4397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4399 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4401 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4402 "longjmp_target" static probes.
4403 (__longjmp): Rename to __longjmp_symbol.
4404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4406 on which longjmp to generate.
4407 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4410 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4411 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4414 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4417 __longjmp_symbol based on which __longjmp to generate.
4418 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4420 (setjmp): Rename to setjmp_symbol.
4421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4422 (_setjmp): Rename to _setjmp_symbol.
4423 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4424 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4425 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4426 which setjmp to generate.
4427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4428 "longjmp_target" static probes.
4430 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4432 * benchtests/README: Add note about output arguments.
4433 * benchtests/bench-sincos.c: Remove file.
4434 * benchtests/sincos-inputs: New file.
4435 * scripts/bench.pl: Identify output arguments and define
4436 static variables for them.
4438 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4441 * Makefile (INSTALL): Add install-plain.texi as the primary
4443 * manual/install-plain.texi: New file.
4444 * manual/install.texi: Include node directive only for
4445 non-plaintext output.
4447 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4449 * stdlib/longlong.h: Update from GCC.
4453 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4454 * math/w_j0f.c (y0f): Likewise.
4455 * math/w_j0l.c (__y0l): Likewise.
4456 * math/w_j1.c (y1): Likewise.
4457 * math/w_j1f.c (y1f): Likewise.
4458 * math/w_j1l.c (__y1l): Likewise
4459 * math/w_jn.c (yn): Likewise.
4460 * math/w_jnf.c (ynf): Likewise.
4461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4462 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4463 value for Bessel function domain errors outside _SVID_ mode.
4464 Adjust sign of return value for yn (negative integer, 0).
4465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4466 by zero in return for negative x and set sign appropriately for
4468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4470 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4471 expectations in error cases.
4472 (y1_test_data): Likewise.
4473 (yn_test_data): Likewise.
4474 * sysdeps/i386/fpu/libm-test-ulps: Update.
4475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4479 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4480 "64" to "64-v1". Add "64-v2".
4481 (abi-64-options): Rename to ...
4482 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4483 (abi-64-condition): Rename to ...
4484 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4485 (abi-64-ld-soname): Rename to ...
4486 (abi-64-v1-ld-soname): ... this.
4487 (abi-64-v2-options): Define.
4488 (abi-64-v2-condition): Likewise.
4489 (abi-64-v2-ld-soname): Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4496 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4497 Alan Modra <amodra@gmail.com>
4499 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4500 New versions for use with the ELFv2 ABI.
4501 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4502 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4504 (struct La_ppc64v2_retval): Likewise.
4505 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4506 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4507 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4508 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4509 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4511 Do not save or restore CR.
4512 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4513 (_dl_profile_resolve): Do no save or restore CR. Support extended
4514 return values for ELFv2 ABI. Fix location of FPR return registers.
4515 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4516 updated values for _CALL_ELF == 2.
4517 (La_regs, La_retval, int_retval): Likewise.
4519 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4521 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4522 (FRAME_MIN_SIZE_PARM): Likewise.
4523 (FRAME_BACKCHAIN): Likewise.
4524 (FRAME_CR_SAVE): Likewise.
4525 (FRAME_LR_SAVE): Likewise.
4526 (FRAME_TOC_SAVE): Likewise.
4527 (FRAME_PARM_SAVE): Likewise.
4528 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4529 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4530 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4531 (call_mcount_parm_offset): New macro.
4532 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4533 (PROF): Use symbolic stack frame offsets.
4534 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4536 Redefine in terms of FRAME_MIN_SIZE.
4537 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4538 (_dl_profile_resolve): Likewise. Update comment.
4539 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4540 symbols stack frame offsets.
4541 (__sigsetjmp): Likewise.
4542 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4543 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4544 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4545 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4548 (FRAME_BACKCHAIN): Remove.
4549 (FRAME_CR_SAVE): Likewise.
4550 (FRAME_LR_SAVE): Likewise.
4551 (FRAME_COMPILER_DW): Likewise.
4552 (FRAME_LINKER_DW): Likewise.
4553 (FRAME_TOC_SAVE): Likewise.
4554 (FRAME_PARM_SAVE): Likewise.
4555 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4556 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4557 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4559 (CHECK_SP): Use symbolic stack frame offsets.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4561 zone" instead of caller's parameter save area for temp storage.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4563 Likewise. Also, use symbolic stack frame offsets.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4565 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4566 our own stack frame instead of the caller's.
4567 (__socket): Use symbolic stack frame offsets.
4569 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4570 Alan Modra <amodra@gmail.com>
4572 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4574 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4575 PPC64_LOCAL_ENTRY_OFFSET): Define.
4576 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4578 (elf_machine_fixup_plt): Call it.
4579 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4581 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4583 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4584 r2 before calling target.
4586 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4587 Alan Modra <amodra@gmail.com>
4589 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4590 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4591 versions of macros to support ELFv2 ABI.
4592 (LOCALENTRY): New macro.
4593 (ENTRY, EALIGN): Use it.
4594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4596 fall through into ENTRY entry point.
4597 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4598 Only define if _CALL_ELF != 2.
4600 (elf_machine_matches_host): Verify ABI version matches.
4601 (RTLD_START): Use LOCALENTRY.
4602 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4603 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4604 (PLT_ENTRY_WORDS): New macro.
4605 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4606 (elf_machine_runtime_setup): Support ELFv2 ABI.
4607 (elf_machine_fixup_plt): Likewise.
4608 (elf_machine_plt_conflict): Likewise.
4609 (resolve_ifunc): Likewise.
4610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4614 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4616 (makecontext): Support ELFv2 ABI.
4617 * elf/elf.h (EF_PPC64_ABI): Define.
4619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4621 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4622 New assembler macro.
4623 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4624 [ASSEMBLER] (ENTRY): ... but instead here ...
4625 [ASSEMBLER] (EALIGN): ... and here.
4626 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4627 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4628 [!ASSEMBLER] (ENTRY_2): Use it.
4629 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4630 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4632 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4635 Use PPC64_LOAD_FUNCPTR.
4637 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4639 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4641 2013-12-04 Alan Modra <amodra@gmail.com>
4643 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4644 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4645 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4646 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4649 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4650 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4651 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4652 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4653 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4655 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4658 (__makecontext): Fix incorrect CFI when backtracing out of
4659 context created via makecontext.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4661 (__setcontext): Fix incorrect CFI during switch to new context.
4662 (__novec_setcontext): Likewise.
4664 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4667 * time/strptime_l.c (__strptime_internal): Allow modifiers
4669 * time/tst-strptime.c (day_tests): Add testcase.
4672 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 * scripts/bench.pl: Skip over blank lines.
4676 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4679 * manual/time.texi (Calendar Time): Clarify what timezone functions
4682 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4686 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4688 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4690 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4691 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4692 * debug/memset_chk.c (__memset_chk): Likewise.
4693 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4694 * debug/strncpy_chk.c: Likewise.
4696 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4700 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4701 (__ieee754_exp): For possibly underflowing results, check size of
4702 result and force underflow exception if required.
4703 * math/auto-libm-test-in: Add more tests of exp.
4704 * math/auto-libm-test-out: Regenerated.
4705 * sysdeps/i386/fpu/libm-test-ulps: Update.
4706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4710 * math/w_exp2f.c (__exp2f): Likewise.
4711 * math/w_exp2l.c (__exp2l): Likewise.
4712 * math/auto-libm-test-in: Do not allow missing errno on exp2
4714 * math/auto-libm-test-out: Regenerated.
4716 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4719 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4720 handle filename validation.
4721 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4724 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4727 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4728 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4729 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4731 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4733 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4735 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4737 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4738 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4739 Add more erfc tests.
4740 * math/auto-libm-test-out: Regenerated.
4741 * sysdeps/i386/fpu/libm-test-ulps: Update.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4744 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4745 exp2, expm1, j0 and j1.
4746 * math/auto-libm-test-out: Regenerated.
4747 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4748 (erfc_test_data): Likewise.
4749 (exp_test_data): Likewise.
4750 (exp_tonearest_test_data): Likewise.
4751 (exp_towardzero_test_data): Likewise.
4752 (exp_downward_test_data): Likewise.
4753 (exp_upward_test_data): Likewise.
4754 (exp10_test_data): Likewise.
4755 (exp2_test_data): Likewise.
4756 (expm1_test_data): Likewise.
4757 (j0_test_data): Likewise.
4758 (j1_test_data): Likewise.
4759 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4760 (input_flag_type): Add flag_xfail_rounding.
4761 (input_flags): Add xfail-rounding.
4762 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4763 (output_for_one_input_case): Handle flag_xfail_rounding.
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4767 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4770 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4773 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4776 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4777 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4778 (STAP_PROBE0): New macro.
4779 (STAP_PROBE1): Likewise.
4780 (STAP_PROBE2): Likewise.
4781 (STAP_PROBE3): Likewise.
4782 (STAP_PROBE4): Likewise.
4784 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4786 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4788 2013-12-02 Steve Ellcey <sellcey@mips.com>
4790 * benchtests/Makefile (bench): Add sqrt.
4791 (LDLIBS-bench-sqrt): New.
4792 * benchtests/sqrt-input: New.
4794 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4796 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4797 (GAIH_EAI): Likewise.
4798 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4799 (gaih_inet): Likewise.
4800 (getaddrinfo): Don't use GAIH_EAI.
4802 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4803 (struct gaih): Remove definition.
4805 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4807 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4808 Use HERRNOP directly.
4810 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4814 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4816 * math/gen-auto-libm-tests.c (test_functions): Add more
4817 single-argument functions.
4818 (special_fill_pi_2): New function.
4819 (special_fill_minus_pi_2): Likewise.
4820 (special_fill_pi_6): Likewise.
4821 (special_fill_minus_pi_6): Likewise.
4822 (special_fill_pi_3): Likewise.
4823 (special_fill_2pi_3): Likewise.
4824 (special_fill_e): Likewise.
4825 (special_fill_1_e): Likewise.
4826 (special_fill_e_minus_1): Likewise.
4827 (special_real_inputs): Add more special inputs.
4828 (output_for_one_input_case): Do not require ERANGE on underflow to
4829 zero if round-to-nearest result does not underflow to zero, unless
4830 exact results required.
4831 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4832 atan, atanh, cbrt, cos and cosh.
4833 * math/auto-libm-test-out: Regenerated.
4834 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4835 (acos_tonearest_test_data): Likewise.
4836 (acos_towardzero_test_data): Likewise.
4837 (acos_downward_test_data): Likewise.
4838 (acos_upward_test_data): Likewise.
4839 (acosh_test_data): Likewise.
4840 (asin_test_data): Likewise.
4841 (asin_tonearest_test_data): Likewise.
4842 (asin_towardzero_test_data): Likewise.
4843 (asin_upward_test_data): Likewise.
4844 (asinh_test_data): Likewise.
4845 (atan_test_data): Likewise.
4846 (atanh_test_data): Likewise.
4847 (cbrt_test_data): Likewise.
4848 (cos_test_data): Likewise.
4849 (cos_tonearest_test_data): Likewise.
4850 (cos_towardzero_test_data): Likewise.
4851 (cos_downward_test_data): Likewise.
4852 (cos_upward_test_data): Likewise.
4853 (cosh_test_data): Likewise.
4854 (cosh_tonearest_test_data): Likewise.
4855 (cosh_towardzero_test_data): Likewise.
4856 (cosh_downward_test_data): Likewise.
4857 (cosh_upward_test_data): Likewise.
4858 * sysdeps/i386/fpu/libm-test-ulps: Update.
4859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4861 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4864 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4865 * math/w_exp10f.c (__exp10f): Likewise.
4866 * math/w_exp10l.c (__exp10l): Likewise.
4867 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4868 errno settings in existing tests.
4871 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4872 precision control set to double precision.
4873 * sysdeps/i386/fpu/w_sqrt.c: New file.
4874 * math/auto-libm-test-in: Add more tests.
4875 * math/auto-libm-test-out: Update.
4877 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4878 (sqrt_test_tonearest): New function.
4879 (sqrt_towardzero_test_data): New variable.
4880 (sqrt_test_towardzero): New function.
4881 (sqrt_downward_test_data): New variable.
4882 (sqrt_test_downward): New function.
4883 (sqrt_upward_test_data): New variable.
4884 (sqrt_test_upward): New function.
4885 (main): Call the new functions.
4887 * math/gen-auto-libm-tests.c: New file.
4888 * math/auto-libm-test-in: Likewise.
4889 * math/auto-libm-test-out: New generated file.
4890 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4892 (%beautify): Add generated representations of zero.
4893 (top level): Set $auto_input and call parse_auto_input.
4894 (beautify): Remove trailing "f" from hex float constants.
4895 (parse_args): Handle XFAIL_TEST.
4896 (convert_condition): New function.
4897 (or_value): Likewise.
4898 (or_cond_value): Likewise.
4899 (generate_testfile): Handle AUTO_TESTS_* lines.
4900 (parse_auto_input): New function.
4901 * math/libm-test.inc (XFAIL_TEST): New macro.
4902 (ERRNO_UNCHANGED): Update value.
4903 (ERRNO_EDOM): Likewise.
4904 (ERRNO_ERANGE): Likewise.
4905 (IGNORE_RESULT): Likewise.
4906 (TEST_COND_flt_32): New macro.
4907 (TEST_COND_dbl_64): Likewise.
4908 (TEST_COND_ldbl_96_intel): Likewise.
4909 (TEST_COND_ldbl_96_m68k): Likewise.
4910 (TEST_COND_ldbl_128): Likewise.
4911 (TEST_COND_ldbl_128ibm): Likewise.
4912 (TEST_COND_long32): Likewise.
4913 (TEST_COND_long64): Likewise.
4914 (TEST_COND_before_rounding): Likewise.
4915 (TEST_COND_after_rounding): Likewise.
4916 (enable_test): Handle XFAIL_TEST flag.
4917 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4918 with finite results.
4919 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4922 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4923 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4926 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4927 __tls_get_addr_internal instead of __tls_get_offset in order to
4928 avoid GOT pointer dependency. Make rtld export
4929 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4930 __tls_get_addr since we are a __tls_get_offset platform.
4931 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4932 GOT pointer being set up before.
4933 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4935 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4937 * manual/math.texi (Errors in Math Functions): Document accuracy
4941 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4942 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4958 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4959 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4960 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4961 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4962 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4964 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4966 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4968 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4969 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4970 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4971 atomic-feupdateenv and flt-rounds.
4972 * sysdeps/powerpc/nofpu/Versions (libc): Add
4973 __atomic_feholdexcept, __atomic_feclearexcept,
4974 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4976 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4977 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4978 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4983 * manual/arith.texi (FP Exceptions): Document that exceptions may
4984 not be raised when matherr is used.
4985 (Math Error Reporting): Document overflow in directed rounding
4986 modes. Document that errno may not be set when finite values are
4987 returned on overflow. Document intent to set errno on underflow
4988 only for underflow to zero.
4991 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4992 round-to-nearest then adjust result for other rounding modes.
4993 * include/fenv.h (fegetround): Use libm_hidden_proto.
4994 * math/fegetround.c (fegetround): Use libm_hidden_def.
4995 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4996 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4997 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4998 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5000 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5001 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5002 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5003 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5005 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5008 * nss/Versions (libnss_files): Add
5009 _nss_files_gethostbyname3_r.
5010 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5012 (HOST_DB_LOOKUP): Remove macro.
5013 (_nss_files_gethostbyname_r): Implement function without the
5014 HOST_DB_LOOKUP macro.
5015 (_nss_files_gethostbyname2_r): Likewise.
5017 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
5019 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5021 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
5023 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5024 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5027 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5030 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5031 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5032 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5033 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5034 __fe_nomask_env_priv and attribute_hidden.
5035 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5036 (libc_feupdateenv_test_ppc): Likewise.
5037 (libc_feresetround_ppc): Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5039 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5040 compat_symbol macro.
5041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5042 (__fe_nomask_env): Likewise.
5043 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5045 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5047 * string/Makefile: Remove ifunc tests.
5048 * string/test-string.h: Define TEST_IFUNC.
5049 * string/test-bcopy-ifunc.c: Remove.
5050 * string/test-bzero-ifunc.c: Likewise.
5051 * string/test-memccpy-ifunc.c: Likewise.
5052 * string/test-memchr-ifunc.c: Likewise.
5053 * string/test-memcmp-ifunc.c: Likewise.
5054 * string/test-memcpy-ifunc.c: Likewise.
5055 * string/test-memmem-ifunc.c: Likewise.
5056 * string/test-memmove-ifunc.c: Likewise.
5057 * string/test-mempcpy-ifunc.c: Likewise.
5058 * string/test-memrchr-ifunc.c: Likewise.
5059 * string/test-memset-ifunc.c: Likewise.
5060 * string/test-rawmemchr-ifunc.c: Likewise.
5061 * string/test-stpcpy-ifunc.c: Likewise.
5062 * string/test-stpncpy-ifunc.c: Likewise.
5063 * string/test-strcasecmp-ifunc.c: Likewise.
5064 * string/test-strcasestr-ifunc.c: Likewise.
5065 * string/test-strcat-ifunc.c: Likewise.
5066 * string/test-strchr-ifunc.c: Likewise.
5067 * string/test-strchrnul-ifunc.c: Likewise.
5068 * string/test-strcmp-ifunc.c: Likewise.
5069 * string/test-strcpy-ifunc.c: Likewise.
5070 * string/test-strcspn-ifunc.c: Likewise.
5071 * string/test-strlen-ifunc.c: Likewise.
5072 * string/test-strncasecmp-ifunc.c: Likewise.
5073 * string/test-strncat-ifunc.c: Likewise.
5074 * string/test-strncmp-ifunc.c: Likewise.
5075 * string/test-strncpy-ifunc.c: Likewise.
5076 * string/test-strnlen-ifunc.c: Likewise.
5077 * string/test-strpbrk-ifunc.c: Likewise.
5078 * string/test-strrchr-ifunc.c: Likewise.
5079 * string/test-strspn-ifunc.c: Likewise.
5080 * string/test-strstr-ifunc.c: Likewise.
5082 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5084 * benchtests/Makefile: Remove ifunc tests.
5085 * benchtests/bench-string.h: Define TEST_IFUNC.
5086 * benchtests/bench-bcopy-ifunc.c: Remove.
5087 * benchtests/bench-bzero-ifunc.c: Likewise.
5088 * benchtests/bench-memccpy-ifunc.c: Likewise.
5089 * benchtests/bench-memchr-ifunc.c: Likewise.
5090 * benchtests/bench-memcmp-ifunc.c: Likewise.
5091 * benchtests/bench-memcpy-ifunc.c: Likewise.
5092 * benchtests/bench-memmem-ifunc.c: Likewise.
5093 * benchtests/bench-memmove-ifunc.c: Likewise.
5094 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5095 * benchtests/bench-memrchr-ifunc.c: Likewise.
5096 * benchtests/bench-memset-ifunc.c: Likewise.
5097 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5098 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5099 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5100 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5101 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5102 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5103 * benchtests/bench-strcat-ifunc.c: Likewise.
5104 * benchtests/bench-strchr-ifunc.c: Likewise.
5105 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5106 * benchtests/bench-strcmp-ifunc.c: Likewise.
5107 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5108 * benchtests/bench-strcpy-ifunc.c: Likewise.
5109 * benchtests/bench-strcspn-ifunc.c: Likewise.
5110 * benchtests/bench-strlen-ifunc.c: Likewise.
5111 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5112 * benchtests/bench-strncat-ifunc.c: Likewise.
5113 * benchtests/bench-strncmp-ifunc.c: Likewise.
5114 * benchtests/bench-strncpy-ifunc.c: Likewise.
5115 * benchtests/bench-strnlen-ifunc.c: Likewise.
5116 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5117 * benchtests/bench-strrchr-ifunc.c: Likewise.
5118 * benchtests/bench-strsep-ifunc.c: Likewise.
5119 * benchtests/bench-strspn-ifunc.c: Likewise.
5120 * benchtests/bench-strstr-ifunc.c: Likewise.
5122 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5124 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5126 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5128 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5129 * rt/aio.h: Likewise.
5130 * sysdeps/gnu/bits/utmp.h: Likewise.
5131 * sysdeps/gnu/bits/utmpx.h: Likewise.
5132 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5133 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5134 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5135 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5136 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5137 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5138 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5139 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5142 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5144 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5146 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5147 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5148 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5149 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5150 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5153 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5154 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5155 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5156 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5158 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5159 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5160 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5163 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5165 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5166 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5167 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5168 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5169 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5170 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5171 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5172 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5173 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5175 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5178 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5179 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5181 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5183 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5184 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5187 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5190 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5191 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5192 (__fesetround): Remove define.
5193 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5194 rounding and exceptions handling.
5195 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5196 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5197 (__fe_nomask_env): Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5199 __fegetround instead of fegetround.
5200 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5201 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5203 2013-11-21 Roland McGrath <roland@hack.frob.com>
5205 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5208 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5210 2013-11-21 Meador Inge <meadori@codesourcery.com>
5213 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5214 (encrypt_r): Likewise.
5215 * malloc/obstack.h (obstack_free): Likewise.
5216 * posix/unistd.h (encrypt): Likewise.
5218 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5220 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5221 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5222 DL_CALL_DT_FINI() that call the functions directly.
5223 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5224 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5225 * elf/dl-fini.c: Likewise.
5227 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5229 * malloc/hooks.c (memalign_check): Add alignment rounding.
5230 * malloc/malloc.c (_mid_memalign): New function.
5231 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5232 Implement by calling _mid_memalign.
5233 * manual/probes.texi (Memory Allocation Probes): Remove
5234 memory_valloc_retry and memory_pvalloc_retry.
5236 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5238 * locale/programs/locarchive.c (open_archive): Add const
5239 qualifier to ARCHIVEFNAME and copy default fname to
5243 * libio/tst-widetext.input: Rename Oriya to Odia.
5244 * locale/iso-639.def: Likewise.
5246 * manual/probes.texi (Mathematical Function Probes): Add
5247 documentation for sin, cos, asin and acos probes.
5248 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5249 (__sin32): Add slowasin probe.
5250 (__cos32): Add slowacos probe.
5251 (__mpsin): Add slowsin probe.
5252 (__mpcos): Add slowcos probe.
5254 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5257 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5258 thread-local __sim_exceptions_thread and global
5259 __sim_exceptions_global.
5260 (__sim_disabled_exceptions): Change to thread-local
5261 __sim_disabled_exceptions_thread and global
5262 __sim_disabled_exceptions_global.
5263 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5264 and global __sim_round_mode_global.
5265 (__simulate_exceptions): Use thread-local floating-point state and
5266 set global state from it as needed.
5267 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5268 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5269 __sim_round_mode_thread.
5270 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5271 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5272 and global __sim_exceptions_global.
5273 (__sim_disabled_exceptions): Change to thread-local
5274 __sim_disabled_exceptions_thread and global
5275 __sim_disabled_exceptions_global.
5276 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5277 and global __sim_round_mode_global.
5278 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5279 (SIM_SET_GLOBAL): Likewise.
5280 * sysdeps/powerpc/soft-fp/sfp-machine.h
5281 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5282 __sim_round_mode_thread.
5283 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5284 __sim_disabled_exceptions_thread.
5285 (__sim_exceptions): Change to __sim_exceptions_thread.
5286 (__sim_disabled_exceptions): Change to
5287 __sim_disabled_exceptions_thread.
5288 (__sim_round_mode): Change to __sim_round_mode_thread.
5289 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5290 thread-local floating-point state and set global state from it as
5292 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5293 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5294 (__sim_disabled_exceptions): Remove extern declaration.
5295 (feenableexcept): Use thread-local floating-point state and set
5296 global state from it as needed.
5297 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5299 (__sim_disabled_exceptions): Likewise.
5300 (__sim_round_mode): Likewise.
5301 (__fegetenv): Use thread-local floating-point state.
5302 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5303 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5304 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5305 floating-point state and set global state from it as needed.
5306 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5307 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5308 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5310 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5311 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5313 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5314 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5315 Use __sim_round_mode_thread.
5316 * math/test-fenv-tls.c: New file.
5317 * math/Makefile (tests): Add test-fenv-tls.
5318 ($(objpfx)test-fenv-tls): Depend on
5319 $(common-objpfx)nptl/libpthread.so.
5321 2013-11-19 Andreas Schwab <schwab@suse.de>
5323 * locale/programs/locale.c (show_info): Decode wordarray elements.
5324 * locale/categories.def (LC_MONETARY): Add element for
5325 _NL_MONETARY_CRNCYSTR.
5326 * locale/C-monetary.c (conversion_rate): New variable.
5327 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5330 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5332 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5333 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5335 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5337 * elf/Makefile (tst-auxv): New test.
5338 * elf/tst-auxv.c: New
5339 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5341 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5343 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5344 (hidden_proto): Caller changed.
5345 (hidden_tls_proto): New macro.
5346 (libc_hidden_tls_proto): Likewise.
5347 (rtld_hidden_tls_proto): Likewise.
5348 (libm_hidden_tls_proto): Likewise.
5349 (libresolv_hidden_tls_proto): Likewise.
5350 (librt_hidden_tls_proto): Likewise.
5351 (libdl_hidden_tls_proto): Likewise.
5352 (libnss_files_hidden_tls_proto): Likewise.
5353 (libnsl_hidden_tls_proto): Likewise.
5354 (libnss_nisplus_hidden_tls_proto): Likewise.
5355 (libutil_hidden_tls_proto): Likewise.
5357 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5360 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5361 (decompose_rpath): Defer expansion to fillin_rpath.
5362 (_dl_init_paths): Pass linkmap to fillin_rpath.
5364 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5366 * benchtests/Makefile: Add strsep.
5367 * benchtests/bench-strsep.c: New file: strsep benchtest.
5368 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5370 2013-11-18 Andreas Schwab <schwab@suse.de>
5372 * locale/programs/locale.c (show_info) [case byte]: Check for
5373 '\377' instead of '\177'.
5374 * locale/C-monetary.c (not_available): Always use "\377".
5375 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5376 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5377 detect unavailable sign_posn locale elements.
5378 * locale/localeconv.c (__localeconv): For grouping and
5379 mon_grouping handle "\177" and "\377" like no grouping.
5380 (INT_ELEM): New macro. Use it to set all numeric members.
5381 * locale/programs/ld-monetary.c (monetary_read)
5382 <tok_mon_grouping>: Normalize single -1 to the empty string.
5383 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5386 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5389 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5390 when we match (nil).
5391 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5393 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5395 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5396 (NO_TEST_INLINE): Update value.
5397 (ERRNO_UNCHANGED): Likewise.
5398 (ERRNO_EDOM): Likewise.
5399 (ERRNO_ERANGE): Likewise.
5400 (IGNORE_RESULT): Likewise.
5401 (check_float_internal): Check signs of NaN results if
5403 (check_complex): Pass TEST_NAN_SIGN flag through to second
5404 check_float_internal call.
5405 (copysign_test_data): Add tests with quiet NaNs as second
5406 argument. Use TEST_NAN_SIGN.
5407 (fabs_test_data): Add test of negative quiet NaN argument. Use
5409 (signbit_test_data): Add tests of quiet NaN argument.
5410 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5412 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5414 (parse_args): Handle function results specified as IGNORE.
5415 * math/libm-test.inc (IGNORE_RESULT): New macro.
5416 (check_float_internal): Do not check numerical result if flag
5418 (check_complex): Pass through IGNORE_RESULT to second
5419 check_float_internal call.
5420 (check_int): Do not check numerical result if flag IGNORE_RESULT
5422 (check_long): Likewise.
5423 (check_bool): Likewise.
5424 (check_longlong): Likewise.
5425 (lrint_test_data): Add tests of infinite and NaN arguments.
5426 (lrint_tonearest_test_data): Likewise.
5427 (lrint_towardzero_test_data): Likewise.
5428 (lrint_downward_test_data): Likewise.
5429 (lrint_upward_test_data): Likewise.
5430 (llrint_test_data): Likewise.
5431 (llrint_tonearest_test_data): Likewise.
5432 (llrint_towardzero_test_data): Likewise.
5433 (llrint_downward_test_data): Likewise.
5434 (llrint_upward_test_data): Likewise.
5435 (lround_test_data): Likewise.
5436 (llround_test_data): Likewise.
5438 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5439 (ERRNO_UNCHANGED): Update value.
5440 (ERRNO_EDOM): Likewise.
5441 (ERRNO_ERANGE): Likewise.
5442 (NO_TEST_INLINE_FLOAT): New macro.
5443 (NO_TEST_INLINE_DOUBLE): Likewise.
5444 (enable_test): New function.
5445 (RUN_TEST_f_f): Check enable_test before running test.
5446 (RUN_TEST_2_f): Likewise.
5447 (RUN_TEST_fff_f): Likewise.
5448 (RUN_TEST_c_f): Likewise.
5449 (RUN_TEST_f_f1): Likewise.
5450 (RUN_TEST_fF_f1): Likewise.
5451 (RUN_TEST_fI_f1): Likewise.
5452 (RUN_TEST_ffI_f1): Likewise.
5453 (RUN_TEST_c_c): Likewise.
5454 (RUN_TEST_cc_c): Likewise.
5455 (RUN_TEST_f_i): Likewise.
5456 (RUN_TEST_f_i_tg): Likewise.
5457 (RUN_TEST_ff_i_tg): Likewise.
5458 (RUN_TEST_f_b): Likewise.
5459 (RUN_TEST_f_b_tg): Likewise.
5460 (RUN_TEST_f_l): Likewise.
5461 (RUN_TEST_f_L): Likewise.
5462 (RUN_TEST_fFF_11): Likewise.
5463 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5465 (cosh_test_data): Likewise.
5466 (exp_test_data): Likewise.
5467 (expm1_test_data): Likewise.
5468 (hypot_test_data): Likewise.
5469 (pow_test_data): Likewise.
5470 (sinh_test_data): Likewise.
5471 (tanh_test_data): Likewise.
5472 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5475 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5476 tests with quiet NaN input and output.
5477 (acosh_test_data): Likewise.
5478 (asin_test_data): Likewise.
5479 (asinh_test_data): Likewise.
5480 (atan_test_data): Likewise.
5481 (atanh_test_data): Likewise.
5482 (atan2_test_data): Likewise.
5483 (cbrt_test_data): Likewise.
5484 (cos_test_data): Likewise.
5485 (cosh_test_data): Likewise.
5486 (erf_test_data): Likewise.
5487 (erfc_test_data): Likewise.
5488 (exp_test_data): Likewise.
5489 (exp10_test_data): Likewise.
5490 (exp2_test_data): Likewise.
5491 (expm1_test_data): Likewise.
5492 (hypot_test_data): Likewise.
5493 (j0_test_data): Likewise.
5494 (j1_test_data): Likewise.
5495 (jn_test_data): Likewise.
5496 (lgamma_test_data): Likewise.
5497 (log_test_data): Likewise.
5498 (log10_test_data): Likewise.
5499 (log1p_test_data): Likewise.
5500 (log2_test_data): Likewise.
5501 (pow_test_data): Likewise.
5502 (scalb_test_data): Likewise.
5503 (sin_test_data): Likewise.
5504 (sincos_test_data): Likewise.
5505 (sinh_test_data): Likewise.
5506 (tan_test_data): Likewise.
5507 (tanh_test_data): Likewise.
5508 (tgamma_test_data): Likewise.
5509 (y0_test_data): Likewise.
5510 (y1_test_data): Likewise.
5511 (yn_test_data): Likewise.
5514 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5515 argument being NaN and avoid computations with second argument in
5517 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5518 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5519 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5521 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5523 * locale/iso-639.def: Add Chitwani Tharu (the).
5525 2013-11-14 Andreas Schwab <schwab@suse.de>
5527 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5528 word instead of empty string.
5530 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5533 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5535 (__fe_nomask_env): Likewise.
5537 2013-11-13 Steve Ellcey <sellcey@mips.com>
5539 * benchtests/bench-timing.h: Include time.h.
5541 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5544 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5546 * sysdeps/unix/sysv/linux/configure: Regenerated.
5548 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5551 * stdlib/strtod_l.c (round_and_return): Do not consider
5552 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5553 exponent one less than half the least subnormal exponent.
5554 * stdlib/test-strtod-round-data: Add more tests.
5555 * stdlib/tst-strtod-round.c (tests): Regenerated.
5557 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5561 (__fe_mask_env): Likewise.
5562 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5563 libm_hidden_proto and add function prototype.
5564 (__fe_mask_env): Add function prototype.
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5566 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5568 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5570 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5572 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5574 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5575 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5577 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5579 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5580 of htab_find_slot().
5582 2013-11-11 David S. Miller <davem@davemloft.net>
5585 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5586 symbol in the non-vis3 case in static builds.
5587 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5588 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5589 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5590 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5592 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5595 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5598 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5600 * benchtests/Makefile: Add bench-strtod.
5601 * benchtests/bench-strtod.c: New file: strtod benchtest
5603 2013-11-11 Andreas Schwab <schwab@suse.de>
5606 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5607 terminating NUL in key length.
5609 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5612 Add artificial ODP entry for vDSO symbol for PPC64.
5613 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5614 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5616 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5619 * nss/getent.c (services_keys): Recognize services starting with digit.
5621 2013-11-06 David S. Miller <davem@davemloft.net>
5624 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5625 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5627 2013-11-06 Will Newton <will.newton@linaro.org>
5629 * manual/memory.texi (Malloc Examples): Remove register
5630 keyword from examples.
5632 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5634 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5636 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5639 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5640 depending on [__GCC_IEC_559 > 0].
5641 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5642 depending on [__GCC_IEC_559_COMPLEX > 0].
5644 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5646 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5649 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5651 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5653 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5656 * malloc/malloc (malloc_info): Do not handle first bin as
5659 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5661 * locale/iso-639.def: Add Central Nahuatl (nhn).
5663 2013-11-01 Bruno Haible <bruno@clisp.org>
5666 * manual/math.texi (BSD Random): Specify range upper bound as
5669 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5671 * locale/iso-639.def: Add Meadow Mari (mhr).
5673 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5675 [BZ #14752], [BZ #15763]
5676 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5678 * rt/tst_shm.c: Add test for escaping directory.
5680 2013-10-31 Andreas Schwab <schwab@suse.de>
5683 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5684 followed by 'x' as part of digit sequence.
5685 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5687 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5690 * configure.ac: allow GNU Make 4.0 and greater.
5691 * configure: Regenerated.
5693 2013-10-30 Will Newton <will.newton@linaro.org>
5696 * malloc/hooks.c (memalign_check): Limit alignment to the
5697 maximum representable power of two.
5698 * malloc/malloc.c (__libc_memalign): Likewise.
5699 * malloc/tst-memalign.c (do_test): Add test for very
5700 large alignment values.
5701 * malloc/tst-posix_memalign.c (do_test): Likewise.
5703 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5706 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5707 (munmap_chunk): Likewise.
5708 (mremap_chunk): Likewise.
5710 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5713 * stdlib/div.c (div): Remove obsolete code.
5714 * stdlib/ldiv.c (ldiv): Likewise.
5715 * stdlib/lldiv.c (lldiv): Likewise.
5717 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5720 * nss/nss_files/files-XXX.c (get_contents_ret): New
5722 (get_contents): New function.
5723 (internal_getent): Use it. Expand size of LINEBUFLEN.
5725 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5727 * configure.in: Moved to ...
5728 * configure.ac: ... here. Change reference to configure.in
5730 * sysdeps/arm/preconfigure.ac: ... here.
5731 configure.in to configure.ac.
5732 * sysdeps/gnu/configure.in: Moved to ...
5733 * sysdeps/gnu/configure.ac: ... here.
5734 * sysdeps/i386/configure.in: Moved to ...
5735 * sysdeps/i386/configure.ac: ... here.
5736 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5737 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5738 * sysdeps/mach/configure.in: Moved to ...
5739 * sysdeps/mach/configure.ac: ... here.
5740 * sysdeps/mach/hurd/configure.in: Moved to ...
5741 * sysdeps/mach/hurd/configure.ac: ... here.
5742 * sysdeps/powerpc/configure.in: Moved to ...
5743 * sysdeps/powerpc/configure.ac: ... here.
5744 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5745 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5746 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5747 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5748 * sysdeps/s390/s390-32/configure.in: Moved to ...
5749 * sysdeps/s390/s390-32/configure.ac: ... here.
5750 * sysdeps/s390/s390-64/configure.in: Moved to ...
5751 * sysdeps/s390/s390-64/configure.ac: ... here.
5752 * sysdeps/sh/configure.in: Moved to ...
5753 * sysdeps/sh/configure.ac: ... here.
5754 * sysdeps/sparc/configure.in: Moved to ...
5755 * sysdeps/sparc/configure.ac: ... here.
5756 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5757 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5758 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5759 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5760 * sysdeps/x86_64/configure.in: Moved to ...
5761 * sysdeps/x86_64/configure.ac: ... here.
5762 * sysdeps/x86_64/preconfigure.in: Moved to ...
5763 * sysdeps/x86_64/preconfigure.ac: ... here.
5764 * aclocal.m4: Change reference to configure.in to configure.ac.
5765 * config.h.in: Likewise.
5766 * manual/install.texi: Likewise.
5767 * manual/maint.texi: Likewise.
5768 * Makefile: Likewise.
5769 * malloc/Makefile: Likewise.
5770 * nscd/Makefile: Likewise.
5771 * Makeconfig: Change reference to configure.in and
5772 preconfigure.in to configure.ac and preconfigure.ac
5774 * INSTALL: Regenerated.
5775 * configure: Likewise.
5776 * sysdeps/gnu/configure: Likewise.
5777 * sysdeps/i386/configure: Likewise.
5778 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5779 * sysdeps/mach/configure: Likewise.
5780 * sysdeps/mach/hurd/configure: Likewise.
5781 * sysdeps/powerpc/configure: Likewise.
5782 * sysdeps/powerpc/powerpc32/configure: Likewise.
5783 * sysdeps/powerpc/powerpc64/configure: Likewise.
5784 * sysdeps/s390/s390-32/configure: Likewise.
5785 * sysdeps/s390/s390-64/configure: Likewise.
5786 * sysdeps/sh/configure: Likewise.
5787 * sysdeps/sparc/configure: Likewise.
5788 * sysdeps/unix/sysv/linux/configure: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5790 * sysdeps/x86_64/configure: Likewise.
5791 * sysdeps/x86_64/preconfigure: Likewise.
5793 2013-10-29 Andreas Schwab <schwab@suse.de>
5795 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5797 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5799 * benchtests/pow-inputs: Add new inputs.
5801 * benchtests/exp-inputs: Add new inputs.
5803 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5804 conditional check for return value.
5805 (__cos32): Likewise.
5807 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5809 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5810 to provide a boost for large inputs with word alignment.
5811 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5812 implementation based on optimized PPC64 strcpy.
5813 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5814 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5815 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5816 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5818 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5821 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5823 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5826 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5827 * time/tst-strptime.c (day_tests): Add testcase.
5829 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5832 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5834 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5837 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5838 MAP_FAILED on error.
5840 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5843 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5844 heap for large requests.
5846 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5849 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5850 result if the result has no associated interface.
5851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5852 interface for all 127.X.Y.Z addresses.
5854 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5856 * locale/iso-639.def: Add Ligurian (lij)
5858 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5861 * sunrpc/rpc_main.c: Document rpcgen -5.
5863 2013-10-19 Michael Stahl <mstahl@redhat.com>
5865 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5867 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5870 * posix/glob.c: Match only directories when trailing slash is present.
5871 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5872 (main): Add testcase.
5874 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5877 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5879 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5881 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5882 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5883 AUTH_DES and cindex for FIPS 140-2.
5884 (DES Encryption): Add cindex FIPS 46-3.
5886 * locale/locarchive.h (struct locarhandle): Add fname.
5887 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5888 if an optional argument was specified to --list-archive,
5890 * locale/programs/locarchive.c (show_archive_content): Take new
5891 argument fname and pass it via ah.fname to open_archive.
5892 * locale/programs/localedef.h: Update decl.
5893 (open_archive): If AH->fname is non-null, open that file
5894 rather than the default file name, and don't ignore ENOENT.
5895 (create_archive): Set AH.fname to NULL.
5896 (delete_locales_from_archive): Likewise.
5897 (add_locales_to_archive): Likewise.
5898 * locale/programs/locfile.c (write_all_categories): Likewise.
5900 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5901 Aldy Hernandez <aldyh@redhat.com>
5903 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5904 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5905 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5906 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5907 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5908 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5909 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5910 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5911 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5912 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5914 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5915 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5917 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5919 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5921 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5923 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5925 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5926 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5928 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5929 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5930 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5931 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5933 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5934 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5935 * sysdeps/powerpc/preconfigure: Likewise.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5938 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5939 Replace contents of file by #include of <fenv_libc.h>.
5940 * sysdeps/powerpc/soft-fp/sfp-machine.h
5941 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5943 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5956 Allow copysignl PLT reference to be missing.
5958 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5959 Joseph Myers <joseph@codesourcery.com
5962 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5964 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5966 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5968 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5969 * elf/tst-tls1.c: Likewise.
5970 * elf/tst-tls10.h: Likewise.
5971 * elf/tst-tls14.c: Likewise.
5972 * elf/tst-tls2.c: Likewise.
5973 * elf/tst-tls3.c: Likewise.
5974 * elf/tst-tls4.c: Likewise.
5975 * elf/tst-tls5.c: Likewise.
5976 * elf/tst-tls6.c: Likewise.
5977 * elf/tst-tls7.c: Likewise.
5978 * elf/tst-tls8.c: Likewise.
5979 * elf/tst-tls9.c: Likewise.
5980 * elf/tst-tlsmod1.c: Likewise.
5981 * elf/tst-tlsmod13.c: Likewise.
5982 * elf/tst-tlsmod13a.c: Likewise.
5983 * elf/tst-tlsmod14a.c: Likewise.
5984 * elf/tst-tlsmod16a.c: Likewise.
5985 * elf/tst-tlsmod16b.c: Likewise.
5986 * elf/tst-tlsmod2.c: Likewise.
5987 * elf/tst-tlsmod3.c: Likewise.
5988 * elf/tst-tlsmod4.c: Likewise.
5989 * elf/tst-tlsmod5.c: Likewise.
5990 * elf/tst-tlsmod6.c: Likewise.
5992 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5995 * malloc/malloc.c: remove checks for statistics.
5997 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6000 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6001 * inet/tst-network.c: Add testcase.
6003 2013-10-17 Andreas Schwab <schwab@suse.de>
6006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6007 to determine canonical name.
6009 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6011 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6012 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6016 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6025 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6035 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6036 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6041 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6070 2013-10-17 Joseph Myers <joseph@codesourcery.com>
6073 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6074 make result into a quiet NaN.
6076 2013-10-16 Joseph Myers <joseph@codesourcery.com>
6078 * soft-fp/adddf3.c: Fix horizontal whitespace.
6079 * soft-fp/addsf3.c: Likewise.
6080 * soft-fp/addtf3.c: Likewise.
6081 * soft-fp/divdf3.c: Likewise.
6082 * soft-fp/divsf3.c: Likewise.
6083 * soft-fp/divtf3.c: Likewise.
6084 * soft-fp/double.h: Likewise.
6085 * soft-fp/eqdf2.c: Likewise.
6086 * soft-fp/eqsf2.c: Likewise.
6087 * soft-fp/eqtf2.c: Likewise.
6088 * soft-fp/extenddftf2.c: Likewise.
6089 * soft-fp/extended.h: Likewise.
6090 * soft-fp/extendsfdf2.c: Likewise.
6091 * soft-fp/extendsftf2.c: Likewise.
6092 * soft-fp/extendxftf2.c: Likewise.
6093 * soft-fp/fixdfdi.c: Likewise.
6094 * soft-fp/fixdfsi.c: Likewise.
6095 * soft-fp/fixdfti.c: Likewise.
6096 * soft-fp/fixsfdi.c: Likewise.
6097 * soft-fp/fixsfsi.c: Likewise.
6098 * soft-fp/fixsfti.c: Likewise.
6099 * soft-fp/fixtfdi.c: Likewise.
6100 * soft-fp/fixtfsi.c: Likewise.
6101 * soft-fp/fixtfti.c: Likewise.
6102 * soft-fp/fixunsdfdi.c: Likewise.
6103 * soft-fp/fixunsdfsi.c: Likewise.
6104 * soft-fp/fixunsdfti.c: Likewise.
6105 * soft-fp/fixunssfdi.c: Likewise.
6106 * soft-fp/fixunssfsi.c: Likewise.
6107 * soft-fp/fixunssfti.c: Likewise.
6108 * soft-fp/fixunstfdi.c: Likewise.
6109 * soft-fp/fixunstfsi.c: Likewise.
6110 * soft-fp/fixunstfti.c: Likewise.
6111 * soft-fp/floatdidf.c: Likewise.
6112 * soft-fp/floatdisf.c: Likewise.
6113 * soft-fp/floatditf.c: Likewise.
6114 * soft-fp/floatsidf.c: Likewise.
6115 * soft-fp/floatsisf.c: Likewise.
6116 * soft-fp/floatsitf.c: Likewise.
6117 * soft-fp/floattidf.c: Likewise.
6118 * soft-fp/floattisf.c: Likewise.
6119 * soft-fp/floattitf.c: Likewise.
6120 * soft-fp/floatundidf.c: Likewise.
6121 * soft-fp/floatundisf.c: Likewise.
6122 * soft-fp/floatunditf.c: Likewise.
6123 * soft-fp/floatunsidf.c: Likewise.
6124 * soft-fp/floatunsisf.c: Likewise.
6125 * soft-fp/floatunsitf.c: Likewise.
6126 * soft-fp/floatuntidf.c: Likewise.
6127 * soft-fp/floatuntisf.c: Likewise.
6128 * soft-fp/floatuntitf.c: Likewise.
6129 * soft-fp/fmadf4.c: Likewise.
6130 * soft-fp/fmasf4.c: Likewise.
6131 * soft-fp/fmatf4.c: Likewise.
6132 * soft-fp/gedf2.c: Likewise.
6133 * soft-fp/gesf2.c: Likewise.
6134 * soft-fp/getf2.c: Likewise.
6135 * soft-fp/ledf2.c: Likewise.
6136 * soft-fp/lesf2.c: Likewise.
6137 * soft-fp/letf2.c: Likewise.
6138 * soft-fp/muldf3.c: Likewise.
6139 * soft-fp/mulsf3.c: Likewise.
6140 * soft-fp/multf3.c: Likewise.
6141 * soft-fp/negdf2.c: Likewise.
6142 * soft-fp/negsf2.c: Likewise.
6143 * soft-fp/negtf2.c: Likewise.
6144 * soft-fp/op-1.h: Likewise.
6145 * soft-fp/op-2.h: Likewise.
6146 * soft-fp/op-4.h: Likewise.
6147 * soft-fp/op-8.h: Likewise.
6148 * soft-fp/op-common.h: Likewise.
6149 * soft-fp/quad.h: Likewise.
6150 * soft-fp/single.h: Likewise.
6151 * soft-fp/soft-fp.h: Likewise.
6152 * soft-fp/sqrtdf2.c: Likewise.
6153 * soft-fp/sqrtsf2.c: Likewise.
6154 * soft-fp/sqrttf2.c: Likewise.
6155 * soft-fp/subdf3.c: Likewise.
6156 * soft-fp/subsf3.c: Likewise.
6157 * soft-fp/subtf3.c: Likewise.
6158 * soft-fp/truncdfsf2.c: Likewise.
6159 * soft-fp/trunctfdf2.c: Likewise.
6160 * soft-fp/trunctfsf2.c: Likewise.
6161 * soft-fp/trunctfxf2.c: Likewise.
6162 * soft-fp/unorddf2.c: Likewise.
6163 * soft-fp/unordsf2.c: Likewise.
6164 * soft-fp/unordtf2.c: Likewise.
6166 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6168 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6169 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6171 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6173 * elf/dl-libc.c: Clear initfini list after freeing.
6175 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6177 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6178 * soft-fp/addsf3.c: Likewise.
6179 * soft-fp/addtf3.c: Likewise.
6180 * soft-fp/divdf3.c: Likewise.
6181 * soft-fp/divsf3.c: Likewise.
6182 * soft-fp/divtf3.c: Likewise.
6183 * soft-fp/double.h: Likewise.
6184 * soft-fp/eqdf2.c: Likewise.
6185 * soft-fp/eqsf2.c: Likewise.
6186 * soft-fp/eqtf2.c: Likewise.
6187 * soft-fp/extenddftf2.c: Likewise.
6188 * soft-fp/extended.h: Likewise.
6189 * soft-fp/extendsfdf2.c: Likewise.
6190 * soft-fp/extendsftf2.c: Likewise.
6191 * soft-fp/extendxftf2.c: Likewise.
6192 * soft-fp/fixdfdi.c: Likewise.
6193 * soft-fp/fixdfsi.c: Likewise.
6194 * soft-fp/fixdfti.c: Likewise.
6195 * soft-fp/fixsfdi.c: Likewise.
6196 * soft-fp/fixsfsi.c: Likewise.
6197 * soft-fp/fixsfti.c: Likewise.
6198 * soft-fp/fixtfdi.c: Likewise.
6199 * soft-fp/fixtfsi.c: Likewise.
6200 * soft-fp/fixtfti.c: Likewise.
6201 * soft-fp/fixunsdfdi.c: Likewise.
6202 * soft-fp/fixunsdfsi.c: Likewise.
6203 * soft-fp/fixunsdfti.c: Likewise.
6204 * soft-fp/fixunssfdi.c: Likewise.
6205 * soft-fp/fixunssfsi.c: Likewise.
6206 * soft-fp/fixunssfti.c: Likewise.
6207 * soft-fp/fixunstfdi.c: Likewise.
6208 * soft-fp/fixunstfsi.c: Likewise.
6209 * soft-fp/fixunstfti.c: Likewise.
6210 * soft-fp/floatdidf.c: Likewise.
6211 * soft-fp/floatdisf.c: Likewise.
6212 * soft-fp/floatditf.c: Likewise.
6213 * soft-fp/floatsidf.c: Likewise.
6214 * soft-fp/floatsisf.c: Likewise.
6215 * soft-fp/floatsitf.c: Likewise.
6216 * soft-fp/floattidf.c: Likewise.
6217 * soft-fp/floattisf.c: Likewise.
6218 * soft-fp/floattitf.c: Likewise.
6219 * soft-fp/floatundidf.c: Likewise.
6220 * soft-fp/floatundisf.c: Likewise.
6221 * soft-fp/floatunsidf.c: Likewise.
6222 * soft-fp/floatunsisf.c: Likewise.
6223 * soft-fp/floatuntidf.c: Likewise.
6224 * soft-fp/floatuntisf.c: Likewise.
6225 * soft-fp/floatuntitf.c: Likewise.
6226 * soft-fp/fmadf4.c: Likewise.
6227 * soft-fp/fmasf4.c: Likewise.
6228 * soft-fp/fmatf4.c: Likewise.
6229 * soft-fp/gedf2.c: Likewise.
6230 * soft-fp/gesf2.c: Likewise.
6231 * soft-fp/getf2.c: Likewise.
6232 * soft-fp/ledf2.c: Likewise.
6233 * soft-fp/lesf2.c: Likewise.
6234 * soft-fp/letf2.c: Likewise.
6235 * soft-fp/muldf3.c: Likewise.
6236 * soft-fp/mulsf3.c: Likewise.
6237 * soft-fp/multf3.c: Likewise.
6238 * soft-fp/negdf2.c: Likewise.
6239 * soft-fp/negsf2.c: Likewise.
6240 * soft-fp/negtf2.c: Likewise.
6241 * soft-fp/op-1.h: Likewise.
6242 * soft-fp/op-2.h: Likewise.
6243 * soft-fp/op-4.h: Likewise.
6244 * soft-fp/op-8.h: Likewise.
6245 * soft-fp/op-common.h: Likewise.
6246 * soft-fp/quad.h: Likewise.
6247 * soft-fp/single.h: Likewise.
6248 * soft-fp/soft-fp.h: Likewise.
6249 * soft-fp/sqrtdf2.c: Likewise.
6250 * soft-fp/sqrtsf2.c: Likewise.
6251 * soft-fp/sqrttf2.c: Likewise.
6252 * soft-fp/subdf3.c: Likewise.
6253 * soft-fp/subsf3.c: Likewise.
6254 * soft-fp/subtf3.c: Likewise.
6255 * soft-fp/truncdfsf2.c: Likewise.
6256 * soft-fp/trunctfdf2.c: Likewise.
6257 * soft-fp/trunctfsf2.c: Likewise.
6258 * soft-fp/trunctfxf2.c: Likewise.
6259 * soft-fp/unorddf2.c: Likewise.
6260 * soft-fp/unordsf2.c: Likewise.
6261 * soft-fp/unordtf2.c: Likewise.
6263 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6266 * misc/error.c (error_tail): Fix possible buffer overflow.
6268 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6271 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6274 2013-10-14 P. J. McDermott <pj@pehjota.net>
6277 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6278 testing pipefail option.
6280 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6282 * soft-fp/double.h: Indent preprocessor directives inside #if.
6283 * soft-fp/extended.h: Likewise.
6284 * soft-fp/op-2.h: Likewise.
6285 * soft-fp/op-4.h: Likewise.
6286 * soft-fp/op-common.h: Likewise.
6287 * soft-fp/quad.h: Likewise.
6288 * soft-fp/single.h: Likewise.
6289 * soft-fp/soft-fp.h: Likewise.
6291 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6293 * iconv/iconv_prog.c: Fix typos.
6294 * stdio-common/psiginfo-data.h: Likewise.
6296 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6299 * locale/setlocale.c: Fix typo.
6301 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6304 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6305 signaling NaN arguments.
6306 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6307 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6310 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6312 * soft-fp/gesf2.c (__gesf2): Likewise.
6313 * soft-fp/getf2.c (__getf2): Likewise.
6314 * soft-fp/ledf2.c (__ledf2): Likewise.
6315 * soft-fp/lesf2.c (__lesf2): Likewise.
6316 * soft-fp/letf2.c (__letf2): Likewise.
6318 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6319 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6320 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6321 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6322 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6323 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6324 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6325 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6326 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6327 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6328 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6329 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6330 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6331 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6332 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6333 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6334 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6335 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6336 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6337 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6338 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6339 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6340 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6341 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6342 * soft-fp/floattidf.c (__floattidf): Likewise.
6343 * soft-fp/floattisf.c (__floattisf): Likewise.
6344 * soft-fp/floattitf.c (__floattitf): Likewise.
6345 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6346 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6347 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6348 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6349 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6350 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6351 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6352 * soft-fp/gesf2.c (__gesf2): Likewise.
6353 * soft-fp/getf2.c (__getf2): Likewise.
6354 * soft-fp/ledf2.c (__ledf2): Likewise.
6355 * soft-fp/lesf2.c (__lesf2): Likewise.
6356 * soft-fp/letf2.c (__letf2): Likewise.
6358 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6359 Undefine and redefine.
6360 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6361 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6362 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6363 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6364 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6365 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6366 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6367 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6368 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6369 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6370 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6371 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6372 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6373 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6374 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6377 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6378 without decrementing exponent if mantissa >= that for the
6380 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6381 denominator, not >. Decrement exponent in < case instead of
6382 incrementing in >= case.
6383 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6384 without decrementing exponent if mantissa >= that for the
6387 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6388 computing saturated result for unsigned overflow.
6390 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6391 Jeff Law <law@redhat.com>
6393 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6394 (atan2Mp): Add systemtap probe marker.
6395 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6396 (__ieee754_log): Add systemtap probe marker.
6397 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6398 (atanMp): Add systemtap probe marker.
6399 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6400 (tanMp): Add systemtap probe marker.
6401 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6402 (__slowexp): Add systemtap probe marker.
6403 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6404 (__slowpow): Add systemtap probe marker.
6405 * manual/probes.texi: Document probes.
6407 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6410 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6412 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6414 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6415 written to buffer but not flushed.
6416 * libio/iofwrite_u.c: Likewise.
6417 * libio/iopadn.c: Return bytes returned even if EOF was
6419 * libio/iowpadn.c: Likewise.
6420 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6421 if _IO_padn does not write the whole buffer.
6422 [!COMPILE_WPRINTF] (PAD): Likewise.
6424 2013-10-10 David S. Miller <davem@davemloft.net>
6426 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6429 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6431 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6432 instead of FSF address.
6433 * soft-fp/fixdfti.c: Likewise.
6434 * soft-fp/fixsfti.c: Likewise.
6435 * soft-fp/fixtfti.c: Likewise.
6436 * soft-fp/fixunsdfti.c: Likewise.
6437 * soft-fp/fixunssfti.c: Likewise.
6438 * soft-fp/fixunstfti.c: Likewise.
6439 * soft-fp/floattidf.c: Likewise.
6440 * soft-fp/floattisf.c: Likewise.
6441 * soft-fp/floattitf.c: Likewise.
6442 * soft-fp/floatuntidf.c: Likewise.
6443 * soft-fp/floatuntisf.c: Likewise.
6444 * soft-fp/floatuntitf.c: Likewise.
6445 * soft-fp/trunctfxf2.c: Likewise.
6447 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6448 * soft-fp/fixdfti.c: Likewise.
6449 * soft-fp/fixsfti.c: Likewise.
6450 * soft-fp/fixtfti.c: Likewise.
6451 * soft-fp/fixunsdfti.c: Likewise.
6452 * soft-fp/fixunssfti.c: Likewise.
6453 * soft-fp/fixunstfti.c: Likewise.
6454 * soft-fp/floattidf.c: Likewise.
6455 * soft-fp/floattisf.c: Likewise.
6456 * soft-fp/floattitf.c: Likewise.
6457 * soft-fp/floatuntidf.c: Likewise.
6458 * soft-fp/floatuntisf.c: Likewise.
6459 * soft-fp/floatuntitf.c: Likewise.
6460 * soft-fp/trunctfxf2.c: Likewise.
6462 2013-10-10 David S. Miller <davem@davemloft.net>
6464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6466 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6469 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6470 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6471 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6472 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6473 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6474 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6477 for NaNs before doing comparisons on argument.
6478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6481 2013-10-10 Will Newton <will.newton@linaro.org>
6483 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6484 passed to _int_memalign does not overflow.
6486 2013-10-10 Torvald Riegel <triegel@redhat.com>
6488 * scripts/bench.pl: Add include-sources directive.
6489 * benchtests/README: Update documentation.
6491 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6493 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6494 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6495 instead of FP_INIT_ROUNDMODE.
6496 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6497 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6500 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6501 copy class of input value.
6502 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6503 not handle exceptions.
6504 * soft-fp/negsf2.c (__negsf2): Likewise.
6505 * soft-fp/negtf2.c (__negtf2): Likewise.
6506 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6508 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6510 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6511 semicolon. From Linux kernel.
6513 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6515 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6517 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6520 * manual/socket.texi: Added statement about buffer
6521 for gethostbyname2_r.
6523 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6525 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6526 Use .p2align directive instead, throughout.
6527 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6528 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6529 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6532 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6533 * sysdeps/x86_64/strchr.S: Likewise.
6534 * sysdeps/x86_64/strrchr.S: Likewise.
6536 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6538 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6540 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6542 * sysdeps/generic/math_private.h (__mpsin1): Remove
6544 (__mpcos1): Likewise.
6545 (__mpsin): New argument __range_reduce.
6546 (__mpcos): Likewise.
6547 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6548 (slow): Use __mpsin and __mpcos.
6555 (bsloww1): Likewise.
6556 (bsloww2): Likewise.
6559 (csloww1): Likewise.
6560 (csloww2): Likewise.
6561 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6562 range_reduce. Merge in __mpsin1.
6563 (__mpcos): Likewise.
6565 (__mpcos1): Likewise.
6567 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6569 * locale/loadlocale.c (_nl_intern_locale_data): Use
6571 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6572 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6573 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6574 obstack data is appropriately aligned.
6575 (obstack_int32_grow_fast): Likewise.
6576 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6577 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6578 (add_locale_uint32_array): Likewise.
6580 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6582 * benchtests/Makefile: Remove ARGLIST and RET variables.
6583 ($(objpfx)bench-%.c): Pass only function name to the script.
6584 * benchtests/README: Update documentation.
6585 * benchtests/acos-inputs: Add new directives.
6586 * benchtests/acosh-inputs: Likewise.
6587 * benchtests/asin-inputs: Likewise.
6588 * benchtests/asinh-inputs: Likewise.
6589 * benchtests/atan-inputs: Likewise.
6590 * benchtests/atanh-inputs: Likewise.
6591 * benchtests/cos-inputs: Likewise.
6592 * benchtests/cosh-inputs: Likewise.
6593 * benchtests/exp-inputs: Likewise.
6594 * benchtests/log-inputs: Likewise.
6595 * benchtests/pow-inputs: Likewise.
6596 * benchtests/rint-inputs: Likewise.
6597 * benchtests/sin-inputs: Likewise.
6598 * benchtests/sinh-inputs: Likewise.
6599 * benchtests/tan-inputs: Likewise.
6600 * benchtests/tanh-inputs: Likewise.
6601 * scripts/bench.pl: Add support for new directives.
6603 2013-10-07 Alan Modra <amodra@gmail.com>
6605 * README: Fix careless merge.
6607 2013-10-05 Alan Modra <amodra@gmail.com>
6609 * NEWS: Mention powerpc64le support and bugs fixed.
6610 * README: Both big-endian and little-endian powerpc64 supported.
6612 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6614 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6615 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6616 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6617 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6619 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6621 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6624 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6626 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6627 Move -mhard-float appending from
6628 ports/sysdeps/powerpc/powerpc32/Makefile.
6629 [$(with-fp) = yes] (ASFLAGS): Likewise.
6630 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6631 * sysdeps/powerpc/nofpu: Move directory from
6632 ports/sysdeps/powerpc/nofpu.
6633 * sysdeps/powerpc/soft-fp: Move directory from
6634 ports/sysdeps/powerpc/soft-fp.
6635 * sysdeps/powerpc/powerpc32/405: Move directory from
6636 ports/sysdeps/powerpc/powerpc32/405.
6637 * sysdeps/powerpc/powerpc32/440: Move directory from
6638 ports/sysdeps/powerpc/powerpc32/440.
6639 * sysdeps/powerpc/powerpc32/464: Move directory from
6640 ports/sysdeps/powerpc/powerpc32/464.
6641 * sysdeps/powerpc/powerpc32/476: Move directory from
6642 ports/sysdeps/powerpc/powerpc32/476.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6646 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6648 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6650 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6652 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6653 * README: Update for powerpc-*-linux-gnu software floating point
6656 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6657 case to powerpc/powerpc32*.
6658 * sysdeps/unix/sysv/linux/configure: Regenerated.
6660 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6661 (_FPU_MASK_OM): Define as 0x04.
6662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6670 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6673 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6676 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6677 and setcontext_e500.
6679 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6681 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6683 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6685 * manual/threads.texi (Default Thread Attributes): Fix typo.
6687 2013-10-04 Will Newton <will.newton@linaro.org>
6689 * malloc/Makefile: Add tst-memalign.
6690 * malloc/tst-memalign.c: New file.
6692 * malloc/tst-posix_memalign.c: Add comments.
6693 (do_test): Add comments and call free on all potentially
6694 allocated pointers. Add space after cast.
6696 * malloc/tst-pvalloc.c: Add comments.
6697 (do_test): Add comments and call free on all potentially
6698 allocated pointers. Remove duplicate check for NULL pointer.
6699 Add space after cast.
6701 * malloc/tst-valloc.c: Add comments.
6702 (do_test): Add comments and call free on all potentially
6703 allocated pointers. Remove duplicate check for NULL pointer.
6704 Add space after cast.
6706 2013-10-04 Alan Modra <amodra@gmail.com>
6708 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6709 Use stdint types in rather than __attribute__((mode())).
6710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6712 2013-10-04 Alan Modra <amodra@gmail.com>
6714 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6715 Correct handling of unaligned relocs for little-endian.
6716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6718 2013-10-04 Alan Modra <amodra@gmail.com>
6720 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6721 * configure: Regenerate.
6722 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6723 * shlib-versions: Likewise.
6725 2013-10-04 Alan Modra <amodra@gmail.com>
6727 * string/tester.c (test_memrchr): Increment reported test cycle.
6729 2013-10-04 Alan Modra <amodra@gmail.com>
6731 * string/test-memcpy.c (do_one_test): When reporting errors, print
6732 string address and don't overrun end of string.
6734 2013-10-04 Alan Modra <amodra@gmail.com>
6736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6737 insrdi. Make better use of reg selection to speed exit slightly.
6738 Schedule entry path a little better. Remove useless "are we done"
6739 checks on entry to main loop. Handle wrapping around zero address.
6740 Correct main loop count. Handle single left-over word from main
6741 loop inline rather than by using loop_small. Remove extra word
6742 case in loop_small caused by wrong loop count. Add little-endian
6744 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6747 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6748 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6749 support. Avoid rlwimi.
6750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6752 2013-10-04 Alan Modra <amodra@gmail.com>
6754 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6756 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6758 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6759 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6760 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6761 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6763 2013-10-04 Alan Modra <amodra@gmail.com>
6765 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6768 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6769 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6770 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6771 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6772 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6773 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6774 use of regs. Use power7 mtocrf. Tidy function tails.
6776 2013-10-04 Alan Modra <amodra@gmail.com>
6778 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6779 Formatting. Consistently use rXXX register defines or rN defines.
6780 Use early exit labels that avoid restoring unused non-volatile regs.
6781 Make cr field use more consistent with rWORDn compares. Rename
6782 regs used as shift registers for unaligned loop, using rN defines
6783 for short lifetime/multiple use regs.
6784 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6785 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6786 addi 1,1,64 to pop stack frame. Simplify return value code.
6787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6789 2013-10-04 Alan Modra <amodra@gmail.com>
6791 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6792 support. Correct typos, formatting. Optimize tail. Use insrdi
6794 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6795 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6796 little-endian support. Correct typos.
6797 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6799 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6800 in loop and entry code to keep "and." results.
6801 (strchr): Add little-endian support. Comment. Move cntlzd
6803 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6805 2013-10-04 Alan Modra <amodra@gmail.com>
6807 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6808 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6809 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6810 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6812 2013-10-04 Alan Modra <amodra@gmail.com>
6814 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6815 (rTMP): Define as r11.
6816 (strcmp): Add little-endian support. Optimise tail.
6817 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6819 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6820 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6821 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6822 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6825 2013-10-04 Alan Modra <amodra@gmail.com>
6827 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6828 little-endian support. Remove unnecessary "are we done" tests.
6829 Handle "s" wrapping around zero and extremely large "size".
6830 Correct main loop count. Handle single left-over word from main
6831 loop inline rather than by using small_loop. Correct comments.
6832 Delete "zero" tail, use "end_max" instead.
6833 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6835 2013-10-04 Alan Modra <amodra@gmail.com>
6837 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6838 support. Don't branch over align.
6839 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6841 support. Rearrange tmp reg use to suit. Comment.
6842 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6844 2013-10-04 Alan Modra <amodra@gmail.com>
6846 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6848 2013-10-04 Alan Modra <amodra@gmail.com>
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6851 conditional form of branch and link when obtaining pc.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6854 2013-10-04 Alan Modra <amodra@gmail.com>
6856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6861 2013-10-04 Alan Modra <amodra@gmail.com>
6863 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6864 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6865 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6866 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6867 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6868 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6869 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6870 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6871 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6872 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6874 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6875 Alistair Popple <alistair@ozlabs.au.ibm.com>
6876 Alan Modra <amodra@gmail.com>
6879 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6880 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6881 _dl_hwcap access for little-endian.
6882 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6883 destroy vmx regs when saving unaligned.
6884 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6885 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6886 destroy vmx regs when saving unaligned.
6888 2013-10-04 Alan Modra <amodra@gmail.com>
6890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6891 Don't use a union to pack hi/low value.
6893 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6895 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6897 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6899 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6900 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6901 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6903 2013-10-04 Alan Modra <amodra@gmail.com>
6905 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6906 constants to usual value for .cst8 section, and remove redundant
6908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6909 constant for 0x1p52. Load little-endian words of double from
6910 correct stack offsets.
6912 2013-10-04 Alan Modra <amodra@gmail.com>
6914 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6915 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6916 words of double from correct stack offsets.
6917 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6918 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6919 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6922 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6923 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6925 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6927 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6928 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6929 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6930 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6931 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6932 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6933 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6935 2013-10-04 Alan Modra <amodra@gmail.com>
6937 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6938 64-bit int/double union.
6939 (_FPU_SETCW): Likewise.
6940 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6941 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6943 2013-10-04 Alan Modra <amodra@gmail.com>
6945 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6946 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6948 2013-10-04 Alan Modra <amodra@gmail.com>
6950 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6951 use vector int constants.
6952 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6954 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6956 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6957 array with long long.
6958 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6959 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6960 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6961 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6962 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6963 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6964 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6965 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6966 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6967 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6968 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6969 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6970 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6972 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6974 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6975 (__signbit): Likewise. Correct for little-endian.
6976 (__signbitl): Call __signbit.
6977 (lrint): Correct for little-endian.
6978 (lrintf): Call lrint.
6980 2013-10-04 Alan Modra <amodra@gmail.com>
6982 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6983 union 32-bit int array member with 64-bit int array.
6984 (t515, tm256): Double rather than long double.
6985 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6987 2013-10-04 Alan Modra <amodra@gmail.com>
6989 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6991 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6993 version of math_ldbl.h.
6995 2013-10-04 Alan Modra <amodra@gmail.com>
6997 [BZ #15734], [BZ #15735]
6998 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6999 all uses of ieee875 long double macros and unions. Simplify test
7000 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7001 ldbl_extract_mantissa value for ix,iy exponents. Properly
7002 normalize after ldbl_extract_mantissa, and don't add hidden bit
7003 already handled. Don't treat low word of ieee854 mantissa like
7004 low word of IBM long double and mask off bit when testing for
7006 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7007 all uses of ieee875 long double macros and unions. Simplify tests
7008 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7009 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7010 two1022, instead use their values. Recognise that tests for large
7011 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7012 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7013 Rewrite all uses of ieee875 long double macros and unions. Simplify
7014 test for 0.0L and nan. Correct negation.
7015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7016 ieee875 long double macros and unions. Correct output for large
7017 magnitude x. Correct absolute value calculation.
7018 (__erfcl): Likewise.
7019 * math/libm-test.inc: Add tests for errors discovered in IBM long
7020 double versions of fmodl, remainderl, erfl and erfcl.
7022 2013-10-04 Alan Modra <amodra@gmail.com>
7024 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7025 all uses of ieee854 long double macros and unions. Simplify tests
7026 for long doubles that are fully specified by the high double.
7027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7029 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7030 Remove dead code too.
7031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7032 (__ieee754_ynl): Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7034 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7036 Remove dead code too.
7037 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7047 Comment on variable precision.
7048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7051 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7055 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7057 2013-10-04 Alan Modra <amodra@gmail.com>
7059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7061 all uses of ieee854 long double macros and unions.
7062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7075 Simplify sign and nan test too.
7076 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7081 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7082 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7086 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7089 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7091 2013-10-04 Alan Modra <amodra@gmail.com>
7093 * stdio-common/printf_size.c (__printf_size): Don't use
7094 union ieee854_long_double in fpnum union.
7095 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7096 signbit macro to retrieve sign from long double.
7097 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7098 retrieve sign from long double.
7099 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7100 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7101 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7102 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7103 * math/test-misc.c (main): Don't use union ieee854_long_double.
7105 2013-10-04 Alan Modra <amodra@gmail.com>
7108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7110 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7111 calculation. Remove unnecessary test for denormal exponent.
7112 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7113 Correct handling of denormals. Avoid undefined shift behaviour.
7114 Correct normalisation of low mantissa when low double is denormal.
7115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7116 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7117 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7118 Correct normalisation of low mantissa. Test for overflow of high
7119 mantissa and normalise.
7120 (ldbl_nearbyint): Use more readable constant for two52.
7121 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7122 (__mpn_construct_long_double): Fix test for overflow of high
7123 mantissa and correct normalisation. Avoid undefined shift.
7125 2013-10-04 Alan Modra <amodra@gmail.com>
7127 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7128 (union ibm_extended_long_double): Define as an array of ieee754_double.
7129 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7130 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7131 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7132 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7136 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7138 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7141 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7143 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7144 page size instead of calling getpagesize.
7146 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7147 (LOCFILE_ALIGN_MASK): Likewise.
7148 (LOCFILE_ALIGN_UP): Likewise.
7149 (LOCFILE_ALIGNED_P): Likewise.
7150 * locale/programs/ld-collate.c (collate_output): Use the new
7151 macros instead of __alignof__ (int32_t).
7152 * locale/weight.h (findidx): Likewise.
7154 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7157 * manual/string.texi: Fix strncat and wcsncat.
7159 2013-10-03 Brooks Moses <bmoses@google.com>
7162 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7163 * Makerules: ...here, and adjust associated comments.
7165 2013-10-02 Will Newton <will.newton@linaro.org>
7167 * malloc/Makefile: Add tst-pvalloc.
7168 * malloc/tst-pvalloc.c: New file.
7170 2013-10-02 Will Newton <will.newton@linaro.org>
7172 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7173 improve test coverage.
7175 2013-10-02 Will Newton <will.newton@linaro.org>
7177 * malloc/Makefile: Add tst-posix_memalign.
7178 * malloc/tst-posix_memalign.c: New file.
7180 2013-10-01 Eric Blake <eblake@redhat.com>
7182 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7183 Use __THROWNL rather than __THROW on static functions.
7185 2013-09-30 Petr Machata <pmachata@redhat.com>
7187 * elf/elf.h (R_AARCH64_ABS16): New macro.
7188 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7189 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7190 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7191 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7192 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7193 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7194 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7195 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7196 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7197 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7198 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7199 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7200 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7201 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7202 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7203 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7204 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7205 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7206 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7207 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7208 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7209 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7210 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7211 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7212 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7213 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7214 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7215 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7216 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7217 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7218 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7219 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7220 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7221 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7222 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7223 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7224 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7225 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7226 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7227 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7228 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7229 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7230 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7231 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7232 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7233 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7234 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7235 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7236 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7237 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7238 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7239 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7240 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7241 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7242 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7243 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7244 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7245 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7246 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7247 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7248 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7249 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7250 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7251 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7252 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7253 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7254 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7255 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7256 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7257 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7258 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7259 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7260 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7261 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7262 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7263 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7264 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7265 (R_AARCH64_TLSDESC_LDR): Likewise.
7266 (R_AARCH64_TLSDESC_ADD): Likewise.
7267 (R_AARCH64_TLSDESC_CALL): Likewise.
7269 2013-09-30 Andreas Schwab <schwab@suse.de>
7272 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7273 the nss database lookup.
7274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7277 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7279 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7281 2013-09-28 P. J. McDermott <pj@pehjota.net>
7283 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7284 ${Bash-specific parameter/pattern/string} parameter expansion.
7285 * sysdeps/unix/make-syscalls.sh: Likewise.
7287 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7289 * sysdeps/sh/stackguard-macros.h: New file.
7291 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7295 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7296 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7298 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7300 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7303 Fix thread ID register.
7305 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7307 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7308 [POSIX || UNIX98]: Require rather than permitting all symbols from
7310 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7311 element of struct sched_param.
7312 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7313 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7314 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7315 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7318 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7320 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7321 argument calculation.
7323 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7325 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7327 [POSIX] (pthread_attr_t): Do not require type.
7328 [POSIX] (pthread_cond_t): Likewise.
7329 [POSIX] (pthread_condattr_t): Likewise.
7330 [POSIX] (pthread_key_t): Likewise.
7331 [POSIX] (pthread_mutex_t): Likewise.
7332 [POSIX] (pthread_mutexattr_t): Likewise.
7333 [POSIX] (pthread_once_t): Likewise.
7334 [POSIX] (pthread_t): Likewise.
7335 [POSIX-based standards] (pthread_atfork): Expect function.
7337 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7338 Richard Sandiford <richard@codesourcery.com>
7340 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7341 (swap_endianness_p): New extern variable.
7342 (set_big_endian): New inline function.
7343 (maybe_swap_uint32): Likewise.
7344 (maybe_swap_uint32_array): Likewise.
7345 (maybe_swap_uint32_obstack): Likewise.
7346 * locale/programs/locfile.c: Include <stdbool.h>.
7347 (swap_endianness_p): New variable.
7348 (add_locale_uint32): Call maybe_swap_uint32.
7349 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7350 (write_locale_data): Call maybe_swap_uint32_array.
7351 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7353 (obstack_int32_grow_fast): Likewise.
7354 (output_weightwc): Call maybe_swap_uint32_obstack.
7355 (collate_output): Likewise.
7356 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7357 (OPT_LITTLE_ENDIAN): Likewise.
7358 (options): Add --little-endian and --big-endian options.
7359 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7360 * locale/programs/locarchive.c: Include "locfile.h".
7364 (create_archive): Use the new macros to access fields of
7365 structures directly mapped from or written to locale archives.
7366 (oldlocrecentcmp): Likewise.
7367 (enlarge_archive): Likewise.
7368 (insert_name): Likewise.
7369 (add_alias): Likewise.
7370 (add_locale): Likewise.
7371 (delete_locales_from_archive): Likewise.
7372 (show_archive_content): Likewise.
7373 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7376 2013-09-24 Roland McGrath <roland@hack.frob.com>
7378 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7379 http://www.gnu.org/doc/freemanuals.texi.
7380 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7382 2013-09-24 Will Newton <will.newton@linaro.org>
7384 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7387 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7389 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7392 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7394 * manual/threads.texi (POSIX Threads): Fix a typo.
7396 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * string/tst-strcoll-overflow.c: New test case.
7400 * string/Makefile (xtests): Add tst-strcoll-overflow.
7401 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7402 cache if string sizes may cause integer overflow.
7405 * string/strcoll_l.c (coll_seq): New members rule, idx,
7406 save_idx and back_us.
7407 (get_next_seq_nocache): New function.
7408 (do_compare_nocache): New function.
7409 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7412 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7415 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7416 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7417 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7420 * elf/Makefile (tests): Add tst-ptrguard1.
7421 (tests-static): Add tst-ptrguard1-static.
7422 (tst-ptrguard1-ARGS): Define.
7423 (tst-ptrguard1-static-ARGS): Define.
7424 * elf/tst-ptrguard1.c: New file.
7425 * elf/tst-ptrguard1-static.c: New file.
7426 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7427 * sysdeps/i386/stackguard-macros.h: Likewise.
7428 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7429 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7430 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7431 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7432 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7433 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7435 2013-09-23 Hector Marco <hecmargi@upv.es>
7436 Ismael Ripoll <iripoll@disca.upv.es>
7437 Carlos O'Donell <carlos@redhat.com>
7440 * sysdeps/generic/stackguard-macros.h: Define
7441 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7442 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7443 Define __pointer_chk_guard_local.
7444 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7445 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7447 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7450 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7452 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7454 * include/string.h (__ffs): Declare as hidden.
7455 * string/ffs.c (__ffs): Define as hidden.
7456 * sysdeps/i386/ffs.c (__ffs): Likewise.
7457 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7458 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7459 * sysdeps/s390/ffs.c (__ffs): Likewise.
7460 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7462 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7464 * NEWS: Mention malloc probes.
7466 * malloc/arena.c (new_heap): New memory_heap_new probe.
7467 (grow_heap): New memory_heap_more probe.
7468 (shrink_heap): New memory_heap_less probe.
7469 (heap_trim): New memory_heap_free probe.
7470 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7471 (systrim): New memory_sbrk_less probe.
7472 * manual/probes.texi: Document them.
7474 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7475 * manual/probes.texi: Document it.
7477 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7478 (__libc_realloc): Add memory_realloc_retry probe.
7479 (__libc_memalign): Add memory_memalign_retry probe.
7480 (__libc_valloc): Add memory_valloc_retry probe.
7481 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7482 (__libc_calloc): Add memory_calloc_retry probe.
7483 * manual/probes.texi: Document them.
7485 * malloc/arena.c (get_free_list): Add probe
7486 memory_arena_reuse_free_list.
7487 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7488 and memory_arena_reuse.
7489 (arena_get2) [!PER_THREAD]: Likewise.
7490 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7491 memory_arena_reuse_realloc.
7492 * manual/probes.texi: Document them.
7494 * malloc/malloc.c (__libc_free): Add
7495 memory_mallopt_free_dyn_thresholds probe.
7496 (__libc_mallopt): Add multiple memory_mallopt probes.
7497 * manual/probes.texi: Document them.
7499 * malloc/malloc.c: Include stap-probe.h.
7500 (__libc_mallopt): Add memory_mallopt probe.
7501 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7502 * manual/probes.texi: New.
7503 * manual/Makefile (chapters): Add probes.
7504 * manual/threads.texi: Set next node.
7506 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7509 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7510 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7511 Add `Chinese' to `nan' entry name.
7513 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7515 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7516 (POLYNOMIAL): Likewise.
7517 (TAYLOR_SINCOS): Likewise.
7518 (TAYLOR_SLOW): Likewise.
7519 (__sin): Use TAYLOR_SINCOS.
7521 (slow): Use TAYLOR_SLOW.
7526 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7528 * stdlib/strtod_l.c: Fix buffer overrun.
7530 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7532 * benchtests/Makefile (bench): Add sincos.
7533 * benchtests/bench-sincos.c: New file.
7535 * math/libm-test.inc (cos_test_data): New test inputs.
7536 (sin_test_data): Likewise.
7538 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7546 (bsloww1): Likewise.
7547 (bsloww2): Likewise.
7549 (csloww1): Likewise.
7550 (csloww2): Likewise.
7552 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7561 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7563 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7564 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7565 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7566 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7567 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7568 * elf/cache.c (print_entry): Handle the new cache flags.
7570 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7571 Aldy Hernandez <aldyh@redhat.com>
7573 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7574 Change condition to [_SOFT_FLOAT].
7575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7587 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7590 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7593 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7595 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7596 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7597 (__longjmp): Use LOAD_GP to load saved GPRs.
7598 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7599 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7600 (__sigsetjmp): Use SAVE_GP to save GPRs.
7602 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7603 Do not append -msoft-float.
7604 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7606 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7608 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7610 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7613 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7614 (_FPU_GETCW): Use initial "__" on variable and field names but not
7615 on macro parameter name.
7616 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7617 parentheses around reference to macro parameter.
7619 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7621 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7623 (ctype_startup): Use uint32_t in cast and sizeof for
7626 2013-09-11 Jia Liu <proljc@gmail.com>
7628 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7630 [__FreeBSD__]: Likewise.
7632 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7635 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7636 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7637 (strchr): Remove __strchr_sse42 ifunc selection.
7638 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7639 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7641 2013-09-11 Will Newton <will.newton@linaro.org>
7643 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7644 parameter to RES. Remove hardcoded 1000 value.
7645 * benchtests/bench-skeleton.c (main): Pass RES parameter
7646 to TIMING_INIT and multiply result by 1000.
7648 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7652 2013-09-11 Andreas Schwab <schwab@suse.de>
7654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7656 (O_TMPFILE) [__USE_GNU]: Define.
7657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7660 2013-09-11 Will Newton <will.newton@linaro.org>
7663 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7666 2013-09-11 Will Newton <will.newton@linaro.org>
7669 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7672 2013-09-11 Will Newton <will.newton@linaro.org>
7675 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7678 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7680 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7686 2013-09-10 Allan McRae <allan@archlinux.org>
7689 * manual/arith.texi (Parsing of Floats): Clarify
7693 * manual/install.texi (Running make install): Mention
7695 * INSTALL: Regenerated.
7697 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7699 * csu/init-first.c (_init): Remove the !SHARED condition around
7700 FPU control word initialization.
7701 * elf/dl-support.c (_dl_fpu_control): New variable.
7702 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7703 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7704 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7705 * math/test-fpucw-static.c: New file.
7706 * math/test-fpucw-ieee.c: New file.
7707 * math/test-fpucw-ieee-static.c: New file.
7708 * math/Makefile (tests): Add `test-fpucw-ieee' and
7710 (tests-static): New variable.
7711 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7713 [($(build-shared),yes)]
7714 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7716 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7719 2013-09-09 Allan McRae <allan@archlinux.org>
7722 * manual/string.texi (Collation Functions): Fix typo in
7724 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7727 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7730 * libio/memstream.c (open_memstream): Fix memory leak.
7731 * libio/wmemstream.c (open_wmemstream): Likewise.
7734 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7736 2013-09-09 Will Newton <will.newton@linaro.org>
7738 * malloc/Makefile: Add tst-realloc to tests.
7739 * malloc/tst-realloc.c: New file.
7741 2013-09-09 Allan McRae <allan@archlinux.org>
7744 * COPYING: Update from GNU website to fix FSF address.
7745 * COPYING.LIB: Likewise.
7747 2013-09-06 David S. Miller <davem@davemloft.net>
7749 * po/zh_TW.po: Update Chinese (traditional) translation from
7750 translation project.
7752 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7753 Joseph Myers <joseph@codesourcery.com>
7755 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7757 (obstack_chunk_alloc): New macro.
7758 (obstack_chunk_free): Likewise.
7759 (record_offset): New function.
7760 (init_locale_data): Likewise.
7761 (align_locale_data): Likewise.
7762 (add_locale_empty): Likewise.
7763 (add_locale_raw_data): Likewise.
7764 (add_locale_raw_obstack): Likewise.
7765 (add_locale_string): Likewise.
7766 (add_locale_wstring): Likewise.
7767 (add_locale_uint32): Likewise.
7768 (add_locale_uint32_array): Likewise.
7769 (add_locale_char): Likewise.
7770 (start_locale_structure): Likewise.
7771 (end_locale_structure): Likewise.
7772 (start_locale_prelude): Likewise.
7773 (end_locale_prelude): Likewise.
7774 (write_locale_data): Take locale_file structure rather than an
7776 * locale/programs/locfile.h: Include "obstack.h".
7777 (struct locale_file): Change to store locale file contents instead
7779 (init_locale_data): New prototype.
7780 (align_locale_data): Likewise.
7781 (add_locale_empty): Likewise.
7782 (add_locale_raw_data): Likewise.
7783 (add_locale_raw_obstack): Likewise.
7784 (add_locale_string): Likewise.
7785 (add_locale_wstring): Likewise.
7786 (add_locale_uint32): Likewise.
7787 (add_locale_uint32_array): Likewise.
7788 (add_locale_char): Likewise.
7789 (start_locale_structure): Likewise.
7790 (end_locale_structure): Likewise.
7791 (start_locale_prelude): Likewise.
7792 (end_locale_prelude): Likewise.
7793 (write_locale_data): Update prototype.
7794 * locale/programs/3level.h (struct TABLE): Remove result field.
7795 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7796 Use new locale_file interface.
7797 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7798 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7799 * locale/programs/ld-address.c (address_output): Use new
7800 locale_file interface.
7801 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7803 (collate_finish): Don't call collseq_table_finalize.
7804 (collate_output): Use new locale_file interface.
7805 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7807 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7808 (TABLE): Move defines earlier in file.
7809 (ELEMENT): Likewise.
7810 (DEFAULT): Likewise.
7811 (wctrans_table_add): Move macro and inline function earlier in
7813 (struct wctype_table): Move type earlier in file.
7814 (add_locale_wctype_table): New static prototype.
7815 (struct locale_ctype_t): Use logical types instead of struct iovec
7816 pointers for members.
7817 (ctype_output): Use new locale_file interface.
7818 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7819 new locale_file interface.
7820 (allocate_arrays): Update for use of new locale_file interface.
7821 * locale/programs/ld-identification.c (identification_output): Use
7822 new locale_file interface.
7823 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7824 * locale/programs/ld-messages.c (messages_output): Likewise.
7825 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7826 * locale/programs/ld-name.c (name_output): Likewise.
7827 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7828 * locale/programs/ld-paper.c (paper_output): Likewise.
7829 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7830 * locale/programs/ld-time.c (time_output): Likewise.
7832 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834 * benchtests/Makefile: Add memrchr benchmark.
7835 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7836 benchmark as memrchr.
7837 * benchtests/bench-memrchr-ifunc.c: New file.
7838 * benchtests/bench-memrchr.c: New file.
7840 2013-09-06 Will Newton <will.newton@linaro.org>
7842 * benchtests/Makefile (string-bench): Add memcpy.
7844 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7845 Cong Wang <amwang@redhat.com>
7848 * sysdeps/unix/sysv/linux/bits/in.h
7849 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7850 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7851 before __USE_KERNEL_IPV6_DEFS uses.
7852 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7854 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7855 sockaddr_in6, or ipv6_mreq.
7857 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7860 memory access for final bytes in some large inputs.
7861 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7863 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7865 * string/test-memrchr.c: New file.
7866 * string/test-memrchr-ifunc.c: New file.
7867 * string/Makefile: Add new memrchr testcase.
7869 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7871 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7872 fanotify_init returns EPERM.
7874 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7876 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7878 (top level): Treat second token from macro or constant entries for
7879 allowed headers as allowed.
7880 * include/complex.h: Condition internal declarations on
7882 * include/fenv.h: Condition include of <stdbool.h> and internal
7883 declarations on [!_ISOMAC].
7885 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7888 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7890 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7892 * configure.in (--enable-versioning): Remove configure option.
7893 (libc_cv_asm_symver_directive): Remove configure test.
7894 (libc_cv_ld_version_script_option): Likewise.
7895 (VERSIONING): Remove variable and AC_SUBST.
7896 (DO_VERSIONING): Remove AC_DEFINE.
7897 * configure: Regenerated.
7898 * config.h.in (DO_VERSIONING): Remove macro.
7899 * Makerules [$(versioning) = yes]: Change conditionals to
7900 [$(build-shared) = yes].
7901 * config.make.in (versioning): Remove variable.
7902 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7903 [$(build-shared) = yes].
7904 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7905 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7906 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7907 [$(build-shared) = yes].
7908 * extra-lib.mk [$(versioning) = yes]: Likewise.
7909 * hurd/Makefile [$(versioning) = yes]: Likewise.
7910 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7912 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7914 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7915 [SHARED && !NO_HIDDEN].
7916 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7918 [SHARED && DO_VERSIONING]: Likewise..
7919 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7920 [$(build-shared) = yes].
7921 * manual/install.texi (--disable-versioning): Remove
7923 * INSTALL: Regenerated.
7924 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7926 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7927 [$(build-shared) = yes].
7928 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7929 * sysdeps/i386/i686/multiarch/strstr-c.c
7930 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7931 [SHARED && !NO_HIDDEN].
7932 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7933 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7934 * sysdeps/powerpc/powerpc32/dl-machine.c
7935 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7936 * sysdeps/powerpc/powerpc32/sysdep.h
7937 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7938 to [SHARED && PIC && !NO_HIDDEN].
7939 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7940 conditional to [SHARED].
7942 2013-09-04 Will Newton <will.newton@linaro.org>
7944 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7945 * benchtests/bench-string.h: Include bench-timing.h instead
7946 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7947 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7948 call to HP_TIMING_DIFF_INIT.
7949 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7950 instead of hp-timing.h macros.
7951 * benchtests/bench-memchr.c: Likewise.
7952 * benchtests/bench-memcmp.c: Likewise.
7953 * benchtests/bench-memcpy.c: Likewise.
7954 * benchtests/bench-memmem.c: Likewise.
7955 * benchtests/bench-memmove.c: Likewise.
7956 * benchtests/bench-memset.c: Likewise.
7957 * benchtests/bench-rawmemchr.c: Likewise.
7958 * benchtests/bench-strcasecmp.c: Likewise.
7959 * benchtests/bench-strcasestr.c: Likewise.
7960 * benchtests/bench-strcat.c: Likewise.
7961 * benchtests/bench-strchr.c: Likewise.
7962 * benchtests/bench-strcmp.c: Likewise.
7963 * benchtests/bench-strcpy.c: Likewise.
7964 * benchtests/bench-strcpy_chk.c: Likewise.
7965 * benchtests/bench-strlen.c: Likewise.
7966 * benchtests/bench-strncasecmp.c: Likewise.
7967 * benchtests/bench-strncat.c: Likewise.
7968 * benchtests/bench-strncmp.c: Likewise.
7969 * benchtests/bench-strncpy.c: Likewise.
7970 * benchtests/bench-strnlen.c: Likewise.
7971 * benchtests/bench-strpbrk.c: Likewise.
7972 * benchtests/bench-strrchr.c: Likewise.
7973 * benchtests/bench-strspn.c: Likewise.
7974 * benchtests/bench-strstr.c: Likewise.
7976 2013-09-04 Will Newton <will.newton@linaro.org>
7978 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7980 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7983 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7984 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7985 * math/libm-test.inc (lgamma_test_data): Add more tests.
7986 * sysdeps/i386/fpu/libm-test-ulps: Update.
7987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7989 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7991 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7995 Add strcmp-sse2-unaligned
7996 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7998 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8000 * Versions.def (libc): Add GLIBC_2.19.
8002 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8004 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8005 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8007 2013-09-02 Joseph Myers <joseph@codesourcery.com>
8010 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8011 intermediate calculations in recurrence.
8012 (__ieee754_ynf): Likewise.
8013 * math/libm-test.inc (jn_test_data): Do not allow spurious
8014 underflow exception. Add more tests.
8015 (yn_test_data): Add more tests.
8016 * sysdeps/i386/fpu/libm-test-ulps: Update.
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8019 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
8021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8023 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8025 * csu/init-first.c: Fix then/than typos.
8026 * locale/programs/ld-collate.c: Likewise.
8027 * locale/programs/linereader.h: Likewise.
8028 * manual/charset.texi: Likewise.
8029 * manual/filesys.texi: Likewise.
8030 * manual/stdio.texi: Likewise.
8031 * manual/string.texi: Likewise.
8032 * stdlib/fmtmsg.c: Likewise.
8033 * sysdeps/i386/stpncpy.S: Likewise.
8034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8036 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8037 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8039 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8041 * elf/dl-open.c: Fix typos.
8042 * iconvdata/gbbig5.c: Likewise.
8043 * iconvdata/iso-2022-jp.c: Likewise.
8044 * iconv/gconv_int.h: Likewise.
8045 * iconv/loop.c: Likewise.
8046 * nis/rpcsvc/nis.h: Likewise.
8047 * resolv/ns_name.c: Likewise.
8048 * stdio-common/vfscanf.c: Likewise.
8049 * streams/stropts.h: Likewise.
8050 * sunrpc/rpc_thread.c: Likewise.
8051 * sysdeps/i386/strpbrk.S: Likewise.
8052 * sysdeps/ieee754/k_standard.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8055 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8056 * sysdeps/mach/hurd/profil.c: Likewise.
8057 * sysdeps/s390/dl-procinfo.h: Likewise.
8058 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8061 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8064 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8066 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8069 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8073 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8075 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8077 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8078 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8082 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8083 Roland McGrath <roland@hack.frob.com>
8085 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8086 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8088 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8090 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8091 __executable_start symbol instead of _start.
8093 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8095 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8096 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8098 * sysdeps/gnu/ldsodefs.h: ... this new file.
8100 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8101 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8102 instead of ELFOSABI_LINUX.
8104 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8105 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8106 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8107 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8109 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8110 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8111 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8113 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8114 (ibm_extended_long_double): Add ieee_nan member.
8115 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8116 (do_test): New function.
8118 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8120 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8121 functions, renamed from truncdfsf_test, trunctfsf_test,
8123 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8125 (do_test): Run all these.
8127 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8129 * argp/argp-help.c: Fix typos.
8130 * argp/argp-parse.c: Likewise.
8131 * debug/backtracesyms.c: Likewise.
8132 * elf/elf.h: Likewise.
8133 * malloc/malloc.c: Likewise.
8134 * nis/nis_print.c: Likewise.
8135 * resolv/res_comp.c: Likewise.
8136 * stdlib/stdlib.h: Likewise.
8137 * sunrpc/clnt_tcp.c: Likewise.
8138 * sunrpc/clnt_udp.c: Likewise.
8139 * sunrpc/clnt_unix.c: Likewise.
8140 * sysdeps/unix/bsd/ptsname.c: Likewise.
8141 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8149 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8151 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8153 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8156 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8159 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8160 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8161 ($(objpfx)bug-dl-leaf): New rule.
8162 ($(objpfx)bug-dl-leaf.so): Likewise.
8163 ($(objpfx)bug-dl-leaf.out): Likewise.
8164 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8165 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8166 * dlfcn/bug-dl-leaf.c: New test.
8167 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8168 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8169 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8170 (dlclose): Likewise.
8171 (dlmopen): Likewise.
8173 2013-08-27 Roland McGrath <roland@hack.frob.com>
8175 * include/netdb.h [!_ISOMAC]:
8176 Don't include <tls.h>.
8177 (h_errno, __libc_h_errno): Move declaration and macros out of
8180 * include/resolv.h [_RESOLV_H_]:
8181 Don't include <tls.h>.
8182 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8183 * resolv/res_libc.c: Don't include <tls.h>.
8184 (_res): Use __attribute__ ((nocommon)) in place of
8185 __attribute__ ((section (".bss"))).
8187 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8188 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8190 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8192 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8193 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8195 * resolv/res_mkquery.c: Include <sys/time.h>.
8197 * inet/ifreq.c: Moved to ...
8198 * sysdeps/unix/ifreq.c: ... here.
8199 * inet/ifreq.c: New file, true stub version.
8201 * socket/sa_len.c: New file.
8202 * socket/Makefile (aux): Add it.
8203 * sysdeps/unix/sysv/linux/Makefile
8204 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8205 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8206 and #include <socket/sa_len.c>.
8207 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8208 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8211 * bits/socket.h: ... here.
8213 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8214 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8215 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8217 2013-08-27 Andreas Schwab <schwab@suse.de>
8220 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8221 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8222 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8223 * string/test-strcasecmp.c (test_main): Run tests in several
8225 * string/test-strncasecmp.c (test_main): Likewise.
8227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8228 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8229 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8231 (__strncasecmp_ssse3) [PIC]: Likewise.
8233 2013-08-26 Roland McGrath <roland@hack.frob.com>
8235 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8237 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8238 instead of explicitly declaring xdecrypt.
8239 * nis/nss_nis/nis-publickey.c: Likewise.
8241 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8244 * nscd/aicache.c: Include res_hconf.h.
8245 (addhstaiX): Initialize res_hconf.
8247 2013-08-26 Andreas Schwab <schwab@suse.de>
8249 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8250 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8252 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * nscd/aicache.c (addhstaiX): Fix indentation.
8256 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8258 * configure.ac: Quote $build_pt_chown test.
8259 * configure: Regenerated.
8261 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8264 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8265 * math/s_cexpf.c (__cexpf): Likewise.
8266 * math/s_cexpl.c (__cexpl): Likewise.
8267 * math/libm-test.inc (cexp_test_data): Correct expected return
8268 value for NaN + i0. Add another test.
8270 2013-08-22 David S. Miller <davem@davemloft.net>
8272 * po/ca.po: Update Catalan translation from translation project.
8273 * po/uk.po: Add Ukrainian translations from translation project.
8275 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8278 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8279 is infinite, not alongside NaN test.
8280 * math/s_fdimf.c (__fdimf): Likewise.
8281 * math/s_fdiml.c (__fdiml): Likewise.
8282 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8285 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8287 * argp/argp-help.c: Fix typos.
8288 * crypt/speeds.c: Likewise.
8289 * csu/check_fds.c: Likewise.
8290 * elf/dl-load.c: Likewise.
8291 * elf/dl-open.c: Likewise.
8292 * elf/reldep3.c: Likewise.
8293 * elf/reldep.c: Likewise.
8294 * elf/sprof.c: Likewise.
8295 * iconv/iconv_charmap.c: Likewise.
8296 * iconv/skeleton.c: Likewise.
8297 * iconv/strtab.c: Likewise.
8298 * io/lockf64.c: Likewise.
8299 * libio/libioP.h: Likewise.
8300 * resolv/gai_notify.c: Likewise.
8301 * resolv/ns_name.c: Likewise.
8302 * resolv/ns_samedomain.c: Likewise.
8303 * resolv/res_send.c: Likewise.
8304 * stdlib/random.c: Likewise.
8305 * sunrpc/rpc/xdr.h: Likewise.
8306 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8314 * sysdeps/mach/hurd/check_fds.c: Likewise.
8315 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8316 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8318 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8319 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8320 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8321 * sysdeps/pthread/aio_notify.c: Likewise.
8322 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8323 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8325 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8326 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8328 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8330 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8331 version if bit_Slow_SSE4_2 is set.
8332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8335 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8338 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8339 trampoline stack frame information.
8340 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8342 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8343 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8344 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8345 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8346 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8347 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8349 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8350 interrupting a syscall and set with option SA_SIGINFO.
8352 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8355 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8356 argument is infinite.
8357 * math/s_cprojf.c (__cprojf): Likewise.
8358 * math/s_cprojl.c (__cprojl): Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8360 * math/libm-test.inc (cproj_test_data): Add more tests.
8362 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8364 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8365 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8366 size. Use __ffs to determine corresponding shift.
8368 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8369 Roland McGrath <roland@hack.frob.com>
8371 * Makefile (INSTALL): Remove trailing blank lines from output of
8374 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8376 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8377 Align 32 bit compat elf_greg to 8 bytes.
8379 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8381 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8383 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8385 * string/strcoll_l.c (coll_seq): New structure.
8386 (get_next_seq_cached): New function.
8387 (get_next_seq): New function.
8388 (do_compare): New function.
8389 (STRCOLL): Use GNU style definition. Simplify implementation
8390 by using get_next_seq, get_next_seq_cached and do_compare.
8392 2013-08-16 Florian Weimer <fweimer@redhat.com>
8396 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8398 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8400 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8401 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8402 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8404 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8405 GETDENTS_64BIT_ALIGNED.
8406 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8407 * manual/filesys.texi (Reading/Closing Directory): Document
8408 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8410 * manual/conf.texi (Limits for Files): Add portability note to
8412 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8414 2013-08-13 Andreas Schwab <schwab@suse.de>
8417 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8419 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8420 LDBL_MAX_EXP >= 16384]: Add tests for it.
8422 2013-08-12 David S. Miller <davem@davemloft.net>
8424 * version.h (RELEASE): Set to "development".
8425 (VERSION): Set to "2.18.90".
8426 * NEWS: Add 2.19 section.
8428 2013-08-03 David S. Miller <davem@davemloft.net>
8430 * po/ko.po: Update Korean translation from translation project.
8432 2013-08-01 David S. Miller <davem@davemloft.net>
8434 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8435 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8438 2013-07-30 David S. Miller <davem@davemloft.net>
8440 * po/fr.po: Update French translation from translation project.
8442 2013-07-28 David S. Miller <davem@davemloft.net>
8444 * po/cs.po: Update Czech translation from translation project.
8446 * po/sv.po: Update Swedish translation from translation project.
8448 2013-07-27 David S. Miller <davem@davemloft.net>
8450 * po/eo.po: Update Esperanto translation from translation project.
8452 * po/vi.po: Update Vietnamese translation from translation project.
8454 * po/de.po: Update German translation from translation project.
8456 2013-07-26 David S. Miller <davem@davemloft.net>
8458 * po/bg.po: Update Bulgarian translation from translation project.
8460 * po/nl.po: Update Dutch translation from translation project.
8461 * po/pl.po: Update Polish translation from translation project.
8462 * po/ru.po: Update Russian translation from translation project.
8464 2013-07-24 David S. Miller <davem@davemloft.net>
8466 * po/libc.pot: Update.
8468 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8470 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8472 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8474 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8476 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8478 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8480 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8481 Andreas Schwab <schwab@suse.de>
8482 Roland McGrath <roland@hack.frob.com>
8483 Joseph Myers <joseph@codesourcery.com>
8484 Carlos O'Donell <carlos@redhat.com>
8487 * config.h.in: Define HAVE_PT_CHOWN.
8488 * config.make.in (build-pt-chown): New variable.
8489 * configure.in (--enable-pt_chown): New configure option.
8490 * configure: Regenerate.
8491 * login/Makefile: Include Makeconfig. Build pt_chown only if
8492 build-pt-chown is enabled.
8493 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8494 pt_chown to fix pty ownership.
8495 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8497 * manual/install.texi (Configuring and compiling): Mention
8498 --enable-pt_chown. Add @findex for grantpt.
8499 * INSTALL: Regenerate.
8501 2013-07-20 David S. Miller <davem@davemloft.net>
8503 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8504 difference between 32-bit and 64-bit.
8506 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8509 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8510 Avoid system header dependency with -ffreestanding.
8511 ($(objpfx)bits/syscall%d): Likewise.
8513 2013-07-13 David S. Miller <davem@davemloft.net>
8515 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8516 underflows from atanl/atan2l due to bug 15319.
8517 (casinh_test_data): Likewise.
8519 2013-07-07 David S. Miller <davem@davemloft.net>
8521 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8523 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8525 * sysdeps/i386/fpu/libm-test-ulps: Update.
8526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8528 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8530 * configure.in (--enable-lock-elision): Fix message text.
8531 * INSTALL: Regenerate.
8532 * configure: Regenerate.
8534 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538 2013-07-03 Andreas Jaeger <aj@suse.de>
8540 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8542 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8543 (ptrace_peeksiginfo_args): Add.
8544 (__ptrace_peeksiginfo_flags): Add.
8545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8549 2013-07-03 Allan McRae <allan@archlinux.org>
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8553 2013-07-02 David S. Miller <davem@davemloft.net>
8555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8557 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8561 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8563 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566 2013-07-02 Andi Kleen <ak@linux.intel.com>
8568 * config.h.in (ENABLE_LOCK_ELISION): Add.
8569 * configure.in (--enable-lock-elision): Add option.
8570 * manual/install.texi: Document --enable lock elision.
8571 * configure: Regenerate
8572 * INSTALL: Regenerate.
8574 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8576 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8577 SSE4.2 strcasecmp for libc.a.
8578 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8580 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8583 * soft-fp/op-common.h (_FP_FMA): New macro.
8584 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8585 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8586 (_FP_MUL_MEAT_1_imm): ... here.
8587 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8588 (_FP_MUL_MEAT_1_wide): ... here.
8589 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8590 (_FP_MUL_MEAT_1_hard): ... here.
8591 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8592 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8593 (_FP_MUL_MEAT_2_wide): ... here.
8594 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8595 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8596 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8597 (_FP_MUL_MEAT_2_gmp): ... here.
8598 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8599 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8600 (_FP_MUL_MEAT_4_wide): ... here.
8601 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8602 (_FP_MUL_MEAT_4_gmp): ... here.
8603 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8604 (_FP_WFRACBITS_DW_S): Likewise.
8605 (_FP_WFRACXBITS_DW_S): Likewise.
8606 (_FP_HIGHBIT_DW_S): Likewise.
8607 (FP_FMA_S): Likewise.
8608 (_FP_FRAC_HIGH_DW_S): Likewise.
8609 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8610 (_FP_WFRACBITS_DW_D): Likewise.
8611 (_FP_WFRACXBITS_DW_D): Likewise.
8612 (_FP_HIGHBIT_DW_D): Likewise.
8613 (FP_FMA_D): Likewise.
8614 (_FP_FRAC_HIGH_DW_D): Likewise.
8615 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8616 (_FP_WFRACBITS_DW_E): Likewise.
8617 (_FP_WFRACXBITS_DW_E): Likewise.
8618 (_FP_HIGHBIT_DW_E): Likewise.
8619 (FP_FMA_E): Likewise.
8620 (_FP_FRAC_HIGH_DW_E): Likewise.
8621 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8622 (_FP_WFRACBITS_DW_Q): Likewise.
8623 (_FP_WFRACXBITS_DW_Q): Likewise.
8624 (_FP_HIGHBIT_DW_Q): Likewise.
8625 (FP_FMA_Q): Likewise.
8626 (_FP_FRAC_HIGH_DW_Q): Likewise.
8627 * soft-fp/fmasf4.c: New file.
8628 * soft-fp/fmadf4.c: Likewise.
8629 * soft-fp/fmatf4.c: Likewise.
8631 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8634 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8638 (index_Slow_SSE4_2): Likewise.
8639 (index_Prefer_PMINUB_for_stringop): Likewise.
8640 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8641 bit_Slow_SSE4_2 is set.
8642 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8643 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8645 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8647 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8648 rtld_global._dl_hwcap2.
8649 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8651 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8652 POWER8 feature descriptions defined in _dl_hwcap2.
8653 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8654 string handling for POWER8 feature bits.
8655 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8656 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8657 _dl_powerpc_cap_flags.
8658 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8659 * sysdeps/powerpc/rtld-global-offsets.sym
8660 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8661 _dl_hwcap2 in the rtld_global_ro structure.
8663 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8665 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8666 hardware capabilities in support of AT_HWCAP2.
8667 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8668 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8670 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8671 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8672 explicitly the unknown a_type display mechanism is used.
8673 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8674 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8676 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8677 to macro prototype for AT_HWCAP2 support.
8678 * sysdeps/i386/dl-procinfo.h: Likewise.
8679 * sysdeps/s390/dl-procinfo.h: Likewise.
8680 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8681 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8682 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8683 return -1 for unknown a_type display fallback.
8684 * sysdeps/sparc/dl-procinfo.h: Likewise.
8685 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8686 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8688 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8690 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8691 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8693 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8696 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8697 mprotect making __stack_prot writable.
8699 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8700 Joseph Myers <joseph@codesourcery.com>
8702 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8703 as being properly aligned.
8705 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8707 * dlfcn/modstatic5.c: New file.
8708 * dlfcn/tststatic5.c: New file.
8709 * dlfcn/Makefile (tests): Add tststatic5.
8710 (tests-static): Likewise.
8711 (modules-names): Add modstatic5.
8712 (tststatic5-ENV): New variable.
8713 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8716 * elf/dl-support.c (_dl_main_map): New variable.
8717 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8718 (_dl_nns, _dl_load_adds): Set to 1.
8719 (_dl_initial_searchlist): Refer to _dl_main_map.
8720 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8721 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8722 call to _dl_get_origin.
8723 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8725 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8726 * dlfcn/modstatic3.c: New file.
8727 * dlfcn/tststatic3.c: New file.
8728 * dlfcn/tststatic4.c: New file.
8729 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8730 (tests-static): Likewise.
8731 (modules-names): Add modstatic3.
8732 (tststatic3-ENV, tststatic4-ENV): New variables.
8733 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8734 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8736 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8738 * configure.in (CC): Require GCC version 4.4 or later.
8739 * configure: Regenerated.
8740 * manual/install.texi (Tools for Compilation): Update GCC version
8742 * INSTALL: Regenerated.
8744 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8747 * string/test-memcmp.c (check2): New.
8748 (main): Call check2.
8750 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8752 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8755 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8757 (dl_open_worker) [!SHARED]: ... here.
8759 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8761 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8763 2013-06-25 Richard Henderson <rth@redhat.com>
8765 * locale/programs/locarchive.c: Include <libc-internal.h>
8767 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8769 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8770 trailing whitespace removed.
8772 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8775 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8776 * locale/programs/locarchive.c: Include libc-mmap.h.
8777 (prepare_address_space): Take two new outputs (the mmap base and len).
8778 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8780 (create_archive): Declare new mmap base and len values for
8781 prepare_address_space, and store the result in ah.
8782 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8783 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8784 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8785 Declare new mmap base and len values for
8786 prepare_address_space, and store the result in new_ah.
8787 (open_archive): Declare new mmap base and len values for
8788 prepare_address_space, and store the result in ah.
8789 (close_archive): If ah->mmap_base is not NULL, use that and
8790 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8791 * sysdeps/generic/libc-mmap.h: New file.
8793 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8795 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8796 (ALIGN_UP): Likewise.
8797 (PTR_ALIGN_DOWN): Likewise.
8798 (PTR_ALIGN_UP): Likewise.
8800 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8802 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8803 entry mapped to PPC_PLATFORM_POWER8.
8804 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8806 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8807 (_dl_string_platform): Add case for exporting platform position for
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8810 search path to sysdeps/powerpc/powerpc32/power8 directory.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8812 search path to sysdeps/powerpc/powerpc64/power8 directory.
8813 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8815 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8818 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8820 * INSTALL: Regenerate.
8822 * nscd/connections.c (nscd_init): Fix comment.
8824 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8826 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8829 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8830 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8832 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8834 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8836 (DL_DST_REQ_STATIC): Remove macro.
8838 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8841 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8842 with a shift of 0 bits.
8844 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8846 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8849 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8852 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8854 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8856 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8857 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8858 accepts -fno-tree-loop-distribute-patterns.
8859 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8860 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8862 * string/memset.c (memset): Likewise.
8863 * string/test-memmove.c (simple_memmove): Disable loop transformation
8865 * string/test-memset.c (simple_memset): Likewise.
8866 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8867 * benchtests/bench-memset.c (simple_memset): Likewise.
8868 * configure: Regenerated.
8870 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8872 * math/test-misc.c (main): Ignore fesetround failure when failures
8873 of subsequent rounding tests would be ignored.
8876 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8877 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8878 * math/fegetenv.c (__fegetenv): Return 0.
8879 * math/fegetexcept.c (fegetexcept): Return 0.
8880 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8882 * math/feholdexcpt.c (feholdexcept): Return 0.
8883 * math/fesetenv.c (__fesetenv): Return 0.
8884 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8885 argument FE_TONEAREST.
8886 * math/feupdateenv.c (__feupdateenv): Return 0.
8887 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8889 2013-06-18 Roland McGrath <roland@hack.frob.com>
8891 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8892 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8893 ($(objpfx)rtld-%.os rules): Use them.
8895 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8897 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8900 2013-06-17 Roland McGrath <roland@hack.frob.com>
8902 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8903 length of target pattern, then descending length of dependency pattern.
8904 * configure.in (AWK): Require gawk 3.1.2 or newer.
8905 * manual/install.texi (Tools for Compilation): Say that we do.
8906 * configure: Regenerated.
8908 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8909 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8910 * scripts/sysd-rules.awk: ... this new script.
8911 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8912 than a glob-style pattern.
8914 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8916 * math/test-misc.c (main): Do not treat incorrectly rounded
8917 conversions as failure unless ROUNDING_TESTS passes.
8919 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8923 restore exception state around main square root computation, then
8924 check for inexactness explicitly.
8926 * math/libm-test.inc (fma_test_data): Add another test.
8928 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8930 * manual/threads.texi (Non-POSIX Extensions): New document
8931 node. Document pthread_getattr_default_np and
8932 pthread_setattr_default_np.
8934 * Versions.def (libpthread): Add GLIBC_2.18.
8935 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8944 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8955 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8958 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8960 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8961 H.J. Lu <hjl.tools@gmail.com>
8964 * sysdeps/x86_64/rtld-memset.c: Remove file.
8965 * sysdeps/x86_64/rtld-memset.S: New file.
8967 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8969 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8970 (test_in_one_mode): Take arguments for whether the rounding mode
8971 is supported for each floating-point type.
8972 (do_test): Pass new arguments to test_in_one_mode using
8975 2013-06-13 Roland McGrath <roland@hack.frob.com>
8977 * posix/tst-waitid.c (do_test): Distinguish different instances of
8978 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8979 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8980 before entering the kernel for waitpid.
8982 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8984 * NEWS: Fix note on clock function precision. Text by Roland
8987 2013-06-13 Roland McGrath <roland@hack.frob.com>
8989 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8990 it into place only when and if the sanity check passes.
8992 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8994 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8995 output for whether conversion result is exact. Take argument
8996 indicating whether type is IBM long double.
8997 (round_for_all): Change need_exact field to ibm_ld.
8998 * stdlib/tst-strtod-round.c (struct exactness): New type.
8999 (struct test): Change bool ld_ok field to struct exactness exact.
9000 (TEST): Update all definitions for change to field.
9001 (tests): Regenerate array contents.
9002 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9003 field value. Check for IBM long double here.
9004 (do_test): Update calls to test_in_one_mode.
9006 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9009 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9010 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9012 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9015 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9016 generated by the compiler on loop optimizations.
9017 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9018 general definitions.
9020 2013-06-12 Joseph Myers <joseph@codesourcery.com>
9022 * math/bug-nextafter.c: Include <math-tests.h>.
9023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9025 * math/bug-nexttoward.c: Include <math-tests.h>.
9026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9028 * math/test-misc.c: Include <math-tests.h>.
9029 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9032 2013-06-12 Andreas Jaeger <aj@suse.de>
9034 * po/ia.po: Update Interlingua translation from translation
9037 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9039 * include/fenv.h: Include stdbool.h.
9040 (struct rm_ctx): New structure.
9041 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9043 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9044 (SET_RESTORE_ROUNDF): Likewise.
9045 (SET_RESTORE_ROUNDL): Likewise.
9046 (SET_RESTORE_ROUND_NOEX): Likewise.
9047 (SET_RESTORE_ROUND_NOEXF): Likewise.
9048 (SET_RESTORE_ROUND_NOEXL): Likewise.
9049 (SET_RESTORE_ROUND_53BIT): Likewise.
9050 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9051 (libc_feresetround_noexf_ctx): Likewise.
9052 (libc_feresetround_noexl_ctx): Likewise.
9053 (libc_feholdsetround_53bit_ctx): Likewise.
9054 (libc_feresetround_53bit_ctx): Likewise.
9055 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9056 (libc_feholdexcept_setround_sse_ctx): New function.
9057 (libc_fesetenv_sse_ctx): Likewise.
9058 (libc_feupdateenv_sse_ctx): Likewise.
9059 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9060 (libc_feholdexcept_setround_387_ctx): Likewise.
9061 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9062 (libc_feholdsetround_387_prec_ctx): Likewise.
9063 (libc_feholdsetround_387_ctx): Likewise.
9064 (libc_feholdsetround_387_53bit_ctx): Likewise.
9065 (libc_feholdsetround_sse_ctx): Likewise.
9066 (libc_feresetround_sse_ctx): Likewise.
9067 (libc_feresetround_387_ctx): Likewise.
9068 (libc_feupdateenv_387_ctx): Likewise.
9069 (libc_feholdexcept_setroundf_ctx): Define macro.
9070 (libc_fesetenvf_ctx): Likewise.
9071 (libc_feupdateenvf_ctx): Likewise.
9072 (libc_feholdsetroundf_ctx): Likewise.
9073 (libc_feresetroundf_ctx): Likewise.
9074 (libc_feholdexcept_setround_ctx): Likewise.
9075 (libc_fesetenv_ctx): Likewise.
9076 (libc_feupdateenv_ctx): Likewise.
9077 (libc_feholdsetround_ctx): Likewise.
9078 (libc_feresetround_ctx): Likewise.
9079 (libc_feholdexcept_setroundl_ctx): Likewise.
9080 (libc_feupdateenvl_ctx): Likewise.
9081 (libc_feholdsetroundl_ctx): Likewise.
9082 (libc_feresetroundl_ctx): Likewise.
9083 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9084 (libc_feresetround_53bit_ctx): Likewise.
9086 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9088 * locale/iso-639.def: Convert to UTF-8.
9090 2013-06-11 Joseph Myers <joseph@codesourcery.com>
9092 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9093 (EXCEPTION_TESTS_double): Likewise.
9094 (EXCEPTION_TESTS_long_double): Likewise.
9095 (EXCEPTION_TESTS): Likewise.
9096 * math/libm-test.inc (test_exceptions): Only test exceptions if
9097 EXCEPTION_TESTS (FLOAT).
9099 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9101 * benchtests/Makefile (string-bench): Add strcpy_chk and
9103 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9104 * benchtests/bench-stpcpy_chk.c: New file.
9105 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9106 * benchtests/bench-strcpy_chk.c: New file.
9107 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9109 (do_test): Likewise.
9111 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9113 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9114 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9115 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9116 with tabs where appropriate.
9117 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9119 [PPC_PLATFORM_PPC440]: Likewise.
9120 [PPC_PLATFORM_PPC464]: Likewise.
9121 [PPC_PLATFORM_PPC476]: Likewise.
9122 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9123 ppc464, and ppc476 platform strings merging from ports/
9126 2013-06-11 Andreas Schwab <schwab@suse.de>
9129 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9130 (from_ucs4_idx): Regenerate.
9131 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9132 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9133 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9134 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9135 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9136 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9137 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9138 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9139 from FROM_LOOP and TO_LOOP specific macros.
9140 (BODY): Handle combining characters.
9141 * iconvdata/BIG5HKSCS.irreversible: Update.
9142 * iconvdata/BIG5HKSCS.precomposed: New file.
9143 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9145 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9149 * include/sys/time.h: Fix indentation and add copyright header.
9151 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9152 (do_test): Likewise.
9153 * string/test-memchr.c (do_one_test): Likewise.
9154 (do_test): Likewise.
9155 * string/test-memcmp.c (do_one_test): Likewise.
9156 (do_test): Likewise.
9157 * string/test-memcpy.c (do_one_test): Likewise.
9158 (do_test): Likewise.
9159 * string/test-memmem.c (do_one_test): Likewise.
9160 (do_test): Likewise.
9161 (do_random_tests): Likewise.
9162 * string/test-memmove.c (do_one_test): Likewise.
9163 (do_test): Likewise.
9164 * string/test-memset.c (do_one_test): Likewise.
9165 (do_test): Likewise.
9166 * string/test-rawmemchr.c (do_one_test): Likewise.
9167 (do_test): Likewise.
9168 * string/test-strcasecmp.c (do_one_test): Likewise.
9169 (do_test): Likewise.
9170 * string/test-strcasestr.c (do_one_test): Likewise.
9171 (do_test): Likewise.
9172 * string/test-strcat.c (do_one_test): Likewise.
9173 (do_test): Likewise.
9174 * string/test-strchr.c (do_one_test): Likewise.
9175 (do_test): Likewise.
9176 * string/test-strcmp.c (do_one_test): Likewise.
9177 (do_test): Likewise.
9178 * string/test-strcpy.c (do_one_test): Likewise.
9179 (do_test): Likewise.
9180 * string/test-string.h: Likewise.
9181 (test_init): Likewise.
9182 * string/test-strlen.c (do_one_test): Likewise.
9183 (do_test): Likewise.
9184 * string/test-strncasecmp.c (do_one_test): Likewise.
9185 (do_test): Likewise.
9186 * string/test-strncat.c (do_one_test): Likewise.
9187 (do_test): Likewise.
9188 * string/test-strncmp.c (do_one_test): Likewise.
9189 (do_test_limit): Likewise.
9190 (do_test): Likewise.
9191 * string/test-strncpy.c (do_one_test): Likewise.
9192 (do_test): Likewise.
9193 * string/test-strnlen.c (do_one_test): Likewise.
9194 (do_test): Likewise.
9195 * string/test-strpbrk.c (do_one_test): Likewise.
9196 (do_test): Likewise.
9197 * string/test-strrchr.c (do_one_test): Likewise.
9198 (do_test): Likewise.
9199 * string/test-strspn.c (do_one_test): Likewise.
9200 (do_test): Likewise.
9201 * string/test-strstr.c (do_one_test): Likewise.
9202 (do_test): Likewise.
9204 * benchtests/Makefile (string-bench): Add string benchmarks.
9205 * benchtests/bench-bcopy-ifunc.c: New file.
9206 * benchtests/bench-bcopy.c: New file.
9207 * benchtests/bench-bzero-ifunc.c: New file.
9208 * benchtests/bench-bzero.c: New file.
9209 * benchtests/bench-memccpy-ifunc.c: New file.
9210 * benchtests/bench-memccpy.c: New file.
9211 * benchtests/bench-memchr-ifunc.c: New file.
9212 * benchtests/bench-memchr.c: New file.
9213 * benchtests/bench-memcmp-ifunc.c: New file.
9214 * benchtests/bench-memcmp.c: New file.
9215 * benchtests/bench-memmem-ifunc.c: New file.
9216 * benchtests/bench-memmem.c: New file.
9217 * benchtests/bench-memmove-ifunc.c: New file.
9218 * benchtests/bench-memmove.c: New file.
9219 * benchtests/bench-mempcpy-ifunc.c: New file.
9220 * benchtests/bench-mempcpy.c: New file.
9221 * benchtests/bench-memset-ifunc.c: New file.
9222 * benchtests/bench-memset.c: New file.
9223 * benchtests/bench-rawmemchr-ifunc.c: New file.
9224 * benchtests/bench-rawmemchr.c: New file.
9225 * benchtests/bench-stpcpy-ifunc.c: New file.
9226 * benchtests/bench-stpcpy.c: New file.
9227 * benchtests/bench-stpncpy-ifunc.c: New file.
9228 * benchtests/bench-stpncpy.c: New file.
9229 * benchtests/bench-strcasecmp-ifunc.c: New file.
9230 * benchtests/bench-strcasecmp.c: New file.
9231 * benchtests/bench-strcasestr-ifunc.c: New file.
9232 * benchtests/bench-strcasestr.c: New file.
9233 * benchtests/bench-strcat-ifunc.c: New file.
9234 * benchtests/bench-strcat.c: New file.
9235 * benchtests/bench-strchr-ifunc.c: New file.
9236 * benchtests/bench-strchr.c: New file.
9237 * benchtests/bench-strchrnul-ifunc.c: New file.
9238 * benchtests/bench-strchrnul.c: New file.
9239 * benchtests/bench-strcmp-ifunc.c: New file.
9240 * benchtests/bench-strcmp.c: New file.
9241 * benchtests/bench-strcpy-ifunc.c: New file.
9242 * benchtests/bench-strcpy.c: New file.
9243 * benchtests/bench-strcspn-ifunc.c: New file.
9244 * benchtests/bench-strcspn.c: New file.
9245 * benchtests/bench-strlen-ifunc.c: New file.
9246 * benchtests/bench-strlen.c: New file.
9247 * benchtests/bench-strncasecmp-ifunc.c: New file.
9248 * benchtests/bench-strncasecmp.c: New file.
9249 * benchtests/bench-strncat-ifunc.c: New file.
9250 * benchtests/bench-strncat.c: New file.
9251 * benchtests/bench-strncmp-ifunc.c: New file.
9252 * benchtests/bench-strncmp.c: New file.
9253 * benchtests/bench-strncpy-ifunc.c: New file.
9254 * benchtests/bench-strncpy.c: New file.
9255 * benchtests/bench-strnlen-ifunc.c: New file.
9256 * benchtests/bench-strnlen.c: New file.
9257 * benchtests/bench-strpbrk-ifunc.c: New file.
9258 * benchtests/bench-strpbrk.c: New file.
9259 * benchtests/bench-strrchr-ifunc.c: New file.
9260 * benchtests/bench-strrchr.c: New file.
9261 * benchtests/bench-strspn-ifunc.c: New file.
9262 * benchtests/bench-strspn.c: New file.
9263 * benchtests/bench-strstr-ifunc.c: New file.
9264 * benchtests/bench-strstr.c: New file.
9266 * benchtests/Makefile: Disable parallel execution of targets.
9267 (string-bench): Add memcpy.
9268 (benchset): New variable to store a list of benchmark sets.
9269 (bench-func): Renamed from bench.
9270 (bench-set): New target.
9271 (bench): Depend on bench-func and bench-set.
9272 * benchtests/README: Add section on benchmark sets.
9273 * benchtests/bench-memcpy-ifunc.c: New file.
9274 * benchtests/bench-memcpy.c: New file.
9275 * benchtests/bench-string.h: New file.
9277 2013-06-11 Andreas Schwab <schwab@suse.de>
9280 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9281 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9282 values in the triple.
9283 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9284 terminator in the group key.
9286 2013-06-11 Andreas Jaeger <aj@suse.de>
9288 * po/zh_TW.po: Update Chinese (traditional) translation from
9289 translation project.
9291 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9293 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9294 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9295 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9297 (clock_getcpuclockid): Likewise.
9298 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9299 Add weak_alias and libc_hidden_def.
9300 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9301 * rt/clock_gettime.c (clock_gettime): Rename to
9302 __clock_gettime. Add weak_alias and libc_hidden_def.
9303 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9304 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9305 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9306 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9307 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9309 * rt/clock_settime.c (clock_settime): Rename to
9310 __clock_settime. Add weak_alias and libc_hidden_def.
9311 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9313 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9315 * mach/err_boot.sub: Remove trailing whitespace.
9316 * mach/err_ipc.sub: Likewise.
9317 * mach/err_mach.sub: Likewise.
9319 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9320 (ROUNDING_TESTS_double): Likewise.
9321 (ROUNDING_TESTS_long_double): Likewise.
9322 (ROUNDING_TESTS): Likewise.
9323 * math/libm-test.inc: Include <math-tests.h>.
9324 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9325 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9326 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9327 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9329 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9331 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9334 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9336 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9337 otherwise empty TRANS lines.
9338 * sysdeps/gnu/errlist.c: Regenerated.
9340 * catgets/gencat.c (error_print): Use (void) in function
9342 * crypt/crypt_util.c (__init_des): Likewise.
9343 * crypt/speeds.c (Stop): Likewise.
9345 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9346 * inet/ruserpass.c (token): Likewise.
9347 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9348 * intl/localealias.c (extend_alias_table): Likewise.
9349 * intl/plural-exp.c (init_germanic_plural): Likewise.
9350 * libio/fcloseall.c (__fcloseall): Likewise.
9351 * libio/genops.c (_IO_flush_all): Likewise.
9352 (_IO_flush_all_linebuffered): Likewise.
9353 (_IO_cleanup): Likewise.
9354 (_IO_iter_begin): Likewise.
9355 (_IO_iter_end): Likewise.
9356 (_IO_list_lock): Likewise.
9357 (_IO_list_unlock): Likewise.
9358 (_IO_list_resetlock): Likewise.
9359 * libio/getchar.c (getchar): Likewise.
9360 * libio/getchar_u.c (getchar_unlocked): Likewise.
9361 * libio/getwchar.c (getwchar): Likewise.
9362 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9363 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9364 * login/getpt.c (__getpt): Likewise.
9365 * login/tst-utmp.c (main): Likewise.
9366 * malloc/hooks.c (__malloc_check_init): Likewise.
9367 * malloc/malloc.c (__malloc_stats): Likewise.
9368 * malloc/mtrace.c (tr_break): Likewise.
9370 (muntrace): Likewise.
9371 * misc/fstab.c (endfsent): Likewise.
9372 * misc/getclktck.c (__getclktck): Likewise.
9373 * misc/getdtsz.c (__getdtablesize): Likewise.
9374 * misc/gethostid.c (gethostid): Likewise.
9375 * misc/getpagesize.c (__getpagesize): Likewise.
9376 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9377 (__get_nprocs): Likewise.
9378 (__get_phys_pages): Likewise.
9379 (__get_avphys_pages): Likewise.
9380 * misc/getttyent.c (getttyent): Likewise.
9381 (setttyent): Likewise.
9382 (endttyent): Likewise.
9383 * misc/getusershell.c (getusershell): Likewise.
9384 (endusershell): Likewise.
9385 (setusershell): Likewise.
9386 (initshells): Likewise.
9387 * misc/hsearch.c (__hdestroy): Likewise.
9388 * misc/sync.c (sync): Likewise.
9389 * misc/syslog.c (closelog_internal): Likewise.
9390 (closelog): Likewise.
9391 * misc/ttyslot.c (ttyslot): Likewise.
9392 * misc/vhangup.c (vhangup): Likewise.
9393 * posix/fork.c (__fork): Likewise.
9394 * posix/getegid.c (__getegid): Likewise.
9395 * posix/geteuid.c (__geteuid): Likewise.
9396 * posix/getgid.c (__getgid): Likewise.
9397 * posix/getpid.c (__getpid): Likewise.
9398 * posix/getppid.c (__getppid): Likewise.
9399 * posix/getuid.c (__getuid): Likewise.
9400 * posix/pause.c (pause): Likewise.
9401 * posix/setpgrp.c (setpgrp): Likewise.
9402 * posix/setsid.c (__setsid): Likewise.
9403 * posix/test-vfork.c (noop): Likewise.
9404 * resolv/gethnamaddr.c (_endhtent): Likewise.
9405 (_gethtent): Likewise.
9406 (ht_endhostent): Likewise.
9407 (gethostent): Likewise.
9408 (dns_service): Likewise.
9409 * stdlib/drand48.c (drand48): Likewise.
9410 * stdlib/lrand48.c (lrand48): Likewise.
9411 * stdlib/mrand48.c (mrand48): Likewise.
9412 * stdlib/rand.c (rand): Likewise.
9413 * stdlib/random.c (__random): Likewise.
9414 * stdlib/setenv.c (clearenv): Likewise.
9415 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9416 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9417 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9418 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9419 (__get_nprocs): Likewise.
9420 (__get_phys_pages): Likewise.
9421 (__get_avphys_pages): Likewise.
9422 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9423 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9424 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9425 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9426 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9427 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9428 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9429 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9430 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9431 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9432 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9433 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9434 * sysdeps/posix/clock.c (clock): Likewise.
9435 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9436 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9437 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9438 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9439 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9440 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9441 (__get_nprocs_conf): Likewise.
9442 (__get_phys_pages): Likewise.
9443 (__get_avphys_pages): Likewise.
9444 * time/clock.c (clock): Likewise.
9445 * time/tzset.c (__tzname_max): Likewise.
9447 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9449 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9450 (__bswap_32): Do not use "register".
9451 * crypt/crypt.c (_ufc_doit_r): Likewise.
9452 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9453 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9454 * gmon/gmon.c (__monstartup): Likewise.
9455 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9456 * hurd/hurdmalloc.c (more_memory): Likewise.
9459 (realloc): Likewise.
9460 (malloc_fork_prepare): Likewise.
9461 (malloc_fork_parent): Likewise.
9462 (malloc_fork_child): Likewise.
9463 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9464 (_svcauth_des): Likewise.
9465 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9466 * inet/inet_net.c (inet_network): Likewise.
9467 * inet/inet_netof.c (inet_netof): Likewise.
9468 * inet/rcmd.c (__validuser2_sa): Likewise.
9469 * io/fts.c (fts_open): Likewise.
9470 (fts_load): Likewise.
9471 (fts_close): Likewise.
9472 (fts_read): Likewise.
9473 (fts_children): Likewise.
9474 (fts_build): Likewise.
9475 (fts_stat): Likewise.
9476 (fts_sort): Likewise.
9477 (fts_alloc): Likewise.
9478 (fts_lfree): Likewise.
9479 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9480 (_IO_file_xsgetn): Likewise.
9481 (_IO_file_xsgetn_mmap): Likewise.
9482 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9483 (_IO_cookie_write): Likewise.
9484 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9485 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9486 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9487 * malloc/obstack.c (_obstack_begin): Likewise.
9488 (_obstack_begin_1): Likewise.
9489 (_obstack_newchunk): Likewise.
9490 (_obstack_allocated_p): Likewise.
9491 (obstack_free): Likewise.
9492 (_obstack_memory_used): Likewise.
9493 * misc/getttyent.c (getttynam): Likewise.
9494 (getttyent): Likewise.
9497 * misc/getusershell.c (initshells): Likewise.
9498 * misc/syslog.c (__vsyslog_chk): Likewise.
9499 * misc/ttyslot.c (ttyslot): Likewise.
9500 * nis/nis_hash.c (__nis_hash): Likewise.
9501 * posix/fnmatch_loop.c (FCT): Likewise.
9502 * posix/getconf.c (print_all): Likewise.
9504 * posix/getopt.c (exchange): Likewise.
9505 * posix/glob.c (globfree): Likewise.
9506 (prefix_array): Likewise.
9507 (__glob_pattern_type): Likewise.
9508 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9509 (NS_GET32): Likewise.
9510 (NS_PUT16): Likewise.
9511 (NS_PUT32): Likewise.
9512 * resolv/gethnamaddr.c (getanswer): Likewise.
9513 (gethostbyname2): Likewise.
9514 (gethostbyaddr): Likewise.
9515 (_gethtent): Likewise.
9516 (_gethtbyname2): Likewise.
9517 (_gethtbyaddr): Likewise.
9518 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9519 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9520 * resolv/res_init.c (__res_vinit): Likewise.
9521 (net_mask): Likewise.
9522 * resolv/res_mkquery.c (outchar): Likewise.
9524 * stdio-common/printf_fp.c (outchar): Likewise.
9526 * stdio-common/printf_fphex.c (outchar): Likewise.
9528 * stdio-common/printf_size.c (outchar): Likewise.
9530 * stdio-common/test_rdwr.c (main): Likewise.
9531 * stdio-common/tfformat.c (matches): Likewise.
9532 * stdio-common/vfprintf.c (outchar): Likewise.
9533 (printf_unknown): Likewise.
9534 (buffered_vfprintf): Likewise.
9535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9536 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9537 (ReadFile): Likewise.
9538 * stdlib/qsort.c (SWAP): Likewise.
9539 (_quicksort): Likewise.
9540 * stdlib/setenv.c (__add_to_environ): Likewise.
9541 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9542 * stdlib/strtol_l.c (__strtol_l): Likewise.
9543 * stdlib/tst-strtod.c (main): Likewise.
9544 * stdlib/tst-strtol.c (main): Likewise.
9545 * stdlib/tst-strtoll.c (main): Likewise.
9546 * string/bits/string2.h (__strcmp_cc): Likewise.
9547 (__strcmp_cg): Likewise.
9548 (__strcspn_c1): Likewise.
9549 (__strcspn_c2): Likewise.
9550 (__strcspn_c3): Likewise.
9551 (__strspn_c1): Likewise.
9552 (__strspn_c2): Likewise.
9553 (__strspn_c3): Likewise.
9554 (__strsep_1c): Likewise.
9555 (__strsep_2c): Likewise.
9556 (__strsep_3c): Likewise.
9557 * string/memccpy.c (__memccpy): Likewise.
9558 * string/stpcpy.c (__stpcpy): Likewise.
9559 * string/strcmp.c (strcmp): Likewise.
9560 * string/strrchr.c (strrchr): Likewise.
9561 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9563 * sysdeps/mach/hurd/getcwd.c
9564 (_hurd_canonicalize_directory_name_internal): Likewise.
9565 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9566 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9567 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9568 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9569 Likewise, in both definitions.
9570 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9572 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9573 64] (__bswap_64): Likewise.
9574 * time/test_time.c (main): Likewise.
9575 * time/tzfile.c (__tzfile_read): Likewise.
9576 (__tzfile_compute): Likewise.
9577 * time/tzset.c (__tzset_parse_tz): Likewise.
9578 (tzset_internal): Likewise.
9579 (compute_change): Likewise.
9580 * wcsmbs/wcscat.c (__wcscat): Likewise.
9581 * wcsmbs/wcschr.c (wcschr): Likewise.
9582 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9583 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9584 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9585 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9586 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9587 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9588 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9589 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9590 * wcsmbs/wmemset.c (wmemset): Likewise.
9592 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9594 * scripts/config.guess: Update to version 2013-05-16.
9595 * scripts/config.sub: Update to version 2013-04-24.
9596 * scripts/install-sh: Update to version 2011-11-20.07.
9597 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9598 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9600 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9602 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9603 * elf/sln.c: Likewise.
9604 * hurd/hurd/ioctl.h: Likewise.
9605 * hurd/hurdmalloc.c: Likewise.
9606 * hurd/xattr.c: Likewise.
9607 * include/shlib-compat.h: Likewise.
9608 * inet/ruserpass.c: Likewise.
9609 * libio/iofgets_u.c: Likewise.
9610 * libio/iofgetws_u.c: Likewise.
9611 * locale/programs/ld-identification.c: Likewise.
9612 * locale/programs/ld-time.c: Likewise.
9613 * mach/msg-destroy.c: Likewise.
9614 * nss/nss_files/files-netgrp.c: Likewise.
9615 * resolv/res_data.c: Likewise.
9616 * soft-fp/op-1.h: Likewise.
9617 * soft-fp/op-2.h: Likewise.
9618 * soft-fp/op-4.h: Likewise.
9619 * soft-fp/op-common.h: Likewise.
9620 * stdio-common/printf_fphex.c: Likewise.
9621 * stdlib/strtod_l.c: Likewise.
9622 * sunrpc/rpc/clnt.h: Likewise.
9623 * sysdeps/generic/framestate.c: Likewise.
9624 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9625 * sysdeps/i386/bsd-setjmp.S: Likewise.
9626 * sysdeps/i386/__longjmp.S: Likewise.
9627 * sysdeps/i386/setjmp.S: Likewise.
9628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9629 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9630 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9646 * sysdeps/ieee754/support.c: Likewise.
9647 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9648 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9649 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9650 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9651 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9652 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9653 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9654 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9655 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9656 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9657 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9658 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9659 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9660 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9661 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9662 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9663 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9666 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9668 * posix/transbug.c: Remove executable mode.
9670 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9672 * crypt/speeds.c: Remove trailing whitespace.
9673 * dlfcn/default.c: Likewise.
9674 * elf/ifuncdep2.c: Likewise.
9675 * elf/ifuncmain1.c: Likewise.
9676 * elf/ifuncmain1vis.c: Likewise.
9677 * elf/testobj.h: Likewise.
9678 * elf/tst-stackguard1.c: Likewise.
9679 * gmon/sys/gmon.h: Likewise.
9680 * hurd/hurdmsg.c: Likewise.
9681 * hurd/new-fd.c: Likewise.
9682 * hurd/ports-get.c: Likewise.
9683 * iconvdata/ibm1008_420.c: Likewise.
9684 * inet/tst-getni1.c: Likewise.
9685 * inet/tst-getni2.c: Likewise.
9686 * libio/ioungetc.c: Likewise.
9687 * libio/wfiledoalloc.c: Likewise.
9688 * manual/libm-err-tab.pl: Likewise.
9689 * math/w_dremf.c: Likewise.
9690 * misc/ftruncate.c: Likewise.
9691 * posix/bug-glob2.c: Likewise.
9692 * posix/tst-pcre.c: Likewise.
9693 * posix/wait4.c: Likewise.
9694 * resolv/README: Likewise.
9695 * resolv/res_debug.h: Likewise.
9696 * resolv/tst-inet_ntop.c: Likewise.
9697 * setjmp/bug269-setjmp.c: Likewise.
9698 * soft-fp/extended.h: Likewise.
9699 * soft-fp/op-1.h: Likewise.
9700 * soft-fp/op-2.h: Likewise.
9701 * soft-fp/op-4.h: Likewise.
9702 * soft-fp/op-8.h: Likewise.
9703 * soft-fp/testit.c: Likewise.
9704 * stdio-common/bug16.c: Likewise.
9705 * stdlib/random.c: Likewise.
9706 * sunrpc/rpcsvc/rquota.x: Likewise.
9707 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9708 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9710 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9711 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9713 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9714 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9715 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9716 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9717 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9736 * sysdeps/ieee754/s_lib_version.c: Likewise.
9737 * sysdeps/mach/hurd/check_fds.c: Likewise.
9738 * sysdeps/mach/hurd/getsockname.c: Likewise.
9739 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9740 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9741 * sysdeps/powerpc/bits/link.h: Likewise.
9742 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9743 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9744 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9745 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9746 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9747 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9748 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9749 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9750 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9752 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9753 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9754 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9755 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9759 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9760 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9767 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9776 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9777 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9778 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9781 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9782 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9784 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9785 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9786 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9790 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9794 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9801 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9802 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9803 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9804 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9805 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9806 * sysdeps/powerpc/sysdep.h: Likewise.
9807 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9808 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9809 * sysdeps/sh/dl-trampoline.S: Likewise.
9810 * sysdeps/sh/memset.S: Likewise.
9811 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9812 * sysdeps/sh/strlen.S: Likewise.
9813 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9814 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9815 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9816 * sysdeps/sparc/sparc32/rem.S: Likewise.
9817 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9818 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9819 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9820 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9821 * sysdeps/sparc/sparc32/urem.S: Likewise.
9822 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9823 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9824 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9825 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9827 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9828 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9829 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9830 * sysdeps/unix/bsd/times.c: Likewise.
9831 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9832 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9837 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9838 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9841 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9842 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9845 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9846 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9847 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9848 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9849 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9850 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9851 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9852 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9853 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9855 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9856 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9857 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9858 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9859 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9860 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9861 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9862 * sysdeps/x86_64/strcspn.S: Likewise.
9864 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9866 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9867 generated file. Regenerate properly from gen-translit.pl.
9868 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9869 locale/C-translit.h.
9871 2013-06-05 Andreas Schwab <schwab@suse.de>
9874 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9875 week as 6 instead of -1.
9876 * time/tst-strptime.c (day_tests): Add test case.
9878 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * sysdeps/generic/math_private.h
9881 (libc_feholdexcept_setround_53bit): Replace with
9882 libc_feholdsetround_53bit.
9883 (libc_feupdateenv_53bit): Replace with
9884 libc_feresetround_53bit.
9885 (SET_RESTORE_ROUND_53BIT): Adjust.
9887 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9889 * string/test-strchrnul.c: Add copyright header.
9891 * posix/tst-getaddrinfo4.c: Increase test timeout.
9893 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9896 * math/libm-test.inc (MAX_EXP): Remove
9898 (ulp): Use MIN_EXP - MANT_DIG.
9899 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9901 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9903 * po/be.po: Revert last change.
9904 * po/zh_CN.po: Likewise.
9905 * po/header.pot: Likewise.
9907 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9909 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9910 link-libc-deps to empty as target-specific variable.
9911 * Makerules (link-libc-args): New variable.
9912 (libc-for-link): Likewise.
9913 (link-libc-deps): Likewise.
9914 (lib%.so): Depend on $(link-libc-deps). Link with
9916 (build-module): Link with $(link-libc-args).
9917 (build-module-asneeded): Likewise.
9918 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9920 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9921 target-specific variable.
9922 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9923 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9924 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9926 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9928 ($(objpfx)libpcprofile.so): Likewise.
9929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9931 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9932 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9933 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9935 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9936 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9937 * login/Makefile ($(objpfx)libutil.so): Likewise.
9938 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9939 * math/Makefile ($(objpfx)libm.so): Likewise.
9940 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9941 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9942 variable instead of depending directly on libc.
9943 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9944 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9946 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9948 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9949 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9950 ($(objpfx)libanl.so): Likewise.
9951 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9953 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9955 * sysdeps/i386/fpu/Makefile: Remove file.
9956 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9957 ($(objpfx)libm.so): Remove dependency on ld.so.
9959 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9962 * nis/yp_xdr.c (XDRMAXNAME): Define.
9963 (XDRMAXRECORD): Define.
9964 (xdr_domainname): Use XDRMAXNAME.
9965 (xdr_mapname): Likewise.
9966 (xdr_peername): Likewise.
9967 (xdr_keydat): Use XDRMAXRECORD.
9968 (xdr_valdat): Likewise.
9970 2013-05-30 Jeff Law <law@redhat.com>
9973 * manual/errno.texi (ESTALE): Update to account for more than
9974 just NFS file systems.
9975 * sysdeps/gnu/errlist.c: Regenerated.
9977 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9980 * elf/Makefile (tests): Add tst-null-argv.
9981 (modules-names): Add tst-null-argv-lib.
9982 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9983 (tst-null-argv-ENV): Set environment for tst-null-argv.
9984 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9985 (RTLD_PROGNAME): New macro.
9986 * elf/tst-null-argv.c: New test case.
9987 * elf/tst-null-argv-lib.c: Library for test case.
9988 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9989 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9990 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9991 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9992 * elf/dl-init.c (call_init): Likewise.
9993 (_dl_init): Likewise.
9994 * elf/dl-load.c (print_search_path): Likewise.
9995 (_dl_map_object): Likewise.
9996 * elf/dl-lookup.c (do_lookup_x): Likewise.
9997 (add_dependency): Likewise.
9998 (_dl_lookup_symbol_x): Likewise.
9999 (_dl_debug_bindings): Likewise.
10000 * elf/dl-open.c (_dl_show_scope): Likewise.
10001 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10002 * elf/dl-version.c (match_symbol): Likewise.
10003 (_dl_check_map_versions): Likewise.
10004 * elf/rtld.c (dl_main): Likewise.
10005 (print_unresolved): Use RTLD_PROGNAME.
10006 (print_missing_version): Likewise.
10007 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10008 (elf_machine_rela): Likewise.
10009 * sysdeps/powerpc/powerpc32/dl-machine.c
10010 (__process_machine_rela): Likewise.
10011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10013 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10015 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10017 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10024 2013-05-28 Carlos O'Donell <carlos@redhat.com>
10026 * po/be.po: Add descriptive title.
10027 * po/zh_CN.po: Likewise.
10028 * po/header.pot: Likewise.
10030 2013-05-28 Mike Frysinger <vapier@gentoo.org>
10032 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10034 (enlarge_archive): Likewise.
10036 2013-05-28 Ben North <ben@redfrontdoor.org>
10038 * manual/arith.texi (frexp): It is the magnitude of the return
10039 value which lies in [0.5, 1), not the return value itself.
10041 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10045 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10047 * stdio-common/bug26.c (main): Correct fscanf template.
10049 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10050 declare _dl_skip_args.
10052 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10055 * manual/platform.texi: Add missing @end deftypefun.
10057 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10060 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10061 bit of mantissa of 2^16382.
10062 * math/libm-test.inc (hypot_test_data): Add more tests.
10064 * math/libm-test.inc: Add drem and pow10 to list of tested
10066 (pow10_test): New function.
10067 (drem_test): Likewise.
10068 (drem_test_tonearest): Likewise.
10069 (drem_test_towardzero): Likewise.
10070 (drem_test_downward): Likewise.
10071 (drem_test_upward): Likewise.
10072 (main): Call the new functions.
10074 * math/libm-test.inc (finite_test_data): Remove.
10075 (finite_test): Run tests from isfinite_test_data.
10076 (gamma_test_data): Remove.
10077 (gamma_test): Run tests from lgamma_test_data.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10081 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10083 * manual/platform.texi: Add PowerPC PPR function set documentation.
10084 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10087 2013-05-24 Carlos O'Donell <carlos@redhat.com>
10089 * math/libm-test.inc (MAX_EXP): Define.
10091 (ulp): New function.
10092 (check_float_internal): Use ULPDIFF.
10093 (cpow_test): Disable failing test.
10094 (check_ulp): Test ulp() implemetnation.
10095 (main): Call check_ulp before starting tests.
10097 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10099 * math/gen-libm-test.pl (generate_testfile): Do not handle
10100 START_DATA and END_DATA.
10101 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10103 (acos_tonearest_test_data): Likewise.
10104 (acos_towardzero_test_data): Likewise.
10105 (acos_downward_test_data): Likewise.
10106 (acos_upward_test_data): Likewise.
10107 (acosh_test_data): Likewise.
10108 (asin_test_data): Likewise.
10109 (asin_tonearest_test_data): Likewise.
10110 (asin_towardzero_test_data): Likewise.
10111 (asin_downward_test_data): Likewise.
10112 (asin_upward_test_data): Likewise.
10113 (asinh_test_data): Likewise.
10114 (atan_test_data): Likewise.
10115 (atanh_test_data): Likewise.
10116 (atan2_test_data): Likewise.
10117 (cabs_test_data): Likewise.
10118 (cacos_test_data): Likewise.
10119 (cacosh_test_data): Likewise.
10120 (carg_test_data): Likewise.
10121 (casin_test_data): Likewise.
10122 (casinh_test_data): Likewise.
10123 (catan_test_data): Likewise.
10124 (catanh_test_data): Likewise.
10125 (cbrt_test_data): Likewise.
10126 (ccos_test_data): Likewise.
10127 (ccosh_test_data): Likewise.
10128 (ceil_test_data): Likewise.
10129 (cexp_test_data): Likewise.
10130 (cimag_test_data): Likewise.
10131 (clog_test_data): Likewise.
10132 (clog10_test_data): Likewise.
10133 (conj_test_data): Likewise.
10134 (copysign_test_data): Likewise.
10135 (cos_test_data): Likewise.
10136 (cos_tonearest_test_data): Likewise.
10137 (cos_towardzero_test_data): Likewise.
10138 (cos_downward_test_data): Likewise.
10139 (cos_upward_test_data): Likewise.
10140 (cosh_test_data): Likewise.
10141 (cosh_tonearest_test_data): Likewise.
10142 (cosh_towardzero_test_data): Likewise.
10143 (cosh_downward_test_data): Likewise.
10144 (cosh_upward_test_data): Likewise.
10145 (cpow_test_data): Likewise.
10146 (cproj_test_data): Likewise.
10147 (creal_test_data): Likewise.
10148 (csin_test_data): Likewise.
10149 (csinh_test_data): Likewise.
10150 (csqrt_test_data): Likewise.
10151 (ctan_test_data): Likewise.
10152 (ctan_tonearest_test_data): Likewise.
10153 (ctan_towardzero_test_data): Likewise.
10154 (ctan_downward_test_data): Likewise.
10155 (ctan_upward_test_data): Likewise.
10156 (ctanh_test_data): Likewise.
10157 (ctanh_tonearest_test_data): Likewise.
10158 (ctanh_towardzero_test_data): Likewise.
10159 (ctanh_downward_test_data): Likewise.
10160 (ctanh_upward_test_data): Likewise.
10161 (erf_test_data): Likewise.
10162 (erfc_test_data): Likewise.
10163 (exp_test_data): Likewise.
10164 (exp_tonearest_test_data): Likewise.
10165 (exp_towardzero_test_data): Likewise.
10166 (exp_downward_test_data): Likewise.
10167 (exp_upward_test_data): Likewise.
10168 (exp10_test_data): Likewise.
10169 (exp2_test_data): Likewise.
10170 (expm1_test_data): Likewise.
10171 (fabs_test_data): Likewise.
10172 (fdim_test_data): Likewise.
10173 (finite_test_data): Likewise.
10174 (floor_test_data): Likewise.
10175 (fma_test_data): Likewise.
10176 (fma_towardzero_test_data): Likewise.
10177 (fma_downward_test_data): Likewise.
10178 (fma_upward_test_data): Likewise.
10179 (fmax_test_data): Likewise.
10180 (fmin_test_data): Likewise.
10181 (fmod_test_data): Likewise.
10182 (fpclassify_test_data): Likewise.
10183 (frexp_test_data): Likewise.
10184 (gamma_test_data): Likewise.
10185 (hypot_test_data): Likewise.
10186 (ilogb_test_data): Likewise.
10187 (isfinite_test_data): Likewise.
10188 (isgreater_test_data): Likewise.
10189 (isgreaterequal_test_data): Likewise.
10190 (isinf_test_data): Likewise.
10191 (isless_test_data): Likewise.
10192 (islessequal_test_data): Likewise.
10193 (islessgreater_test_data): Likewise.
10194 (isnan_test_data): Likewise.
10195 (isnormal_test_data): Likewise.
10196 (issignaling_test_data): Likewise.
10197 (isunordered_test_data): Likewise.
10198 (j0_test_data): Likewise.
10199 (j1_test_data): Likewise.
10200 (jn_test_data): Likewise.
10201 (ldexp_test_data): Likewise.
10202 (lgamma_test_data): Likewise.
10203 (lrint_test_data): Likewise.
10204 (lrint_tonearest_test_data): Likewise.
10205 (lrint_towardzero_test_data): Likewise.
10206 (lrint_downward_test_data): Likewise.
10207 (lrint_upward_test_data): Likewise.
10208 (llrint_test_data): Likewise.
10209 (llrint_tonearest_test_data): Likewise.
10210 (llrint_towardzero_test_data): Likewise.
10211 (llrint_downward_test_data): Likewise.
10212 (llrint_upward_test_data): Likewise.
10213 (log_test_data): Likewise.
10214 (log10_test_data): Likewise.
10215 (log1p_test_data): Likewise.
10216 (log2_test_data): Likewise.
10217 (logb_test_data): Likewise.
10218 (logb_downward_test_data): Likewise.
10219 (lround_test_data): Likewise.
10220 (llround_test_data): Likewise.
10221 (modf_test_data): Likewise.
10222 (nearbyint_test_data): Likewise.
10223 (nextafter_test_data): Likewise.
10224 (nexttoward_test_data): Likewise.
10225 (pow_test_data): Likewise.
10226 (pow_tonearest_test_data): Likewise.
10227 (pow_towardzero_test_data): Likewise.
10228 (pow_downward_test_data): Likewise.
10229 (pow_upward_test_data): Likewise.
10230 (remainder_test_data): Likewise.
10231 (remainder_tonearest_test_data): Likewise.
10232 (remainder_towardzero_test_data): Likewise.
10233 (remainder_downward_test_data): Likewise.
10234 (remainder_upward_test_data): Likewise.
10235 (remquo_test_data): Likewise.
10236 (rint_test_data): Likewise.
10237 (rint_tonearest_test_data): Likewise.
10238 (rint_towardzero_test_data): Likewise.
10239 (rint_downward_test_data): Likewise.
10240 (rint_upward_test_data): Likewise.
10241 (round_test_data): Likewise.
10242 (scalb_test_data): Likewise.
10243 (scalbn_test_data): Likewise.
10244 (scalbln_test_data): Likewise.
10245 (signbit_test_data): Likewise.
10246 (sin_test_data): Likewise.
10247 (sin_tonearest_test_data): Likewise.
10248 (sin_towardzero_test_data): Likewise.
10249 (sin_downward_test_data): Likewise.
10250 (sin_upward_test_data): Likewise.
10251 (sincos_test_data): Likewise.
10252 (sinh_test_data): Likewise.
10253 (sinh_tonearest_test_data): Likewise.
10254 (sinh_towardzero_test_data): Likewise.
10255 (sinh_downward_test_data): Likewise.
10256 (sinh_upward_test_data): Likewise.
10257 (sqrt_test_data): Likewise.
10258 (tan_test_data): Likewise.
10259 (tan_tonearest_test_data): Likewise.
10260 (tan_towardzero_test_data): Likewise.
10261 (tan_downward_test_data): Likewise.
10262 (tan_upward_test_data): Likewise.
10263 (tanh_test_data): Likewise.
10264 (tgamma_test_data): Likewise.
10265 (trunc_test_data): Likewise.
10266 (y0_test_data): Likewise.
10267 (y1_test_data): Likewise.
10268 (yn_test_data): Likewise.
10269 (significand_test_data): Likewise.
10271 * math/gen-libm-test.pl (@functions): Remove variable.
10272 (generate_testfile): Don't handle START and END lines.
10273 * math/libm-test.inc (START): New macro.
10275 (END_COMPLEX): Likewise.
10276 (acos_test): Use END macro without arguments.
10277 (acos_test_tonearest): Likewise.
10278 (acos_test_towardzero): Likewise.
10279 (acos_test_downward): Likewise.
10280 (acos_test_upward): Likewise.
10281 (acosh_test): Likewise.
10282 (asin_test): Likewise.
10283 (asin_test_tonearest): Likewise.
10284 (asin_test_towardzero): Likewise.
10285 (asin_test_downward): Likewise.
10286 (asin_test_upward): Likewise.
10287 (asinh_test): Likewise.
10288 (atan_test): Likewise.
10289 (atanh_test): Likewise.
10290 (atan2_test): Likewise.
10291 (cabs_test): Likewise.
10292 (cacos_test): Use END_COMPLEX macro without arguments.
10293 (cacosh_test): Likewise.
10294 (carg_test): Use END macro without arguments.
10295 (casin_test): Use END_COMPLEX macro without arguments.
10296 (casinh_test): Likewise.
10297 (catan_test): Likewise.
10298 (catanh_test): Likewise.
10299 (cbrt_test): Use END macro without arguments.
10300 (ccos_test): Use END_COMPLEX macro without arguments.
10301 (ccosh_test): Likewise.
10302 (ceil_test): Use END macro without arguments.
10303 (cexp_test): Use END_COMPLEX macro without arguments.
10304 (cimag_test): Use END macro without arguments.
10305 (clog_test): Use END_COMPLEX macro without arguments.
10306 (clog10_test): Likewise.
10307 (conj_test): Likewise.
10308 (copysign_test): Use END macro without arguments.
10309 (cos_test): Likewise.
10310 (cos_test_tonearest): Likewise.
10311 (cos_test_towardzero): Likewise.
10312 (cos_test_downward): Likewise.
10313 (cos_test_upward): Likewise.
10314 (cosh_test): Likewise.
10315 (cosh_test_tonearest): Likewise.
10316 (cosh_test_towardzero): Likewise.
10317 (cosh_test_downward): Likewise.
10318 (cosh_test_upward): Likewise.
10319 (cpow_test): Use END_COMPLEX macro without arguments.
10320 (cproj_test): Likewise.
10321 (creal_test): Use END macro without arguments.
10322 (csin_test): Use END_COMPLEX macro without arguments.
10323 (csinh_test): Likewise.
10324 (csqrt_test): Likewise.
10325 (ctan_test): Likewise.
10326 (ctan_test_tonearest): Likewise.
10327 (ctan_test_towardzero): Likewise.
10328 (ctan_test_downward): Likewise.
10329 (ctan_test_upward): Likewise.
10330 (ctanh_test): Likewise.
10331 (ctanh_test_tonearest): Likewise.
10332 (ctanh_test_towardzero): Likewise.
10333 (ctanh_test_downward): Likewise.
10334 (ctanh_test_upward): Likewise.
10335 (erf_test): Use END macro without arguments.
10336 (erfc_test): Likewise.
10337 (exp_test): Likewise.
10338 (exp_test_tonearest): Likewise.
10339 (exp_test_towardzero): Likewise.
10340 (exp_test_downward): Likewise.
10341 (exp_test_upward): Likewise.
10342 (exp10_test): Likewise.
10343 (exp2_test): Likewise.
10344 (expm1_test): Likewise.
10345 (fabs_test): Likewise.
10346 (fdim_test): Likewise.
10347 (finite_test): Likewise.
10348 (floor_test): Likewise.
10349 (fma_test): Likewise.
10350 (fma_test_towardzero): Likewise.
10351 (fma_test_downward): Likewise.
10352 (fma_test_upward): Likewise.
10353 (fmax_test): Likewise.
10354 (fmin_test): Likewise.
10355 (fmod_test): Likewise.
10356 (fpclassify_test): Likewise.
10357 (frexp_test): Likewise.
10358 (gamma_test): Likewise.
10359 (hypot_test): Likewise.
10360 (ilogb_test): Likewise.
10361 (isfinite_test): Likewise.
10362 (isgreater_test): Likewise.
10363 (isgreaterequal_test): Likewise.
10364 (isinf_test): Likewise.
10365 (isless_test): Likewise.
10366 (islessequal_test): Likewise.
10367 (islessgreater_test): Likewise.
10368 (isnan_test): Likewise.
10369 (isnormal_test): Likewise.
10370 (issignaling_test): Likewise.
10371 (isunordered_test): Likewise.
10372 (j0_test): Likewise.
10373 (j1_test): Likewise.
10374 (jn_test): Likewise.
10375 (ldexp_test): Likewise.
10376 (lgamma_test): Likewise.
10377 (lrint_test): Likewise.
10378 (lrint_test_tonearest): Likewise.
10379 (lrint_test_towardzero): Likewise.
10380 (lrint_test_downward): Likewise.
10381 (lrint_test_upward): Likewise.
10382 (llrint_test): Likewise.
10383 (llrint_test_tonearest): Likewise.
10384 (llrint_test_towardzero): Likewise.
10385 (llrint_test_downward): Likewise.
10386 (llrint_test_upward): Likewise.
10387 (log_test): Likewise.
10388 (log10_test): Likewise.
10389 (log1p_test): Likewise.
10390 (log2_test): Likewise.
10391 (logb_test): Likewise.
10392 (logb_test_downward): Likewise.
10393 (lround_test): Likewise.
10394 (llround_test): Likewise.
10395 (modf_test): Likewise.
10396 (nearbyint_test): Likewise.
10397 (nextafter_test): Likewise.
10398 (nexttoward_test): Likewise.
10399 (pow_test): Likewise.
10400 (pow_test_tonearest): Likewise.
10401 (pow_test_towardzero): Likewise.
10402 (pow_test_downward): Likewise.
10403 (pow_test_upward): Likewise.
10404 (remainder_test): Likewise.
10405 (remainder_test_tonearest): Likewise.
10406 (remainder_test_towardzero): Likewise.
10407 (remainder_test_downward): Likewise.
10408 (remainder_test_upward): Likewise.
10409 (remquo_test): Likewise.
10410 (rint_test): Likewise.
10411 (rint_test_tonearest): Likewise.
10412 (rint_test_towardzero): Likewise.
10413 (rint_test_downward): Likewise.
10414 (rint_test_upward): Likewise.
10415 (round_test): Likewise.
10416 (scalb_test): Likewise.
10417 (scalbn_test): Likewise.
10418 (scalbln_test): Likewise.
10419 (signbit_test): Likewise.
10420 (sin_test): Likewise.
10421 (sin_test_tonearest): Likewise.
10422 (sin_test_towardzero): Likewise.
10423 (sin_test_downward): Likewise.
10424 (sin_test_upward): Likewise.
10425 (sincos_test): Likewise.
10426 (sinh_test): Likewise.
10427 (sinh_test_tonearest): Likewise.
10428 (sinh_test_towardzero): Likewise.
10429 (sinh_test_downward): Likewise.
10430 (sinh_test_upward): Likewise.
10431 (sqrt_test): Likewise.
10432 (tan_test): Likewise.
10433 (tan_test_tonearest): Likewise.
10434 (tan_test_towardzero): Likewise.
10435 (tan_test_downward): Likewise.
10436 (tan_test_upward): Likewise.
10437 (tanh_test): Likewise.
10438 (tgamma_test): Likewise.
10439 (trunc_test): Likewise.
10440 (y0_test): Likewise.
10441 (y1_test): Likewise.
10442 (yn_test): Likewise.
10443 (significand_test): Likewise.
10445 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10448 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10450 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10453 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10454 __ppc_mdoio and __ppc_mdoom.
10455 * manual/platform.texi: Document new functions __ppc_yield,
10456 __ppc_mdoio and __ppc_mdoom.
10458 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10460 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10461 (main): Mention "tls" pseudo-hwcap is legacy.
10462 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10464 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10466 * math/gen-libm-test.pl (parse_args): Output only string of
10467 arguments as text for test name, not full call or descriptions of
10468 tests for extra outputs.
10469 (generate_testfile): Do not pass function name to parse_args.
10470 Generate this_func variable from START.
10471 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10473 (struct test_ff_f_data): Likewise.
10474 (test_ff_f_data_nexttoward): Likewise.
10475 (struct test_fi_f_data): Likewise.
10476 (struct test_fl_f_data): Likewise.
10477 (struct test_if_f_data): Likewise.
10478 (struct test_fff_f_data): Likewise.
10479 (struct test_c_f_data): Likewise.
10480 (struct test_f_f1_data): Likewise. Remove field extra_name.
10481 (struct test_fF_f1_data): Likewise.
10482 (struct test_ffI_f1_data): Likewise.
10483 (struct test_c_c_data): Rename test_name field to arg_str.
10484 (struct test_cc_c_data): Likewise.
10485 (struct test_f_i_data): Likewise.
10486 (struct test_ff_i_data): Likewise.
10487 (struct test_f_l_data): Likewise.
10488 (struct test_f_L_data): Likewise.
10489 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10491 (COMMON_TEST_SETUP): New macro.
10492 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10493 (COMMON_TEST_CLEANUP): Likewise.
10494 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10495 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10497 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10498 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10500 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10501 (RUN_TEST_fff_f): Take argument string. Call new setup and
10503 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10504 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10506 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10507 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10509 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10510 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10512 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10513 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10515 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10516 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10518 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10519 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10521 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10522 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10524 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10525 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10527 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10528 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10530 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10531 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10533 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10534 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10536 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10537 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10539 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10540 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10542 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10543 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10545 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10546 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10548 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10550 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10552 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10553 to _sifields.sigfault.
10554 (si_addr_lsb): Define new macro.
10555 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10557 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10559 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10562 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10564 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10566 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10567 loading the domain.
10569 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10571 * math/gen-libm-test.pl (parse_args): Do not include expected
10572 result in test name.
10573 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10575 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10576 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10577 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10582 * benchtests/Makefile: Sort function entries.
10584 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10585 tanh, asinh, acosh, atanh.
10586 * benchtests/acos-inputs: New file.
10587 * benchtests/acosh-inputs: New file.
10588 * benchtests/asin-inputs: New file.
10589 * benchtests/asinh-inputs: New file.
10590 * benchtests/atanh-inputs: New file.
10591 * benchtests/cosh-inputs: New file.
10592 * benchtests/log-inputs: New file.
10593 * benchtests/sinh-inputs: New file.
10594 * benchtests/tanh-inputs: New file.
10596 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10599 * posix/tst-getaddrinfo4.c: New test.
10600 * posix/Makefile (tests): Add it.
10602 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10605 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10606 when no services were used.
10607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10608 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10610 2013-05-21 Andreas Schwab <schwab@suse.de>
10613 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10614 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10616 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10617 redundant variable declarations and reallocation of buffer when
10618 parsing as IPv6 address. Always set NSS status when called from
10619 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10620 buffer too small. Correct computation of needed size.
10621 * nss/Makefile (tests): Add test-digits-dots.
10622 * nss/test-digits-dots.c: New test.
10624 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10626 * benchtests/Makefile: Remove instructions for adding
10628 * benchtests/README: New file to explain how to execute and
10629 enhance the benchmark tests.
10631 2013-05-21 Andreas Schwab <schwab@suse.de>
10634 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10635 * setjmp/tst-sigsetjmp.c: New test.
10637 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10639 * sysdeps/x86_64/memset.S (memset): New implementation.
10640 (__bzero): Likewise.
10641 (__memset_tail): New function.
10643 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10645 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10646 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10647 __memcpy_sse2_unaligned ifunc selection.
10648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10649 Add memcpy-sse2-unaligned.S.
10650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10651 Add: __memcpy_sse2_unaligned.
10653 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10656 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10657 math_force_eval before restoring floating-point envrionment.
10658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10661 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10663 (__nearbyintl): Use math_force_eval before restoring
10664 floating-point environment.
10665 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10667 * math/gen-libm-test.pl (special_functions): Remove.
10668 (parse_args): Don't handle TEST_extra. Handle functions with no
10670 * math/libm-test.inc (struct test_sincos_data): Replace with
10671 struct test_fFF_11_data.
10672 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10673 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10674 (sincos_test_data): Change element type to struct
10675 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10676 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10677 RUN_TEST_LOOP_sincos.
10678 * math/README.libm-test: Don't mention special handling of
10679 individual functions.
10680 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10682 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10683 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10684 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10687 * math/gen-libm-test.pl (get_variable): Remove function.
10688 (parse_args): Don't show pointer parameters to call in test
10689 names. Use "extra output N" in test names for extra outputs
10690 rather than naming variables.
10692 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10695 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10696 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10697 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10699 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10701 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10704 * math/gen-libm-test.pl (@tests): Remove variable.
10705 ($count): Likewise.
10706 (new_test): Remove function.
10707 (show_exceptions): New function.
10708 (special_functions): Use show_exceptions instead of new_test.
10709 (parse_args): Likewise.
10710 (generate_testfile): Pass only function name in generated call to
10711 print_max_error or print_complex_max_error.
10712 (get_ulps): Do not handle complex tests specially.
10713 (output_test): Rename to ...
10714 (get_all_ulps_for_test): ... this. Return a string rather than
10715 printing to a file. Require ulps to be present.
10716 (output_ulps): Generate arrays rather than #defines.
10717 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10718 (struct ulp_data): New type.
10719 (BUILD_COMPLEX_ULP): Remove macro.
10720 (compare_ulp_data): New function.
10721 (find_ulps): Likewise.
10722 (find_test_ulps): Likewise.
10723 (find_function_ulps): Likewise.
10724 (find_complex_function_ulps): Likewise.
10725 (print_max_error): Determine allowed ulps using
10726 find_function_ulps.
10727 (print_complex_max_error): Determine allowed ulps using
10728 find_complex_function_ulps.
10729 (check_float_internal): Determine max ulps using find_test_ulps.
10730 (check_float): Do not take max_ulp parameter. Update call to
10731 check_float_internal.
10732 (check_complex): Likewise.
10733 (check_int): Do not take max_ulp parameter.
10734 (check_long): Likewise.
10735 (check_bool): Likewise.
10736 (check_longlong): Likewise.
10737 (struct test_f_f_data): Remove max_ulp field.
10738 (struct test_ff_f_data): Likewise.
10739 (struct test_ff_f_data_nexttoward): Likewise.
10740 (struct test_fi_f_data): Likewise.
10741 (struct test_fl_f_data): Likewise.
10742 (struct test_if_f_data): Likewise.
10743 (struct test_fff_f_data): Likewise.
10744 (struct test_c_f_data): Likewise.
10745 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10746 (struct test_fF_f1_data): Likewise.
10747 (struct test_ffI_f1_data): Likewise.
10748 (struct test_c_c_data): Remove max_ulp field.
10749 (struct test_cc_c_data): Likewise.
10750 (struct test_f_i_data): Likewise.
10751 (struct test_ff_i_data): Likewise.
10752 (struct test_f_l_data): Likewise.
10753 (struct test_f_L_data): Likewise.
10754 (struct test_sincos_data): Likewise.
10755 (RUN_TEST_f_f): Do not handle ulps.
10756 (RUN_TEST_LOOP_f_f): Likewise.
10757 (RUN_TEST_2_f): Likewise.
10758 (RUN_TEST_LOOP_2_f): Likewise.
10759 (RUN_TEST_fff_f): Likewise.
10760 (RUN_TEST_LOOP_fff_f): Likewise.
10761 (RUN_TEST_c_f): Likewise.
10762 (RUN_TEST_LOOP_c_f): Likewise.
10763 (RUN_TEST_f_f1): Likewise.
10764 (RUN_TEST_LOOP_f_f1): Likewise.
10765 (RUN_TEST_fF_f1): Likewise.
10766 (RUN_TEST_LOOP_fF_f1): Likewise.
10767 (RUN_TEST_fI_f1): Likewise.
10768 (RUN_TEST_LOOP_fI_f1): Likewise.
10769 (RUN_TEST_ffI_f1): Likewise.
10770 (RUN_TEST_LOOP_ffI_f1): Likewise.
10771 (RUN_TEST_c_c): Likewise.
10772 (RUN_TEST_LOOP_c_c): Likewise.
10773 (RUN_TEST_cc_c): Likewise.
10774 (RUN_TEST_LOOP_cc_c): Likewise.
10775 (RUN_TEST_f_i): Likewise.
10776 (RUN_TEST_LOOP_f_i): Likewise.
10777 (RUN_TEST_f_i_tg): Likewise.
10778 (RUN_TEST_LOOP_f_i_tg): Likewise.
10779 (RUN_TEST_ff_i_tg): Likewise.
10780 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10781 (RUN_TEST_f_b): Likewise.
10782 (RUN_TEST_LOOP_f_b): Likewise.
10783 (RUN_TEST_f_b_tg): Likewise.
10784 (RUN_TEST_LOOP_f_b_tg): Likewise.
10785 (RUN_TEST_f_l): Likewise.
10786 (RUN_TEST_LOOP_f_l): Likewise.
10787 (RUN_TEST_f_L): Likewise.
10788 (RUN_TEST_LOOP_f_L): Likewise.
10789 (RUN_TEST_sincos): Likewise.
10790 (RUN_TEST_LOOP_sincos): Likewise.
10792 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10797 main case of finite arguments, set rounding mode to FE_TONEAREST
10798 and discard exceptions.
10799 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10801 (remainder_tonearest_test_data): New variable.
10802 (remainder_test_tonearest): New function.
10803 (remainder_towardzero_test_data): New variable.
10804 (remainder_test_towardzero): New function.
10805 (remainder_downward_test_data): New variable.
10806 (remainder_test_downward): New function.
10807 (remainder_upward_test_data): New variable.
10808 (remainder_test_upward): New function.
10809 (main): Call the new test functions.
10811 * math/libm-test.inc (struct test_f_f1_data): Remove field
10813 (struct test_fF_f1_data): Likewise.
10814 (struct test_ffI_f1_data): Likewise.
10815 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10816 based on value of EXTRA_EXPECTED.
10817 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10818 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10819 EXTRA_VAR based on value of EXTRA_EXPECTED.
10820 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10821 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10822 EXTRA_VAR based on value of EXTRA_EXPECTED.
10823 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10824 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10825 EXTRA_VAR based on value of EXTRA_EXPECTED.
10826 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10827 * math/gen-libm-test.pl (parse_args): Don't output initializers
10828 for extra output values.
10830 * math/libm-test.inc (check_int): Expect result to be exactly
10831 equal to expected value and do not handle ulps.
10832 (check_long): Likewise.
10833 (check_longlong): Likewise.
10835 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10837 (cimag_test_data): Likewise.
10838 (conj_test_data): Likewise.
10839 (copysign_test_data): Likewise.
10840 (cproj_test_data): Likewise.
10841 (creal_test_data): Likewise.
10842 (fabs_test_data): Likewise.
10843 (fdim_test_data): Likewise.
10844 (finite_test_data): Likewise.
10845 (floor_test_data): Likewise.
10846 (fmax_test_data): Likewise.
10847 (fmin_test_data): Likewise.
10848 (fmod_test_data): Likewise.
10849 (fpclassify_test_data): Likewise.
10850 (frexp_test_data): Likewise.
10851 (ilogb_test_data): Likewise.
10852 (isfinite_test_data): Likewise.
10853 (isgreater_test_data): Likewise.
10854 (isgreaterequal_test_data): Likewise.
10855 (isinf_test_data): Likewise.
10856 (isless_test_data): Likewise.
10857 (islessequal_test_data): Likewise.
10858 (islessgreater_test_data): Likewise.
10859 (isnan_test_data): Likewise.
10860 (isnormal_test_data): Likewise.
10861 (issignaling_test_data): Likewise.
10862 (isunordered_test_data): Likewise.
10863 (ldexp_test_data): Likewise.
10864 (lrint_test_data): Likewise.
10865 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10866 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10867 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10868 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10869 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10870 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10872 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10873 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10874 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10875 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10877 (lrint_downward_test_data): Test for "inexact" exceptions.
10878 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10879 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10880 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10882 (lrint_upward_test_data): Test for "inexact" exceptions.
10883 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10885 (llrint_test_data): Test for "inexact" exceptions.
10886 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10887 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10888 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10889 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10890 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10891 (llrint_downward_test_data): Test for "inexact" exceptions.
10892 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10893 (llrint_upward_test_data): Test for "inexact" exceptions.
10894 (logb_test_data): Likewise.
10895 (logb_downward_test_data): Likewise.
10896 (nextafter_test_data): Likewise.
10897 (nexttoward_test_data): Likewise.
10898 (remainder_test_data): Likewise.
10899 (remquo_test_data): Likewise.
10900 (scalbn_test_data): Likewise.
10901 (scalbln_test_data): Likewise.
10902 (signbit_test_data): Likewise.
10903 (sqrt_test_data): Likewise.
10904 (significand_test_data): Likewise.
10906 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10909 * benchtests/bench-modf.c (struct args): Mark arg0 as
10911 * scripts/bench.pl: Mark members of struct args as volatile.
10913 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10917 negative infinity on POWER6 or lower.
10918 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10920 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10923 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10924 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10925 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10926 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10927 (_FP_SETQNAN): New macro.
10928 (_FP_SETQNAN_SEMIRAW): Likewise.
10929 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10930 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10931 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10932 (FP_EXTEND): Use _FP_FRAC_SNANP.
10933 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10934 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10936 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10941 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10943 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10944 with DIVIDE_BY_ZERO_EXCEPTION.
10945 (gamma_test_data): Likewise.
10946 (lgamma_test_data): Likewise.
10947 (log_test_data): Likewise.
10948 (log10_test_data): Likewise.
10949 (log2_test_data): Likewise.
10950 (tgamma_test_data): Likewise.
10952 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10953 (acos_test_tonearest): Likewise.
10954 (acos_test_towardzero): Likewise.
10955 (acos_test_downward): Likewise.
10956 (acos_test_upward): Likewise.
10957 (acosh_test): Likewise.
10958 (asin_test): Likewise.
10959 (asin_test_tonearest): Likewise.
10960 (asin_test_towardzero): Likewise.
10961 (asin_test_downward): Likewise.
10962 (asin_test_upward): Likewise.
10963 (asinh_test): Likewise.
10964 (atan_test): Likewise.
10965 (atanh_test): Likewise.
10966 (atan2_test): Likewise.
10967 (cabs_test): Likewise.
10968 (cacos_test): Likewise.
10969 (cacosh_test): Likewise.
10970 (casin_test): Likewise.
10971 (casinh_test): Likewise.
10972 (catan_test): Likewise.
10973 (catanh_test): Likewise.
10974 (cbrt_test): Likewise.
10975 (ccos_test): Likewise.
10976 (ccosh_test): Likewise.
10977 (cexp_test): Likewise.
10978 (clog_test): Likewise.
10979 (clog10_test): Likewise.
10980 (cos_test): Likewise.
10981 (cos_test_tonearest): Likewise.
10982 (cos_test_towardzero): Likewise.
10983 (cos_test_downward): Likewise.
10984 (cos_test_upward): Likewise.
10985 (cosh_test): Likewise.
10986 (cosh_test_tonearest): Likewise.
10987 (cosh_test_towardzero): Likewise.
10988 (cosh_test_downward): Likewise.
10989 (cosh_test_upward): Likewise.
10990 (cpow_test): Likewise.
10991 (csin_test): Likewise.
10992 (csinh_test): Likewise.
10993 (csqrt_test): Likewise.
10994 (ctan_test): Likewise.
10995 (ctan_test_tonearest): Likewise.
10996 (ctan_test_towardzero): Likewise.
10997 (ctan_test_downward): Likewise.
10998 (ctan_test_upward): Likewise.
10999 (ctanh_test): Likewise.
11000 (ctanh_test_tonearest): Likewise.
11001 (ctanh_test_towardzero): Likewise.
11002 (ctanh_test_downward): Likewise.
11003 (ctanh_test_upward): Likewise.
11004 (erf_test): Likewise.
11005 (erfc_test): Likewise.
11006 (exp_test): Likewise.
11007 (exp_test_tonearest): Likewise.
11008 (exp_test_towardzero): Likewise.
11009 (exp_test_downward): Likewise.
11010 (exp_test_upward): Likewise.
11011 (exp10_test): Likewise.
11012 (exp2_test): Likewise.
11013 (expm1_test): Likewise.
11014 (fmod_test): Likewise.
11015 (gamma_test): Likewise.
11016 (hypot_test): Likewise.
11017 (j0_test): Likewise.
11018 (j1_test): Likewise.
11019 (jn_test): Likewise.
11020 (lgamma_test): Likewise.
11021 (log_test): Likewise.
11022 (log10_test): Likewise.
11023 (log1p_test): Likewise.
11024 (log2_test): Likewise.
11025 (logb_test_downward): Likewise.
11026 (pow_test): Likewise.
11027 (pow_test_tonearest): Likewise.
11028 (pow_test_towardzero): Likewise.
11029 (pow_test_downward): Likewise.
11030 (pow_test_upward): Likewise.
11031 (remainder_test): Likewise.
11032 (remquo_test): Likewise.
11033 (sin_test): Likewise.
11034 (sin_test_tonearest): Likewise.
11035 (sin_test_towardzero): Likewise.
11036 (sin_test_downward): Likewise.
11037 (sin_test_upward): Likewise.
11038 (sincos_test): Likewise.
11039 (sinh_test): Likewise.
11040 (sinh_test_tonearest): Likewise.
11041 (sinh_test_towardzero): Likewise.
11042 (sinh_test_downward): Likewise.
11043 (sinh_test_upward): Likewise.
11044 (sqrt_test): Likewise.
11045 (tan_test): Likewise.
11046 (tan_test_tonearest): Likewise.
11047 (tan_test_towardzero): Likewise.
11048 (tan_test_downward): Likewise.
11049 (tan_test_upward): Likewise.
11050 (tanh_test): Likewise.
11051 (tgamma_test): Likewise.
11052 (y0_test): Likewise.
11053 (y1_test): Likewise.
11054 (yn_test): Likewise.
11056 * math/gen-libm-test.pl (adjust_arg): Remove function.
11057 (special_function): Remove argument $in_func. Only handle
11058 generating output for tables of tests, not inside functions.
11059 (parse_args): Likewise.
11060 (generate_testfile): Remove variable $in_func. Update call to
11062 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11063 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11064 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11065 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11066 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11067 (MAX_VALUE_INIT): Rename macro to max_value.
11068 (MIN_VALUE_INIT): Rename macro to min_value.
11069 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11070 (plus_zero): Remove variable.
11071 (minus_zero): Likewise.
11072 (plus_infty): Likewise.
11073 (minus_infty): Likewise.
11074 (qnan_value): Likewise.
11075 (max_value): Likewise.
11076 (min_value): Likewise.
11077 (min_subnorm_value): Likewise.
11079 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11081 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11082 uint64_t or uint32_t usage.
11083 * crypt/sha256-block.c: Likewise.
11084 * crypt/sha256-crypt.c: Likewise.
11085 * crypt/sha256.c: Likewise.
11086 * crypt/sha512-block.c: Likewise.
11087 * crypt/sha512-crypt.c: Likewise.
11088 * crypt/sha512.c: Likewise.
11089 * debug/backtrace-tst.c: Likewise.
11090 * debug/pcprofiledump.c: Likewise.
11091 * elf/cache.c: Likewise.
11092 * elf/dl-cache.c: Likewise.
11093 * elf/dl-misc.c: Likewise.
11094 * elf/dl-profile.c: Likewise.
11095 * elf/dl-support.c: Likewise.
11096 * elf/ldconfig.c: Likewise.
11097 * elf/sprof.c: Likewise.
11098 * iconv/dummy-repertoire.c: Likewise.
11099 * iconv/iconv_charmap.c: Likewise.
11100 * iconv/skeleton.c: Likewise.
11101 * iconvdata/8bit-generic.c: Likewise.
11102 * iconvdata/cp737.h: Likewise.
11103 * iconvdata/cp775.h: Likewise.
11104 * iconvdata/ibm1008.h: Likewise.
11105 * iconvdata/ibm1025.h: Likewise.
11106 * iconvdata/ibm1046.h: Likewise.
11107 * iconvdata/ibm1097.h: Likewise.
11108 * iconvdata/ibm1112.h: Likewise.
11109 * iconvdata/ibm1122.h: Likewise.
11110 * iconvdata/ibm1123.h: Likewise.
11111 * iconvdata/ibm1124.h: Likewise.
11112 * iconvdata/ibm1129.h: Likewise.
11113 * iconvdata/ibm1130.h: Likewise.
11114 * iconvdata/ibm1132.h: Likewise.
11115 * iconvdata/ibm1133.h: Likewise.
11116 * iconvdata/ibm1137.h: Likewise.
11117 * iconvdata/ibm1140.h: Likewise.
11118 * iconvdata/ibm1141.h: Likewise.
11119 * iconvdata/ibm1142.h: Likewise.
11120 * iconvdata/ibm1143.h: Likewise.
11121 * iconvdata/ibm1144.h: Likewise.
11122 * iconvdata/ibm1145.h: Likewise.
11123 * iconvdata/ibm1146.h: Likewise.
11124 * iconvdata/ibm1147.h: Likewise.
11125 * iconvdata/ibm1148.h: Likewise.
11126 * iconvdata/ibm1149.h: Likewise.
11127 * iconvdata/ibm1153.h: Likewise.
11128 * iconvdata/ibm1154.h: Likewise.
11129 * iconvdata/ibm1155.h: Likewise.
11130 * iconvdata/ibm1156.h: Likewise.
11131 * iconvdata/ibm1157.h: Likewise.
11132 * iconvdata/ibm1158.h: Likewise.
11133 * iconvdata/ibm1160.h: Likewise.
11134 * iconvdata/ibm1161.h: Likewise.
11135 * iconvdata/ibm1162.h: Likewise.
11136 * iconvdata/ibm1163.h: Likewise.
11137 * iconvdata/ibm1164.h: Likewise.
11138 * iconvdata/ibm1166.h: Likewise.
11139 * iconvdata/ibm1167.h: Likewise.
11140 * iconvdata/ibm12712.h: Likewise.
11141 * iconvdata/ibm1390.h: Likewise.
11142 * iconvdata/ibm1399.h: Likewise.
11143 * iconvdata/ibm16804.h: Likewise.
11144 * iconvdata/ibm4517.h: Likewise.
11145 * iconvdata/ibm4899.h: Likewise.
11146 * iconvdata/ibm4909.h: Likewise.
11147 * iconvdata/ibm4971.h: Likewise.
11148 * iconvdata/ibm5347.h: Likewise.
11149 * iconvdata/ibm803.h: Likewise.
11150 * iconvdata/ibm856.h: Likewise.
11151 * iconvdata/ibm901.h: Likewise.
11152 * iconvdata/ibm902.h: Likewise.
11153 * iconvdata/ibm9030.h: Likewise.
11154 * iconvdata/ibm9066.h: Likewise.
11155 * iconvdata/ibm921.h: Likewise.
11156 * iconvdata/ibm922.h: Likewise.
11157 * iconvdata/ibm9448.h: Likewise.
11158 * iconvdata/isiri-3342.h: Likewise.
11159 * iconvdata/jis0201.h: Likewise.
11160 * include/link.h: Likewise.
11161 * include/netdb.h: Likewise.
11162 * inet/check_native.c: Likewise.
11163 * inet/check_pf.c: Likewise.
11164 * inet/getipv4sourcefilter.c: Likewise.
11165 * inet/getnameinfo.c: Likewise.
11166 * inet/getsourcefilter.c: Likewise.
11167 * inet/htonl.c: Likewise.
11168 * inet/setipv4sourcefilter.c: Likewise.
11169 * inet/setsourcefilter.c: Likewise.
11170 * inet/test-inet6_opt.c: Likewise.
11171 * inet/tst-network.c: Likewise.
11172 * locale/C-collate.c: Likewise.
11173 * locale/C-ctype.c: Likewise.
11174 * locale/C-time.c: Likewise.
11175 * locale/C-translit.h: Likewise.
11176 * locale/loadarchive.c: Likewise.
11177 * locale/programs/3level.h: Likewise.
11178 * locale/programs/charmap.c: Likewise.
11179 * locale/programs/charmap.h: Likewise.
11180 * locale/programs/ld-address.c: Likewise.
11181 * locale/programs/ld-collate.c: Likewise.
11182 * locale/programs/ld-ctype.c: Likewise.
11183 * locale/programs/ld-identification.c: Likewise.
11184 * locale/programs/ld-measurement.c: Likewise.
11185 * locale/programs/ld-messages.c: Likewise.
11186 * locale/programs/ld-monetary.c: Likewise.
11187 * locale/programs/ld-name.c: Likewise.
11188 * locale/programs/ld-numeric.c: Likewise.
11189 * locale/programs/ld-paper.c: Likewise.
11190 * locale/programs/ld-telephone.c: Likewise.
11191 * locale/programs/ld-time.c: Likewise.
11192 * locale/programs/linereader.c: Likewise.
11193 * locale/programs/locale.c: Likewise.
11194 * locale/programs/locarchive.c: Likewise.
11195 * locale/programs/locfile.h: Likewise.
11196 * locale/programs/repertoire.c: Likewise.
11197 * locale/programs/simple-hash.c: Likewise.
11198 * locale/programs/simple-hash.h: Likewise.
11199 * malloc/memusage.c: Likewise.
11200 * malloc/memusagestat.c: Likewise.
11201 * nis/nis_defaults.c: Likewise.
11202 * nis/nis_hash.c: Likewise.
11203 * nis/nis_print.c: Likewise.
11204 * nis/nis_xdr.c: Likewise.
11205 * nscd/connections.c: Likewise.
11206 * nscd/hstcache.c: Likewise.
11207 * nscd/nscd_gethst_r.c: Likewise.
11208 * nscd/nscd_getserv_r.c: Likewise.
11209 * nscd/nscd_helper.c: Likewise.
11210 * nscd/servicescache.c: Likewise.
11211 * nss/makedb.c: Likewise.
11212 * nss/nss_db/db-XXX.c: Likewise.
11213 * nss/nss_db/db-initgroups.c: Likewise.
11214 * nss/nss_db/db-netgrp.c: Likewise.
11215 * nss/nss_files/files-network.c: Likewise.
11216 * nss/nss_files/files-parse.c: Likewise.
11217 * posix/bug-regex5.c: Likewise.
11218 * posix/fnmatch_loop.c: Likewise.
11219 * posix/regcomp.c: Likewise.
11220 * posix/regexec.c: Likewise.
11221 * posix/tst-rfc3484-2.c: Likewise.
11222 * posix/tst-rfc3484-3.c: Likewise.
11223 * posix/tst-rfc3484.c: Likewise.
11224 * resolv/nss_dns/dns-canon.c: Likewise.
11225 * resolv/nss_dns/dns-network.c: Likewise.
11226 * resolv/res_init.c: Likewise.
11227 * resolv/res_mkquery.c: Likewise.
11228 * resolv/tst-aton.c: Likewise.
11229 * stdlib/cxa_atexit.c: Likewise.
11230 * stdlib/cxa_finalize.c: Likewise.
11231 * stdlib/gen-fpioconst.c: Likewise.
11232 * stdlib/strtol_l.c: Likewise.
11233 * string/tst-endian.c: Likewise.
11234 * sunrpc/auth_des.c: Likewise.
11235 * sunrpc/clnt_udp.c: Likewise.
11236 * sunrpc/rtime.c: Likewise.
11237 * sunrpc/svcauth_des.c: Likewise.
11238 * sunrpc/xdr.c: Likewise.
11239 * sunrpc/xdr_intXX_t.c: Likewise.
11240 * sunrpc/xdr_rec.c: Likewise.
11241 * sysdeps/generic/ldconfig.h: Likewise.
11242 * sysdeps/generic/ldsodefs.h: Likewise.
11243 * sysdeps/generic/memusage.h: Likewise.
11244 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11247 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11254 * sysdeps/posix/getaddrinfo.c: Likewise.
11255 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11256 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11257 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11258 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11259 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11260 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11261 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11262 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11263 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11265 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11267 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11268 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11269 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11270 * sysdeps/x86_64/dl-tls.h: Likewise.
11271 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11272 * time/alt_digit.c: Likewise.
11273 * time/era.c: Likewise.
11274 * wcsmbs/tst-c16c32-1.c: Likewise.
11276 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11278 * math/libm-test.inc (struct test_sincos_data): New type.
11279 (RUN_TEST_LOOP_sincos): New macro.
11280 (sincos_test_data): New variable.
11281 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11283 2013-05-16 Richard Henderson <rth@redhat.com>
11285 * math/atest-exp2.c (LIMB64): New macro.
11286 (CONSTSZ): New macro.
11287 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11289 (print_mpn_fp): ... to function scope.
11290 (read_mpn_hex): Remove.
11291 (get_log2): Remove.
11292 (exp2_mpn): Use mp_log2.
11293 (main): Use mp_exp1.
11295 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11297 * math/libm-test.inc: Remove comment about not testing "inexact"
11299 (INEXACT_EXCEPTION): New macro.
11300 (NO_INEXACT_EXCEPTION): Likewise.
11301 (INVALID_EXCEPTION_OK): Update value.
11302 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11303 (OVERFLOW_EXCEPTION_OK): Likewise.
11304 (UNDERFLOW_EXCEPTION_OK): Likewise.
11305 (IGNORE_ZERO_INF_SIGN): Likewise.
11306 (ERRNO_UNCHANGED): Likewise.
11307 (ERRNO_EDOM): Likewise.
11308 (ERRNO_ERANGE): Likewise.
11309 (test_exceptions): Handle testing "inexact" exceptions.
11310 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11311 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11312 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11313 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11315 (rint_towardzero_test_data): Likewise.
11316 (rint_downward_test_data): Likewise.
11317 (rint_upward_test_data): Likewise.
11319 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11320 with OVERFLOW_EXCEPTION.
11321 (exp10_test_data): Likewise.
11322 (exp2_test_data): Likewise.
11323 (expm1_test_data): Likewise.
11324 (lgamma_test_data): Likewise.
11325 (pow_test_data): Likewise.
11326 (tgamma_test_data): Likewise.
11327 (yn_test_data): Remove duplicate test of overflow.
11329 * math/libm-test.inc (struct test_cc_c_data): New type.
11330 (RUN_TEST_LOOP_cc_c): New macro.
11331 (cpow_test_data): New variable.
11332 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11334 * math/libm-test.inc (struct test_f_L_data): New type.
11335 (RUN_TEST_LOOP_f_L): New macro.
11336 (llrint_test_data): New variable.
11337 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11338 (llrint_tonearest_test_data): New variable.
11339 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11340 (llrint_towardzero_test_data): New variable.
11341 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11342 (llrint_downward_test_data): New variable.
11343 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11344 (llrint_upward_test_data): New variable.
11345 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11346 (llround_test_data): New variable.
11347 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11349 2013-05-13 Peter Collingbourne <pcc@google.com>
11351 * math/atest-exp2.c (get_log2): Remove const attribute.
11353 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11355 * math/libm-test.inc (struct test_f_l_data): New type.
11356 (RUN_TEST_LOOP_f_l): New macro.
11357 (lrint_test_data): New variable.
11358 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11359 (lrint_tonearest_test_data): New variable.
11360 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11361 (lrint_towardzero_test_data): New variable.
11362 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11363 (lrint_downward_test_data): New variable.
11364 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11365 (lrint_upward_test_data): New variable.
11366 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11367 (lround_test_data): New variable.
11368 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11370 2013-05-15 Peter Collingbourne <pcc@google.com>
11372 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11373 (EXTRACT_WORDS64) Use where appropriate.
11374 (INSERT_WORDS64) Likewise.
11376 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11377 constraints with x constraints.
11378 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11380 * malloc/obstack.c (_obstack_compat): Add initializer.
11382 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11385 si_trapno and add si_addr_lsb to _sifields.sigfault.
11386 (si_trapno): Remove macro.
11387 (si_addr_lsb): Define new macro.
11388 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11390 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11392 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11393 instead of TEST_f_l.
11394 (llrint_test_tonearest): Likewise.
11395 (llrint_test_towardzero): Likewise.
11396 (llrint_test_downward): Likewise.
11397 (llrint_test_upward): Likewise.
11398 (llround_test): Likewise.
11400 * math/libm-test.inc (struct test_f_i_data): Add comment.
11401 (RUN_TEST_LOOP_f_b): New macro.
11402 (RUN_TEST_LOOP_f_b_tg): Likewise.
11403 (finite_test_data): New variable.
11404 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11405 (isfinite_test_data): New variable.
11406 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11407 (isinf_test_data): New variable.
11408 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11409 (isnan_test_data): New variable.
11410 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11411 (isnormal_test_data): New variable.
11412 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11413 (issignaling_test_data): New variable.
11414 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11415 (signbit_test_data): New variable.
11416 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11418 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11419 with INVALID_EXCEPTION.
11420 (acosh_test_data): Likewise.
11421 (asin_test_data): Likewise.
11422 (atanh_test_data): Likewise.
11423 (fmod_test_data): Likewise.
11424 (log_test_data): Likewise.
11425 (log10_test_data): Likewise.
11426 (log2_test_data): Likewise.
11427 (pow_test_data): Likewise.
11428 (sqrt_test_data): Likewise.
11429 (y0_test_data): Likewise.
11430 (y1_test_data): Likewise.
11431 (yn_test_data): Likewise.
11433 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11436 * math/libm-test.inc (struct test_ff_i_data): New type.
11437 (RUN_TEST_LOOP_ff_i_tg): New macro.
11438 (isgreater_test_data): New variable.
11439 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11440 (isgreaterequal_test_data): New variable.
11441 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11442 (isless_test_data): New variable.
11443 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11444 (islessequal_test_data): New variable.
11445 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11446 (islessgreater_test_data): New variable.
11447 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11448 (isunordered_test_data): New variable.
11449 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11451 2013-05-14 David S. Miller <davem@davemloft.net>
11453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11455 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11457 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11459 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11461 (struct test_f_i_data): Change type of max_ulp to int.
11463 * math/libm-test.inc (test_ffI_f1_data): New type.
11464 (RUN_TEST_LOOP_ffI_f1): New macro.
11465 (remquo_test_data): New variable.
11466 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11468 * setjmp/tst-setjmp-fp.c: New file.
11469 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11470 (link-libm): New variable.
11471 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11473 * math/libm-test.inc (struct test_f_i_data): New type.
11474 (RUN_TEST_LOOP_f_i): New macro.
11475 (RUN_TEST_LOOP_f_i_tg): Likewise.
11476 (fpclassify_test_data): New variable.
11477 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11478 (ilogb_test_data): New variable.
11479 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11481 * math/libm-test.inc (scalbln_test): Correct function name in END
11484 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11485 (RUN_TEST_LOOP_fI_f1): New macro.
11486 (frexp_test_data): New variable.
11487 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11489 * math/libm-test.inc (struct test_fF_f1_data): New type.
11490 (RUN_TEST_LOOP_fF_f1): New macro.
11491 (modf_test_data): New variable.
11492 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11494 * math/libm-test.inc (struct test_f_f1_data): New type.
11495 (RUN_TEST_LOOP_f_f1): New macro.
11496 (gamma_test_data): New variable.
11497 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11498 (lgamma_test_data): New variable.
11499 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11501 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11503 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11504 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11505 (main): Comment "tls" pseudo-hwcap.
11507 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11509 * math/libm-test.inc (struct test_fl_f_data): New type.
11510 (RUN_TEST_LOOP_fl_f): New variable.
11511 (scalbln_test_data): New variable.
11512 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11514 * math/libm-test.inc (struct test_fi_f_data): New type.
11515 (RUN_TEST_LOOP_fi_f): New macro.
11516 (ldexp_test_data): New variable.
11517 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11518 (scalbn_test_data): New variable.
11519 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11521 * math/libm-test.inc (struct test_c_f_data): New type.
11522 (RUN_TEST_LOOP_c_f): New macro.
11523 (cabs_test_data): New variable.
11524 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11525 (carg_test_data): New variable.
11526 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11527 (cimag_test_data): New variable.
11528 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11529 (creal_test_data): New variable.
11530 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11532 * math/libm-test.inc (struct test_if_f_data): New type.
11533 (RUN_TEST_LOOP_if_f): New macro.
11534 (jn_test_data): New variable.
11535 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11536 (yn_test_data): New variable.
11537 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11539 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11541 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11543 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11544 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11546 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11548 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11549 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11550 (bench-deps): Add bench-timing.h.
11551 * benchtests-bench-skeleton.c: Include bench-timing.h.
11552 (main): Use TIMING_* macros instead of clock_gettime.
11553 * benchtests/bench-timing.h: New file.
11556 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11557 Renamed from _LIB_VERSION.
11558 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11560 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11562 * math/libm-test.inc (struct test_fff_f_data): New type.
11563 (RUN_TEST_LOOP_fff_f): New macro.
11564 (fma_test_data): New variable.
11565 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11566 (fma_towardzero_test_data): New variable.
11567 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11568 (fma_downward_test_data): New variable.
11569 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11570 (fma_upward_test_data): New variable.
11571 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11573 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11574 (struct test_c_c_data): New type.
11575 (RUN_TEST_LOOP_c_c): New macro.
11576 (cacos_test_data): New variable.
11577 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11578 (cacosh_test_data): New variable.
11579 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11580 (casin_test_data): New variable.
11581 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11582 (casinh_test_data): New variable.
11583 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11584 (catan_test_data): New variable.
11585 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11586 (catanh_test_data): New variable.
11587 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11588 (ccos_test_data): New variable.
11589 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11590 (ccosh_test_data): New variable.
11591 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11592 (cexp_test_data): New variable.
11593 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11594 (clog_test_data): New variable.
11595 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11596 (clog10_test_data): New variable.
11597 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11598 (conj_test_data): New variable.
11599 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11600 (cproj_test_data): New variable.
11601 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11602 (csin_test_data): New variable.
11603 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11604 (csinh_test_data): New variable.
11605 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11606 (csqrt_test_data): New variable.
11607 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11608 (ctan_test_data): New variable.
11609 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11610 (ctan_tonearest_test_data): New variable.
11611 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11612 (ctan_towardzero_test_data): New variable.
11613 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11614 (ctan_downward_test_data): New variable.
11615 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11616 (ctan_upward_test_data): New variable.
11617 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11618 (ctanh_test_data): New variable.
11619 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11620 (ctanh_tonearest_test_data): New variable.
11621 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11622 (ctanh_towardzero_test_data): New variable.
11623 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11624 (ctanh_downward_test_data): New variable.
11625 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11626 (ctanh_upward_test_data): New variable.
11627 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11628 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11631 * math/libm-test.inc (struct test_ff_f_data): New type.
11632 (struct test_ff_f_data_nexttoward): Likewise.
11633 (RUN_TEST_LOOP_2_f): New macro.
11634 (RUN_TEST_LOOP_ff_f): Likewise.
11635 (atan2_test_data): New variable.
11636 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11637 (copysign_test_data): New variable.
11638 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11639 (fdim_test_data): New variable.
11640 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11641 (fmax_test_data): New variable.
11642 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11643 (fmin_test_data): New variable.
11644 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11645 (fmod_test_data): New variable.
11646 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11647 (hypot_test_data): New variable.
11648 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11649 (nextafter_test_data): New variable.
11650 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11651 (nexttoward_test_data): New variable.
11652 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11653 (pow_test_data): New variable.
11654 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11655 (pow_tonearest_test_data): New variable.
11656 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11657 (pow_towardzero_test_data): New variable.
11658 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11659 (pow_downward_test_data): New variable.
11660 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11661 (pow_upward_test_data): New variable.
11662 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11663 (remainder_test_data): New variable.
11664 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11665 (scalb_test_data): New variable.
11666 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11667 * sysdeps/i386/fpu/libm-test-ulps: Update.
11669 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11671 * math/libm-test.inc (fma_test): Use max_value instead of local
11673 (nextafter_test): Likewise.
11675 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11676 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11677 (acos_downward_test_data): New variable.
11678 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11679 (acos_upward_test_data): New variable.
11680 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11681 (acosh_test_data): New variable.
11682 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11683 (asin_test_data): New variable.
11684 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11685 (asin_tonearest_test_data): New variable.
11686 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11687 (asin_towardzero_test_data): New variable.
11688 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11689 (asin_downward_test_data): New variable.
11690 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11691 (asin_upward_test_data): New variable.
11692 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11693 (asinh_test_data): New variable.
11694 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11695 (atan_test_data): New variable.
11696 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11697 (atanh_test_data): New variable.
11698 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11699 (cbrt_test_data): New variable.
11700 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11701 (ceil_test_data): New variable.
11702 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11703 (cos_test_data): New variable.
11704 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11705 (cos_tonearest_test_data): New variable.
11706 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11707 (cos_towardzero_test_data): New variable.
11708 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11709 (cos_downward_test_data): New variable.
11710 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11711 (cos_upward_test_data): New variable.
11712 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11713 (cosh_test_data): New variable.
11714 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11715 (cosh_tonearest_test_data): New variable.
11716 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11717 (cosh_towardzero_test_data): New variable.
11718 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11719 (cosh_downward_test_data): New variable.
11720 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11721 (cosh_upward_test_data): New variable.
11722 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11723 (erf_test_data): New variable.
11724 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11725 (erfc_test_data): New variable.
11726 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11727 (exp_test_data): New variable.
11728 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11729 (exp_tonearest_test_data): New variable.
11730 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11731 (exp_towardzero_test_data): New variable.
11732 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11733 (exp_downward_test_data): New variable.
11734 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11735 (exp_upward_test_data): New variable.
11736 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11737 (exp10_test_data): New variable.
11738 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11739 (exp2_test_data): New variable.
11740 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11741 (expm1_test_data): New variable.
11742 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11743 (fabs_test_data): New variable.
11744 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11745 (floor_test_data): New variable.
11746 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11747 (j0_test_data): New variable.
11748 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11749 (j1_test_data): New variable.
11750 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11751 (log_test_data): New variable.
11752 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11753 (log10_test_data): New variable.
11754 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11755 (log1p_test_data): New variable.
11756 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11757 (log2_test_data): New variable.
11758 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11759 (logb_test_data): New variable.
11760 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11761 (logb_downward_test_data): New variable.
11762 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11763 (nearbyint_test_data): New variable.
11764 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11765 (rint_test_data): New variable.
11766 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11767 (rint_tonearest_test_data): New variable.
11768 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11769 (rint_towardzero_test_data): New variable.
11770 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11771 (rint_downward_test_data): New variable.
11772 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11773 (rint_upward_test_data): New variable.
11774 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11775 (round_test_data): New variable.
11776 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11777 (sin_test_data): New variable.
11778 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11779 (sin_tonearest_test_data): New variable.
11780 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11781 (sin_towardzero_test_data): New variable.
11782 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11783 (sin_downward_test_data): New variable.
11784 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11785 (sin_upward_test_data): New variable.
11786 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11787 (sinh_test_data): New variable.
11788 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11789 (sinh_tonearest_test_data): New variable.
11790 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11791 (sinh_towardzero_test_data): New variable.
11792 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11793 (sinh_downward_test_data): New variable.
11794 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11795 (sinh_upward_test_data): New variable.
11796 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11797 (sqrt_test_data): New variable.
11798 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11799 (tan_test_data): New variable.
11800 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11801 (tan_tonearest_test_data): New variable.
11802 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11803 (tan_towardzero_test_data): New variable.
11804 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11805 (tan_downward_test_data): New variable.
11806 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11807 (tan_upward_test_data): New variable.
11808 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11809 (tanh_test_data): New variable.
11810 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11811 (tgamma_test_data): New variable.
11812 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11813 (trunc_test_data): New variable.
11814 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11815 (y0_test_data): New variable.
11816 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11817 (y1_test_data): New variable.
11818 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11819 (significand_test_data): New variable.
11820 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11822 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11825 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11827 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11829 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11831 2013-05-10 Andreas Jaeger <aj@suse.de>
11834 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11835 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11837 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11839 * math/gen-libm-test.pl (adjust_arg): New function.
11840 (special_functions): Handle generating output in both functions
11842 (parse_args): Likewise.
11843 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11844 $in_func argument to parse_args.
11845 * math/libm-test.inc (struct test_f_f_data): New type.
11846 (IF_ROUND_INIT_): New macro.
11847 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11848 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11849 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11850 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11851 (ROUND_RESTORE_): Likewise.
11852 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11853 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11854 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11855 (ROUND_RESTORE_FE_UPWARD): Likewise.
11856 (RUN_TEST_LOOP_f_f): New macro.
11857 (acos_test_data): New variable.
11858 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11859 (acos_tonearest_test_data): New variable.
11860 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11862 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11864 * benchtests/bench-skeleton.c (startup): Fix coding style.
11866 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11869 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11870 negative infinity argument.
11871 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11872 negative infinity argument.
11873 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11874 negative infinity argument.
11875 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11878 2013-05-10 Florian Weimer <fweimer@redhat.com>
11880 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11881 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11882 * iconv/iconv_prog.c (main): Likewise.
11883 * locale/programs/charmap-dir.c (charmap_readdir)
11884 (fopen_uncompressed): Likewise.
11885 * locale/programs/locfile.c (siblings_uncached)
11886 (write_locale_data): Use lstat64 instead of lstat.
11887 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11890 2013-05-10 Andreas Jaeger <aj@suse.de>
11893 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11895 Include <locale.h>.
11897 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11899 * elf/dl-close.c (_dl_close_worker): Add comments.
11901 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11906 (__ieee754_rem_pio2l): Update comments.
11909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11911 (__ieee754_rem_pio2l): Update comments.
11913 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11914 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11916 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11919 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11920 (M_PI_34_LOG10El): Likewise.
11921 (M_PI2_LOG10El): Likewise.
11922 (M_PI4_LOG10El): Likewise.
11923 (M_PI_LOG10El): Likewise.
11925 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11929 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11931 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11932 (MINUS_ZERO_INIT): Likewise.
11933 (PLUS_INFTY_INIT): Likewise.
11934 (MINUS_INFTY_INIT): Likewise.
11935 (QNAN_VALUE_INIT): Likewise.
11936 (MAX_VALUE_INIT): Likewise.
11937 (MIN_VALUE_INIT): Likewise.
11938 (MIN_SUBNORM_VALUE_INIT): Likewise.
11939 (plus_zero): Initialize with PLUS_ZERO_INIT.
11940 (minus_zero): Initialize with MINUS_ZERO_INIT.
11941 (plus_infty): Initialize with PLUS_INFTY_INIT.
11942 (minus_infty): Initialize with MINUS_INFTY_INIT.
11943 (qnan_value): Initialize with QNAN_VALUE_INIT.
11944 (max_value): Initialize with MAX_VALUE_INIT.
11945 (min_value): Initialize with MIN_VALUE_INIT.
11946 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11948 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11949 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11950 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11951 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11953 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11954 (RUN_TEST_2_f): Likewise.
11955 (RUN_TEST_ff_f): Likewise.
11956 (RUN_TEST_fi_f): Likewise.
11957 (RUN_TEST_fl_f): Likewise.
11958 (RUN_TEST_fff_f): Likewise.
11959 (RUN_TEST_c_f): Likewise.
11960 (RUN_TEST_f_f1): Likewise.
11961 (RUN_TEST_fF_f1): Likewise.
11962 (RUN_TEST_fI_f1): Likewise.
11963 (RUN_TEST_ffI_f1): Likewise.
11964 (RUN_TEST_c_c): Likewise.
11965 (RUN_TEST_cc_c): Likewise.
11966 (RUN_TEST_f_i): Likewise.
11967 (RUN_TEST_f_i_tg): Likewise.
11968 (RUN_TEST_ff_i_tg): Likewise.
11969 (RUN_TEST_f_b): Likewise.
11970 (RUN_TEST_f_b_tg): Likewise.
11971 (RUN_TEST_f_l): Likewise.
11972 (RUN_TEST_f_L): Likewise.
11973 (RUN_TEST_sincos): Likewise.
11974 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11975 whether to show exceptions. Do not include ");\n" in return
11977 (special_functions): Output call to RUN_TEST_sincos instead of
11978 check_float calls. Update calls to new_test.
11979 (parse_args): Output call to single RUN_TEST_* macro instead of
11980 check_* calls and other assignments. Update calls to new_test.
11986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11987 input to result for tgamma overflow.
11988 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11989 (gamma_coeff): New variable.
11990 (NCOEFF): New macro.
11991 (gamma_positive): New function.
11992 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11993 underflow here. Use gamma_positive instead of exp (lgamma) for
11995 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11996 (gamma_coeff): New variable.
11997 (NCOEFF): New macro.
11998 (gammaf_positive): New function.
11999 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12000 underflow here. Use gamma_positive instead of exp (lgamma) for
12002 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12003 (gamma_coeff): New variable.
12004 (NCOEFF): New macro.
12005 (gammal_positive): New function.
12006 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12007 underflow here. Use gamma_positive instead of exp (lgamma) for
12009 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12010 (gamma_coeff): New variable.
12011 (NCOEFF): New macro.
12012 (gammal_positive): New function.
12013 (__ieee754_gammal_r): Handle positive infinity, overflow and
12014 underflow here. Handle NaN the same as positive infinity. Remove
12015 check x < 0xffffffff for negative integers. Use gamma_positive
12016 instead of exp (lgamma) for other arguments.
12017 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12018 (gamma_coeff): New variable.
12019 (NCOEFF): New macro.
12020 (gammal_positive): New function.
12021 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12022 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12024 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12026 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12027 * sysdeps/generic/math_private.h (__gamma_productf): New
12029 (__gamma_product): Likewise.
12030 (__gamma_productl): Likewise.
12031 * math/Makefile (libm-calls): Add gamma_product.
12032 * math/libm-test.inc (tgamma_test): Add more tests.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
12038 * benchtests/bench-skeleton.c (main): Preheat CPU.
12040 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12042 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12044 2013-05-07 Roland McGrath <roland@hack.frob.com>
12046 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12047 and _dl_skip_args_internal.
12049 2013-05-07 Carlos O'Donell <carlos@redhat.com>
12051 * manual/message.texi (Message Translation): Talk about users.
12052 Message to key mapping impacts design.
12054 2013-05-06 Roland McGrath <roland@hack.frob.com>
12056 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12058 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12060 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12061 * sysdeps/wordsize-64/glob64.c: ... here.
12063 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12064 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12067 * debug/getlogin_r_chk.c: Moved to ...
12068 * login/getlogin_r_chk.c: ... here.
12069 * debug/Makefile (routines): Move getlogin_r_chk to ...
12070 * login/Makefile (routines): ... here.
12071 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12072 * login/Versions (libc: GLIBC_2.4): ... here.
12074 * io/poll.c (__poll): Renamed from poll.
12075 Add libc_hidden_def.
12076 (poll): Define as weak alias.
12078 * debug/ptsname_r_chk.c: Moved to ...
12079 * login/ptsname_r_chk.c: ... here.
12080 * debug/Makefile (routines): Move ptsname_r_chk to ...
12081 * login/Makefile (routines): ... here.
12082 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12083 * login/Versions (libc: GLIBC_2.4): ... here.
12085 * posix/getlogin.c: Moved to ...
12086 * login/getlogin.c: ... here.
12087 * posix/getlogin_r.c: Moved to ...
12088 * login/getlogin_r.c: ... here.
12089 * posix/getlogin_r.c: Moved to ...
12090 * login/getlogin_r.c: ... here.
12091 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12092 * login/Makefile (routines): ... here.
12093 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12094 * login/Versions (libc: GLIBC_2.0): ... here.
12096 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12097 (setrlimit): Define as weak alias.
12099 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12100 Call __ names for open, ftruncate, and close.
12101 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12102 (truncate): Define as weak alias.
12104 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12106 * math/gen-libm-test.pl (parse_args): Initialize x before each
12107 test of frexp, modf and remquo.
12109 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12110 test signgam value.
12112 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12116 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12118 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12120 2013-05-06 Roland McGrath <roland@hack.frob.com>
12122 * elf/dl-writev.h: New file.
12123 * elf/dl-misc.c: Include it.
12124 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12125 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12127 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12129 * math/libm-test.inc (noXFails): Remove variable.
12130 (noXPasses): Likewise.
12131 (BUILD_COMPLEX_INT): Remove macro.
12132 (print_screen): Remove xfail argument.
12133 (print_screen_max_error): Likewise.
12134 (update_stats): Likewise.
12135 (print_max_error): Likewise. Update calls to other affected
12137 (print_complex_max_error): Likewise.
12138 (test_single_exception): Update calls to print_screen.
12139 (test_single_errno): Likewise.
12140 (check_float_internal): Remove xfail argument. Update calls to
12141 other affected functions.
12142 (check_float): Likewise.
12143 (check_complex): Likewise.
12144 (check_int): Likewise.
12145 (check_long): Likewise.
12146 (check_bool): Likewise.
12147 (check_longlong): Likewise.
12148 (main): Don't print noXFails and noXPasses.
12149 * math/gen-libm-test.pl (top level): Don't mention expected
12150 failure handling in comment.
12151 (new_test): Don't handle expected failures.
12152 (parse_args): Don't mention expected failure handling in comment.
12153 (generate_testfile): Don't handle expected failures.
12154 (parse_ulps): Likewise.
12155 (print_ulps_file): Likewise.
12156 (get_failure): Remove function.
12157 (output_test): Don't handle expected failures.
12158 * make/README.libm-test: Don't mention expected failure handling.
12160 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12161 (minus_zero): Likewise.
12162 (plus_infty): Likewise.
12163 (minus_infty): Likewise.
12164 (qnan_value): Likewise.
12165 (max_value): Likewise.
12166 (min_value): Likewise.
12167 (min_subnorm_value): Likewise.
12168 (initialize): Do not initialize those variables dynamically.
12170 2013-05-03 Roland McGrath <roland@hack.frob.com>
12172 * io/open.c (__open_2): Moved to ...
12173 * io/open_2.c: ... this new file.
12174 * io/open64.c (__open64_2): Moved to ...
12175 * io/open64_2.c: ... this new file.
12176 * io/openat.c (__openat_2): Moved to ...
12177 * io/openat_2.c: ... this new file.
12178 * io/openat64.c (__openat64_2): Moved to ...
12179 * io/openat64_2.c: ... this new file.
12180 * io/Makefile (routines): Add them.
12181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12182 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12183 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12184 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12185 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12186 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12187 (__openat64): Add hidden_ver.
12188 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12189 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12191 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12192 Separately conditionalize setting of GLRO(dl_sysinfo) so
12193 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12194 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12196 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12199 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12201 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12202 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12203 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12204 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12205 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12207 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12209 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12210 test signgam value.
12212 * math/libm-test.inc (hypot_test): Do not use
12213 IGNORE_ZERO_INF_SIGN.
12215 2013-05-03 Andreas Jaeger <aj@suse.de>
12217 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12219 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12220 (PF_MAX): Adjust for VSOCK change.
12222 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12226 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12229 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12230 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12231 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12233 2013-05-02 David S. Miller <davem@davemloft.net>
12235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12237 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12239 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12241 2013-05-01 Roland McGrath <roland@hack.frob.com>
12243 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12245 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12248 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12249 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12250 Use __attribute__ ((__gnu_inline__)).
12251 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12252 Don't use __attribute__ ((__gnu_inline__)).
12254 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12257 * math/s_catan.c (__catan): Handle small real or imaginary part of
12258 input specially to avoid spurious underflow.
12259 * math/s_catanf.c (__catanf): Likewise.
12260 * math/s_catanh.c (__catanh): Likewise.
12261 * math/s_catanhf.c (__catanhf): Likewise.
12262 * math/s_catanhl.c (__catanhl): Likewise.
12263 * math/s_catanl.c (__catanl): Likewise.
12264 * math/libm-test.inc (catan_test): Add more tests.
12265 (catanh_test): Likewise.
12266 * sysdeps/i386/fpu/libm-test-ulps: Update.
12267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12269 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12273 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12276 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12277 accurately for denominator in atan2.
12278 * math/s_catanf.c (__catanf): Likewise.
12279 * math/s_catanh.c (__catanh): Likewise.
12280 * math/s_catanhf.c (__catanhf): Likewise.
12281 * math/s_catanhl.c (__catanhl): Likewise.
12282 * math/s_catanl.c (__catanl): Likewise.
12283 * math/libm-test.inc (catan_test): Add more tests.
12284 (catanh_test): Likewise.
12285 * sysdeps/i386/fpu/libm-test-ulps: Update.
12286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12288 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12290 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12292 * benchtests/Makefile (bench): Remove slow benchmarks.
12293 * benchtests/atan-inputs: Add slow benchmark inputs.
12294 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12295 (BENCH_FUNC): Accept variant offset.
12297 * benchtests/bench-skeleton.c (main): Run benchmark for each
12299 * benchtests/cos-inputs: Add slow benchmark inputs.
12300 * benchtests/exp-inputs: Likewise.
12301 * benchtests/pow-inputs: Likewise.
12302 * benchtests/sin-inputs: Likewise.
12303 * benchtests/slowatan-inputs: Remove.
12304 * benchtests/slowatan.c: Remove.
12305 * benchtests/slowcos-inputs: Remove.
12306 * benchtests/slowcos.c: Remove.
12307 * benchtests/slowexp-inputs: Remove.
12308 * benchtests/slowexp.c: Remove.
12309 * benchtests/slowpow-inputs: Remove.
12310 * benchtests/slowpow.c: Remove.
12311 * benchtests/slowsin-inputs: Remove.
12312 * benchtests/slowsin.c: Remove.
12313 * benchtests/slowtan-inputs: Remove.
12314 * benchtests/slowtan.c: Remove.
12315 * benchtests/tan-inputs: Add slow benchmark inputs.
12316 * scripts/bench.pl: Parse comments and directives.
12318 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12320 ($(objpfx)bench-%.c): Remove *-ITER.
12321 * benchtests/bench-modf.c: Remove definition of ITER.
12322 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12323 (main): Loop for DURATION seconds instead of fixed number of
12325 * scripts/bench.pl: Don't expect iterations in parameters.
12327 2013-04-29 Roland McGrath <roland@hack.frob.com>
12329 * io/fchdir.c (__fchdir): Renamed from fchdir.
12330 (fchdir): Define as weak alias.
12332 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12334 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12335 (ERRNO_EDOM): Likewise.
12336 (ERRNO_ERANGE): Likewise.
12337 (noErrnoTests): New variable.
12338 (init_max_error): Set errno to 0.
12339 (test_single_errno): New function.
12340 (test_errno): Likewise.
12341 (check_float_internal): Call test_errno. Set errno to 0.
12342 (check_complex): Refer to errno tests in comment.
12343 (check_int): Call test_errno. Set errno to 0.
12344 (check_long): Likewise.
12345 (check_bool): Likewise.
12346 (check_longlong): Likewise.
12347 (cos_test): Use ERRNO_* flags for errno tests instead of
12349 (expm1_test): Likewise.
12350 (fmod_test): Likewise.
12351 (ilogb_test): Likewise.
12352 (lgamma_test): Likewise.
12353 (pow_test): Likewise.
12354 (remainder_test): Likewise.
12355 (sin_test): Likewise.
12356 (tan_test): Likewise.
12357 (yn_test): Likewise.
12358 (initialize): Set errno to 0.
12359 (main): Print number of errno tests.
12360 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12362 2013-04-29 Andreas Jaeger <aj@suse.de>
12365 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12369 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12370 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12374 * stdlib/random.c (__initstate): Return NULL if
12378 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12379 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12382 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12386 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12388 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12389 of individual tests.
12390 (casin_test): Likewise.
12391 (casinh_test): Likewise.
12393 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12396 * math/s_catan.c (__catan): Handle arguments with large real or
12397 imaginary part separately without squaring.
12398 * math/s_catanf.c (__catanf): Likewise.
12399 * math/s_catanh.c (__catanh): Likewise.
12400 * math/s_catanhf.c (__catanhf): Likewise.
12401 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12403 (__catanhl): Handle arguments with large real or imaginary part
12404 separately without squaring.
12405 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12407 (__catanl): Handle arguments with large real or imaginary part
12408 separately without squaring.
12409 * math/libm-test.inc (catan_test): Add more tests.
12410 (catanh_test): Likewise.
12411 * sysdeps/i386/fpu/libm-test-ulps: Update.
12412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12414 2013-04-27 Andreas Jaeger <aj@suse.de>
12417 * stdlib/stdlib.h: Update guards for qecvt.
12418 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12421 2013-04-27 Allan McRae <allan@archlinux.org>
12423 * sysdeps/i386/fpu/libm-test-ulps: Update.
12425 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12428 * math/s_catan.c: Include <float.h>.
12429 (__catan): Ensure underflow exception occurs for underflowed
12431 * math/s_catanf.c: Include <float.h>.
12432 (__catanf): Ensure underflow exception occurs for underflowed
12434 * math/s_catanh.c: Include <float.h>.
12435 (__catanh): Ensure underflow exception occurs for underflowed
12437 * math/s_catanhf.c: Include <float.h>.
12438 (__catanhf): Ensure underflow exception occurs for underflowed
12440 * math/s_catanhl.c: Include <float.h>.
12441 (__catanhl): Ensure underflow exception occurs for underflowed
12443 * math/s_catanl.c: Include <float.h>.
12444 (__catanl): Ensure underflow exception occurs for underflowed
12446 * math/libm-test.inc (catan_test): Add more tests.
12447 (catanh_test): Likewise.
12450 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12451 underflowed result.
12452 * math/s_ccoshf.c (__ccoshf): Likewise.
12453 * math/s_ccoshl.c (__ccoshl): Likewise.
12454 * math/s_csin.c (__csin): Likewise.
12455 * math/s_csinf.c (__csinf): Likewise.
12456 * math/s_csinh.c (__csinh): Likewise.
12457 * math/s_csinhf.c (__csinhf): Likewise.
12458 * math/s_csinhl.c (__csinhl): Likewise.
12459 * math/s_csinl.c (__csinl): Likewise.
12460 * math/libm-test.inc (ccos_test): Add more tests.
12461 (ccosh_test): Likewise.
12462 (csin_test): Likewise.
12463 (csinh_test): Likewise.
12465 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12467 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12468 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12469 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12470 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12471 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12472 powerpc/power5+/fpu folders.
12473 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12476 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12480 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12482 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12483 additions to variable.
12484 [$(config-machine) = x86_64] (modules-names): Likewise.
12485 ($(objpfx)tst-audit3): Remove dependency.
12486 ($(objpfx)tst-audit3.out): Likewise.
12487 ($(objpfx)tst-audit4): Likewise.
12488 ($(objpfx)tst-audit4.out): Likewise.
12489 ($(objpfx)tst-audit5): Likewise.
12490 ($(objpfx)tst-audit5.out): Likewise.
12491 ($(objpfx)tst-audit6): Likewise.
12492 ($(objpfx)tst-audit6.out): Likewise.
12493 ($(objpfx)tst-audit7): Likewise.
12494 ($(objpfx)tst-audit7.out): Likewise.
12495 (tst-audit3-ENV): Remove variable.
12496 (tst-audit4-ENV): Likewise.
12497 (tst-audit5-ENV): Likewise.
12498 (tst-audit6-ENV): Likewise.
12499 (tst-audit7-ENV): Likewise.
12500 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12501 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12502 addition to variable.
12503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12505 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12506 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12507 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12508 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12509 tst-audit3, tst-audit4 and tst-audit5.
12510 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12511 tst-audit6 and tst-audit7.
12512 [$(subdir) = elf] (modules-names): Add audit modules for those
12514 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12515 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12516 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12517 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12518 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12519 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12520 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12521 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12522 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12523 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12524 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12525 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12526 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12527 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12528 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12529 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12531 [$(subdir) = elf && $(config-cflags-avx) = yes]
12532 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12533 [$(subdir) = elf && $(config-cflags-avx) = yes]
12534 (CFLAGS-tst-auditmod4a.c): Likewise.
12535 [$(subdir) = elf && $(config-cflags-avx) = yes]
12536 (CFLAGS-tst-auditmod4b.c): Likewise.
12537 [$(subdir) = elf && $(config-cflags-avx) = yes]
12538 (CFLAGS-tst-auditmod6b.c): Likewise.
12539 [$(subdir) = elf && $(config-cflags-avx) = yes]
12540 (CFLAGS-tst-auditmod6c.c): Likewise.
12541 [$(subdir) = elf && $(config-cflags-avx) = yes]
12542 (CFLAGS-tst-auditmod7b.c): Likewise.
12543 * elf/tst-audit3.c: Move to ...
12544 * sysdeps/x86_64/tst-audit3.c: ... here.
12545 * elf/tst-audit4.c: Move to ...
12546 * sysdeps/x86_64/tst-audit4.c: ... here.
12547 * elf/tst-audit5.c: Move to ...
12548 * sysdeps/x86_64/tst-audit5.c: ... here.
12549 * elf/tst-audit6.c: Move to ...
12550 * sysdeps/x86_64/tst-audit6.c: ... here.
12551 * elf/tst-audit7.c: Move to ...
12552 * sysdeps/x86_64/tst-audit7.c: ... here.
12553 * elf/tst-auditmod3a.c: Move to ...
12554 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12555 * elf/tst-auditmod3b.c: Move to ...
12556 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12557 * elf/tst-auditmod4a.c: Move to ...
12558 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12559 * elf/tst-auditmod4b.c: Move to ...
12560 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12561 * elf/tst-auditmod5a.c: Move to ...
12562 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12563 * elf/tst-auditmod5b.c: Move to ...
12564 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12565 * elf/tst-auditmod6a.c: Move to ...
12566 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12567 * elf/tst-auditmod6b.c: Move to ...
12568 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12569 * elf/tst-auditmod6c.c: Move to ...
12570 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12571 * elf/tst-auditmod7a.c: Move to ...
12572 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12573 * elf/tst-auditmod7b.c: Move to ...
12574 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12576 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12579 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12580 define unconditionally.
12581 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12582 define unconditionally.
12583 (INT8_C, INT16_C, etc.): Likewise.
12585 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12587 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12588 __ehdr_start with hidden visibility.
12590 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12592 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12594 * math/libm-test.inc (cos_test): Use accurate hex constants.
12595 (sincost_test): Likewise.
12597 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12599 * math/libm-test.inc (catan_test): Add more tests.
12600 (catanh_test): Likewise.
12602 * math/s_catanf.c (__catanf): Use suffixed floating-point
12604 * math/s_catanhf.c (__catanhf): Likewise.
12605 * math/s_catanhl.c (__catanhl): Likewise.
12606 * math/s_catanl.c (__catanl): Likewise.
12609 * math/s_catan.c (__catan): Calculate imaginary part of result
12610 with log1p not log unless computing log of number close to 0.
12611 * math/s_catanf.c (__catanf): Likewise.
12612 * math/s_catanl.c (__catanl): Likewise.
12613 * math/s_catanh.c (__catanh): Calculate real part of result with
12614 log1p not log unless computing log of number close to 0.
12615 * math/s_catanhf.c (__catanhf): Likewise.
12616 * math/s_catanhl.c (__catanhl): Likewise.
12617 * math/libm-test.inc (catan_test): Add more tests.
12618 (catanh_test): Likewise.
12619 * sysdeps/i386/fpu/libm-test-ulps: Update.
12620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12624 * benchtests/Makefile: Mention files in which fast and slow
12625 paths of math functions are implemented.
12627 2013-04-23 Roland McGrath <roland@hack.frob.com>
12629 * sysdeps/posix/timespec_get.c: New file.
12631 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12633 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12635 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12637 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12638 powerpc/power5/fpu folders.
12639 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12640 * benchtests/Makefile: Add modf testcase.
12641 * benchtests/bench-modf.c: New file: Benchmark test for mo
12643 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12646 * time/Makefile (tests): Add tst-strptime-whitespace.
12647 * time/strptime_l.c (get_number): Use ISSPACE.
12648 (__strptime_internal): Likewise.
12649 * time/tst-strptime-whitespace.c: New test case.
12651 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12653 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12655 (_nss_files_init): Set it here.
12657 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12659 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12660 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12663 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12665 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12667 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12672 2013-04-21 David S. Miller <davem@davemloft.net>
12674 * po/ru.po: Update Russion translation from translation project.
12676 2013-04-17 Adam Conrad <adconrad@0c3.net>
12678 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12681 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12683 * configure.in: Remove i386 configure warning. Remove i386 case.
12684 * configure: Regenerate.
12685 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12686 Add example to error message.
12687 * sysdeps/i386/configure: Regenerate.
12689 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12691 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12693 * benchtests/cos-inputs: New file.
12694 * benchtests/slowcos-inputs: New file.
12695 * benchtests/slowcos.c: New file.
12696 * benchtests/slowtan-inputs: New file.
12697 * benchtests/slowtan.c: New file.
12698 * benchtests/tan-inputs: New file.
12700 2013-04-16 Roland McGrath <roland@hack.frob.com>
12702 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12705 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12707 * benchtests/Makefile: Include cppflags-iterator.mk to add
12708 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12710 * Makefile.in (bench-clean): New target.
12711 * benchtests/Makefile (bench-clean): Likewise.
12713 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12715 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12717 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12719 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12721 2013-04-15 Andreas Schwab <schwab@suse.de>
12723 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12725 * nscd/pwdcache.c (cache_addpw): Likewise.
12726 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12729 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12731 * benchtests/Makefile (bench): Write all output to
12732 bench-out.tmp together.
12734 2013-04-15 Andreas Schwab <schwab@suse.de>
12736 * nscd/nscd.c (main): Don't fork again after closing files.
12738 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12740 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12742 * benchtests/Rules (bench-deps): Collect dependencies into a
12743 single variable. Add Makefile to dependencies.
12744 ($(objpfx)bench-%.c): Depend on bench-deps.
12746 2013-04-12 Roland McGrath <roland@hack.frob.com>
12747 Xavier Roche <roche+kml2@exalead.com>
12750 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12751 just that it's a file descriptor.
12752 * manual/llio.texi (Synchronizing AIO Operations): Update description
12753 for EBADF error from aio_fsync.
12755 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12757 * Rules (bench): Move target definition...
12758 * benchtests/Makefile: ... here.
12760 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12762 * math/libm-test.inc (cos_test): Fix PI/2 test.
12763 (sincos_test): Likewise.
12764 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12765 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12767 2013-04-11 Andreas Schwab <schwab@suse.de>
12770 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12771 accept exponent character only when digits were seen.
12772 * stdio-common/Makefile (tests): Add bug26.
12773 * stdio-common/bug26.c: New file.
12776 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12779 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 * Makeconfig (rtld-prefix): Define built linker prefix.
12782 * Rules (run-bench): Use it.
12783 * math/Makefile (run-regen-ulps): Likewise.
12785 * Rules (bench): Remove eval.
12787 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12788 Roland McGrath <roland@hack.frob.com>
12789 Ondrej Bilka <neleai@seznam.cz>
12792 * time/getdate.c: Include ctype.h and alloca.h.
12793 (__getdate_r): Trim leading and trailing spaces of input.
12794 * time/tst-getdate.c (tests): Add tests with leading and
12797 2013-04-08 Roland McGrath <roland@hack.frob.com>
12800 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12801 when computing value.
12803 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12805 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12806 Use testrun.sh to run libm tests.
12809 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12811 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12814 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12816 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12818 * Makefile.in (regen-ulps): New target.
12819 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12820 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12821 [ifneq (no,$(PERL)] (regen-ulps): New target.
12822 [ifeq (no,$(PERL)] (regen-ulps): New target.
12823 * math/libm-test.inc (ulps_file_name): Define.
12824 (output_dir): New variable.
12825 (options): Add "output-dir" option.
12826 (parse_opt): Handle 'o' case.
12827 (main): If output_dir is non-NULL use it as a prefix
12829 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12831 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12833 [BZ #10060, #10062]
12834 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12835 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12836 fail configure if __sync_val_compare_and_swap is not inlined.
12837 * sysdeps/i386/configure: Regenerate.
12838 * configure.in: Build for i686 when configured for i386.
12839 * configure: Regenerate.
12840 * README: Remove i386 reference.
12842 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12844 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12847 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12849 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12850 (lmsnanval): New variables.
12851 (F): Add conversion tests.
12852 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12853 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12855 * stdio-common/tstdiomisc.c (F): Properly collect individual
12858 [BZ #14686, #15336]
12859 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12860 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12861 Instead, use input NaN values or generate a qNaN by arithmetic
12862 operation. Also fix bugs to comply with the standard.
12863 * math/libm-test.inc (remainder_test): Add more tests.
12865 [BZ #15335, #15342]
12866 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12868 input NaN values or generate a qNaN by arithmetic operation.
12870 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12873 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12876 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12879 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12880 underflowed result.
12881 * math/s_cexpf.c (__cexpf): Likewise.
12882 * math/s_cexpl.c (__cexpl): Likewise.
12883 * math/libm-test.inc (cexp_test): Add more tests.
12885 2013-04-03 Andreas Schwab <schwab@suse.de>
12888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12889 order arrays from heap if bigger than alloca cutoff.
12891 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12893 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12894 (SNAN_TESTS_double): Refer to GCC PR56831.
12895 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12898 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12900 * Rules (bench): Move bench.out after the run is complete.
12902 * Rules (bench): Echo currently running benchmark.
12904 * benchtests/Makefile (bench): Add atan and slowatan.
12905 * benchtests/atan-inputs: New file.
12906 * benchtests/slowatan-inputs: New file.
12907 * benchtests/slowatan.c: New file.
12909 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12910 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12914 * sysdeps/unix/sysv/linux/kernel-features.h
12915 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12916 __ASSUME_XFS_RESTRICTED_CHOWN.
12917 * sysdeps/unix/sysv/linux/pathconf.c
12918 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12919 Save and restore errno.
12921 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12924 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12925 arguments using __kernel_casinh.
12926 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12927 arguments using __kernel_casinhf.
12928 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12929 arguments using __kernel_casinhl.
12930 * math/libm-test.inc (cacosh_test): Add more tests.
12931 * sysdeps/i386/fpu/libm-test-ulps: Update.
12932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12934 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12936 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12939 * bench/Makefile (bench): Add sin and slowsin.
12940 * benchtests/sin-inputs: New file.
12941 * benchtests/slowsin-inputs: New file.
12942 * benchtests/slowsin.c: New file.
12944 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12945 (bench): Add slowexp and slowpow.
12946 (exp-ITER): Increase iterations.
12947 (pow-ITER): Likewise.
12948 * benchtests/exp-inputs: Change input.
12949 * benchtests/pow-inputs: Likewise.
12950 * benchtests/slowexp-inputs: New file.
12951 * benchtests/slowexp.c: New file.
12952 * benchtests/slowpow-inputs: New file.
12953 * benchtests/slowpow.c: New file.
12955 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12957 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12959 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12960 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12961 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12962 * benchtests/Makefile: Add rint benchtest.
12963 * benchtests/rint-inputs: Input for rint benchtest.
12965 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12967 * Versions.def (libm): Add GLIBC_2.18.
12968 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12969 hidden libm prototypes.
12970 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12971 * math/Makefile (libm-calls): Add s_issignaling.
12972 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12973 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12974 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12976 * math/math.h [__USE_GNU] (issignaling): New macro.
12977 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12978 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12979 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12983 * manual/arith.texi (issignaling): New section.
12984 * manual/libm-err-tab.pl (@all_functions): Update comment.
12985 * math/gen-libm-test.pl (parse_args): Apply special handling for
12987 * math/libm-test.inc (print_float, issignaling_test): New
12989 (check_float_internal): Add issignaling checks.
12990 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12991 default definition.
12992 * sysdeps/powerpc/math-tests.h: New file.
12993 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12995 * math/test-snan.c (TEST_FUNC): Likewise.
12997 2013-03-30 David S. Miller <davem@davemloft.net>
12999 * po/de.po: Update from translation team.
13001 2013-03-30 Joseph Myers <joseph@codesourcery.com>
13004 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13005 imaginary part less than 1.0 and real part less than 0.5
13007 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13008 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13009 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13010 (cacos_test): Add more tests.
13011 (casin_test): Likewise.
13012 (casinh_test): Likewise.
13013 * sysdeps/i386/fpu/libm-test-ulps: Update.
13014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13016 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13018 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13019 ONE with its value.
13021 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13022 (__pow_mp): Replace ONE and MONE with their values.
13023 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13026 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13027 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13028 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13030 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13032 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13033 (__pow_mp): Replace ZERO and MZERO with their values.
13034 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13038 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13039 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13042 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13044 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13046 2013-03-28 Roland McGrath <roland@hack.frob.com>
13048 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13049 Declare with __attribute__ ((weak)).
13050 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13051 Call __call_tls_dtors only if it's not NULL.
13053 2013-03-28 Roland McGrath <roland@hack.frob.com>
13055 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13056 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13057 magic __ehdr_start linker symbol if it's defined.
13058 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13059 them up here if it was already done.
13061 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13062 (_dl_aux_init): Use const in cast when setting it.
13063 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13064 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13065 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13067 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13069 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13070 * csu/libc-tls.c: Nor here.
13071 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13073 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13074 (__libc_message): Never call vsyslog.
13076 2013-03-28 Alan Modra <amodra@gmail.com>
13078 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13080 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13083 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13086 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13090 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13093 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13094 Don't add gid passed as argument.
13096 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13098 2013-03-27 Joseph Myers <joseph@codesourcery.com>
13101 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13102 imaginary part between 1.0 and 1.5 and real part less than 0.5
13104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13106 * math/libm-test.inc (cacos_test): Add more tests.
13107 (casin_test): Likewise.
13108 (casinh_test): Likewise.
13109 * sysdeps/i386/fpu/libm-test-ulps: Update.
13110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13114 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13117 (denorm): Likewise.
13118 (__dbl_mp): Likewise.
13119 (add_magnitudes): Likewise.
13120 (sub_magnitudes): Likewise.
13128 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13130 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13131 (__dubcos): Likewise.
13132 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13133 (__ieee754_acos): Likewise.
13134 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13135 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13136 (__exp1): Likewise.
13137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13140 (my_log2): Likewise.
13141 (checkint): Likewise.
13142 * sysdeps/ieee754/dbl-64/e_remainder.c
13143 (__ieee754_remainder): Likewise.
13144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13146 (bsloww): Likewise.
13147 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13149 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13151 MANTISSA_STORE_T to store computations on mantissa. Use
13152 macros for rounding and division.
13153 (denorm): Likewise.
13154 (__dbl_mp): Likewise.
13155 (add_magnitudes): Likewise.
13156 (sub_magnitudes): Likewise.
13159 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13160 powers of two in terms of TWOPOW macro.
13161 (mp_no): Make type of mantissa as MANTISSA_T.
13162 [!RADIXI]: Define RADIXI.
13163 [!TWO52]: Define TWO52.
13164 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13166 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13168 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13169 llroundl symbol when building for PPC32.
13171 2013-03-24 Mark H Weaver <mhw@netris.org>
13173 * manual/arith.texi (Normalization Functions): Fix prototypes for
13174 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13176 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13180 high value to check if expl overflow.
13181 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13182 to check for underflow and overflow.
13183 * math/libm-test.inc: Add exp test.
13185 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13188 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13191 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13193 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13196 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13198 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13199 wrap blocks consisting of several statements.
13201 * sysdeps/generic/math-tests.h: New file.
13202 * sysdeps/i386/fpu/math-tests.h: Likewise.
13203 * math/test-snan.c: Include it.
13204 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13206 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13209 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13210 (__ieee754_j0l): Do not improve calculations using cos of twice
13211 input for inputs above LDBL_MAX / 2.0L.
13212 (__ieee754_y0l): Likewise.
13213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13214 (__ieee754_j1l): Do not improve calculations using cos of twice
13215 input for inputs above LDBL_MAX / 2.0L.
13216 (__ieee754_y1l): Likewise.
13217 * math/libm-test.inc (j0_test): Add another test.
13218 (j1_test): Likewise.
13219 (y0_test): Likewise.
13220 (y1_test): Likewise.
13221 * sysdeps/i386/fpu/libm-test-ulps: Update.
13223 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13225 * Rules ($(objpfx)bench-%.c): Include code from a C source
13228 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13231 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13232 imaginary part 1.0 and real part less than 0.5 specially.
13233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13235 * math/libm-test.inc (cacos_test): Add more tests.
13236 (casin_test): Likewise.
13237 (casinh_test): Likewise.
13238 * sysdeps/i386/fpu/libm-test-ulps: Update.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13244 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13246 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13248 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13249 * config.make.in (config-cflags-sse4): Remove variable.
13250 (config-cflags-avx): Likewise.
13251 (config-cflags-sse2avx): Likewise.
13252 (config-cflags-novzeroupper): Likewise.
13253 (config-asflags-i686): Likewise.
13254 (have-mfma4): Likewise.
13255 (have-as-vis3): Likewise.
13257 * configure.in (MIG): Do not AC_SUBST.
13258 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13259 (libc_cv_cc_sse4): Do not AC_SUBST.
13260 (libc_cv_cc_avx): Likewise.
13261 (libc_cv_cc_sse2avx): Likewise.
13262 (libc_cv_cc_novzeroupper): Likewise.
13263 (libc_cv_cc_fma4): Likewise.
13264 (libc_cv_as_i686): Likewise.
13265 (libc_cv_sparc_as_vis3): Likewise.
13266 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13268 (config-asflags-i686): Likewise.
13269 (config-cflags-avx): Likewise.
13270 (config-cflags-sse2avx): Likewise.
13271 (have-mfma4): Likewise.
13272 (config-cflags-novzeroupper): Likewise.
13273 * sysdeps/mach/configure.in (MIG): Likewise.
13274 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13275 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13277 (config-cflags-avx): Likewise.
13278 (config-cflags-sse2avx): Likewise.
13279 (have-mfma4): Likewise.
13280 (config-cflags-novzeroupper): Likewise.
13281 * configure: Regenerated.
13282 * sysdeps/i386/configure: Likewise.
13283 * sysdeps/mach/configure: Likewise.
13284 * sysdeps/sparc/configure: Likewise.
13285 * sysdeps/x86_64/configure: Likewise.
13287 2013-03-20 Roland McGrath <roland@hack.frob.com>
13290 * locale/programs/localedef.c (options): Put N_ translation marker
13291 on argument names, not just descriptions.
13293 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13295 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13297 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13300 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13302 2013-03-19 Roland McGrath <roland@hack.frob.com>
13304 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13305 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13306 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13307 [!BEFORE_ABORT] (before_abort): New function.
13308 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13309 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13310 (writev_for_fatal): New function.
13311 (WRITEV_FOR_FATAL): New macro; call that.
13312 (backtrace_and_maps): New function.
13313 (BEFORE_ABORT): New macro; call that.
13314 (struct str_list): Type removed.
13315 (__libc_message, __libc_fatal): Functions removed.
13316 Include <sysdeps/posix/libc_fatal.c> instead.
13318 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13320 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13322 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13325 2013-03-19 Andreas Schwab <schwab@suse.de>
13327 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13328 * sysdeps/gnu/configure: Regenerate.
13330 * configure.in: Substitute libc_cv_rtlddir.
13331 * configure: Regenerate.
13332 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13333 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13334 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13335 * elf/Makefile (install-others, CFLAGS-interp.c)
13336 (ldso_install, common-ldd-rewrite): Likewise.
13337 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13338 $(inst_slibdir)/$(rtld-installed-name).
13339 * scripts/rellns-sh: Add -p option.
13340 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13343 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13345 * manual/nptl.texi: Renamed to ...
13346 * manual/threads.texi: ... this.
13347 * manual/Makefile (chapters): Update.
13349 2013-03-18 Roland McGrath <roland@hack.frob.com>
13352 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13353 on argument names, not just descriptions.
13354 * malloc/memusagestat.c (options): Likewise.
13355 * nss/getent.c (options): Likewise.
13357 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13360 * iconv/iconv_prog.c (options): Put N_ translation marker
13361 on argument names, not just descriptions.
13362 * iconv/iconvconfig.c (options): Likewise.
13364 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13366 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13367 implementation which is faster on all x86_64 architectures.
13368 Tested on AMD, Intel Nehalem, SNB, IVB.
13369 * sysdeps/x86_64/strnlen.S: Likewise.
13371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13372 Remove all multiarch strlen and strnlen versions.
13373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13374 Remove strlen and strnlen related parts.
13376 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13377 Inline strlen part.
13378 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13380 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13381 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13383 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13384 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13385 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13387 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13389 * manual/memory.texi (Malloc Tunable Parameters):
13390 Sort parameters alphabetically. Add comments for missing entries.
13392 2013-03-17 David S. Miller <davem@davemloft.net>
13394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13396 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13399 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13400 for arguments at most half maximum finite value.
13401 * math/libm-test.inc (j0_test): Add more tests.
13402 (j1_test): Likewise.
13403 (y0_test): Likewise.
13404 (y1_test): Likewise.
13405 * sysdeps/i386/fpu/libm-test-ulps: Update.
13406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13409 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13410 1 / x and functions P and Q for arguments above 0x1p256L.
13411 (__ieee754_y0l): Likewise.
13412 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13413 (__ieee754_y1l): Likewise.
13414 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13415 (j1_test): Likewise.
13416 (y0_test): Likewise.
13417 (y1_test): Likewise.
13419 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13421 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13424 2013-03-15 Roland McGrath <roland@hack.frob.com>
13426 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13427 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13428 zero since it's initialized to EXEC_PAGESIZE.
13430 * sysdeps/unix/sysv/linux/ldsodefs.h
13431 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13432 * sysdeps/generic/ldsodefs.h: ... here.
13434 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13436 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13438 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13440 * math/test-snan.c: Renamed from
13441 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13442 * math/Makefile (tests): Add test-snan.
13443 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13446 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13447 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13449 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13450 __builtin_nan family of functions.
13451 * math/libm-test.inc (initialize): Initialize qnan_value with
13452 __builtin_nan family of functions.
13453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13455 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13457 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13458 storage class. Initialize qNaN_var and sNaN_var with
13459 __builtin_nan and __builtin_nans families of functions,
13462 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13463 (sqrt_test): Remove duplicate test with qNaN input.
13464 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13465 (round_test, signbit_test, significand_test): Note missing +/-Inf
13466 as well as qNaN tests.
13468 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13469 qNaN_var. Fix a few strings, too.
13470 * math/libm-test.inc (nan_value): Rename to qnan_value.
13471 * math/gen-libm-test.pl (%beautify): Adjust to that.
13472 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13473 * math/test-misc.c (main): Likewise.
13474 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13475 to __qnan_bytes, and __qnan_union, respectively.
13476 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13478 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13479 and lqnanval, respectively.
13480 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13481 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13482 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13483 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13485 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13486 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13489 * math/test-misc.c (main): Fix copy'n'pastos.
13490 * misc/tst-efgcvt.c (special): Likewise.
13492 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13493 Remove declarations.
13495 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13497 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13498 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13499 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13502 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13505 macro to return vdso values correctly in IFUNC implementations.
13506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13507 Optimization by using IFUNC.
13509 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13510 Richard Henderson <rth@redhat.com>
13511 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13513 * Makefile.in (bench): New target.
13514 * NEWS: Mention the benchmark framework.
13515 * Rules (bench): Likewise.
13516 (binaries-bench): Generate binaries for functions to
13518 * benchtests/Makefile: New makefile for benchmark tests.
13519 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13521 * benchtests/exp-inputs: New input file for EXP function.
13522 * benchtests/pow-inputs: New input file for POW function.
13523 * scripts/bench.pl: New script to generate source files for
13524 benchmark programs.
13526 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13528 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13529 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13530 computations on mantissa. Use macros for rounding and
13532 (denorm): Likewise.
13533 (__dbl_mp): Likewise.
13534 (add_magnitudes): Likewise.
13535 (sub_magnitudes): Likewise.
13538 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13539 powers of two in terms of TWOPOW macro.
13540 (mp_no): Make type of mantissa as MANTISSA_T.
13541 [!RADIXI]: Define RADIXI.
13542 [!TWO52]: Define TWO52.
13543 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13545 * manual/nptl.texi (cindex): Modify threads to pthreads.
13547 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13549 * sysdeps/x86_64/preconfigure: Regenerated.
13551 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13554 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13556 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13557 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13559 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13560 * math/libm-test.inc (j0_test): Do not allow one spurious
13561 underflow exception.
13562 (y1_test): Likewise.
13564 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 * manual/Makefile (chapters): Add nptl.
13567 * manual/debug.texi (Debugging Support): Add link to Threads
13569 * manual/nptl.texi: New file.
13571 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13573 2013-03-14 Petr Baudis <pasky@ucw.cz>
13575 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13576 for non-NULL pointer before the memory validity test. Pointed
13577 out by Holger Brunck <holger.brunck@keymile.com>.
13579 2013-03-13 Andreas Schwab <schwab@suse.de>
13581 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13584 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13586 * timezone/zic.c: Update from tzcode 2013b.
13588 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13590 * manual/install.texi (Configuring and compiling):
13591 Mention i686 and i586.
13592 * INSTALL: Regenerate.
13594 2013-03-12 Roland McGrath <roland@hack.frob.com>
13596 * sysdeps/init_array/elf-init.c: New file.
13598 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13599 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13601 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13602 __gmon_start__ as global, but as static with a .preinit_array pointer.
13603 * sysdeps/init_array/gmon-start.c: New file. Use that.
13604 * sysdeps/init_array/crti.S: New file, empty except for comments.
13605 * sysdeps/init_array/crtn.S: Likewise.
13607 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13609 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13612 Remove Prefer_SSE_for_memop.
13613 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13614 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13615 HAS_PREFER_SSE_FOR_MEMOP.
13616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13619 Remove bzero, memset ifunc support.
13620 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13622 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13623 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13625 2013-03-11 Andreas Schwab <schwab@suse.de>
13628 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13631 (GLIBC_2.16): Remove pthread_atfork.
13633 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13635 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13636 (ptestcases.h): Likewise.
13638 2013-03-08 Roland McGrath <roland@hack.frob.com>
13640 * Makeconfig ($(common-objpfx)config.status): Depend on
13641 sysdeps/*/preconfigure{,.in} too.
13643 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13645 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13646 (__free_hook): Use void * instead of __malloc_ptr_t.
13647 (__malloc_hook): Likewise.
13648 (__realloc_hook): Likewise.
13649 (__memalign_hook): Likewise.
13650 (__after_morecore_hook): Likewise.
13651 * malloc/arena.c (save_malloc_hook): Likewise.
13652 (save_free_hook): Likewise.
13653 * malloc/hooks.c (malloc_hook_ini): Likewise.
13654 (realloc_hook_ini): Likewise.
13655 (memalign_hook_ini): Likewise.
13656 * malloc/malloc.c (malloc_hook_ini): Likewise.
13657 (realloc_hook_ini): Likewise.
13658 (memalign_hook_ini): Likewise.
13659 (__free_hook): Likewise.
13660 (__malloc_hook): Likewise.
13661 (__realloc_hook): Likewise.
13662 (__memalign_hook): Likewise.
13663 (__libc_malloc): Likewise.
13664 (__libc_free): Likewise.
13665 (__libc_realloc): Likewise.
13666 (__libc_memalign): Likewise.
13667 (__libc_valloc): Likewise.
13668 (__libc_pvalloc): Likewise.
13669 (__libc_calloc): Likewise.
13670 (__posix_memalign): Likewise.
13671 * malloc/morecore.c (__sbrk): Likewise.
13672 (__default_morecore): Likewise.
13674 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13676 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13677 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13678 __malloc_ptrdiff_t.
13680 * malloc/malloc.h (__malloc_size_t): Remove macro.
13681 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13683 (old_memalign_hook): Likewise.
13684 (old_realloc_hook): Likewise.
13685 (struct hdr): Likewise.
13687 (mallochook): Likewise.
13688 (memalignhook): Likewise.
13689 (reallochook): Likewise.
13690 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13691 (tr_old_realloc_hook): Likewise.
13692 (tr_old_memalign_hook): Likewise.
13693 (tr_mallochook): Likewise.
13694 (tr_reallochook): Likewise.
13695 (tr_memalignhook): Likewise.
13697 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13700 default_ldbl_pack and using as default implementation.
13701 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13703 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13704 redundant definition.
13705 (ldbl_insert_mantissa): Likewise.
13706 (ldbl_canonicalize): Likewise.
13707 (ldbl_nearbyint): Likewise.
13708 (ldbl_pack): Rename to ldbl_pack_ppc.
13709 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13710 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13711 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13713 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13716 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13718 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13721 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13722 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13724 2013-03-07 Andreas Jaeger <aj@suse.de>
13726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13729 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13731 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13732 Include mpa.h and declare __MPEXP.
13733 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13738 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13739 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13741 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13742 (__slowpow): Use long double EXPL and LOGL functions to
13744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13747 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13748 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13752 intermediate variable to calculate exponent.
13754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13758 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13759 [!NO__SQR]: Define __sqr.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13761 and NO__SQR. Remove all code except __mul and __sqr. Include
13762 sysdeps/ieee754/dbl-64/mpa.c.
13763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13766 * posix/Makefile (tests): Add tst-pathconf.
13767 * posix/tst-pathconf.c: New test case.
13768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13772 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13774 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13776 2013-03-06 Andreas Jaeger <aj@suse.de>
13778 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13779 definition via __MAP_ANONYMOUS.
13781 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13782 it's not part of Linux headers.
13784 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13785 (MAP_HUGE_MASK): Define.
13787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13793 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13800 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13801 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13802 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13803 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13804 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13805 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13811 Handle f2fs and efivarfs.
13813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13816 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13817 (EFIVARFS_MAGIC): Add.
13818 (F2FS_LINK_MAX): Add.
13820 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13822 * stdio-common/vfprintf.c: Replace __builtin_expect with
13825 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13828 * sysdeps/generic/bp-sym.h: Remove file.
13829 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13831 <bp-sym.h> and <bp-asm.h>.
13832 (__longjmp): Don't use BP_SYM.
13833 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13835 (memcpy): Don't use BP_SYM.
13836 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13837 <bp-sym.h> and <bp-asm.h>.
13838 (memcpy): Don't use BP_SYM.
13839 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13841 (memcpy): Don't use BP_SYM.
13842 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13844 (memset): Don't use BP_SYM.
13845 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13846 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13847 (__bzero): Don't use BP_SYM.
13848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13850 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (memcmp): Don't use BP_SYM. Remove comment about bounded
13854 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13855 <bp-sym.h> and <bp-asm.h>.
13856 (memcpy): Don't use BP_SYM.
13857 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13858 <bp-sym.h> and <bp-asm.h>.
13859 (memset): Don't use BP_SYM.
13860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13862 (__bzero): Don't use BP_SYM.
13863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13866 <bp-sym.h> and <bp-asm.h>.
13867 (strncmp): Don't use BP_SYM. Remove comment about bounded
13869 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13870 <bp-sym.h> and <bp-asm.h>.
13871 (memcpy): Don't use BP_SYM.
13872 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13873 <bp-sym.h> and <bp-asm.h>.
13874 (memset): Don't use BP_SYM.
13875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13877 (__bzero): Don't use BP_SYM.
13878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13881 <bp-sym.h> and <bp-asm.h>.
13882 (__memchr): Don't use BP_SYM.
13883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13884 <bp-sym.h> and <bp-asm.h>.
13885 (memcmp): Don't use BP_SYM. Remove comment about bounded
13887 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13888 <bp-sym.h> and <bp-asm.h>.
13889 (memcpy): Don't use BP_SYM.
13890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13891 <bp-sym.h> and <bp-asm.h>.
13892 (__mempcpy): Don't use BP_SYM.
13893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13894 <bp-sym.h> and <bp-asm.h>.
13895 (__memrchr): Don't use BP_SYM.
13896 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13897 <bp-sym.h> and <bp-asm.h>.
13898 (memset): Don't use BP_SYM.
13899 (__bzero): Likewise.
13900 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13901 <bp-sym.h> and <bp-asm.h>.
13902 (__rawmemchr): Don't use BP_SYM.
13903 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13904 <bp-sym.h> and <bp-asm.h>.
13905 (__STRCMP): Don't use BP_SYM.
13906 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13907 <bp-sym.h> and <bp-asm.h>.
13908 (strchr): Don't use BP_SYM.
13909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13910 <bp-sym.h> and <bp-asm.h>.
13911 (__strchrnul): Don't use BP_SYM.
13912 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13913 <bp-sym.h> and <bp-asm.h>.
13914 (strlen): Don't use BP_SYM.
13915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13916 <bp-sym.h> and <bp-asm.h>.
13917 (strncmp): Don't use BP_SYM. Remove comment about bounded
13919 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13920 <bp-sym.h> and <bp-asm.h>.
13921 (__strnlen): Don't use BP_SYM.
13922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13923 <bp-sym.h> and <bp-asm.h>.
13924 (__GI__setjmp): Don't use BP_SYM.
13925 (_setjmp): Likewise.
13926 (__sigsetjmp): Likewise.
13927 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13928 (L(start_addresses)): Don't use BP_SYM.
13929 (_start): Likewise.
13930 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13932 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13933 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13936 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13938 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13939 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13940 about bounded pointers.
13941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13943 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13946 about bounded pointers. Remove GKM FIXME comments.
13947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13948 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13950 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13951 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13952 Remove GKM FIXME comments.
13953 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13954 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13955 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13957 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13958 about bounded pointers. Remove GKM FIXME comment.
13959 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13961 (strncmp): Don't use BP_SYM. Remove comment about bounded
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13964 <bp-sym.h> and <bp-asm.h>.
13965 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13967 <bp-sym.h> and <bp-asm.h>.
13968 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13971 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13973 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13976 2013-03-05 David S. Miller <davem@davemloft.net>
13978 * po/es.po: Update from translation team.
13980 2013-03-05 Andreas Jaeger <aj@suse.de>
13982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13983 <bits/mman-linux.h>.
13984 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13986 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13987 <bits/mman-linux.h> to end of file.
13988 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13991 <bits/mman-linux.h> to end of file.
13992 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13995 <bits/mman-linux.h> to end of file.
13997 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13998 (MCL_CURRENT, MCL_FUTURE): Define here.
14000 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14007 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14010 fourth parameter needed for rt_sigprocmask syscall.
14011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14015 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14016 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14018 2013-03-04 Joseph Myers <joseph@codesourcery.com>
14021 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14022 comment about bounded pointers.
14023 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14024 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14026 2013-03-04 Andreas Jaeger <aj@suse.de>
14028 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14029 common definitions.
14031 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14032 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14038 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14042 __ieee754_sqrl instead of __sqrl.
14044 2013-03-01 Joseph Myers <joseph@codesourcery.com>
14046 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14047 * sysdeps/powerpc/fpu_control.h: ... here.
14048 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14049 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14050 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14051 * sysdeps/powerpc/bits/mathinline.h: ... here.
14053 2013-03-01 Roland McGrath <roland@hack.frob.com>
14055 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14056 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14057 to just [NEED_DL_SYSINFO_DSO].
14058 * elf/dl-support.c: Likewise.
14059 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14060 * elf/rtld.c (dl_main): Likewise.
14061 * elf/setup-vdso.h (setup_vdso): Likewise.
14062 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14063 * sysdeps/unix/sysv/linux/dl-sysdep.c
14064 (_dl_discover_osversion): Likewise.
14066 2013-03-01 Carlos O'Donell <carlos@redhat.com>
14068 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14069 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14071 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14073 * NEWS: Mention libm performance improvements and non-x86 PI
14076 * csu/libc-start.c (__pthread_initialize_minimal): Change
14077 function arguments.
14078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14080 2013-02-28 Joseph Myers <joseph@codesourcery.com>
14083 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14084 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14085 <bp-sym.h> and <bp-asm.h>.
14086 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14089 (memcpy): Don't use BP_SYM.
14090 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14092 (__mpn_add_n): Don't use BP_SYM.
14093 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14094 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14096 (__mpn_addmul_1): Don't use BP_SYM.
14097 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14098 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14100 (_setjmp): Don't use BP_SYM.
14101 (__novmx_setjmp): Likewise.
14102 (__GI__setjmp): Likewise.
14103 (__vmx_setjmp): Likewise.
14104 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14106 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14107 (__bzero): Don't use BP_SYM.
14108 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14109 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14110 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14111 <bp-sym.h> and <bp-asm.h>.
14112 (memcpy): Don't use BP_SYM.
14113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14114 <bp-sym.h> and <bp-asm.h>.
14115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14117 <bp-sym.h> and <bp-asm.h>.
14118 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14119 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14121 (__mpn_lshift): Don't use BP_SYM.
14122 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14123 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14125 (memset): Don't use BP_SYM.
14126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14128 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14130 (__mpn_mul_1): Don't use BP_SYM.
14131 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14133 <bp-sym.h> and <bp-asm.h>.
14134 (memcmp): Don't use BP_SYM.
14135 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14136 <bp-sym.h> and <bp-asm.h>.
14137 (memcpy): Don't use BP_SYM.
14138 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14139 <bp-sym.h> and <bp-asm.h>.
14140 (memset): Don't use BP_SYM.
14141 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14142 <bp-sym.h> and <bp-asm.h>.
14143 (strncmp): Don't use BP_SYM.
14144 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14145 <bp-sym.h> and <bp-asm.h>.
14146 (memcpy): Don't use BP_SYM.
14147 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14148 <bp-sym.h> and <bp-asm.h>.
14149 (memset): Don't use BP_SYM.
14150 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14151 <bp-sym.h> and <bp-asm.h>.
14152 (__memchr): Don't use BP_SYM.
14153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14154 <bp-sym.h> and <bp-asm.h>.
14155 (memcmp): Don't use BP_SYM.
14156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14157 <bp-sym.h> and <bp-asm.h>.
14158 (memcpy): Don't use BP_SYM.
14159 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14160 <bp-sym.h> and <bp-asm.h>.
14161 (__mempcpy): Don't use BP_SYM.
14162 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14163 <bp-sym.h> and <bp-asm.h>.
14164 (__memrchr): Don't use BP_SYM.
14165 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14166 <bp-sym.h> and <bp-asm.h>.
14167 (memset): Don't use BP_SYM.
14168 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14169 <bp-sym.h> and <bp-asm.h>.
14170 (__rawmemchr): Don't use BP_SYM.
14171 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14172 <bp-sym.h> and <bp-asm.h>.
14173 (__STRCMP): Don't use BP_SYM.
14174 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14175 <bp-sym.h> and <bp-asm.h>.
14176 (strchr): Don't use BP_SYM.
14177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14178 <bp-sym.h> and <bp-asm.h>.
14179 (__strchrnul): Don't use BP_SYM.
14180 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14181 <bp-sym.h> and <bp-asm.h>.
14182 (strlen): Don't use BP_SYM.
14183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14184 <bp-sym.h> and <bp-asm.h>.
14185 (strncmp): Don't use BP_SYM.
14186 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14187 <bp-sym.h> and <bp-asm.h>.
14188 (__strnlen): Don't use BP_SYM.
14189 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14191 (__mpn_rshift): Don't use BP_SYM.
14192 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14193 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14194 <bp-sym.h> and <bp-asm.h>.
14195 (__sigsetjmp): Don't use BP_SYM.
14196 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14197 (L(start_addresses)): Don't use BP_SYM.
14198 (_start): Likewise.
14199 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14201 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14202 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14203 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14204 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14206 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14207 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14208 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14209 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14211 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14213 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14214 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14216 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14218 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14219 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14220 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14222 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14224 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14226 (strncmp): Don't use BP_SYM,
14227 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14229 (__mpn_sub_n): Don't use BP_SYM.
14230 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14231 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14233 (__mpn_submul_1): Don't use BP_SYM.
14234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14236 <bp-sym.h> and <bp-asm.h>.
14237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14239 <bp-sym.h> and <bp-asm.h>.
14240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14243 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14246 Use ZK to minimize writes to Z.
14247 (sub_magnitudes): Simplify code a bit.
14248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14249 Use ZK to minimize writes to Z.
14250 (sub_magnitudes): Simplify code a bit.
14252 2013-02-27 Roland McGrath <roland@hack.frob.com>
14254 * csu/gmon-start.c: Add special exception to license text.
14256 2013-02-27 Richard Henderson <rth@redhat.com>
14258 * scripts/config.guess: Update from config.git.
14259 * scripts/config.sub: Likewise.
14261 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14265 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14267 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14269 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14271 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14273 2013-02-26 Roland McGrath <roland@hack.frob.com>
14275 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14276 [$(build-shared = yes].
14278 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14280 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14281 (__mul): Reduce iterations for calculating mantissa.
14283 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14285 (__mpranred): Likewise.
14288 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14289 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14291 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14293 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14294 Define __attribute__.
14296 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14298 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14300 * posix/regex_internal.h (__attribute): Remove.
14301 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14302 (re_string_context_at): Likewise.
14303 (bitset_not): Use __attribute__ and mark function as possibly
14305 (bitset_merge): Likewise.
14306 (bitset_mask): Likewise.
14307 (re_string_char_size_at): Likewise.
14308 (re_string_wchar_at): Likewise.
14309 (re_string_elem_size_at): Likewise.
14311 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14313 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14321 (denorm): Likewise.
14322 (__dbl_mp): Likewise.
14323 (add_magnitudes): Likewise.
14324 (sub_magnitudes): Likewise.
14328 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14331 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14334 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14338 up changes with default code.
14339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14342 2013-02-24 Allan McRae <allan@archlinux.org>
14344 * manual/socket.texi (The Internet Namespace): Order menu items
14345 to match that in the file.
14347 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14348 node listing of the info page menu.
14350 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/i386/bp-asm.h: Remove file.
14354 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14355 (PARMS): Do not use macros from bp-asm.h.
14359 (__mpn_add_n): Do not use BP_SYM
14360 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14362 (PARMS): Do not use macros from bp-asm.h.
14365 (__mpn_addmul_1): Do not use BP_SYM
14366 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14368 (PARMS): Do not use macros from bp-asm.h.
14369 (SIGMSK): Likewise.
14370 (_setjmp): Likewise. Do not use BP_SYM.
14371 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14373 (PARMS): Do not use macros from bp-asm.h.
14374 (SIGMSK): Likewise.
14375 (setjmp): Likewise. Do not use BP_SYM.
14376 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14378 (PARMS): Do not use macros from bp-asm.h.
14379 (__frexp): Do not use BP_SYM.
14381 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14383 (PARMS): Do not use macros from bp-asm.h.
14384 (__frexpf): Do not use BP_SYM.
14385 (frexpf): Likewise.
14386 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14388 (PARMS): Do not use macros from bp-asm.h.
14389 (__frexpl): Do not use BP_SYM.
14390 (frexpl): Likewise.
14391 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14393 (PARMS): Do not use macros from bp-asm.h.
14394 (__remquo): Do not use BP_SYM.
14395 (remquo): Likewise.
14396 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14398 (PARMS): Do not use macros from bp-asm.h.
14399 (__remquof): Do not use BP_SYM.
14400 (remquof): Likewise.
14401 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14403 (PARMS): Do not use macros from bp-asm.h.
14404 (__remquol): Do not use BP_SYM.
14405 (remquol): Likewise.
14406 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14408 (PARMS): Do not use macros from bp-asm.h.
14411 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14412 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14414 (PARMS): Do not use macros from bp-asm.h.
14415 (strlen): Do not use BP_SYM.
14416 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14418 (PARMS): Do not use macros from bp-asm.h.
14422 (__mpn_add_n): Do not use BP_SYM.
14423 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14425 (PARMS): Do not use macros from bp-asm.h.
14428 (__mpn_addmul_1): Do not use BP_SYM.
14429 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14432 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14434 (PARMS): Do not use macros from bp-asm.h.
14437 (__mpn_lshift): Do not use BP_SYM.
14438 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14440 (PARMS): Do not use macros from bp-asm.h.
14444 (memcpy): Likewise. Do not use BP_SYM.
14445 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14446 libc_hidden_def and weak_alias.
14447 (mempcpy): Do not use BP_SYM in weak_alias.
14448 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14450 (PARMS): Do not use macros from bp-asm.h.
14453 [!BZERO_P] (CHR): Likewise.
14454 (memset): Likewise. Do not use BP_SYM.
14455 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14457 (PARMS): Do not use macros from bp-asm.h.
14460 (__mpn_mul_1): Do not use BP_SYM.
14461 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14463 (PARMS): Do not use macros from bp-asm.h.
14466 (__mpn_rshift): Do not use BP_SYM.
14467 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14469 (PARMS): Do not use macros from bp-asm.h.
14472 (strchr): Likewise. Do not use BP_SYM.
14473 (index): Do not use BP_SYM in weak_alias.
14474 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14476 (PARMS): Do not use macros from bp-asm.h.
14479 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14480 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14482 (PARMS): Do not use macros from bp-asm.h.
14483 (strlen): Do not use BP_SYM.
14484 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14486 (PARMS): Do not use macros from bp-asm.h.
14490 (__mpn_sub_n): Do not use BP_SYM.
14491 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14493 (PARMS): Do not use macros from bp-asm.h.
14496 (__mpn_submul_1): Do not use BP_SYM.
14497 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14499 (PARMS): Do not use macros from bp-asm.h.
14503 (__mpn_add_n): Do not use BP_SYM.
14504 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14507 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14509 (PARMS): Do not use macros from bp-asm.h.
14512 (memcmp): Do not use BP_SYM.
14513 (bcmp): Do not use BP_SYM in weak_alias.
14514 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14516 (PARMS): Do not use macros from bp-asm.h.
14520 (memcpy): Likewise. Do not use BP_SYM.
14521 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14523 (PARMS): Do not use macros from bp-asm.h.
14527 (memmove): Likewise. Do not use BP_SYM.
14528 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14530 (PARMS): Do not use macros from bp-asm.h.
14534 (__mempcpy): Likewise. Do not use BP_SYM.
14535 (mempcpy): Do not use BP_SYM in weak_alias.
14536 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14538 (PARMS): Do not use macros from bp-asm.h.
14541 [!BZERO_P] (CHR): Likewise.
14542 (memset): Likewise. Do not use BP_SYM.
14543 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14545 (PARMS): Do not use macros from bp-asm.h.
14547 (strcmp): Do not use BP_SYM.
14548 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14550 (PARMS): Do not use macros from bp-asm.h.
14553 [USE_AS_STRTOK_R] (SAVE): Likewise.
14554 (FUNCTION): Likewise. Do not use BP_SYM.
14555 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14557 (strtok_r): Likewise.
14558 (__GI___strtok_r): Likewise.
14559 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14560 (PARMS): Do not use macros from bp-asm.h.
14563 (__mpn_lshift): Do not use BP_SYM.
14564 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14565 (PARMS): Do not use macros from bp-asm.h.
14568 (__memchr): Do not use BP_SYM.
14569 (memchr): Do not use BP_SYM in weak_alias.
14570 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14571 (PARMS): Do not use macros from bp-asm.h.
14574 (memcmp): Do not use BP_SYM.
14575 (bcmp): Do not use BP_SYM in weak_alias.
14576 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14577 (PARMS): Do not use macros from bp-asm.h.
14580 (__mpn_mul_1): Do not use BP_SYM.
14581 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14583 (PARMS): Do not use macros from bp-asm.h.
14586 (__rawmemchr): Do not use BP_SYM.
14587 (rawmemchr): Do not use BP_SYM in weak_alias.
14588 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14589 (PARMS): Do not use macros from bp-asm.h.
14592 (__mpn_rshift): Do not use BP_SYM.
14593 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14594 (PARMS): Do not use macros from bp-asm.h.
14595 (SIGMSK): Likewise.
14596 (__sigsetjmp): Likewise. Do not use BP_SYM.
14597 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14598 (_start): Do not use BP_SYM.
14599 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14600 (PARMS): Do not use macros from bp-asm.h.
14603 (__stpcpy): Likewise. Do not use BP_SYM.
14604 (stpcpy): Do not use BP_SYM in weak_alias.
14605 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14607 (PARMS): Do not use macros from bp-asm.h.
14611 (__stpncpy): Likewise. Do not use BP_SYM.
14612 (stpncpy): Do not use BP_SYM in weak_alias.
14613 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14614 (PARMS): Do not use macros from bp-asm.h.
14617 (strchr): Likewise. Do not use BP_SYM.
14618 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14620 (PARMS): Do not use macros from bp-asm.h.
14623 (__strchrnul): Likewise. Do not use BP_SYM.
14624 (strchrnul): Do not use BP_SYM in weak_alias.
14625 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14627 (PARMS): Do not use macros from bp-asm.h.
14629 (strcspn): Do not use BP_SYM.
14630 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14632 (PARMS): Do not use macros from bp-asm.h.
14635 (strpbrk): Likewise. Do not use BP_SYM.
14636 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14638 (PARMS): Do not use macros from bp-asm.h.
14641 (strrchr): Likewise. Do not use BP_SYM.
14642 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14643 (PARMS): Do not use macros from bp-asm.h.
14645 (strspn): Do not use BP_SYM.
14646 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14647 (PARMS): Do not use macros from bp-asm.h.
14651 (FUNCTION): Likewise. Do not use BP_SYM.
14652 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14654 (strtok_r): Likewise.
14655 (__GI___strtok_r): Likewise.
14656 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14657 (PARMS): Do not use macros from bp-asm.h.
14661 (__mpn_sub_n): Do not use BP_SYM.
14662 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14664 (PARMS): Do not use macros from bp-asm.h.
14667 (__mpn_submul_1): Do not use BP_SYM.
14668 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14670 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14672 (PARMS): Do not use macros from bp-asm.h.
14677 (__clone): Do not use BP_SYM.
14678 (clone): Do not use BP_SYM in weak_alias.
14679 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14681 (PARMS): Do not use macros from bp-asm.h.
14683 (__mmap64): Do not use BP_SYM.
14684 (mmap64): Do not use BP_SYM in weak_alias.
14685 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14686 <bp-sym.h> and <bp-asm.h>.
14687 (PARMS): Do not use macros from bp-asm.h.
14688 (__posix_fadvise64_l64): Do not use BP_SYM.
14689 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14690 (PARMS): Do not use macros from bp-asm.h.
14692 (semtimedop): Do not use BP_SYM.
14693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14696 2013-02-21 Allan McRae <allan@archlinux.org>
14698 * manual/message.texi (Charset conversion in gettext):
14699 Move @end statement to beginning of line.
14701 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14708 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14709 (denorm): Likewise.
14710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14713 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14715 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14716 tail-call to the resolved function if pltexit isn't needed.
14718 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14721 or Y being zero as being unlikely.
14722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14725 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14727 * manual/nss.texi (System Databases and Name Service Switch):
14728 Remove frobnicate @pxref.
14730 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14732 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14733 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14735 2013-02-20 Petr Machata <pmachata@redhat.com>
14737 * elf/elf.h (R_ARM_TARGET1): New macro.
14738 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14739 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14740 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14741 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14742 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14743 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14744 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14745 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14746 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14747 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14748 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14749 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14750 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14751 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14752 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14753 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14754 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14755 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14756 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14757 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14758 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14759 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14760 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14761 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14762 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14763 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14764 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14765 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14766 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14767 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14768 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14769 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14770 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14771 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14772 (R_ARM_THM_GOT_BREL12): Likewise.
14773 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14774 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14775 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14776 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14777 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14778 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14779 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14780 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14781 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14783 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14785 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14786 __attribute_used__ to __attribute__ ((unused)).
14788 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14790 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14793 comment formatting.
14794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14796 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14799 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14801 (ENTER): Remove both macro definitions.
14803 (CHECK_BOUNDS_LOW): Likewise.
14804 (CHECK_BOUNDS_HIGH): Likewise.
14805 (CHECK_BOUNDS_BOTH): Likewise.
14806 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14807 (RETURN_BOUNDED_POINTER): Likewise.
14808 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14809 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14810 (POP_ERRNO_LOCATION_RETURN): Likewise.
14811 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14813 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14816 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14817 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14818 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14819 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14820 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14821 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14822 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14823 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14824 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14825 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14826 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14827 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14828 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14830 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14831 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14833 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14834 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14835 * sysdeps/i386/i586/memset.S (memset): Likewise.
14836 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14837 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14838 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14840 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14841 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14842 Change uses of L(2) to L(out).
14843 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14844 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14845 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14846 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14847 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14849 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14850 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14852 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14853 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14854 (RETURN): Do not use macro LEAVE.
14855 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14856 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14857 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14858 * sysdeps/i386/i686/memset.S (memset): Likewise.
14859 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14860 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14861 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14862 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14864 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14865 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14866 L(1_2) and L(1_3) into L(1).
14867 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14868 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14869 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14870 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14871 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14872 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14873 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14874 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14875 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14877 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14878 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14879 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14880 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14881 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14882 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14883 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14884 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14885 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14886 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14887 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14888 * sysdeps/i386/strspn.S (strspn): Likewise.
14889 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14891 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14892 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14893 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14894 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14895 L(1_3) into L(1_1).
14896 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14898 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14902 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14904 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14907 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14909 * math/atest-exp.c (exp_mpn): Remove ROUND.
14910 * math/atest-exp2.c (exp_mpn): Likewise.
14911 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14913 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14914 * stdlib/tst-tls-atexit-lib.c: Likewise.
14915 * stdlib/tst-tls-atexit.c: Likewise.
14917 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14919 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14920 and __attribute_alloc_size__.
14922 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14924 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14925 __attribute_alloc_size__.
14926 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14927 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14929 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14931 * include/programs/xmalloc.h: New file.
14932 * catgets/gencat.c: Include it.
14933 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14934 * elf/pldd.c: Likewise.
14935 * iconv/iconv_charmap.c: Likewise.
14936 * iconv/iconvconfig.c: Likewise.
14937 * iconv/strtab.c: Likewise.
14938 * locale/programs/locale.c: Likewise.
14939 * locale/programs/localedef.h: Likewise.
14940 * locale/programs/simple-hash.c: Likewise.
14941 * nscd/nscd.h: Likewise.
14942 * nss/makedb.c: Likewise.
14943 * sysdeps/generic/ldconfig.h: Likewise.
14945 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14947 * Versions.def: Add GLIBC_2.18.
14948 * include/link.h (struct link_map): New member l_tls_dtor_count.
14949 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14950 (__call_tls_dtors): Likewise.
14951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14952 __cxa_thread_atexit_impl.
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14969 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14970 (tests): Add test case tst-tls-atexit.
14971 (modules-names): Add shared library for tst-tls-atexit.
14972 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14973 (GLIBC_PRIVATE): Add __call_tls_dtors.
14974 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14976 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14977 * stdlib/tst-tls-atexit.c: New test case.
14978 * stdlib/tst-tls-atexit-lib.c: New test case.
14980 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14982 * elf/Versions (ld): Add _dl_find_dso_for_object.
14983 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14984 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14985 (dl_open_worker): Use _dl_find_dso_for_object.
14986 * elf/dl-sym.c (do_sym): Likewise.
14987 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14989 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14991 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14992 Syntactic changes only.
14993 (_dl_runtime_profile): Do a tail-call to the resolved function.
14995 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14998 * sysdeps/x86_64/bp-asm.h: Remove file.
14999 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15000 <bp-sym.h> and <bp-asm.h>.
15001 (__clone): Do not use BP_SYM.
15002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15003 <bp-sym.h> and <bp-asm.h>.
15004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15005 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15007 (_setjmp): Do not use BP_SYM.
15008 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15010 (setjmp): Do not use BP_SYM.
15011 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15013 (mempcpy): Do not use BP_SYM in weak_alias.
15014 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15016 (strchr): Do not use BP_SYM.
15017 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15019 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15020 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15021 (_start): Do not use BP_SYM.
15022 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15024 (strcat): Do not use BP_SYM.
15025 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15027 (STRCMP): Do not use BP_SYM.
15028 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15030 (STRCPY): Do not use BP_SYM.
15031 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15033 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15035 (FUNCTION): Do not use BP_SYM.
15036 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15038 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15040 2013-02-17 Andreas Jaeger <aj@suse.de>
15042 * time/Versions: Sort entries.
15043 * string/Versions: Likewise.
15044 * resolv/Versions: Likewise.
15045 * posix/Versions: Likewise.
15046 * iconv/Versions: Likewise.
15047 * elf/Versions: Likewise.
15048 * wcsmbs/Versions: Likewise.
15050 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15052 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15053 loop termination condition.
15055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15056 variable to calculate EZ.
15059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15060 the lower precision input.
15062 2013-02-15 Joseph Myers <joseph@codesourcery.com>
15065 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15066 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15067 (run-via-rtld-prefix): Do not handle %-bp tests.
15068 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15069 (all-object-suffixes): Remove .ob.
15070 (bppfx): Remove variable.
15071 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15072 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15073 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15074 [$(build-bounded) = yes] (libtype.ob): Likewise.
15075 * Makerules (elide-routines.ob): Remove variable.
15076 (do-tests-clean): Do not handle *-bp.out.
15077 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15078 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15079 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15080 (tests): Do not include $(tests-bp.out).
15081 (xtests): Do not include $(xtests-bp.out).
15082 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15083 [$(build-bounded) = yes] ($(addprefix
15084 $(objpfx),$(binaries-bounded))): Remove rule.
15085 ($(objpfx)%-bp.out): Remove rule.
15086 * config.make.in (build-bounded): Remove variable.
15087 * crypt/Makefile [$(build-bounded) = yes]
15088 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15089 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15090 append to variable.
15091 [$(build-bounded) = yes] (install-lib): Likewise.
15092 [$(build-bounded) = yes] (generated): Likewise.
15093 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15095 * intl/Makefile [$(build-bounded) = yes]
15096 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15097 * math/Makefile [$(build-bounded) = yes]
15098 ($(tests:%=$(objpfx)%-bp): Likewise.
15099 * misc/Makefile [$(build-bounded) = yes]
15100 ($(objpfx)tst-tsearch-bp): Likewise.
15101 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15102 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15104 * string/Makefile (o-objects.ob): Remove variable.
15105 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15106 (CFLAGS-.ob): Remove variable.
15107 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15108 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15109 both definitions of variable.
15110 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15111 (ASFLAGS-.ob): Remove variable.
15113 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15116 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15117 Remove __BOUNDED_POINTERS__ from condition.
15118 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15119 * string/bits/string2.h [!__NO_STRING_INLINES &&
15120 !__BOUNDED_POINTERS__]: Likewise.
15121 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15123 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15124 Remove conditional code.
15125 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15126 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15127 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15131 * csu/libc-start.c: Do not include <bp-sym.h>.
15132 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15133 * elf/dl-open.c: Do not include <bp-sym.h>.
15134 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15135 * math/fegetenv.c: Do not include <bp-sym.h>.
15136 (fegetenv): Do not use BP_SYM in versioned symbols.
15137 * nptl/sysdeps/pthread/bits/libc-lockP.h
15138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15141 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15143 (__pthread_mutex_destroy): Likewise.
15144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15145 (__pthread_mutex_lock): Likewise.
15146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15147 (__pthread_mutex_trylock): Likewise.
15148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15149 (__pthread_mutex_unlock): Likewise.
15150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15151 (__pthread_mutexattr_init): Likewise.
15152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15153 (__pthread_mutexattr_destroy): Likewise.
15154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15155 (__pthread_mutexattr_settype): Likewise.
15156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15157 (__pthread_rwlock_init): Likewise.
15158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15159 (__pthread_rwlock_destroy): Likewise.
15160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15161 (__pthread_rwlock_rdlock): Likewise.
15162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15163 (__pthread_rwlock_tryrdlock): Likewise.
15164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15165 (__pthread_rwlock_wrlock): Likewise.
15166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15167 (__pthread_rwlock_trywrlock): Likewise.
15168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15169 (__pthread_rwlock_unlock): Likewise.
15170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15171 (__pthread_key_create): Likewise.
15172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15173 (__pthread_setspecific): Likewise.
15174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15175 (__pthread_getspecific): Likewise.
15176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15179 (_pthread_cleanup_push_defer): Likewise.
15180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15181 (_pthread_cleanup_pop_restore): Likewise.
15182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15183 (pthread_setcancelstate): Likewise.
15184 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15186 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15187 (memchr): Do not use BP_SYM in weak_alias.
15188 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15189 (fegetenv): Do not use BP_SYM in versioned symbols.
15190 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15191 (fesetenv): Do not use BP_SYM in versioned symbols.
15192 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15193 (feupdateenv): Do not use BP_SYM in versioned symbols.
15194 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15196 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15197 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15198 (open64): Do not use BP_SYM in weak_alias.
15199 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15200 (fegetenv): Do not use BP_SYM in versioned symbols.
15201 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15202 (fesetenv): Do not use BP_SYM in versioned symbols.
15203 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15204 (feupdateenv): Do not use BP_SYM in versioned symbols.
15205 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15206 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15207 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15208 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15209 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15210 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15211 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15213 (__libc_start_main): Do not use BP_SYM.
15215 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15218 redundant return line.
15220 (denorm): Likewise.
15221 (dbl_mp): Likewise.
15222 (sub_magnitudes): Likewise.
15228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15230 (denorm): Likewise.
15231 (dbl_mp): Likewise.
15232 (sub_magnitudes): Likewise.
15239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15245 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15246 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15248 of __mul for squares.
15249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15253 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15256 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15259 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15261 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15262 prototype or function definition. Rename ubp_* variables and
15263 parameters. Remove argv definitions conditional on
15264 [__BOUNDED_POINTERS__].
15265 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15266 * elf/dl-runtime.c (_dl_fixup): Likewise.
15267 * include/set-hooks.h (RUN_HOOK): Likewise.
15268 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15270 * string/strcpy.c (strcpy): Do not use __unbounded.
15271 * sysdeps/generic/frame.h (struct layout): Likewise.
15272 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15273 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15274 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15275 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15276 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15277 (__backtrace): Likewise.
15278 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15280 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15281 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15282 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15284 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15285 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15287 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15288 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15289 Do not use __unbounded.
15290 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15291 Rename __unboundedrlimits parameter to rlimits in prototype.
15292 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15293 Do not use __unbounded.
15294 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15295 not use __ptrvalue.
15296 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15297 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15298 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15299 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15300 __ptrvalue or __unbounded.
15301 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15302 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15304 (__new_msgctl): Do not use __ptrvalue.
15305 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15307 (__libc_msgrcv): Do not use __ptrvalue.
15308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15309 startup_info): Do not use __unbounded.
15310 (__libc_start_main): Likewise. Rename ubp_* variables and
15311 parameters. Remove argv definitions conditional on
15312 [__BOUNDED_POINTERS__].
15313 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15315 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15317 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15319 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15321 (__new_shmctl): Do not use __ptrvalue.
15322 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15323 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15325 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15327 (__libc_sigaction): Likewise.
15328 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15329 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15331 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15333 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15335 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15337 * string/mempcpy.c: Implement by calling memcpy.
15339 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15346 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15347 values in the mantissa.
15349 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15350 minimize writes to Z.
15351 (sub_magnitudes): Simplify code a bit.
15353 2013-02-12 Roland McGrath <roland@hack.frob.com>
15355 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15356 from the message. The linker prefixes all warnings with that already.
15358 2013-02-12 Andreas Schwab <schwab@suse.de>
15361 * posix/regexec.c (extend_buffers): Add parameter min_len.
15362 (check_matching): Pass minimum needed length.
15363 (clean_state_log_if_needed): Likewise.
15364 (get_subexp): Likewise.
15365 * posix/Makefile (tests): Add bug-regex34.
15366 (bug-regex34-ENV): Define.
15367 * posix/bug-regex34.c: New file.
15370 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15371 elements compare against the byte sequence of it, not its name.
15372 * posix/Makefile (tests): Add bug-regex35.
15373 (bug-regex35-ENV): Define.
15374 * posix/bug-regex35.c: New file.
15376 2013-02-11 Tom de Vries <tom@codesourcery.com>
15378 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15380 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15381 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15382 (CHECK_EOL): Add undef.
15384 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15386 * bits/stdlib-bsearch.h: New file.
15387 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15388 * stdlib/stdlib.h: Likewise.
15390 2013-02-11 Roland McGrath <roland@hack.frob.com>
15392 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15393 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15395 * manual/search.texi (Array Search Function): Add missing const in
15397 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15398 declaration to use rlim_t.
15399 (Basic Scheduling Functions): Remove erroneous const from
15400 sched_getparam prototype. Remove erroneous * from
15401 sched_get_priority_max and sched_get_priority_min prototypes.
15402 (Resource Usage): Fix summary @comment on vtimes to refer to
15403 sys/vtimes.h rather than vtimes.h.
15404 Add missing *s in vtimes prototype.
15405 (Limits on Resources): Fix ulimit prototype to return long int.
15406 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15407 prototypes to use long int rather than double.
15408 (BSD Random): Fix initstate and setstate to use char *, not void *.
15409 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15410 prototype to make second argument 'struct aiocb64 *const[]'.
15411 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15412 (Status of AIO Operations): Remove erroneous const in aio_return and
15413 aio_return64 prototypes.
15414 (Synchronizing I/O): Fix sync prototype to return void.
15415 * manual/startup.texi (Suboptions): Remove an erroneous const in
15416 getsubopt prototype.
15417 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15418 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15419 use size_t rather than int.
15420 (Scanning All Users): Likewise for getpwent_r.
15421 (Setting Groups): Add missing const to setgroups prototype.
15422 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15423 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15424 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15425 'const void *' rather than 'const char *'.
15426 (Host Address Functions): Likewise for inet_ntop.
15427 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15428 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15429 ssize_t for return value.
15430 (Sending Data): Likewise for send, sendto, sendmsg.
15431 (Socket Option Functions): Add a missing const in setsockopt prototype.
15432 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15433 use wchar_t for the argument.
15434 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15435 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15437 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15438 double/float/long double for second argument.
15439 Fix return types of significand, significandf, significandl.
15440 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15441 argument in fchmod prototype.
15442 (File Owner): Use uid_t and gid_t in fchown prototype.
15443 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15444 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15445 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15446 use 'const struct dirent **' as argument types to CMP function pointer
15448 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15449 (File Times): Fix summary magic @comment for struct utimbuf and utime
15450 to refer to utime.h, not time.h.
15451 * manual/string.texi (Argz Functions): Add missing const in
15452 argz_extract and argz_next prototypes.
15453 (Finding Tokens in a String): Likewise for basename.
15454 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15455 (Copying and Concatenation): Fix typo in wmemmove prototype.
15456 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15457 (Signal Stack): Remove erroneous const in sigstack prototype.
15458 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15460 (Simple Calendar Time): Likewise for stime.
15461 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15463 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15464 say sys/sysctl.h instead.
15465 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15466 and vsyslog prototypes.
15468 2013-02-11 Tom de Vries <tom@codesourcery.com>
15470 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15473 2013-02-11 Roland McGrath <roland@hack.frob.com>
15475 * misc/sys/mman.h: Fix typo in mremap comment.
15477 2013-02-08 Roland McGrath <roland@hack.frob.com>
15479 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15480 the '\0' terminator.
15482 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15485 * debug/segfault.c: Don't include <bp-checks.h>.
15486 * sysdeps/generic/bp-checks.h: Remove file.
15487 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15488 (__GETDENTS): Don't use CHECK_N.
15489 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15490 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15491 (__getgroups): Don't use CHECK_N.
15492 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15493 (setgroups): Don't use CHECK_N.
15494 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15495 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15496 (__libc_msgrcv): Don't use CHECK_N.
15497 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15498 (__libc_msgsnd): Don't use CHECK_N.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15501 (__libc_pread): Don't use CHECK_N.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15503 include <bp-checks.h>.
15504 (__libc_pread64): Don't use CHECK_N.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15506 include <bp-checks.h>.
15507 (__libc_pwrite): Don't use CHECK_N.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15509 include <bp-checks.h>.
15510 (__libc_pwrite64): Don't use CHECK_N.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15513 (__libc_pread): Don't use CHECK_N.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15515 include <bp-checks.h>.
15516 (__libc_pread64): Don't use CHECK_N.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15518 include <bp-checks.h>.
15519 (__libc_pwrite): Don't use CHECK_N.
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15521 include <bp-checks.h>.
15522 (__libc_pwrite64): Don't use CHECK_N.
15523 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15524 (do_pread): Don't use CHECK_N.
15525 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15526 (do_pread64): Don't use CHECK_N.
15527 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15528 (do_pwrite): Don't use CHECK_N.
15529 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15530 (do_pwrite64): Don't use CHECK_N.
15531 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15532 (__libc_readv): Don't use CHECK_N.
15533 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15534 (semop): Don't use CHECK_N.
15535 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15537 (semtimedop): Don't use CHECK_N.
15538 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15539 (__libc_pread): Don't use CHECK_N.
15540 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15542 (__libc_pread64): Don't use CHECK_N.
15543 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15545 (__libc_pwrite): Don't use CHECK_N.
15546 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15548 (__libc_pwrite64): Don't use CHECK_N.
15549 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15551 (__libc_msgrcv): Don't use CHECK_N.
15552 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15553 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15554 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15555 (__libc_writev): Don't use CHECK_N.
15557 2013-02-08 Roland McGrath <roland@hack.frob.com>
15559 * string/strcpy.c: Removed unused variable.
15561 * Makeconfig (+sysdep-includes): Define with := rather than =.
15562 Use an existing include/ subdir of each sysdeps dir before it.
15564 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15566 * nscd/connection.c (register_traced_file): Comment function.
15567 [HAVE_INOTIFY] (union __inev): Define.
15568 [HAVE_INOTIFY] (inotify_check_files): New function.
15569 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15570 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15572 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15574 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15576 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15577 loaded if not already and that a failure is permanent.
15579 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15582 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15583 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15585 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15588 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15589 (CHECK_1_NULL_OK): Likewise.
15590 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15591 (__fxstat): Do not use CHECK_1.
15592 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15594 (___fxstat64): Do not use CHECK_1.
15595 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15597 (__fxstatat): Do not use CHECK_1.
15598 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15600 (__fxstatat64): Do not use CHECK_1.
15601 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15603 (__fxstat): Do not use CHECK_1.
15604 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15606 (__fxstatat): Do not use CHECK_1.
15607 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15609 (__getresgid): Do not use CHECK_1.
15610 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15612 (__getresuid): Do not use CHECK_1.
15613 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15615 (__lxstat): Do not use CHECK_1.
15616 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15618 (__old_msgctl): Do not use CHECK_1.
15619 (__new_msgctl): Likewise.
15620 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15622 (__new_setrlimit): Do not use CHECK_1.
15623 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15625 (__old_shmctl): Do not use CHECK_1.
15626 (__new_shmctl): Likewise.
15627 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15629 (__xstat): Do not use CHECK_1.
15630 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15631 (__lxstat): Do not use CHECK_1.
15632 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15634 (___lxstat64): Do not use CHECK_1.
15635 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15636 (__old_msgctl): Do not use CHECK_1.
15637 (__new_msgctl): Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15640 (__gettimeofday): Do not use CHECK_1.
15641 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15642 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15643 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15645 (__gettimeofday): Do not use CHECK_1.
15646 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15647 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15648 (__new_shmctl): Do not use CHECK_1.
15649 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15651 (do_sigtimedwait): Do not use CHECK_1.
15652 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15654 (do_sigwaitinfo): Do not use CHECK_1.
15655 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15657 (msgctl): Do not use CHECK_1.
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15660 (shmctl): Do not use CHECK_1.
15661 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15662 (ustat): Do not use CHECK_1.
15663 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15665 (__fxstat): Do not use CHECK_1.
15666 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15668 (__fxstatat): Do not use CHECK_1.
15669 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15671 (__lxstat): Do not use CHECK_1.
15672 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15674 (__xstat): Do not use CHECK_1.
15675 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15676 (__xstat): Do not use CHECK_1.
15677 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15678 (___xstat64): Do not use CHECK_1.
15681 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15683 (CHECK_BOUNDS_HIGH): Likewise.
15684 * string/strcpy.c: Do not include <bp-checks.h>.
15685 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15687 2013-02-07 Roland McGrath <roland@hack.frob.com>
15689 * nscd/nscd-client.h (__nscd_drop_map_ref):
15690 Add __attribute__ ((unused)).
15691 * nis/nss-nisplus.h (niserr2nss): Likewise.
15693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15694 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15696 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15697 Remove inline keyword.
15698 * include/rounding-mode.h (round_away): Likewise.
15699 * libio/wfileops.c (adjust_wide_data): Likewise.
15700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15701 (__m128i_strloadu_tolower): Likewise.
15702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15703 (__m128i_strloadu_tolower): Likewise.
15704 * time/mktime.c (ydhms_diff): Likewise.
15705 * locale/elem-hash.h (elem_hash): Likewise.
15706 * locale/setlocale.c (setdata): Likewise.
15707 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15708 (re_string_wchar_at): Likewise.
15709 (bitset_not, bitset_merge, bitset_mask): Likewise.
15710 [!(__GNUC__ > 3)] (inline): Remove macro.
15711 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15712 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15713 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15714 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15715 * string/memcmp.c (memcmp_bytes): Likewise.
15716 * locale/programs/locarchive.c (compute_hashval): Likewise.
15717 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15718 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15719 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15720 * nss/getent.c (print_rpc, print_protocols): Likewise.
15721 (print_passwd, print_group, print_aliases): Likewise.
15722 * nis/nss-nisplus.h (niserr2nss): Likewise.
15723 * nscd/connections.c (restart_p): Likewise.
15724 Change return type to bool.
15726 2013-02-05 Roland McGrath <roland@hack.frob.com>
15728 * Makeconfig (all-Depend-files): Add existing
15729 $(sorted-subdirs:=/Depend) files.
15730 (all-subdirs): Remove nss.
15731 * sysdeps/unix/inet/Subdirs: Add it here instead.
15732 * hesiod/Depend: New file.
15734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15735 instead of calling alloca.
15737 * io/lseek.c (__lseek): Rename to __libc_lseek.
15738 Define __lseek as an alias.
15740 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15742 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15744 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15745 else clause and remove check for non-standard endianness.
15747 2013-02-04 David S. Miller <davem@davemloft.net>
15749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15751 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15754 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15755 (__ubp_memchr): Remove prototype.
15756 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15757 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15758 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15759 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15760 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15762 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15763 (__ubp_memchr): Likewise.
15764 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15765 (__ubp_memchr): Likewise.
15766 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15767 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15768 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15771 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15772 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15773 (__getcwd): Do not use CHECK_STRING.
15774 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15776 (__real_chown): Do not use CHECK_STRING.
15777 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15779 (fchownat): Do not use CHECK_STRING.
15780 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15782 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15784 (__lchown): Do not use CHECK_STRING.
15785 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15786 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15787 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15788 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15790 include <bp-checks.h>.
15791 (truncate64): Do not use CHECK_STRING.
15792 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15794 (__real_chown): Do not use CHECK_STRING.
15795 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15797 (__lchown): Do not use CHECK_STRING.
15798 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15800 (__chown): Do not use CHECK_STRING.
15801 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15803 (truncate64): Do not use CHECK_STRING.
15804 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15806 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15807 (__xmknod): Do not use CHECK_STRING.
15808 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15810 (__xmknodat): Do not use CHECK_STRING.
15811 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15812 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15814 2013-02-04 Andreas Schwab <schwab@suse.de>
15817 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15818 * include/netdb.h: Likewise for h_errno.
15819 * elf/tst-stackguard1.c: Include <tls.h>.
15821 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15823 * elf/link.h (struct link_map): Extend the l_addr comment.
15824 * include/link.h (struct link_map): Likewise.
15826 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15829 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15830 (BOUNDED_1): Remove macro.
15831 * debug/backtrace.c: Don't include <bp-checks.h>.
15832 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15833 (__backtrace): Likewise.
15834 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15836 (__backtrace): Don't use BOUNDED_1.
15837 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15839 (__backtrace): Don't use BOUNDED_1.
15840 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15841 (__backtrace): Don't use BOUNDED_1.
15842 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15843 (shmat): Don't use BOUNDED_N.
15845 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15848 * sysdeps/generic/bp-start.h: Remove file.
15849 * csu/libc-start.c: Don't include <bp-start.h>.
15850 (LIBC_START_MAIN): Set up __environ directly instead of using
15851 INIT_ARGV_and_ENVIRON.
15852 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15856 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15858 (CHECK_FCNTL): Likewise.
15859 (CHECK_N_PAGES): Likewise.
15862 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15864 (CHECK_SIGSET_NULL_OK): Likewise.
15865 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15867 (sigpending): Don't use CHECK_SIGSET.
15868 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15871 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15873 (do_sigsuspend): Don't use CHECK_SIGSET.
15874 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15876 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15877 (do_sigwait): Don't use CHECK_SIGSET.
15878 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15881 include <bp-checks.h>.
15882 (sigpending): Don't use CHECK_SIGSET.
15883 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15884 include <bp-checks.h>.
15885 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15886 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15888 (sigpending): Don't use CHECK_SIGSET.
15889 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15891 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15894 * sysdeps/generic/bp-semctl.h: Remove file.
15895 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15896 <bp-checks.h> and <bp-semctl.h>.
15897 (__old_semctl): Don't use CHECK_SEMCTL.
15898 (__new_semctl): Likewise.
15899 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15901 (__old_semctl): Don't use CHECK_SEMCTL.
15902 (__new_semctl): Likewise.
15903 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15904 <bp-checks.h> and <bp-semctl.h>.
15905 (__old_semctl): Don't use CHECK_SEMCTL.
15906 (__new_semctl): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15908 <bp-checks.h> and <bp-semctl.h>.
15909 (semctl): Don't use CHECK_SEMCTL.
15912 * Makerules (elide-bp-thunks): Remove variable.
15913 (elide-routines.oS): Don't use $(elide-bp-thunks).
15914 (elide-routines.os): Likewise.
15915 (elide-routines.o): Likewise.
15916 (elide-routines.op): Likewise.
15917 (elide-routines.og): Likewise.
15918 (objects): Don't use $(bp-thunks).
15919 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15921 (common-generated): Do not add s-proto-bp.d.
15922 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15925 Do not generate makefile rules for bounded-pointer thunks.
15926 * sysdeps/generic/bp-thunks.h: Remove file.
15927 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15928 * sysdeps/unix/s-proto-bp.S: Likewise.
15931 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15932 parts of result separately when argument is not close to line from
15933 -i to i and one part of argument is small.
15934 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15935 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15936 * math/libm-test.inc (cacos_test): Add more tests.
15937 (casin_test): Likewise.
15938 (casinh_test): Likewise.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15942 2013-01-31 David S. Miller <davem@davemloft.net>
15944 * po/de.po: Update from translation team.
15946 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15948 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15950 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15952 * configure.in (_AC_PROG_CC_C89): New definition.
15953 * configure: Regenerate.
15955 * configure.in (AC_PROG_CPP): New definition.
15956 * configure: Regenerate.
15958 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15960 * debug/tst-backtrace.h: New file.
15961 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15962 (ret): Remove variable.
15964 (FAIL): Remove macro.
15965 (NO_INLINE): Likewise.
15966 (fn1): Use match function instead of strstr.
15967 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15968 (ret): Remove variable.
15970 (FAIL): Remove macro.
15971 (NO_INLINE): Likewise.
15972 (fn): Use match function instead of strstr.
15973 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15974 (ret): Remove variable.
15976 (FAIL): Remove macro.
15977 (NO_INLINE): Likewise.
15978 (handle_signal): Use match function instead of strstr.
15979 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15980 (ret): Remove variable.
15982 (FAIL): Remove macro.
15983 (NO_INLINE): Likewise.
15984 (handle_signal): Use match function instead of strstr.
15986 2013-01-23 Roland McGrath <roland@hack.frob.com>
15988 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15990 2013-01-23 David S. Miller <davem@davemloft.net>
15992 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15993 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15994 argument of CAS if possible.
15995 * sysdeps/sparc/sparc64/bits/atomic.h
15996 (__arch_compare_and_exchange_val_32_acq): Likewise.
15997 (__arch_compare_and_exchange_val_64_acq): Likewise.
15999 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16001 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16002 * sysdeps/posix/ulimit.c: ... this.
16003 Include <limits.h>.
16004 * sysdeps/unix/bsd/ulimit.c: Remove file.
16006 2013-01-23 Adam Conrad <adconrad@0c3.net>
16008 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16009 (LDFLAGS-tst-array5): Likewise.
16011 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16014 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16015 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16016 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16017 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16019 2013-01-21 David S. Miller <davem@davemloft.net>
16021 * sysdeps/sparc/backtrace.c: New file.
16022 * sysdeps/sparc/sparc32/backtrace.h: New file.
16023 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16024 * sysdeps/sparc/sparc64/backtrace.h: New file.
16025 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16026 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16029 2013-01-21 Andreas Schwab <schwab@suse.de>
16032 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16035 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16041 2013-01-18 Joseph Myers <joseph@codesourcery.com>
16042 Mark Mitchell <mark@codesourcery.com>
16043 Tom de Vries <tom@codesourcery.com>
16044 Paul Pluzhnikov <ppluzhnikov@google.com>
16046 * debug/tst-backtrace2.c: New file.
16047 * debug/tst-backtrace3.c: Likewise.
16048 * debug/tst-backtrace4.c: Likewise.
16049 * debug/tst-backtrace5.c: Likewise.
16050 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16051 (CFLAGS-tst-backtrace3.c): Likewise.
16052 (CFLAGS-tst-backtrace4.c): Likewise.
16053 (CFLAGS-tst-backtrace5.c): Likewise.
16054 (LDFLAGS-tst-backtrace2): Likewise.
16055 (LDFLAGS-tst-backtrace3): Likewise.
16056 (LDFLAGS-tst-backtrace4): Likewise.
16057 (LDFLAGS-tst-backtrace5): Likewise.
16058 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16059 tst-backtrace4 and tst-backtrace5.
16061 2013-01-18 Anton Blanchard <anton@samba.org>
16062 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16064 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16065 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16067 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16069 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16070 "+r" and remove output regs list as redundant. Add explicit inline
16071 asm to specify register of return val to work around compiler codegen
16072 bug. Remove (int) cast on return value. Add return type parameter to
16073 use in macro so that this macro does not truncate return value for
16075 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16076 pass to INTERNAL_VSYSCALL_NCS.
16077 (INLINE_VSYSCALL): Add 'long int' as return type to
16078 INTERNAL_VSYSCALL_NCS macro invocation.
16079 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16080 INTERNAL_VSYSCALL_NCS macro invocation.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16083 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16086 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16087 Fix application of SIMD FP exception mask.
16089 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16090 mp_no from a power of two.
16091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16092 __mpexp_twomm1. Use __pow_mp.
16094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16097 2013-01-17 David S. Miller <davem@davemloft.net>
16099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16101 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16104 * include/complex.h: Condition contents on [!_COMPLEX_H].
16105 (__kernel_casinhf): New prototype.
16106 (__kernel_casinh): Likewise.
16107 (__kernel_casinhl): Likewise.
16108 * math/Makefile (libm_calls): Add k_casinh.
16109 * math/k_casinh.c: New file.
16110 * math/k_casinhf.c: Likewise.
16111 * math/k_casinhl.c: Likewise.
16112 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16113 finite nonzero arguments.
16114 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16115 finite nonzero arguments.
16116 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16117 finite nonzero arguments.
16118 * math/s_casinh.c: Do not include <float.h>.
16119 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16120 * math/s_casinhf.c: Do not include <float.h>.
16121 (__casinhf): Move code for finite nonzero arguments to
16123 * math/s_casinhl.c: Do not include <float.h>.
16124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16126 (__casinhl): Move code for finite nonzero arguments to
16128 * math/libm-test.inc (cacos_test): Add more tests.
16129 * sysdeps/i386/fpu/libm-test-ulps: Update.
16130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16132 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16135 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16136 [!HAVE_MREMAP]: Remove [defined linux] case.
16137 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16139 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16141 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16143 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16145 * elf/elf.h (R_386_SIZE32): New relocation.
16146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16148 (elf_machine_rela): Likewise.
16149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16150 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16152 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16154 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16155 (FP_FAST_FMA): Do not define.
16156 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16157 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16158 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16159 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16160 !_SOFT_FLOAT]: Likewise.
16161 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16165 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16166 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16168 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16169 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16172 2013-01-16 Andreas Schwab <schwab@suse.de>
16175 * include/stdlib.h (__mktemp): Add declaration.
16176 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16177 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16179 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16181 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16184 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16185 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16188 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16192 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16193 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16197 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16201 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16203 2013-01-15 David S. Miller <davem@davemloft.net>
16205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16206 trunc{,f} to libm-sysdep_routes.
16207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16217 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16219 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16220 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16221 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16222 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16225 nearbyint{,f} to libm-sysdep_routes.
16226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16243 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16244 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16247 libc_feholdexcept and libc_fesetenv.
16249 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16251 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16253 2013-01-14 David S. Miller <davem@davemloft.net>
16255 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16256 (SPARC_ASM_VIS2_IFUNC): Likewise.
16257 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16259 use of 'siam' instruction.
16260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16293 routines to libm-sysdep_routines.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16297 fdim/fdimf to libm-sysdep_routines.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16306 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16307 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16311 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16314 to optimize copies.
16316 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16321 local variable MPTWO.
16322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16325 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16327 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16330 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16332 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16334 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16336 * manual/pattern.texi (glob_t): Document gl_flags.
16337 (glob64_t): Likewise.
16339 2013-01-11 David S. Miller <davem@davemloft.net>
16341 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16342 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16343 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16344 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16345 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16346 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16347 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16348 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16349 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16350 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16351 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16352 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16356 sparc V9 rather than using V8 code.
16357 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16358 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16365 2013-01-11 Roland McGrath <roland@hack.frob.com>
16367 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16368 not in the main loop.
16369 * configure: Regenerated.
16371 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16373 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16374 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16376 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16377 [!__GLIBC_HAVE_LONG_LONG] case.
16378 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16379 condition to just #else.
16380 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16381 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16382 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16383 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16385 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16386 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16387 #elif condition to just #else.
16388 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16389 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16390 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16391 #elif condition to just #else.
16393 2013-01-11 Steve Ellcey <sellcey@mips.com>
16395 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16396 (EF_MIPS_ARCH_64): Fix value.
16397 (EF_MIPS_ARCH_32R2): New.
16398 (EF_MIPS_ARCH_64R2): New.
16400 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16402 * Makeconfig (+link-pie-before-libc): New.
16403 (+link-pie-after-libc): Likewise.
16404 (+link-pie-tests): Likewise.
16405 (+link-pie): Rewritten.
16406 (link-before-libc): Remove $(config-LDFLAGS).
16407 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16408 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16409 (config-LDFLAGS): Renamed to ...
16410 (rtld-LDFLAGS): This.
16411 (rtld-tests-LDFLAGS): New macro.
16412 (link-libc-rpath-link): Likewise.
16413 (link-libc-tests-rpath-link): Likewise.
16414 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16415 (link-libc): Prepand $(link-libc-rpath-link).
16416 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16417 (test-program-prefix): New macro.
16418 (test-via-rtld-prefix): Likewise.
16419 (test-program-cmd): Likewise.
16420 (host-test-program-cmd): Likewise.
16421 * Makefile ($(common-objpfx)testrun.sh): Replace
16422 $(run-program-prefix) with $(test-program-prefix).
16423 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16425 ($(common-objpfx)shlib.lds): Likewise.
16426 (build-module-helper): Likewise.
16427 ($(common-objpfx)format.lds): Likewise.
16428 * Rules (binaries-pie-tests): New.
16429 (binaries-pie-notests): Likewise.
16430 (binaries-pie): Rewritten.
16431 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16432 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16433 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16434 (make-test-out): Replace $(host-built-program-cmd) with
16435 $(host-test-program-cmd).
16436 * config.make.in (build-hardcoded-path-in-tests): New variable.
16437 * configure.in (--enable-hardcoded-path-in-tests): New configure
16439 (hardcoded_path_in_tests): New AC_SUBST.
16440 * configure: Regenerated.
16441 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16442 $(built-program-cmd) with $(test-program-cmd).
16443 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16444 (test_program_cmd): This.
16445 * elf/Makefile ($(objpfx)order.out): Run test with
16446 $(test-program-prefix).
16447 ($(objpfx)order2.out): Likewise.
16448 ($(objpfx)tst-initorder.out): Likewise.
16449 ($(objpfx)tst-initorder2.out): Likewise.
16450 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16451 $(test-program-cmd).
16452 ($(objpfx)tst-array1-static.out): Likewise.
16453 ($(objpfx)tst-array2.out): Likewise.
16454 ($(objpfx)tst-array3.out): Likewise.
16455 ($(objpfx)tst-array4.out): Likewise.
16456 ($(objpfx)tst-array5.out): Likewise.
16457 ($(objpfx)tst-array5-static.out): Likewise.
16458 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16459 $(test-program-cmd).
16460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16461 $(run-program-prefix) with $(test-program-prefix).
16462 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16463 (test_program_prefix): This.
16464 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16465 $(run-program-prefix) with $(test-program-prefix).
16466 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16467 (test_program_prefix): This.
16468 * iconvdata/tst-tables.sh: Likewise.
16469 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16470 $(run-program-prefix) with $(test-program-prefix).
16471 ($(objpfx)tst-translit.out): Likewise.
16472 ($(objpfx)tst-gettext2.out): Likewise.
16473 ($(objpfx)tst-gettext4.out): Likewise.
16474 ($(objpfx)tst-gettext6.out): Likewise.
16475 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16476 (test_program_prefix): This.
16477 * intl/tst-gettext2.sh: Likewise.
16478 * intl/tst-gettext4.sh Likewise.
16479 * intl/tst-gettext6.sh: Likewise.
16480 * intl/tst-translit.sh: Likewise.
16481 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16482 with $(test-program-cmd).
16483 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16484 $(run-program-prefix) with $(test-program-prefix).
16485 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16486 (test_program_prefix): This.
16487 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16488 $(run-program-prefix) with $(test-program-prefix).
16489 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16490 (test_program_prefix): This.
16491 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16492 * posix/Makefile ($(objpfx)globtest.out): Replace
16493 $(run-via-rtld-prefix) and $(test-wrapper) with
16494 $(test-program-prefix) and $(test-via-rtld-prefix).
16495 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16496 $(test-program-prefix).
16497 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16498 $(host-test-program-cmd).
16499 (tst-spawn-ARGS): Likewise.
16500 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16501 $(test-program-prefix).
16502 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16503 (test_via_rtld_prefix): This.
16504 (test_wrapper): Renamed to ...
16505 (test_program_prefix): This.
16506 (run_program_prefix): Replaced by test_program_prefix.
16507 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16508 (test_program_prefix): This.
16509 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16510 with $(host-test-program-cmd).
16511 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16512 $(run-program-prefix) with $(test-program-prefix).
16513 ($(objpfx)tst-printf.out): Likewise.
16514 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16515 $(test-program-cmd).
16516 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16517 (test_program_prefix): This.
16518 * stdio-common/tst-unbputc.sh: Likewise.
16519 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16520 $(run-program-prefix) with $(test-program-prefix).
16521 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16522 (test_program_prefix): This.
16523 * string/Makefile ($(objpfx)tst-svc.out): Replace
16524 $(built-program-cmd) with $(test-program-cmd).
16526 2013-01-11 Andreas Jaeger <aj@suse.de>
16529 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16530 value. Sync with Linux 3.7.
16532 2013-01-10 David S. Miller <davem@davemloft.net>
16534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16538 2013-01-10 Roland McGrath <roland@hack.frob.com>
16540 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16542 * configure: Regenerated.
16544 2013-01-10 David S. Miller <davem@davemloft.net>
16546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16547 sparc V9 rather than using V8 code.
16548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16551 2013-01-10 Roland McGrath <roland@hack.frob.com>
16553 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16554 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16555 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16556 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16557 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16558 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16559 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16560 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16561 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16562 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16563 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16564 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16565 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16566 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16567 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16568 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16569 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16570 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16571 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16572 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16573 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16574 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16575 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16576 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16577 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16578 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16579 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16581 2013-01-10 David S. Miller <davem@davemloft.net>
16583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16585 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16587 * posix/Makefile (tests-static): New variable.
16588 (tests): Add $(tests-static).
16589 (tst-exec-static-ARGS): New variable.
16590 (tst-spawn-static-ARGS): Likewise.
16591 * posix/tst-exec-static.c: New file.
16592 * posix/tst-spawn-static.c: Likewise.
16593 * posix/tst-exec.c: Support run directly.
16594 * posix/tst-spawn.c: Likewise.
16596 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16598 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16600 * math/bits/mathcalls.h (llrint): Likewise.
16601 (llround): Likewise.
16602 * stdlib/stdlib.h (struct drand48_data): Likewise.
16603 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16604 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16607 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16609 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16610 (elf_greg_t): Likewise.
16611 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16612 (__jmp_buf): Likewise.
16613 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16615 (llrint): Likewise, for all definitions.
16616 (llrintl): Likewise.
16618 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16619 Remove [__GNUC__] condition.
16620 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16621 condition to just [__USE_ISOC99].
16622 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16624 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16627 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16628 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16630 (_POSIX_V6_ILP32_OFF32): Likewise.
16631 (_XBS5_ILP32_OFF32): Likewise.
16632 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16633 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16635 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16637 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16640 doubles __mpexp_twomm1. Adjust usage.
16641 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16644 2013-01-10 Andreas Schwab <schwab@suse.de>
16647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16648 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16650 2013-01-09 David S. Miller <davem@davemloft.net>
16653 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16654 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16655 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16656 TCP_FASTOPEN): Define.
16657 (tcp_repair_opt): New structure.
16658 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16660 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16661 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16662 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16663 (tcp_cookie_transactions): New structure.
16665 2013-01-09 Anton Blanchard <anton@samba.org>
16667 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16672 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16674 * include/features.h (__USE_ANSI): Remove.
16676 2013-01-09 Roland McGrath <roland@hack.frob.com>
16678 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16680 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16682 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16684 * sysdeps/s390/fpu/libm-test-ulps: Update.
16686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16692 (denorm): Likewise.
16693 (__mp_dbl): Likewise.
16694 (__dbl_mp): Likewise.
16695 (add_magnitudes): Likewise.
16696 (sub_magnitudes): Likewise.
16702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16706 (denorm): Likewise.
16707 (__mp_dbl): Likewise.
16708 (__dbl_mp): Likewise.
16709 (add_magnitudes): Likewise.
16710 (sub_magnitudes): Likewise.
16716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16720 (denorm): Likewise.
16721 (__mp_dbl): Likewise.
16722 (__dbl_mp): Likewise.
16723 (add_magnitudes): Likewise.
16724 (sub_magnitudes): Likewise.
16731 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16733 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16734 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16735 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16736 2 && __USE_EXTERN_INLINES]: Likewise.
16738 2013-01-08 Andreas Jaeger <aj@suse.de>
16741 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16743 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16746 2013-01-07 Anton Blanchard <anton@samba.org>
16748 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16749 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16750 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16751 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16754 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16772 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16773 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16774 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16775 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16777 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16783 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16792 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16794 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16795 (__MALLOC_PMT): Likewise.
16796 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16797 [__GNUC__], only on [_LIBC].
16798 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16799 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16800 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16801 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16802 forward declaration.
16803 (realloc_hook_ini): Likewise.
16804 (memalign_hook_ini): Likewise.
16805 (__libc_memalign): Do not use __MALLOC_PMT in variable
16807 (__libc_valloc): Likewise.
16808 (__libc_pvalloc): Likewise.
16809 (__libc_calloc): Likewise.
16810 (__posix_memalign): Likewise.
16813 * math/s_casinh.c: Include <float.h>.
16814 (__casinh): Do not do computation with squaring and square root
16815 for large arguments.
16816 * math/s_casinhf.c: Include <float.h>.
16817 (__casinhf): Do not do computation with squaring and square root
16818 for large arguments.
16819 * math/s_casinhl.c: Include <float.h>.
16820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16821 (__casinhl): Do not do computation with squaring and square root
16822 for large arguments.
16823 * math/libm-test.inc (casin_test): Add more tests.
16824 (casinh_test): Likewise.
16825 * sysdeps/i386/fpu/libm-test-ulps: Update.
16826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16828 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16830 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16831 (__x86_64_raw_data_cache_size): Likewise.
16832 (__x86_64_data_cache_size_half): Likewise.
16833 (__x86_64_raw_data_cache_size_half): Likewise.
16834 (__x86_64_shared_cache_size): Likewise.
16835 (__x86_64_raw_shared_cache_size): Likewise.
16836 (__x86_64_shared_cache_size_half): Likewise.
16837 (__x86_64_raw_shared_cache_size_half): Likewise.
16838 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16840 (__x86_data_cache_size): This.
16841 (__x86_64_raw_data_cache_size): Renamed to ...
16842 (__x86_raw_data_cache_size): This.
16843 (__x86_64_data_cache_size_half): Renamed to ...
16844 (__x86_data_cache_size_half): This.
16845 (__x86_64_raw_data_cache_size_half): Renamed to ...
16846 (__x86_raw_data_cache_size_half): This.
16847 (__x86_64_shared_cache_size): Renamed to ...
16848 (__x86_shared_cache_size): This.
16849 (__x86_64_raw_shared_cache_size): Renamed to ...
16850 (__x86_raw_shared_cache_size): This.
16851 (__x86_64_shared_cache_size_half): Renamed to ...
16852 (__x86_shared_cache_size_half): This.
16853 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16854 (__x86_raw_shared_cache_size_half): This.
16855 * sysdeps/x86_64/memcpy.S: Updated.
16856 * sysdeps/x86_64/memset.S: Likewise.
16857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16861 2013-01-04 David S. Miller <davem@davemloft.net>
16863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16865 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16868 1 to avoid redefinition warning.
16869 (__USE_GNU): Don't define.
16870 (init_signaling_nan): Protoize.
16872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16874 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16876 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16878 (__cpymn): Likewise.
16879 (norm): Remove commented code.
16880 (denorm): Likewise.
16881 (__mp_dbl): Likewise.
16883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16884 (__cpymn): Likewise.
16885 (norm): Remove commented code.
16886 (denorm): Likewise.
16887 (__mp_dbl): Likewise.
16890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16891 mp_no value for 1.0 and 2.0.
16892 (norm): Use RADIXI instead of radixi.d.
16893 (denorm): Likewise.
16894 (__mul): Use 0.0 instead of zero.d.
16895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16896 mp_no value for 1.0 and 2.0.
16897 (norm): Use RADIXI instead of radixi.d.
16898 (denorm): Likewise.
16899 (__mul): Use 0.0 instead of zero.d.
16901 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16904 * math/s_casinh.c (__casinh): Reduce finite argument to first
16905 quadrant then set signs of results at the end.
16906 * math/s_casinhf.c (__casinhf): Likewise.
16907 * math/s_casinhl.c (__casinhl): Likewise.
16908 * math/libm-test.inc (casin_test): Add more tests.
16909 (casinh_test): Likewise.
16910 * sysdeps/i386/fpu/libm-test-ulps: Update.
16911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16915 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16917 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16919 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16921 (denorm): Likewise.
16922 (__mp_dbl): Likewise.
16925 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16926 and adjust the header comment.
16928 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16929 variable name from declaration.
16931 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16934 Initialize COMMON_CPUID_INDEX_7 element.
16935 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16936 (CPUID_RTM): Likewise.
16937 (HAS_RTM): Likewise.
16938 (COMMON_CPUID_INDEX_7): New enum.
16940 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16943 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16944 size is zero, record memory as freed.
16946 2013-01-03 Andreas Jaeger <aj@suse.de>
16948 * po/ia.po: Add new Interlingua translation.
16950 2012-01-03 Allan McRae <allan@archlinux.org>
16952 * locale/programs/localedef.c: Fix description of '--posix' flag.
16954 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16956 * NEWS: Update dates in second copyright notice.
16957 * README: Update copyright dates in example.
16958 * manual/libc.texinfo: Update copyright dates.
16959 * scripts/test-installation.pl: Update copyright date in --version
16962 * hurd/ctty-input.c: Fix copyright notice formatting.
16963 * hurd/ctty-output.c: Likewise.
16964 * hurd/dtable.c: Likewise.
16965 * hurd/hurd-raise.c: Likewise.
16966 * hurd/hurdprio.c: Likewise.
16967 * hurd/msgportdemux.c: Likewise.
16968 * misc/sys/file.h: Likewise.
16969 * misc/sys/ioctl.h: Likewise.
16970 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16971 * sysdeps/mach/hurd/chdir.c: Likewise.
16972 * sysdeps/mach/hurd/fchdir.c: Likewise.
16973 * sysdeps/mach/hurd/rename.c: Likewise.
16974 * sysdeps/mach/hurd/rmdir.c: Likewise.
16975 * sysdeps/mach/hurd/seekdir.c: Likewise.
16976 * sysdeps/mach/hurd/setsid.c: Likewise.
16977 * sysdeps/posix/wait3.c: Likewise.
16979 * All files with FSF copyright notices: Update copyright dates
16980 using scripts/update-copyrights.
16981 * intl/plural.c: Regenerated.
16982 * locale/programs/charmap-kw.h: Likewise.
16983 * locale/programs/locfile-kw.h: Likewise.
16985 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16987 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16991 calculation loop and add branch prediction.
16993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16994 check access beyond bounds of m1np.
16996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16998 (__inv): Remove local variable MPTWO to use the global
17000 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17004 MP3HALFS static const.
17006 2013-01-01 David S. Miller <davem@davemloft.net>
17008 * po/ca.po: Update from translation team.
17010 2013-01-01 Joseph Myers <joseph@codesourcery.com>
17012 * scripts/update-copyrights: New file.
17013 * Makeconfig: Reformat copyright notice.
17014 * ctype/ctype.h: Likewise.
17015 * debug/swprintf_chk.c: Likewise.
17016 * elf/dl-cache.c: Likewise.
17017 * elf/dl-debug.c: Likewise.
17018 * elf/dl-object.c: Likewise.
17019 * grp/initgroups.c: Likewise.
17020 * hurd/Makefile: Likewise.
17021 * hurd/hurd/signal.h: Likewise.
17022 * hurd/hurdfault.c: Likewise.
17023 * hurd/hurdioctl.c: Likewise.
17024 * hurd/hurdlookup.c: Likewise.
17025 * hurd/intr-msg.c: Likewise.
17026 * iconv/gconv_open.c: Likewise.
17027 * libio/swprintf.c: Likewise.
17028 * locale/lc-ctype.c: Likewise.
17029 * locale/nl_langinfo.c: Likewise.
17030 * mach/Machrules: Likewise.
17031 * mach/Makefile: Likewise.
17032 * malloc/obstack.h: Likewise.
17033 * manual/Makefile: Likewise.
17034 * manual/tsort.awk: Likewise.
17035 * misc/bits/stab.def: Likewise.
17036 * nis/nis_print_group_entry.c: Likewise.
17037 * nis/nis_table.c: Likewise.
17038 * nis/nss_compat/compat-pwd.c: Likewise.
17039 * nis/nss_compat/compat-spwd.c: Likewise.
17040 * po/Makefile: Likewise.
17041 * posix/fnmatch.c: Likewise.
17042 * posix/regex.h: Likewise.
17043 * resolv/Makefile: Likewise.
17044 * resolv/nss_dns/dns-network.c: Likewise.
17045 * resolv/res_hconf.c: Likewise.
17046 * scripts/gen-sorted.awk: Likewise.
17047 * soft-fp/soft-fp.h: Likewise.
17048 * stdio-common/printf.h: Likewise.
17049 * stdlib/monetary.h: Likewise.
17050 * stdlib/random.c: Likewise.
17051 * stdlib/random_r.c: Likewise.
17052 * sysdeps/generic/Makefile: Likewise.
17053 * sysdeps/gnu/Makefile: Likewise.
17054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17082 * sysdeps/mach/hurd/errnos.awk: Likewise.
17083 * sysdeps/mach/hurd/fork.c: Likewise.
17084 * sysdeps/mach/hurd/getcwd.c: Likewise.
17085 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17086 * sysdeps/mach/hurd/mmap.c: Likewise.
17087 * sysdeps/mach/hurd/utimes.c: Likewise.
17088 * sysdeps/mach/hurd/xmknod.c: Likewise.
17089 * sysdeps/posix/profil.c: Likewise.
17090 * sysdeps/posix/readdir_r.c: Likewise.
17091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17092 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17094 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17102 * sysdeps/pthread/lio_listio.c: Likewise.
17103 * sysdeps/sparc/dl-procinfo.h: Likewise.
17104 * sysdeps/unix/i386/sysdep.S: Likewise.
17105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17106 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17107 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17108 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17110 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17111 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17112 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17113 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17114 * sysdeps/wordsize-32/divdi3.c: Likewise.
17115 * time/sys/time.h: Likewise.
17116 * wcsmbs/Makefile: Likewise.
17118 2013-01-01 David S. Miller <davem@davemloft.net>
17120 * po/fr.po: Update from translation team.
17122 * catgets/gencat.c: Update copyright year.
17123 * csu/version.c: Likewise.
17124 * debug/catchsegv.sh: Likewise.
17125 * debug/pcprofiledump.c: Likewise.
17126 * debug/xtrace.sh: Likewise.
17127 * elf/ldconfig.c: Likewise.
17128 * elf/ldd.bash.in: Likewise.
17129 * elf/pldd.c: Likewise.
17130 * elf/sotruss.ksh: Likewise.
17131 * elf/sprof.c: Likewise.
17132 * iconv/iconv_prog.c: Likewise.
17133 * iconv/iconvconfig.c: Likewise.
17134 * locale/programs/locale.c: Likewise.
17135 * locale/programs/localedef.c: Likewise.
17136 * login/programs/pt_chown.c: Likewise.
17137 * malloc/memusage.sh: Likewise.
17138 * malloc/memusagestat.c: Likewise.
17139 * malloc/mtrace.pl: Likewise.
17140 * nscd/nscd.c: Likewise.
17141 * nss/getent.c: Likewise.
17142 * nss/makedb.c: Likewise.
17143 * posix/getconf.c: Likewise.
17145 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17147 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17150 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17152 * math/bits/mathcalls.h (modf): Use __nonnull.
17154 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17156 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17157 (split): Use macro CN instead of the bare value.
17158 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17161 instead of the bare value.
17162 (power1): Likewise.
17164 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17170 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17172 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17174 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17177 2012-12-28 Andreas Jaeger <aj@suse.de>
17179 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17180 values are from Linux 3.7.
17182 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17183 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17185 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17187 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17192 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17193 variables with preprocessor constants.
17194 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17195 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17198 2012-12-27 Bruno Haible <bruno@clisp.org>
17201 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17204 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17207 and use variable directly.
17208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17210 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17212 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17217 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17218 include directive. Remove local variable MPONE.
17219 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17220 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17223 2012-12-25 David S. Miller <davem@davemloft.net>
17225 * version.h (RELEASE): Set to "development".
17226 (VERSION): Set to "2.17.90".
17227 * NEWS: Add 2.18 section.
17229 2012-12-21 David S. Miller <davem@davemloft.net>
17231 * po/hr.po: Update from translation team.
17233 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17235 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17237 2012-12-19 Steve Ellcey <sellcey@mips.com>
17239 * NEWS: Mention new memcpy for MIPS.
17241 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17243 * manual/contrib.texi (Contributors): Spelling correction.
17245 2012-12-15 David S. Miller <davem@davemloft.net>
17247 * po/ru.po: Update from translation team.
17249 2012-12-13 David S. Miller <davem@davemloft.net>
17251 * NEWS: Mention IFUNC testsuite enhancements.
17253 * po/pl.po: Update from translation team.
17254 * po/bg.po: Likewise.
17256 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17257 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17259 2012-12-11 David S. Miller <davem@davemloft.net>
17261 * po/sv.po: Update from translation team.
17263 * po/vi.po: Update from translation team.
17265 * po/cs.po: Update from translation team.
17267 * po/de.po: Update from translation team.
17268 * po/eo.po: Likewise.
17269 * po/nl.po: Likewise.
17271 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 * manual/argp.texi (Argp Helper Functions): Move node to follow
17275 Argp Parsing State.
17278 * manual/conf.texi (Limits on File System Capacity): Mention if
17279 terminating null is included in the max size.
17281 2012-12-10 Andreas Jaeger <aj@suse.de>
17283 * po/cs.po: Update from translation team.
17285 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17287 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17288 void pointer and cast to uintptr_t.
17289 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17291 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17292 * sysdeps/s390/s390-64/memset.S: Likewise.
17294 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17297 * menual/message.texi (Message Translation): Fix typos.
17298 (Helper programs for gettext): Likewise.
17300 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17303 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17306 2012-12-07 David S. Miller <davem@davemloft.net>
17308 * po/libc.pot: Update.
17310 2012-12-07 Richard Henderson <rth@redhat.com>
17313 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17314 normal/normal case to before the switch.
17315 (_FP_DIV): Likewise.
17317 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17318 Mike Frysinger <vapier@gentoo.org>
17320 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17321 check for __NR_fadvise64_64.
17323 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17325 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17326 0, not just to plain "0" as a statement.
17327 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17330 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17332 * NEWS: Use sourceware.org in Bugzilla URL.
17334 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17339 * stdio-common/tst-put-error.c (do_test): Add newline to the
17340 padded test to ensure flush.
17342 2012-12-05 Jeff Law <law@redhat.com>
17344 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17346 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17348 * README: Don't refer to ports add-on as distributed separately.
17349 Mention AArch64 in list of systems supported in the ports add-on.
17351 * LICENSES: Add more non-FSF copyright and license notices.
17353 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17358 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17359 10000 as width of padded output.
17361 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17363 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17366 variable LX with __attribute__ ((unused)).
17367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17372 with __attribute__ ((unused)).
17374 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17376 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17378 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17380 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17381 (CFLAGS-nldbl-acos.c): New variable.
17382 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17383 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17384 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17385 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17386 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17387 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17388 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17389 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17390 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17391 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17392 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17393 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17394 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17395 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17396 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17397 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17398 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17399 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17400 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17401 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17402 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17403 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17404 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17405 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17406 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17407 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17408 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17409 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17410 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17411 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17412 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17413 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17414 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17415 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17416 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17417 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17418 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17419 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17420 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17421 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17422 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17423 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17424 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17425 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17426 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17427 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17428 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17429 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17430 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17431 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17432 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17433 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17434 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17435 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17436 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17437 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17438 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17439 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17440 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17441 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17442 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17443 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17444 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17445 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17446 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17447 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17448 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17449 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17450 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17451 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17452 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17453 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17454 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17455 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17456 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17457 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17458 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17459 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17460 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17461 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17462 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17463 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17464 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17465 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17466 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17467 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17468 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17469 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17470 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17471 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17472 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17473 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17474 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17475 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17476 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17477 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17478 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17481 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17485 whole low double instead of just low 47 bits when splitting values
17488 2012-12-03 Allan McRae <allan@archlinux.org>
17490 * manual/stdio.texi (Predefined Printf Handlers): Remove
17491 @hsep and @vsep usage.
17493 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17495 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17496 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17498 2012-12-03 Jeff Law <law@redhat.com>
17500 * time/sys/time.h (settimeofday): Do not mark TV argument
17503 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17505 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17506 when currently writing and seek to current position when not.
17507 * libio/Makefile (tests): Remove bug-fclose1.
17508 * libio/bug-fclose1.c: Delete.
17510 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17512 * manual/arith.texi (feenableexcept): Fix typo.
17513 (fedisableexcept): Likewise.
17515 2012-11-30 Roland McGrath <roland@hack.frob.com>
17517 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17518 second, differently-typed declaration, rather than a cast.
17520 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17522 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17523 * include/rpc/svc.h: ... here.
17525 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17528 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17529 depending n and resplen2 to catch cases where answer
17532 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17534 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17535 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17537 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17541 2012-11-29 Roland McGrath <roland@hack.frob.com>
17543 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17545 2012-11-28 Jeff Law <law@redhat.com>
17548 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17549 dataset_temporary. Track alloca usage into alloca_used.
17550 If dataset is large allocate and release it via malloc/free.
17552 2012-06-04 Florian Weimer <fweimer@redhat.com>
17555 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17557 2012-11-28 David S. Miller <davem@davemloft.net>
17559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17561 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17564 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17565 of pi/2 rounded to nearest to 64 bits.
17566 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17567 nearest to 64 bits.
17568 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17571 2012-11-28 Jeff Law <law@redhat.com>
17572 Martin Osvald <mosvald@redhat.com>
17575 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17576 * sunrpc/svc.c: Include time.h.
17577 (__svc_accept_failed): New function.
17578 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17579 any reason other than EINTR, call __svc_accept_failed.
17580 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17581 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17583 2012-11-28 Andreas Schwab <schwab@suse.de>
17585 * scripts/abilist.awk: Also handle indirect functions in .opd
17588 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17591 * sysdeps/x86/fpu/powl_helper.c: New file.
17592 * sysdeps/x86/fpu/Makefile: Likewise.
17593 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17595 (__ieee754_powl): Use __powl_helper for finite arguments except
17596 integer exponents below 8.
17597 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17599 (__ieee754_powl): Use __powl_helper for finite arguments except
17600 integer exponents below 8.
17601 * math/libm-test.inc (pow_test): Add more tests and enable some
17602 previously disabled tests.
17603 * sysdeps/i386/fpu/libm-test-ulps: Update.
17604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17606 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17607 Carlos O'Donell <carlos_odonell@mentor.com>
17609 * nss/makedb.c (is_prime): Assert that input is odd and greater
17610 than 4. Note that fact in a comment too.
17611 (next_prime): Add 4 to input.
17613 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 * libio/Makefile (tests): Add test case tst-fwrite-error.
17617 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17618 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17619 * libio/tst-fwrite-error.c: New test case.
17621 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17623 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17624 before casting to void *.
17625 * include/libc-internal.h (__pointer_type): New macro.
17626 (__integer_if_pointer_type_sub): Likewise.
17627 (__integer_if_pointer_type): Likewise.
17628 (cast_to_integer): Likewise.
17629 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17630 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17631 before casting to atomic64_t.
17632 (atomic_exchange_acq): Likewise.
17633 (__arch_exchange_and_add_body): Likewise.
17634 (__arch_add_body): Likewise.
17635 (atomic_add_negative): Likewise.
17636 (atomic_add_zero): Likewise.
17638 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17640 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17641 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17642 (add_fdes): Likewise.
17643 (linear_search_fdes): Likewise.
17644 (binary_search_unencoded_fdes): Likewise.
17646 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17648 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17650 2012-11-24 Adam Conrad <adconrad@0c3.net>
17652 * configure.in: Autodetect C++ header directories.
17653 * configure: Regenerated.
17655 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17657 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17659 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17663 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17665 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17666 LDBL_MANT_DIG == 106]: Disable some tests.
17667 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17669 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17674 input for small inputs. Return +/- pi/2 for large inputs.
17675 * math/libm-test.inc (atan_test): Add more tests.
17677 * sysdeps/generic/unwind-dw2-fde-glibc.c
17678 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17679 __attribute__ ((unused)).
17682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17683 x * y if x and y are nonzero and z is zero.
17686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17687 nonzero exponents with absolute value below 0x1p-117 to +/-
17691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17692 up arguments below 2**-450, not just those below 2**-500.
17693 * math/libm-test.inc (hypot_test): Add another test.
17696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17697 Return a+b for ratio over 2**120, not 2**60.
17698 * math/libm-test.inc (hypot_test): Add another test.
17700 * math/libm-test.inc (clog_test): Use
17701 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17702 (clog10_test): Likewise.
17705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17707 2012-11-22 Andreas Schwab <schwab@suse.de>
17709 * sysdeps/i386/fpu/libm-test-ulps: Update.
17711 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17713 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17714 printf output with newline.
17716 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17719 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17720 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17721 -z nodlopen, -z initfirst and -z execstack support.
17722 * configure: Regenerated.
17724 * elf/elf.h (DF_1_NODIRECT): New macro.
17725 (DF_1_IGNMULDEF): Likewise.
17726 (DF_1_NOKSYMS): Likewise.
17727 (DF_1_NOHDR): Likewise.
17728 (DF_1_EDITED): Likewise.
17729 (DF_1_NORELOC): Likewise.
17730 (DF_1_SYMINTPOSE): Likewise.
17731 (DF_1_GLOBAUDIT): Likewise.
17732 (DF_1_SINGLETON): Likewise.
17733 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17734 DT_1_SUPPORTED_MASK bits.
17735 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17737 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17739 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17741 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17743 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17746 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17747 (sendmmsg): Move declarations...
17748 * socket/sys/socket.h: ... here.
17749 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17750 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17752 * socket/recvmmsg.c: ... this new file.
17753 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17754 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17755 definition of __sendmmsg hidden.
17756 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17757 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17758 Move ENOSYS stub into and include it from...
17759 * socket/sendmmsg.c: ... this new file.
17760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17761 (sysdep_routines): Move recvmmsg and sendmmsg...
17762 * socket/Makefile (routines): ... here.
17763 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17764 (GLIBC_PRIVATE): Add __sendmmsg.
17765 * include/sys/socket.h (__sendmmsg): Add declarations.
17766 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17769 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17772 variable I1 with __attribute__ ((unused)).
17773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17775 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17777 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17778 DUMMY variables with __attribute__ ((unused)).
17780 * bits/byteswap.h: Include <bits/types.h>.
17781 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17783 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17785 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17786 string_t. Do not manually set errno.
17787 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17788 length with __strnlen. Make sure to both set errno and return it on
17791 2012-11-19 David S. Miller <davem@davemloft.net>
17793 With help from Joseph Myers.
17794 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17795 very large arguments properly.
17796 * math/libm-test.inc (atan_test): New tests.
17797 (atan2_test): New tests.
17798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17801 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17804 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17807 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17808 [POSIX] (EADDRNOTAVAIL): Likewise.
17809 [POSIX] (EAFNOSUPPORT): Likewise.
17810 [POSIX] (EALREADY): Likewise.
17811 [POSIX] (ECONNABORTED): Likewise.
17812 [POSIX] (ECONNREFUSED): Likewise.
17813 [POSIX] (ECONNRESET): Likewise.
17814 [POSIX] (EDESTADDRREQ): Likewise.
17815 [POSIX] (EDQUOT): Likewise.
17816 [POSIX] (EHOSTUNREACH): Likewise.
17817 [POSIX] (EIDRM): Likewise.
17818 [POSIX] (EISCONN): Likewise.
17819 [POSIX] (ELOOP): Likewise.
17820 [POSIX] (EMULTIHOP): Likewise.
17821 [POSIX] (ENETDOWN): Likewise.
17822 [POSIX] (ENETUNREACH): Likewise.
17823 [POSIX] (ENOBUFS): Likewise.
17824 [POSIX] (ENODATA): Likewise.
17825 [POSIX] (ENOLINK): Likewise.
17826 [POSIX] (ENOMSG): Likewise.
17827 [POSIX] (ENOPROTOOPT): Likewise.
17828 [POSIX] (ENOSR): Likewise.
17829 [POSIX] (ENOSTR): Likewise.
17830 [POSIX] (ENOTCONN): Likewise.
17831 [POSIX] (ENOTSOCK): Likewise.
17832 [POSIX] (EOPNOTSUPP): Likewise.
17833 [POSIX] (EOVERFLOW): Likewise.
17834 [POSIX] (EPROTO): Likewise.
17835 [POSIX] (EPROTONOSUPPORT): Likewise.
17836 [POSIX] (EPROTOTYPE): Likewise.
17837 [POSIX] (ESTALE): Likewise.
17838 [POSIX] (ETIME): Likewise.
17839 [POSIX] (ETXTBSY): Likewise.
17840 [POSIX] (EWOULDBLOCK): Likewise.
17841 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17842 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17843 [POSIX] (SEEK_CUR): Likewise.
17844 [POSIX] (SEEK_END): Likewise.
17845 [POSIX || UNIX98] (mode_t): Do not require.
17846 [POSIX] (off_t): Likewise.
17847 [POSIX] (pid_t): Likewise.
17848 [POSIX] (sys/stat.h): Do not allow header.
17849 [POSIX] (unistd.h): Likewise.
17850 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17851 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17852 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17853 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17855 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17856 sigevent): Specify elements.
17857 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17859 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17860 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17862 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17863 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17864 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17865 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17866 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17867 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17868 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17870 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17871 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17872 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17873 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17874 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17881 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17883 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17884 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17885 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17887 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17888 Specify lower bound on value.
17889 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17890 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17891 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17892 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17893 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17894 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17895 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17896 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17898 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17900 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17901 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17902 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17903 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17904 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17905 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17906 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17907 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17908 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17909 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17910 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17911 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17912 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17913 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17914 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17915 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17917 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17919 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17920 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17921 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17922 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17923 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17926 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17928 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17929 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17930 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17931 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17937 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17938 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17939 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17940 specify as optional.
17941 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17942 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17945 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17946 [XPG3] (NL_LANGMAX): Likewise.
17947 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17948 [POSIX || XPG3] (NL_NMAX): Likewise.
17949 [POSIX || XPG3] (NL_SETMAX): Likewise.
17950 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17951 [XPG3] (NZERO): Likewise.
17952 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17953 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17954 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17955 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17956 (REG_ERANGE): Expect.
17957 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17959 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17960 Use (void) in prototype.
17961 [POSIX] (*_t): Allow.
17962 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17963 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17964 (WRDE_BADVAL): Expect.
17966 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17968 [XPG3 || XPG4] (O_RSYNC): Likewise.
17969 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17971 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17972 [XPG3 || XPG4] (sigqueue): Likewise.
17973 [XPG3 || XPG4] (sigtimedwait): Likewise.
17974 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17975 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17976 [XPG3 || XPG4] (vsnprintf): Likewise.
17977 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17979 [XPG3 || XPG4] (blksize_t): Likewise.
17980 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17982 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17983 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17984 [XPG3 || XPG4] (struct itimerspec): Likewise.
17985 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17986 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17987 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17988 [XPG3 || XPG4] (clockid_t): Likewise.
17989 [XPG3 || XPG4] (timer_t): Likewise.
17990 [XPG3 || XPG4] (clock_getres): Likewise.
17991 [XPG3 || XPG4] (clock_gettime): Likewise.
17992 [XPG3 || XPG4] (clock_settime): Likewise.
17993 [XPG3 || XPG4] (nanosleep): Likewise.
17994 [XPG3 || XPG4] (timer_create): Likewise.
17995 [XPG3 || XPG4] (timer_delete): Likewise.
17996 [XPG3 || XPG4] (timer_gettime): Likewise.
17997 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17998 [XPG3 || XPG4] (timer_settime): Likewise.
17999 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18000 [XPG3 || XPG4] (getlogin_r): Likewise.
18001 [XPG3 || XPG4] (pread): Likewise.
18002 [XPG3 || XPG4] (pthread_atfork): Likewise.
18003 [XPG3 || XPG4] (pwrite): Likewise.
18006 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18009 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18011 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18012 finalizing MALLSTREAM.
18014 * sysdeps/mach/hurd/syncfs.c: New file.
18016 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18020 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18022 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18023 (_nss_dns_gethostbyname4_r): Likewise.
18024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18025 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18027 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18030 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18032 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18034 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18035 * elf/cache.c (print_entry): Print ",AArch64" for
18038 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18039 * elf/cache.c (print_entry): Print ",hard-float" for
18042 2012-11-18 David S. Miller <davem@davemloft.net>
18044 With help from Joseph Myers.
18045 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18047 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18049 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18050 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18053 * math/libm-test.inc (y0_test): New tests.
18054 (y1_test): New tests.
18055 * sysdeps/i386/fpu/libm-test-ulps: Update.
18056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18059 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18061 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18063 * configure: Regenerated.
18065 2012-11-17 David S. Miller <davem@davemloft.net>
18068 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18069 nonzero exponents with absolute value below 0x1p-128 to +/-
18072 2012-11-17 Joseph Myers <joseph@codesourcery.com>
18074 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18076 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18078 * posix/getconf-speclist.c: New file.
18079 * posix/posix-envs.def: Likewise.
18080 * posix/confstr.c (START_ENV_GROUP): New macro.
18081 (END_ENV_GROUP): Likewise.
18082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18083 (KNOWN_PRESENT_ENV_STRING): Likewise.
18084 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18085 (UNKNOWN_ENVIRONMENT): Likewise.
18086 (confstr): Include posix-envs.def instead of handling
18087 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18088 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18089 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18090 (END_ENV_GROUP): Likewise.
18091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18093 (UNKNOWN_ENVIRONMENT): Likewise.
18094 (__sysconf): Include posix-envs.def instead of handling associated
18095 cases directly here.
18096 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18097 preprocessing getconf-speclist.c rather than running getconf or
18098 generating empty file.
18100 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18102 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18104 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18107 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18109 2012-11-16 David S. Miller <davem@davemloft.net>
18111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18112 smaller than LDBL_EPSILON/2.0L, just return xm1.
18114 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18116 * elf/tst-array1.c (init): Set constructor priority to 1000.
18117 (fini): Set destructor priority to 1000.
18118 * elf/tst-array2dep.c: Likewise.
18120 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18123 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18124 (_IO_new_file_xsputn): Also return EOF if none of the input
18125 data was written when overflow failed.
18126 * libio/iopadn.c (_IO_padn): Likewise.
18127 * libio/iowpadn.c (_IO_wpadn): Likewise.
18128 * stdio-common/tst-put-error.c: Add copyright notice.
18129 (do_test): Add case for printing padded string.
18130 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18131 _IO_padn returned error.
18132 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18133 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18136 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18138 * libio/libioP.h: Add comment note that the references to C++
18139 bits are now obsolete.
18141 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18143 * math/libm-test.inc (check_complex): Use asprintf.
18145 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18147 * debug/pcprofiledump.c (print_version): Update copyright year.
18148 * malloc/memusagestat.c (print_version): Likewise.
18150 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18153 * elf/Makefile (tests): Add tst-audit8.
18154 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18155 ($(objpfx)tst-audit8.out): New target.
18156 (tst-audit8-ENV): New variable.
18157 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18158 audit if l_reloc_result is NULL.
18159 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18160 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18161 * elf/tst-audit8.c: New file.
18163 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18165 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18166 * misc/Makefile (CFLAGS-select.c): Define.
18167 * posix/Makefile (CFLAGS-pause.c): Define.
18169 2012-11-13 David S. Miller <davem@davemloft.net>
18171 * crypt/Makefile: Move test targets after toplevel Rules
18172 inclusion. Grab any necessary sysdep routines when linking.
18173 * crypt/md5.c (md5_process_block): Remove define, we will always
18174 name it __md5_process_block.
18175 (md5_finish_ctx): Update md5_process_block call.
18176 (md5_stream): Likewise.
18177 (md5_process_bytes): Likewise.
18178 (md5_process_block): Rename to __md5_process_block and move to ...
18179 * crypt/md5-block.c: ... here.
18180 * crypt/sha256.c (sha256_process_block): Move to ...
18181 * crypt/sha256-block.c: ... here.
18182 * crypt/sha512.c (sha512_process_block): Move to ...
18183 * crypt/sha512-block.c: ... here.
18184 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18186 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18187 * sysdeps/sparc/sparc64/multiarch/Makefile
18188 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18190 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18191 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18193 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18194 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18195 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18196 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18197 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18198 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18199 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18200 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18208 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18210 * timezone/tzselect.ksh: Update from tzcode git revision
18211 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18212 * timezone/zdump.c: Likewise.
18213 * timezone/zic.c: Likewise.
18214 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18215 in TZVERSION setting, not $(PKGVERSION).
18216 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18217 REPORT_BUGS_TO settings.
18220 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18223 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18226 detection to immediately after _FP_ROUND().
18227 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18230 2012-11-11 David S. Miller <davem@davemloft.net>
18232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18234 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18235 __close rather than their public counterparts.
18237 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18239 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18241 [UNIX98] (sem_timedwait): Do not expect.
18242 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18243 [XPG4 || UNIX98] (sockatmark): Do not expect.
18244 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18245 (clock_getcpuclockid): Do not expect.
18246 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18247 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18249 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18250 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18251 [UNIX98] (vwscanf): Likewise.
18252 [UNIX98] (vswscanf): Likewise.
18254 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18256 * timezone/version.h: Remove file.
18257 * timezone/README: Do not refer to version.h.
18258 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18259 $(objpfx)version.h.
18260 ($(objpfx)zdump.o): Likewise.
18261 ($(objpfx)version.h): New target.
18263 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18265 * timezone/README: Don't mention modification to tzselect.ksh.
18266 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18267 work on unmodified tzselect.ksh. Substitute version numbers in
18270 * Makefile (format-me): Remove.
18271 (INSTALL): Adjust indentation. Use commands directly instead of
18272 using $(format-me).
18274 * aclocal.m4 (ACX_PKGVERSION): New macro.
18275 (ACX_BUGURL): Likewise.
18276 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18277 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18278 (REPORT_BUGS_TO): Likewise.
18279 * configure: Regenerated.
18280 * config.h.in (PKGVERSION): New macro.
18281 (REPORT_BUGS_TO): Likewise.
18282 * config.make.in (PKGVERSION): New variable.
18283 (PKGVERSION_TEXI): Likewise.
18284 (REPORT_BUGS_TO): Likewise.
18285 (REPORT_BUGS_TEXI): Likewise.
18286 * Makefile (format-me): Use -I$(common-objpfx)manual.
18287 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18288 ($(common-objpfx)manual/%): New target.
18289 (manual/%): Remove target.
18290 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18291 (print_version): Use PKGVERSION.
18292 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18293 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18294 and REPORT_BUGS_TO.
18295 ($(objpfx)xtrace): Likewise.
18296 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18297 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18298 (print_version): Use PKGVERSION.
18299 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18300 (do_version): Use PKGVERSION.
18301 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18303 (common-ldd-rewrite): Likewise.
18304 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18305 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18306 (print_version): Use PKGVERSION.
18307 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18308 * elf/pldd.c (argp_program_bug_address): Remove variable.
18309 (more_help): New function.
18310 (argp): Use more_help.
18311 (print_version): Use PKGVERSION.
18312 * elf/sln.c (main): Use PKGVERSION.
18313 (usage): Use REPORT_BUGS_TO.
18314 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18315 (top level): Use PKGVERSION.
18316 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18317 (print_version): Use PKGVERSION.
18318 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18319 (print_version): Use PKGVERSION.
18320 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18321 (print_version): Use PKGVERSION.
18322 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18323 (print_version): Use PKGVERSION.
18324 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18325 (print_version): Use PKGVERSION.
18326 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18327 (print_version): Use PKGVERSION.
18328 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18330 ($(objpfx)memusage): Likewise.
18331 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18332 (do_version): Use PKGVERSION.
18333 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18334 (print_version): Use PKGVERSION.
18335 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18336 ($PKGVERSION): New variable.
18337 ($REPORT_BUGS_TO): Likewise.
18338 (usage): Use $REPORT_BUGS_TO.
18339 (top level): Use $PKGVERSION.
18340 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18341 ($(objpfx)pkgvers.texi): New rule.
18342 ($(objpfx)stamp-pkgvers): Likewise.
18343 * manual/install.texi: Include pkgvers.texi.
18344 (--with-pkgversion): Document new configure option.
18345 (--with-bugurl): Likewise.
18346 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18347 than necessarily for this particular distribution. Use
18348 REPORT_BUGS_TO for where to report bugs.
18349 * INSTALL: Regenerated.
18350 * manual/libc.texinfo: Include pkgvers.texi.
18351 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18352 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18353 (print_version): Use PKGVERSION.
18354 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18355 (print_version): Use PKGVERSION.
18356 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18357 (print_version): Use PKGVERSION.
18358 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18359 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18361 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18362 (print_version): Use PKGVERSION.
18363 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18364 (print_version): Use PKGVERSION.
18365 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18368 * timezone/checktab.awk: Update from tzcode 2012i.
18369 * timezone/ialloc.c: Likewise.
18370 * timezone/private.h: Likewise.
18371 * timezone/scheck.c: Likewise.
18372 * timezone/tzfile.h: Likewise.
18373 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18374 (TZVERSION): Hardcode tzcode version number.
18375 * timezone/zdump.c: Update from tzcode 2012i.
18376 * timezone/zic.c: Likewise.
18377 * timezone/version.h: New file.
18378 * timezone/README: Describe version.h. Update upstream location.
18381 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18382 (mktemp): Enable declaration.
18383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18400 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18401 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18402 for copies of such integer values.
18403 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18404 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18406 2012-11-09 Andreas Jaeger <aj@suse.de>
18408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18409 definitions and declarations that are provided by
18410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18412 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18415 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18416 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18419 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18421 * elf/elf.h: Update comment before AArch64 relocations.
18423 2012-11-07 David S. Miller <davem@davemloft.net>
18425 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18427 (__start_context): Declare.
18428 (__makecontext_ret): Delete.
18429 (__makecontext): Hook up __start_context instead of
18431 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18432 (sysdep_routines): Add __start_context when in stdlib.
18434 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18436 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18437 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18438 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18440 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18441 (READELF): New variable. Use it instead of hardcoded "readelf".
18443 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18445 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18446 * sysdeps/x86/Makefile: Here.
18447 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18448 * sysdeps/x86/tst-xmmymm.sh: This.
18450 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18452 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18454 [UNIX98] (pthread_barrier_t): Do not expect.
18455 [UNIX98] (pthread_barrierattr_t): Likewise.
18456 [UNIX98] (pthread_spinlock_t): Likewise.
18457 [UNIX98] (pthread_barrier_destroy): Likewise.
18458 [UNIX98] (pthread_barrier_init): Likewise.
18459 [UNIX98] (pthread_barrier_wait): Likewise.
18460 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18461 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18462 [UNIX98] (pthread_barrierattr_init): Likewise.
18463 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18464 [UNIX98] (pthread_getcpuclockid): Likewise.
18465 [UNIX98] (pthread_mutex_timedlock): Likewise.
18466 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18467 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18468 [UNIX98] (pthread_sigmask): Likewise.
18469 [UNIX98] (pthread_spin_destroy): Likewise.
18470 [UNIX98] (pthread_spin_init): Likewise.
18471 [UNIX98] (pthread_spin_lock): Likewise.
18472 [UNIX98] (pthread_spin_trylock): Likewise.
18473 [UNIX98] (pthread_spin_unlock): Likewise.
18474 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18476 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18477 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18478 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18479 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18480 [XPG3 || XPG4] (pthread_key_t): Likewise.
18481 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18482 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18483 [XPG3 || XPG4] (pthread_once_t): Likewise.
18484 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18485 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18486 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18487 [XPG3 || XPG4] (pthread_t): Likewise.
18489 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18491 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18493 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18494 Change function return type to int.
18496 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18497 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18498 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18499 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18500 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18501 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18502 [!POSIX] (posix_madvise): Likewise.
18503 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18505 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18506 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18507 (mode_t): Likewise.
18508 (posix_mem_offset): Likewise.
18509 (posix_typed_mem_get_info): Likewise.
18510 (posix_typed_mem_open): Likewise.
18512 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18513 Change condition to [XOPEN2K8].
18515 * conform/conformtest.pl: Preprocess allow-header data with -x c
18516 instead of from stdin.
18517 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18518 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18519 [C99-based standards] (cerfc): Likewise.
18520 [C99-based standards] (cexp2): Likewise.
18521 [C99-based standards] (cexpm1): Likewise.
18522 [C99-based standards] (clog10): Likewise.
18523 [C99-based standards] (clog1p): Likewise.
18524 [C99-based standards] (clog2): Likewise.
18525 [C99-based standards] (clgamma): Likewise.
18526 [C99-based standards] (ctgamma): Likewise.
18527 [C99-based standards] (cerff): Likewise.
18528 [C99-based standards] (cerfcf): Likewise.
18529 [C99-based standards] (cexp2f): Likewise.
18530 [C99-based standards] (cexpm1f): Likewise.
18531 [C99-based standards] (clog10f): Likewise.
18532 [C99-based standards] (clog1pf): Likewise.
18533 [C99-based standards] (clog2f): Likewise.
18534 [C99-based standards] (clgammaf): Likewise.
18535 [C99-based standards] (ctgammaf): Likewise.
18536 [C99-based standards] (cerfl): Likewise.
18537 [C99-based standards] (cerfcl): Likewise.
18538 [C99-based standards] (cexp2l): Likewise.
18539 [C99-based standards] (cexpm1l): Likewise.
18540 [C99-based standards] (clog10l): Likewise.
18541 [C99-based standards] (clog1pl): Likewise.
18542 [C99-based standards] (clog2l): Likewise.
18543 [C99-based standards] (clgammal): Likewise.
18544 [C99-based standards] (ctgammal): Likewise.
18545 * conform/data/inttypes.h-data [C99-based standards]: Include
18546 stdint.h-data. Remove all expectations for stdint.h contents.
18547 [C99-based standards] (PRI*): Do not allow.
18548 [C99-based standards] (SCN*): Likewise.
18549 [C99-based standards] (*_t): Likewise.
18550 [C99-based-standards] (PRId8): Expect macro.
18551 [C99-based-standards] (PRIi8): Likewise.
18552 [C99-based-standards] (PRIo8): Likewise.
18553 [C99-based-standards] (PRIu8): Likewise.
18554 [C99-based-standards] (PRIx8): Likewise.
18555 [C99-based-standards] (PRIX8): Likewise.
18556 [C99-based-standards] (SCNd8): Likewise.
18557 [C99-based-standards] (SCNi8): Likewise.
18558 [C99-based-standards] (SCNo8): Likewise.
18559 [C99-based-standards] (SCNu8): Likewise.
18560 [C99-based-standards] (SCNx8): Likewise.
18561 [C99-based-standards] (PRIdLEAST8): Likewise.
18562 [C99-based-standards] (PRIiLEAST8): Likewise.
18563 [C99-based-standards] (PRIoLEAST8): Likewise.
18564 [C99-based-standards] (PRIuLEAST8): Likewise.
18565 [C99-based-standards] (PRIxLEAST8): Likewise.
18566 [C99-based-standards] (PRIXLEAST8): Likewise.
18567 [C99-based-standards] (SCNdLEAST8): Likewise.
18568 [C99-based-standards] (SCNiLEAST8): Likewise.
18569 [C99-based-standards] (SCNoLEAST8): Likewise.
18570 [C99-based-standards] (SCNuLEAST8): Likewise.
18571 [C99-based-standards] (SCNxLEAST8): Likewise.
18572 [C99-based-standards] (PRIdFAST8): Likewise.
18573 [C99-based-standards] (PRIiFAST8): Likewise.
18574 [C99-based-standards] (PRIoFAST8): Likewise.
18575 [C99-based-standards] (PRIuFAST8): Likewise.
18576 [C99-based-standards] (PRIxFAST8): Likewise.
18577 [C99-based-standards] (PRIXFAST8): Likewise.
18578 [C99-based-standards] (SCNdFAST8): Likewise.
18579 [C99-based-standards] (SCNiFAST8): Likewise.
18580 [C99-based-standards] (SCNoFAST8): Likewise.
18581 [C99-based-standards] (SCNuFAST8): Likewise.
18582 [C99-based-standards] (SCNxFAST8): Likewise.
18583 [C99-based-standards] (PRId16): Likewise.
18584 [C99-based-standards] (PRIi16): Likewise.
18585 [C99-based-standards] (PRIo16): Likewise.
18586 [C99-based-standards] (PRIu16): Likewise.
18587 [C99-based-standards] (PRIx16): Likewise.
18588 [C99-based-standards] (PRIX16): Likewise.
18589 [C99-based-standards] (SCNd16): Likewise.
18590 [C99-based-standards] (SCNi16): Likewise.
18591 [C99-based-standards] (SCNo16): Likewise.
18592 [C99-based-standards] (SCNu16): Likewise.
18593 [C99-based-standards] (SCNx16): Likewise.
18594 [C99-based-standards] (PRIdLEAST16): Likewise.
18595 [C99-based-standards] (PRIiLEAST16): Likewise.
18596 [C99-based-standards] (PRIoLEAST16): Likewise.
18597 [C99-based-standards] (PRIuLEAST16): Likewise.
18598 [C99-based-standards] (PRIxLEAST16): Likewise.
18599 [C99-based-standards] (PRIXLEAST16): Likewise.
18600 [C99-based-standards] (SCNdLEAST16): Likewise.
18601 [C99-based-standards] (SCNiLEAST16): Likewise.
18602 [C99-based-standards] (SCNoLEAST16): Likewise.
18603 [C99-based-standards] (SCNuLEAST16): Likewise.
18604 [C99-based-standards] (SCNxLEAST16): Likewise.
18605 [C99-based-standards] (PRIdFAST16): Likewise.
18606 [C99-based-standards] (PRIiFAST16): Likewise.
18607 [C99-based-standards] (PRIoFAST16): Likewise.
18608 [C99-based-standards] (PRIuFAST16): Likewise.
18609 [C99-based-standards] (PRIxFAST16): Likewise.
18610 [C99-based-standards] (PRIXFAST16): Likewise.
18611 [C99-based-standards] (SCNdFAST16): Likewise.
18612 [C99-based-standards] (SCNiFAST16): Likewise.
18613 [C99-based-standards] (SCNoFAST16): Likewise.
18614 [C99-based-standards] (SCNuFAST16): Likewise.
18615 [C99-based-standards] (SCNxFAST16): Likewise.
18616 [C99-based-standards] (PRId32): Likewise.
18617 [C99-based-standards] (PRIi32): Likewise.
18618 [C99-based-standards] (PRIo32): Likewise.
18619 [C99-based-standards] (PRIu32): Likewise.
18620 [C99-based-standards] (PRIx32): Likewise.
18621 [C99-based-standards] (PRIX32): Likewise.
18622 [C99-based-standards] (SCNd32): Likewise.
18623 [C99-based-standards] (SCNi32): Likewise.
18624 [C99-based-standards] (SCNo32): Likewise.
18625 [C99-based-standards] (SCNu32): Likewise.
18626 [C99-based-standards] (SCNx32): Likewise.
18627 [C99-based-standards] (PRIdLEAST32): Likewise.
18628 [C99-based-standards] (PRIiLEAST32): Likewise.
18629 [C99-based-standards] (PRIoLEAST32): Likewise.
18630 [C99-based-standards] (PRIuLEAST32): Likewise.
18631 [C99-based-standards] (PRIxLEAST32): Likewise.
18632 [C99-based-standards] (PRIXLEAST32): Likewise.
18633 [C99-based-standards] (SCNdLEAST32): Likewise.
18634 [C99-based-standards] (SCNiLEAST32): Likewise.
18635 [C99-based-standards] (SCNoLEAST32): Likewise.
18636 [C99-based-standards] (SCNuLEAST32): Likewise.
18637 [C99-based-standards] (SCNxLEAST32): Likewise.
18638 [C99-based-standards] (PRIdFAST32): Likewise.
18639 [C99-based-standards] (PRIiFAST32): Likewise.
18640 [C99-based-standards] (PRIoFAST32): Likewise.
18641 [C99-based-standards] (PRIuFAST32): Likewise.
18642 [C99-based-standards] (PRIxFAST32): Likewise.
18643 [C99-based-standards] (PRIXFAST32): Likewise.
18644 [C99-based-standards] (SCNdFAST32): Likewise.
18645 [C99-based-standards] (SCNiFAST32): Likewise.
18646 [C99-based-standards] (SCNoFAST32): Likewise.
18647 [C99-based-standards] (SCNuFAST32): Likewise.
18648 [C99-based-standards] (SCNxFAST32): Likewise.
18649 [C99-based-standards] (PRId64): Likewise.
18650 [C99-based-standards] (PRIi64): Likewise.
18651 [C99-based-standards] (PRIo64): Likewise.
18652 [C99-based-standards] (PRIu64): Likewise.
18653 [C99-based-standards] (PRIx64): Likewise.
18654 [C99-based-standards] (PRIX64): Likewise.
18655 [C99-based-standards] (SCNd64): Likewise.
18656 [C99-based-standards] (SCNi64): Likewise.
18657 [C99-based-standards] (SCNo64): Likewise.
18658 [C99-based-standards] (SCNu64): Likewise.
18659 [C99-based-standards] (SCNx64): Likewise.
18660 [C99-based-standards] (PRIdLEAST64): Likewise.
18661 [C99-based-standards] (PRIiLEAST64): Likewise.
18662 [C99-based-standards] (PRIoLEAST64): Likewise.
18663 [C99-based-standards] (PRIuLEAST64): Likewise.
18664 [C99-based-standards] (PRIxLEAST64): Likewise.
18665 [C99-based-standards] (PRIXLEAST64): Likewise.
18666 [C99-based-standards] (SCNdLEAST64): Likewise.
18667 [C99-based-standards] (SCNiLEAST64): Likewise.
18668 [C99-based-standards] (SCNoLEAST64): Likewise.
18669 [C99-based-standards] (SCNuLEAST64): Likewise.
18670 [C99-based-standards] (SCNxLEAST64): Likewise.
18671 [C99-based-standards] (PRIdFAST64): Likewise.
18672 [C99-based-standards] (PRIiFAST64): Likewise.
18673 [C99-based-standards] (PRIoFAST64): Likewise.
18674 [C99-based-standards] (PRIuFAST64): Likewise.
18675 [C99-based-standards] (PRIxFAST64): Likewise.
18676 [C99-based-standards] (PRIXFAST64): Likewise.
18677 [C99-based-standards] (SCNdFAST64): Likewise.
18678 [C99-based-standards] (SCNiFAST64): Likewise.
18679 [C99-based-standards] (SCNoFAST64): Likewise.
18680 [C99-based-standards] (SCNuFAST64): Likewise.
18681 [C99-based-standards] (SCNxFAST64): Likewise.
18682 [C99-based-standards] (PRIdMAX): Likewise.
18683 [C99-based-standards] (PRIiMAX): Likewise.
18684 [C99-based-standards] (PRIoMAX): Likewise.
18685 [C99-based-standards] (PRIuMAX): Likewise.
18686 [C99-based-standards] (PRIxMAX): Likewise.
18687 [C99-based-standards] (PRIXMAX): Likewise.
18688 [C99-based-standards] (SCNdMAX): Likewise.
18689 [C99-based-standards] (SCNiMAX): Likewise.
18690 [C99-based-standards] (SCNoMAX): Likewise.
18691 [C99-based-standards] (SCNuMAX): Likewise.
18692 [C99-based-standards] (SCNxMAX): Likewise.
18693 [C99-based-standards] (PRIdPTR): Likewise.
18694 [C99-based-standards] (PRIiPTR): Likewise.
18695 [C99-based-standards] (PRIoPTR): Likewise.
18696 [C99-based-standards] (PRIuPTR): Likewise.
18697 [C99-based-standards] (PRIxPTR): Likewise.
18698 [C99-based-standards] (PRIXPTR): Likewise.
18699 [C99-based-standards] (SCNdPTR): Likewise.
18700 [C99-based-standards] (SCNiPTR): Likewise.
18701 [C99-based-standards] (SCNoPTR): Likewise.
18702 [C99-based-standards] (SCNuPTR): Likewise.
18703 [C99-based-standards] (SCNxPTR): Likewise.
18704 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18706 * conform/data/stdint.h-data: Update comments to clarify
18708 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18710 [C99-based standards] (INT8_MAX): Likewise.
18711 [C99-based standards] (INT16_MIN): Likewise.
18712 [C99-based standards] (INT16_MAX): Likewise.
18713 [C99-based standards] (INT32_MIN): Likewise.
18714 [C99-based standards] (INT32_MAX): Likewise.
18715 [C99-based standards] (INT64_MIN): Likewise.
18716 [C99-based standards] (INT64_MAX): Likewise.
18717 [C99-based standards] (UINT8_MAX): Likewise.
18718 [C99-based standards] (UINT16_MAX): Likewise.
18719 [C99-based standards] (UINT32_MAX): Likewise.
18720 [C99-based standards] (UINT64_MAX): Likewise.
18721 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18722 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18723 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18724 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18725 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18726 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18727 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18728 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18729 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18730 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18731 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18732 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18733 [C99-based standards] (INT_FAST8_MIN): Likewise.
18734 [C99-based standards] (INT_FAST8_MAX): Likewise.
18735 [C99-based standards] (INT_FAST16_MIN): Likewise.
18736 [C99-based standards] (INT_FAST16_MAX): Likewise.
18737 [C99-based standards] (INT_FAST32_MIN): Likewise.
18738 [C99-based standards] (INT_FAST32_MAX): Likewise.
18739 [C99-based standards] (INT_FAST64_MIN): Likewise.
18740 [C99-based standards] (INT_FAST64_MAX): Likewise.
18741 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18742 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18743 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18744 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18745 [C99-based standards] (INTPTR_MIN): Likewise.
18746 [C99-based standards] (INTPTR_MAX): Likewise.
18747 [C99-based standards] (UINTPTR_MAX): Likewise.
18748 [C99-based standards] (INTMAX_MIN): Likewise.
18749 [C99-based standards] (INTMAX_MAX): Likewise.
18750 [C99-based standards] (UINTMAX_MAX): Likewise.
18751 [C99-based standards] (PTRDIFF_MIN): Likewise.
18752 [C99-based standards] (PTRDIFF_MAX): Likewise.
18753 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18754 [C99-based standards] (SIZE_MAX): Likewise.
18755 [C99-based standards] (WCHAR_MAX): Likewise.
18756 [C99-based standards] (WINT_MAX): Likewise.
18757 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18758 constraint on value.
18759 [C99-based standards] (WCHAR_MIN): Likewise.
18760 [C99-based standards] (WINT_MIN): Likewise.
18761 [C99-based standards] (*_t): Allow.
18762 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18763 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18764 Include math.h-data and complex.h-data. Remove all expectations
18765 of math.h and complex.h contents.
18766 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18768 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18769 (struct tm): Expect tag.
18770 [C99-based-standards] (wcstof): Expect function.
18771 [C99-based-standards] (wcstold): Likewise.
18772 [C99-based-standards] (wcstoll): Likewise.
18773 [C99-based-standards] (wcstoull): Likewise.
18774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18775 macro-int-constant. Specify type.
18776 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18777 constraint on value.
18778 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18780 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18782 [ISO C standards]: Do not allow headers.
18783 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18784 wcs[abcdefghijklmnopqrstuvwxyz]*.
18785 [ISO C standards] (*_t): Do not allow.
18786 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18788 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18791 [ISO C standards]: Do not allow headers.
18792 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18793 is[abcdefghijklmnopqrstuvwxyz]*.
18794 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18795 to[abcdefghijklmnopqrstuvwxyz]*.
18796 [ISO C standards] (*_t): Do not allow.
18797 * conform/data/stdalign.h-data: New file.
18798 * conform/data/stdbool.h-data: Likewise.
18799 * conform/data/stdnoreturn.h-data: Likewise.
18801 2012-11-07 Roland McGrath <roland@hack.frob.com>
18804 * manual/filesys.texi (Directory Entries): Typo fix.
18805 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18807 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18809 * elf/elf.h (EM_AARCH64): New macro.
18810 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18811 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18812 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18813 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18814 (R_AARCH64_TLSDESC): Likewise.
18815 (NT_ARM_TLS): Likewise.
18816 (NT_ARM_HW_BREAK): Likewise.
18817 (NT_ARM_HW_WATCH): Likewise.
18819 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18822 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18823 (__ieee754_powl): Saturate nonzero exponents with absolute value
18824 below 0x1p-79 to +/- 0x1p-79.
18825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18826 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18827 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18828 nonzero exponents with absolute value below 0x1p-32 to +/-
18830 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18831 (__ieee754_powl): Saturate nonzero exponents with absolute value
18832 below 0x1p-79 to +/- 0x1p-79.
18833 * math/libm-test.inc (pow_test): Add more tests.
18835 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18837 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18838 _dl_s390_cap_flags with kernel. Increase string length.
18839 (_dl_s390_platforms): Add z196 and zEC12.
18841 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18843 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18844 Change XOPEN21K to XOPEN2K.
18846 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18848 * string/memmove.c: Use memcpy when possible.
18850 2012-11-06 Andreas Jaeger <aj@suse.de>
18852 * po/eo.po: Update from translation team.
18854 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18858 exponent and small x and y exponents, scale x or y up. Increase
18859 by 2 the exponent used in scaling up.
18860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18862 * math/libm-test.inc (fma_test): Add more tests.
18863 (fma_test_towardzero): Likewise.
18864 (fma_test_downward): Likewise.
18865 (fma_test_upward): Likewise.
18867 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18874 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18875 namespace for names of struct fields.
18876 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18878 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18879 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18881 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18884 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18886 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18888 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18895 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18899 definitely overflow as x * y not x * y + z.
18900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18902 * math/libm-test.inc (fma_test): Add more tests.
18903 (fma_test_towardzero): Likewise.
18904 (fma_test_downward): Likewise.
18905 (fma_test_upward): Likewise.
18907 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18911 * include/stub-tag.h: Remove file.
18912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18914 * manual/maint.texi (Porting): Don't reference it.
18915 * Makerules ($(objpfx)stubs): Likewise.
18916 * dirent/closedir.c: Don't include <stub-tag.h>.
18917 * dirent/dirfd.c: Likewise.
18918 * dirent/fdopendir.c: Likewise.
18919 * dirent/getdents.c: Likewise.
18920 * dirent/getdents64.c: Likewise.
18921 * dirent/opendir.c: Likewise.
18922 * dirent/readdir.c: Likewise.
18923 * dirent/readdir64.c: Likewise.
18924 * dirent/readdir64_r.c: Likewise.
18925 * dirent/readdir_r.c: Likewise.
18926 * dirent/rewinddir.c: Likewise.
18927 * dirent/seekdir.c: Likewise.
18928 * dirent/telldir.c: Likewise.
18929 * gmon/profil.c: Likewise.
18930 * grp/setgroups.c: Likewise.
18931 * inet/if_index.c: Likewise.
18932 * io/access.c: Likewise.
18933 * io/chdir.c: Likewise.
18934 * io/chmod.c: Likewise.
18935 * io/chown.c: Likewise.
18936 * io/close.c: Likewise.
18937 * io/dup.c: Likewise.
18938 * io/dup2.c: Likewise.
18939 * io/dup3.c: Likewise.
18940 * io/euidaccess.c: Likewise.
18941 * io/faccessat.c: Likewise.
18942 * io/fchdir.c: Likewise.
18943 * io/fchmod.c: Likewise.
18944 * io/fchmodat.c: Likewise.
18945 * io/fchown.c: Likewise.
18946 * io/fchownat.c: Likewise.
18947 * io/fcntl.c: Likewise.
18948 * io/flock.c: Likewise.
18949 * io/fstatfs.c: Likewise.
18950 * io/fstatfs64.c: Likewise.
18951 * io/fstatvfs.c: Likewise.
18952 * io/fstatvfs64.c: Likewise.
18953 * io/futimens.c: Likewise.
18954 * io/fxstat.c: Likewise.
18955 * io/fxstat64.c: Likewise.
18956 * io/fxstatat.c: Likewise.
18957 * io/fxstatat64.c: Likewise.
18958 * io/getcwd.c: Likewise.
18959 * io/isatty.c: Likewise.
18960 * io/lchmod.c: Likewise.
18961 * io/lchown.c: Likewise.
18962 * io/link.c: Likewise.
18963 * io/linkat.c: Likewise.
18964 * io/lseek.c: Likewise.
18965 * io/lseek64.c: Likewise.
18966 * io/lxstat64.c: Likewise.
18967 * io/mkdir.c: Likewise.
18968 * io/mkdirat.c: Likewise.
18969 * io/mkfifo.c: Likewise.
18970 * io/mkfifoat.c: Likewise.
18971 * io/open.c: Likewise.
18972 * io/open64.c: Likewise.
18973 * io/openat.c: Likewise.
18974 * io/openat64.c: Likewise.
18975 * io/pipe.c: Likewise.
18976 * io/pipe2.c: Likewise.
18977 * io/poll.c: Likewise.
18978 * io/posix_fadvise.c: Likewise.
18979 * io/posix_fadvise64.c: Likewise.
18980 * io/posix_fallocate.c: Likewise.
18981 * io/posix_fallocate64.c: Likewise.
18982 * io/read.c: Likewise.
18983 * io/readlink.c: Likewise.
18984 * io/readlinkat.c: Likewise.
18985 * io/rmdir.c: Likewise.
18986 * io/sendfile.c: Likewise.
18987 * io/sendfile64.c: Likewise.
18988 * io/statfs.c: Likewise.
18989 * io/statfs64.c: Likewise.
18990 * io/statvfs.c: Likewise.
18991 * io/statvfs64.c: Likewise.
18992 * io/symlink.c: Likewise.
18993 * io/symlinkat.c: Likewise.
18994 * io/ttyname.c: Likewise.
18995 * io/ttyname_r.c: Likewise.
18996 * io/umask.c: Likewise.
18997 * io/unlink.c: Likewise.
18998 * io/unlinkat.c: Likewise.
18999 * io/utime.c: Likewise.
19000 * io/utimensat.c: Likewise.
19001 * io/write.c: Likewise.
19002 * io/xmknod.c: Likewise.
19003 * io/xmknodat.c: Likewise.
19004 * io/xstat.c: Likewise.
19005 * io/xstat64.c: Likewise.
19006 * login/getpt.c: Likewise.
19007 * login/grantpt.c: Likewise.
19008 * login/unlockpt.c: Likewise.
19009 * math/e_acoshl.c: Likewise.
19010 * math/e_acosl.c: Likewise.
19011 * math/e_asinl.c: Likewise.
19012 * math/e_atan2l.c: Likewise.
19013 * math/e_atanhl.c: Likewise.
19014 * math/e_coshl.c: Likewise.
19015 * math/e_expl.c: Likewise.
19016 * math/e_fmodl.c: Likewise.
19017 * math/e_gammal_r.c: Likewise.
19018 * math/e_hypotl.c: Likewise.
19019 * math/e_j0l.c: Likewise.
19020 * math/e_j1l.c: Likewise.
19021 * math/e_jnl.c: Likewise.
19022 * math/e_lgammal_r.c: Likewise.
19023 * math/e_log10l.c: Likewise.
19024 * math/e_log2l.c: Likewise.
19025 * math/e_logl.c: Likewise.
19026 * math/e_powl.c: Likewise.
19027 * math/e_rem_pio2l.c: Likewise.
19028 * math/e_sinhl.c: Likewise.
19029 * math/e_sqrtl.c: Likewise.
19030 * math/fclrexcpt.c: Likewise.
19031 * math/fedisblxcpt.c: Likewise.
19032 * math/feenablxcpt.c: Likewise.
19033 * math/fegetenv.c: Likewise.
19034 * math/fegetexcept.c: Likewise.
19035 * math/fegetround.c: Likewise.
19036 * math/feholdexcpt.c: Likewise.
19037 * math/fesetenv.c: Likewise.
19038 * math/fesetround.c: Likewise.
19039 * math/feupdateenv.c: Likewise.
19040 * math/fgetexcptflg.c: Likewise.
19041 * math/fraiseexcpt.c: Likewise.
19042 * math/fsetexcptflg.c: Likewise.
19043 * math/ftestexcept.c: Likewise.
19044 * math/k_cosl.c: Likewise.
19045 * math/k_rem_pio2l.c: Likewise.
19046 * math/k_sinl.c: Likewise.
19047 * math/k_tanl.c: Likewise.
19048 * math/s_asinhl.c: Likewise.
19049 * math/s_atanl.c: Likewise.
19050 * math/s_cbrtl.c: Likewise.
19051 * math/s_erfl.c: Likewise.
19052 * math/s_expm1l.c: Likewise.
19053 * math/s_log1pl.c: Likewise.
19054 * math/s_tanhl.c: Likewise.
19055 * misc/acct.c: Likewise.
19056 * misc/brk.c: Likewise.
19057 * misc/chflags.c: Likewise.
19058 * misc/chroot.c: Likewise.
19059 * misc/fchflags.c: Likewise.
19060 * misc/fgetxattr.c: Likewise.
19061 * misc/flistxattr.c: Likewise.
19062 * misc/fremovexattr.c: Likewise.
19063 * misc/fsetxattr.c: Likewise.
19064 * misc/fsync.c: Likewise.
19065 * misc/ftruncate.c: Likewise.
19066 * misc/futimes.c: Likewise.
19067 * misc/futimesat.c: Likewise.
19068 * misc/getdomain.c: Likewise.
19069 * misc/getdtsz.c: Likewise.
19070 * misc/gethostid.c: Likewise.
19071 * misc/gethostname.c: Likewise.
19072 * misc/getloadavg.c: Likewise.
19073 * misc/getpagesize.c: Likewise.
19074 * misc/getsysstats.c: Likewise.
19075 * misc/getxattr.c: Likewise.
19076 * misc/gtty.c: Likewise.
19077 * misc/ioctl.c: Likewise.
19078 * misc/lgetxattr.c: Likewise.
19079 * misc/listxattr.c: Likewise.
19080 * misc/llistxattr.c: Likewise.
19081 * misc/lremovexattr.c: Likewise.
19082 * misc/lsetxattr.c: Likewise.
19083 * misc/lutimes.c: Likewise.
19084 * misc/madvise.c: Likewise.
19085 * misc/mincore.c: Likewise.
19086 * misc/mlock.c: Likewise.
19087 * misc/mlockall.c: Likewise.
19088 * misc/mmap.c: Likewise.
19089 * misc/mprotect.c: Likewise.
19090 * misc/msync.c: Likewise.
19091 * misc/munlock.c: Likewise.
19092 * misc/munlockall.c: Likewise.
19093 * misc/munmap.c: Likewise.
19094 * misc/preadv.c: Likewise.
19095 * misc/preadv64.c: Likewise.
19096 * misc/ptrace.c: Likewise.
19097 * misc/pwritev.c: Likewise.
19098 * misc/pwritev64.c: Likewise.
19099 * misc/readv.c: Likewise.
19100 * misc/reboot.c: Likewise.
19101 * misc/remap_file_pages.c: Likewise.
19102 * misc/removexattr.c: Likewise.
19103 * misc/revoke.c: Likewise.
19104 * misc/select.c: Likewise.
19105 * misc/setdomain.c: Likewise.
19106 * misc/setegid.c: Likewise.
19107 * misc/seteuid.c: Likewise.
19108 * misc/sethostid.c: Likewise.
19109 * misc/sethostname.c: Likewise.
19110 * misc/setregid.c: Likewise.
19111 * misc/setreuid.c: Likewise.
19112 * misc/setxattr.c: Likewise.
19113 * misc/sstk.c: Likewise.
19114 * misc/stty.c: Likewise.
19115 * misc/swapoff.c: Likewise.
19116 * misc/swapon.c: Likewise.
19117 * misc/sync.c: Likewise.
19118 * misc/syncfs.c: Likewise.
19119 * misc/syscall.c: Likewise.
19120 * misc/truncate.c: Likewise.
19121 * misc/ualarm.c: Likewise.
19122 * misc/usleep.c: Likewise.
19123 * misc/ustat.c: Likewise.
19124 * misc/utimes.c: Likewise.
19125 * misc/vhangup.c: Likewise.
19126 * misc/writev.c: Likewise.
19127 * posix/_exit.c: Likewise.
19128 * posix/alarm.c: Likewise.
19129 * posix/execve.c: Likewise.
19130 * posix/fexecve.c: Likewise.
19131 * posix/fork.c: Likewise.
19132 * posix/fpathconf.c: Likewise.
19133 * posix/getaddrinfo.c: Likewise.
19134 * posix/getegid.c: Likewise.
19135 * posix/geteuid.c: Likewise.
19136 * posix/getgid.c: Likewise.
19137 * posix/getgroups.c: Likewise.
19138 * posix/getlogin.c: Likewise.
19139 * posix/getlogin_r.c: Likewise.
19140 * posix/getpgid.c: Likewise.
19141 * posix/getpid.c: Likewise.
19142 * posix/getppid.c: Likewise.
19143 * posix/getresgid.c: Likewise.
19144 * posix/getresuid.c: Likewise.
19145 * posix/getsid.c: Likewise.
19146 * posix/getuid.c: Likewise.
19147 * posix/glob64.c: Likewise.
19148 * posix/nanosleep.c: Likewise.
19149 * posix/pathconf.c: Likewise.
19150 * posix/pause.c: Likewise.
19151 * posix/posix_madvise.c: Likewise.
19152 * posix/pread.c: Likewise.
19153 * posix/pread64.c: Likewise.
19154 * posix/pwrite.c: Likewise.
19155 * posix/pwrite64.c: Likewise.
19156 * posix/sched_getaffinity.c: Likewise.
19157 * posix/sched_getp.c: Likewise.
19158 * posix/sched_gets.c: Likewise.
19159 * posix/sched_primax.c: Likewise.
19160 * posix/sched_primin.c: Likewise.
19161 * posix/sched_rr_gi.c: Likewise.
19162 * posix/sched_setaffinity.c: Likewise.
19163 * posix/sched_setp.c: Likewise.
19164 * posix/sched_sets.c: Likewise.
19165 * posix/sched_yield.c: Likewise.
19166 * posix/setgid.c: Likewise.
19167 * posix/setlogin.c: Likewise.
19168 * posix/setpgid.c: Likewise.
19169 * posix/setresgid.c: Likewise.
19170 * posix/setresuid.c: Likewise.
19171 * posix/setsid.c: Likewise.
19172 * posix/setuid.c: Likewise.
19173 * posix/sleep.c: Likewise.
19174 * posix/spawni.c: Likewise.
19175 * posix/sysconf.c: Likewise.
19176 * posix/times.c: Likewise.
19177 * posix/wait.c: Likewise.
19178 * posix/wait3.c: Likewise.
19179 * posix/wait4.c: Likewise.
19180 * posix/waitpid.c: Likewise.
19181 * resolv/gai_sigqueue.c: Likewise.
19182 * resource/getpriority.c: Likewise.
19183 * resource/getrlimit.c: Likewise.
19184 * resource/getrusage.c: Likewise.
19185 * resource/nice.c: Likewise.
19186 * resource/setpriority.c: Likewise.
19187 * resource/setrlimit.c: Likewise.
19188 * resource/ulimit.c: Likewise.
19189 * rt/aio_cancel.c: Likewise.
19190 * rt/aio_fsync.c: Likewise.
19191 * rt/aio_read.c: Likewise.
19192 * rt/aio_sigqueue.c: Likewise.
19193 * rt/aio_suspend.c: Likewise.
19194 * rt/aio_write.c: Likewise.
19195 * rt/clock_getres.c: Likewise.
19196 * rt/clock_gettime.c: Likewise.
19197 * rt/clock_nanosleep.c: Likewise.
19198 * rt/clock_settime.c: Likewise.
19199 * rt/lio_listio.c: Likewise.
19200 * rt/mq_close.c: Likewise.
19201 * rt/mq_getattr.c: Likewise.
19202 * rt/mq_notify.c: Likewise.
19203 * rt/mq_open.c: Likewise.
19204 * rt/mq_receive.c: Likewise.
19205 * rt/mq_send.c: Likewise.
19206 * rt/mq_setattr.c: Likewise.
19207 * rt/mq_timedreceive.c: Likewise.
19208 * rt/mq_timedsend.c: Likewise.
19209 * rt/mq_unlink.c: Likewise.
19210 * rt/shm_open.c: Likewise.
19211 * rt/shm_unlink.c: Likewise.
19212 * rt/timer_create.c: Likewise.
19213 * rt/timer_delete.c: Likewise.
19214 * rt/timer_getoverr.c: Likewise.
19215 * rt/timer_gettime.c: Likewise.
19216 * rt/timer_settime.c: Likewise.
19217 * setjmp/__longjmp.c: Likewise.
19218 * setjmp/setjmp.c: Likewise.
19219 * signal/kill.c: Likewise.
19220 * signal/killpg.c: Likewise.
19221 * signal/raise.c: Likewise.
19222 * signal/sigaction.c: Likewise.
19223 * signal/sigaltstack.c: Likewise.
19224 * signal/sigblock.c: Likewise.
19225 * signal/sigignore.c: Likewise.
19226 * signal/sigintr.c: Likewise.
19227 * signal/signal.c: Likewise.
19228 * signal/sigpause.c: Likewise.
19229 * signal/sigpending.c: Likewise.
19230 * signal/sigqueue.c: Likewise.
19231 * signal/sigreturn.c: Likewise.
19232 * signal/sigset.c: Likewise.
19233 * signal/sigsetmask.c: Likewise.
19234 * signal/sigstack.c: Likewise.
19235 * signal/sigsuspend.c: Likewise.
19236 * signal/sigtimedwait.c: Likewise.
19237 * signal/sigvec.c: Likewise.
19238 * signal/sigwait.c: Likewise.
19239 * signal/sigwaitinfo.c: Likewise.
19240 * signal/sysv_signal.c: Likewise.
19241 * socket/accept.c: Likewise.
19242 * socket/accept4.c: Likewise.
19243 * socket/bind.c: Likewise.
19244 * socket/connect.c: Likewise.
19245 * socket/getpeername.c: Likewise.
19246 * socket/getsockname.c: Likewise.
19247 * socket/getsockopt.c: Likewise.
19248 * socket/isfdtype.c: Likewise.
19249 * socket/listen.c: Likewise.
19250 * socket/recv.c: Likewise.
19251 * socket/recvfrom.c: Likewise.
19252 * socket/recvmsg.c: Likewise.
19253 * socket/send.c: Likewise.
19254 * socket/sendmsg.c: Likewise.
19255 * socket/sendto.c: Likewise.
19256 * socket/setsockopt.c: Likewise.
19257 * socket/shutdown.c: Likewise.
19258 * socket/sockatmark.c: Likewise.
19259 * socket/socket.c: Likewise.
19260 * socket/socketpair.c: Likewise.
19261 * stdio-common/ctermid.c: Likewise.
19262 * stdio-common/cuserid.c: Likewise.
19263 * stdio-common/remove.c: Likewise.
19264 * stdio-common/rename.c: Likewise.
19265 * stdio-common/renameat.c: Likewise.
19266 * stdio-common/tempname.c: Likewise.
19267 * stdlib/getcontext.c: Likewise.
19268 * stdlib/makecontext.c: Likewise.
19269 * stdlib/setcontext.c: Likewise.
19270 * stdlib/swapcontext.c: Likewise.
19271 * stdlib/system.c: Likewise.
19272 * streams/fattach.c: Likewise.
19273 * streams/fdetach.c: Likewise.
19274 * streams/getmsg.c: Likewise.
19275 * streams/getpmsg.c: Likewise.
19276 * streams/putmsg.c: Likewise.
19277 * streams/putpmsg.c: Likewise.
19278 * sysdeps/unix/bsd/getpt.c: Likewise.
19279 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19280 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19284 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19286 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19287 * sysvipc/msgctl.c: Likewise.
19288 * sysvipc/msgget.c: Likewise.
19289 * sysvipc/msgrcv.c: Likewise.
19290 * sysvipc/msgsnd.c: Likewise.
19291 * sysvipc/semctl.c: Likewise.
19292 * sysvipc/semget.c: Likewise.
19293 * sysvipc/semop.c: Likewise.
19294 * sysvipc/semtimedop.c: Likewise.
19295 * sysvipc/shmat.c: Likewise.
19296 * sysvipc/shmctl.c: Likewise.
19297 * sysvipc/shmdt.c: Likewise.
19298 * sysvipc/shmget.c: Likewise.
19299 * termios/tcdrain.c: Likewise.
19300 * termios/tcflow.c: Likewise.
19301 * termios/tcflush.c: Likewise.
19302 * termios/tcgetattr.c: Likewise.
19303 * termios/tcgetpgrp.c: Likewise.
19304 * termios/tcsendbrk.c: Likewise.
19305 * termios/tcsetattr.c: Likewise.
19306 * termios/tcsetpgrp.c: Likewise.
19307 * time/adjtime.c: Likewise.
19308 * time/clock.c: Likewise.
19309 * time/getitimer.c: Likewise.
19310 * time/gettimeofday.c: Likewise.
19311 * time/setitimer.c: Likewise.
19312 * time/settimeofday.c: Likewise.
19313 * time/stime.c: Likewise.
19314 * time/time.c: Likewise.
19316 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19318 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19321 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19323 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19325 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19329 FE_TONEAREST before applying Dekker multiplication and Knuth
19330 addition. Clear inexact exceptions and check for exact zero
19331 results afterwards.
19332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19335 * math/libm-test.inc (fma_test): Add more tests.
19336 (fma_test_towardzero): Likewise.
19337 (fma_test_downward): Likewise.
19338 (fma_test_upward): Likewise.
19339 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19341 (libc_fesetround): New macro.
19342 (libc_fesetroundf): Likewise.
19343 (libc_fesetroundl): Likewise.
19344 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19346 (libc_fesetround_387): Likewise.
19347 (libc_fesetroundf): New macro.
19348 (libc_fesetround): Likewise.
19349 (libc_fesetroundl): Likewise.
19350 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19352 (libc_fesetroundf): New macro.
19353 (libc_fesetround): Likewise.
19354 (libc_fesetroundl): Likewise.
19355 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19356 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19357 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19359 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19360 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19363 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19365 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19369 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19370 integer constant usable in #if and use that to give value to enum
19372 (FE_DIVBYZERO): Likewise.
19373 (FE_UNDERFLOW): Likewise.
19374 (FE_OVERFLOW): Likewise.
19375 (FE_INVALID): Likewise.
19376 (FE_INVALID_SNAN): Likewise.
19377 (FE_INVALID_ISI): Likewise.
19378 (FE_INVALID_IDI): Likewise.
19379 (FE_INVALID_ZDZ): Likewise.
19380 (FE_INVALID_IMZ): Likewise.
19381 (FE_INVALID_COMPARE): Likewise.
19382 (FE_INVALID_SOFTWARE): Likewise.
19383 (FE_INVALID_SQRT): Likewise.
19384 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19385 (FE_TONEAREST): Likewise.
19386 (FE_TOWARDZERO): Likewise.
19387 (FE_UPWARD): Likewise.
19388 (FE_DOWNWARD): Likewise.
19389 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19390 (FE_DIVBYZERO): Likewise.
19391 (FE_OVERFLOW): Likewise.
19392 (FE_UNDERFLOW): Likewise.
19393 (FE_INEXACT): Likewise.
19394 (FE_TONEAREST): Likewise.
19395 (FE_DOWNWARD): Likewise.
19396 (FE_UPWARD): Likewise.
19397 (FE_TOWARDZERO): Likewise.
19398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19399 (FE_UNDERFLOW): Likewise.
19400 (FE_OVERFLOW): Likewise.
19401 (FE_DIVBYZERO): Likewise.
19402 (FE_INVALID): Likewise.
19403 (FE_TONEAREST): Likewise.
19404 (FE_TOWARDZERO): Likewise.
19405 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19406 (FE_OVERFLOW): Likewise.
19407 (FE_UNDERFLOW): Likewise.
19408 (FE_DIVBYZERO): Likewise.
19409 (FE_INEXACT): Likewise.
19410 (FE_TONEAREST): Likewise.
19411 (FE_TOWARDZERO): Likewise.
19412 (FE_UPWARD): Likewise.
19413 (FE_DOWNWARD): Likewise.
19414 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19415 (FE_DIVBYZERO): Likewise.
19416 (FE_OVERFLOW): Likewise.
19417 (FE_UNDERFLOW): Likewise.
19418 (FE_INEXACT): Likewise.
19419 (FE_TONEAREST): Likewise.
19420 (FE_DOWNWARD): Likewise.
19421 (FE_UPWARD): Likewise.
19422 (FE_TOWARDZERO): Likewise.
19424 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19426 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19428 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19430 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19431 commands. Quote $PWD.
19432 (blacklist_exports): Don't use remove_newlines. Replace "declare
19434 (remove_newlines): Remove.
19436 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19438 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19439 * stdlib/stdlib.h (atof): Moved to ...
19440 * include/bits/stdlib-float.h: Here. New file.
19441 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19442 * stdlib/bits/stdlib-float.h: New file.
19443 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19448 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19450 * conform/conformtest.pl (@headers): Add fenv.h.
19451 * conform/data/fenv.h-data: New file.
19452 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19453 include of <math/fenv.h>.
19455 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19456 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19457 && !UNIX98]. Enables tests for XOPEN2K8.
19458 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19459 POSIX2008]: Likewise.
19461 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19462 (struct rusage): Do not expect type or its members.
19465 * math/math.h (FP_NAN): Define macro to integer constant usable in
19466 #if and use that to give value to enum constant.
19467 (FP_INFINITE): Likewise.
19468 (FP_ZERO): Likewise.
19469 (FP_SUBNORMAL): Likewise.
19470 (FP_NORMAL): Likewise.
19472 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19474 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19475 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19478 2012-11-02 Roland McGrath <roland@hack.frob.com>
19480 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19481 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19482 autoconf-time if not.
19483 * configure.in: Remove AC_PREREQ.
19485 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19487 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19488 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19489 of the internal implementation.
19491 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19493 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19494 except include of <misc/sys/syslog.h>.
19496 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19499 function returns with a NULL context exit with zero.
19501 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19503 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19505 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19507 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19508 (run_program_cmd): This.
19509 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19510 (tst_langinfo): New variable. Use it.
19512 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19514 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19515 floating point opcodes.
19517 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19519 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19522 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19524 * sysdeps/mach/hurd/powerpc: Remove directory.
19525 * sysdeps/mach/powerpc: Likewise.
19527 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19529 * scripts/check-local-headers.sh: Ignore c++ headers.
19531 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19533 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19534 __libc_cleanup_region_start argument.
19536 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19541 x * y using scaling, not as x * y + z.
19542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19544 * math/libm-test.inc (fma_test): Add more tests.
19545 (fma_test_towardzero): Likewise.
19546 (fma_test_downward): Likewise.
19547 (fma_test_upward): Likewise.
19549 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19551 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19553 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19555 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19558 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19560 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19562 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19569 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19572 Fix the order of the list for glibc 2.17.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19576 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19580 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19584 for low part of x being zero before using __atanl (y).
19585 * math/libm-test.inc (atan2_test): Add another test.
19587 * manual/install.texi (Configuring and compiling): Document
19588 general use of test-wrapper and test-wrapper-env.
19589 * INSTALL: Regenerated.
19591 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19592 (__fma): Do not extract and scale down low bits on after-rounding
19593 systems when result rounded to normal precision would have normal
19595 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19596 (__fmal): Do not extract and scale down low bits on after-rounding
19597 systems when result rounded to normal precision would have normal
19599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19600 (__fmal): Do not extract and scale down low bits on after-rounding
19601 systems when result rounded to normal precision would have normal
19603 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19605 (fma_test): Add more tests.
19606 (fma_test_towardzero): Likewise.
19607 (fma_test_downward): Likewise.
19608 (fma_test_upward): Likewise.
19610 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19612 * sysdeps/i386/tininess.h: Renamed to ...
19613 * sysdeps/x86/tininess.h: This.
19614 * sysdeps/x86_64/tininess.h: Removed.
19616 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19618 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19619 input. Use $(build-program-cmd).
19620 ($(objpfx)tst-array1-static.out): Likewise.
19621 ($(objpfx)tst-array2.out): Likewise.
19622 ($(objpfx)tst-array3.out): Likewise.
19623 ($(objpfx)tst-array4.out): Likewise.
19624 ($(objpfx)tst-array5.out): Likewise.
19625 ($(objpfx)tst-array5-static.out): Likewise.
19627 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19629 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19632 * nss/nsswitch.h (nss_interface_function): Provide new
19633 macro for use with NSS functions.
19634 * grp/initgroups.c: Use new macro.
19635 * nss/getXXbyYY.c: Likewise.
19636 * nss/getXXbyYY_r.c: Likewise.
19637 * nss/getXXent.c: Likewise.
19638 * nss/getXXent_r.c: Likewise.
19639 * sysdeps/posix/getaddrinfo.c: Likewise.
19641 2012-10-30 Andreas Jaeger <aj@suse.de>
19643 * po/ru.po: Update Russion translation from translation project.
19645 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19650 result and shift together with sticky bit instead of replicating
19651 round-to-nearest rounding.
19652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19654 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19655 missing underflow exceptions.
19656 (fma_test_towardzero): Add more tests.
19657 (fma_test_downward): Likewise.
19658 (fma_test_upward): Likewise.
19661 * sysdeps/generic/tininess.h: New file.
19662 * sysdeps/i386/tininess.h: Likewise.
19663 * sysdeps/sh/tininess.h: Likewise.
19664 * sysdeps/x86_64/tininess.h: Likewise.
19665 * stdlib/tst-strtod-underflow.c: Likewise.
19666 * stdlib/tst-tininess.c: Likewise.
19667 * stdlib/strtod_l.c: Include <tininess.h>.
19668 (round_and_return): Do not set errno for exact underflow cases.
19669 Force an underflow exception when setting errno for underflow.
19670 Determine underflow based on rounding to normal precision if
19671 TININESS_AFTER_ROUNDING.
19672 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19673 ERANGE for exact underflow cases.
19674 * stdlib/Makefile (tests): Add tst-tininess and
19675 tst-strtod-underflow.
19676 ($(objpfx)tst-tininess): Use $(link-libm).
19677 ($(objpfx)tst-strtod-underflow): Likewise.
19679 2012-10-30 Andreas Jaeger <aj@suse.de>
19682 * elf/Makefile (tests): Remove conditional for have-initfini-array
19683 since this is now always required and the variable does not exist
19685 (tests-static): Likewise.
19686 (modules-names): Likewise.
19688 * po/eo.po: Add Esperanto translation from translation project.
19690 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19691 merged with constructor/destructor.
19692 (init_array): Likewise.
19693 * elf/tst-array2dep.c (fini_array): Likewise.
19694 (init_array): Likewise.
19696 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19698 * manual/message.texi: Delete @cartouche tags.
19700 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19702 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19704 * sysdeps/mach/hurd/fsync.c: Likewise.
19706 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19707 [_POSIX_REALTIME_SIGNALS]: Change condition to
19708 [_POSIX_REALTIME_SIGNALS > 0].
19710 2012-10-27 Andreas Jaeger <aj@suse.de>
19712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19713 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19715 [__WORDSIZE != 64]: Likewise.
19717 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19719 * iconvdata/tst-table.sh: Remove ${SHELL}.
19720 * iconvdata/tst-tables.sh: Likewise.
19722 2012-10-25 David S. Miller <davem@davemloft.net>
19724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19725 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19731 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19732 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19735 2012-10-25 Roland McGrath <roland@hack.frob.com>
19737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19738 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19741 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19742 Jim Blandy <jimb@codesourcery.com>
19744 * scripts/cross-test-ssh.sh: New file.
19745 * manual/install.texi (Configuring and compiling): Document use of
19747 * INSTALL: Regenerated.
19749 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19751 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19754 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19756 * Makeconfig (run-program-prefix): Fix comment.
19758 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19759 Jim Blandy <jimb@codesourcery.com>
19761 * Makeconfig (test-wrapper): New variable,
19762 (test-wrapper-env): Likewise.
19763 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19764 (run-built-tests): Define to yes.
19765 (run-program-prefix): Use $(test-wrapper).
19766 (built-program-cmd): Likewise.
19767 * Rules (make-test-out): Use $(test-wrapper-env) and
19768 $(host-built-program-cmd).
19769 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19770 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19772 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19773 $(test-wrapper-env) to tst-rtld-load-self.sh.
19774 ($(objpfx)order2.out): Use $(test-wrapper).
19775 ($(objpfx)tst-initorder.out): Likewise.
19776 ($(objpfx)tst-initorder2.out): Likewise.
19777 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19778 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19779 (test_wrapper_env): New variable. Use it to run ld.so.
19780 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19781 Use it to run ld.so.
19782 (test_wrapper_env): Likewise.
19783 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19784 $(test-wrapper) to run-iconv-test.sh.
19785 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19786 (ICONV): Use $test_wrapper.
19787 * posix/Makefile ($(objpfx)globtest.out): Pass
19788 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19789 globtest.sh, not $(run-program-prefix).
19790 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19791 (test_wrapper): Likewise.
19792 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19793 set together with run_via_rtld_prefix.
19794 (run_program_prefix): Define in terms of test_wrapper and
19795 run_via_rtld_prefix.
19797 2012-10-24 Roland McGrath <roland@hack.frob.com>
19799 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19800 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19804 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19805 Declare __clock_getres, __clock_gettime, __clock_settime,
19806 __clock_nanosleep, and __clock_getcpuclockid.
19807 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19808 Remove librt_hidden_def (clock_gettime).
19809 * sysdeps/unix/clock_gettime.c: Likewise.
19810 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19812 * rt/clock_getres.c: Define __clock_getres as an alias.
19813 * sysdeps/posix/clock_getres.c: Likewise.
19814 * rt/clock_settime.c: Define __clock_settime as an alias.
19815 * sysdeps/unix/clock_settime.c: Likewise.
19816 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19817 * sysdeps/unix/clock_nanosleep.c: Likewise.
19818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19819 * rt/clock-compat.c: New file.
19820 * rt/Makefile (librt-routines): Add clock-compat and move
19821 $(clock-routines) to ...
19822 (routines): ... here, new variable.
19823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19824 Don't add get_clockfreq here.
19825 * rt/Versions (libc: GLIBC_2.17): New version set.
19826 Add clock_* symbols here.
19827 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19829 (GLIBC_2.17): Add clock_* symbols.
19830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19841 * NEWS: Mention the move.
19843 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19844 Use __open, __read, __close rather than their public counterparts.
19845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19846 (__get_clockfreq_via_cpuinfo): Likewise.
19847 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19848 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19850 * config.h.in (HAVE_IFUNC): New #undef.
19851 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19853 * configure: Regenerated.
19855 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19857 * configure.in: Move READELF check to start of file.
19858 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19859 libc_cv_asm_gnu_indirect_function in the process.
19860 * configure: Regenerated.
19862 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19864 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19865 send the output to /dev/null.
19866 (libc_cv_cc_with_libunwind): Likewise.
19867 (libc_cv_as_noexecstack): Likewise.
19868 * configure: Regenerate.
19870 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19872 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19874 * posix/globtest.sh (TMPDIR): Do not set.
19875 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19876 (testout): Likewise.
19878 2012-10-24 Andreas Jaeger <aj@suse.de>
19880 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19881 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19882 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19883 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19884 posix_fadvise64, posix_fallocate64.
19886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19887 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19888 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19890 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19892 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19895 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19896 <bits/fcntl-linux.h>.
19897 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19900 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19901 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19902 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19903 [__WORDSIZE != 64]: Likewise.
19905 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19907 * Makeconfig (run-built-tests): New variable.
19908 * Rules [$(cross-compiling) = yes]: Change condition to
19909 [$(run-built-tests) = no].
19910 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19911 to [$(run-built-tests) = yes].
19912 * elf/Makefile [$(cross-compiling) = no]: Likewise
19913 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19914 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19915 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19916 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19917 * io/Makefile [$(cross-compiling) = no]: Likewise.
19918 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19919 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19920 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19921 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19922 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19923 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19924 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19925 * string/Makefile [$(cross-compiling) = no]: Likewise.
19927 * posix/Makefile ($(objpfx)globtest.out): Pass
19928 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19929 $(rtld-installed-name).
19930 * posix/globtest.sh (elf_objpfx): Remove variable.
19931 (rtld_installed_name): Likewise.
19932 (library_path): Likewise.
19933 (run_program_prefix): New variable. Use for running globtest
19936 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19937 Joseph Myers <joseph@codesourcery.com>
19939 * Makeconfig (host-built-program-cmd): New variable.
19940 * elf/Makefile (tst-stackguard1-ARGS): Use
19941 $(host-built-program-cmd).
19942 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19943 (tst-spawn-ARGS): Likewise.
19944 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19946 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19947 Jim Blandy <jimb@codesourcery.com>
19949 * Makeconfig (run-via-rtld-prefix): New variable.
19950 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19951 (built-program-cmd): Likewise.
19953 2012-10-22 Andreas Jaeger <aj@suse.de>
19955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19956 __O_RSYNC if it exists, otherwise to O_SYNC.
19958 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19959 Joseph Myers <joseph@codesourcery.com>
19961 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19963 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19965 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19968 2012-10-22 Andreas Jaeger <aj@suse.de>
19970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19975 bits/fcntl-linux.h.
19977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19978 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19985 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19986 Joseph Myers <joseph@codesourcery.com>
19988 * config.make.in (NM): New variable.
19990 2012-10-21 Andreas Jaeger <aj@suse.de>
19992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19993 definitions and declarations that are provided by
19994 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19996 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19999 * elf/Makefile (tests-static): Add tst-leaks1-static.
20000 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20001 ($(objpfx)tst-leaks1-static): New rule.
20002 ($(objpfx)tst-leaks1-static-mem): Likewise.
20003 (tst-leaks1-static-ENV): New macro.
20004 * elf/dl-open.c (dl_open_worker): Check the main application
20005 only if SHARED is defined.
20006 * elf/tst-leaks1-static.c: New file.
20008 2012-10-20 Andreas Jaeger <aj@suse.de>
20010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20011 generic values for Linux.
20012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20013 and declarations that are provided by <bits/fcntl-linux.h> and
20014 include <bits/fcntl-linux.h>.
20015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20018 2012-10-20 Roland McGrath <roland@hack.frob.com>
20020 * io/fcntl.h: Move include of <bits/types.h> to the top and
20021 include it unconditionally.
20023 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20025 * wcsmbs/Makefile (tests-ifunc): New variable.
20026 (tests): Add $(tests-ifunc).
20027 * wcsmbs/test-wcschr-ifunc.c: New file.
20028 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20029 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20030 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20031 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20032 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20034 * string/Makefile (tests-ifunc): New variable.
20035 (tests): Add $(tests-ifunc).
20036 * string/test-memccpy.c (TEST_NAME): New macro.
20037 * string/test-memchr.c (TEST_NAME): Likewise.
20038 * string/test-memcmp.c (TEST_NAME): Likewise.
20039 * string/test-memcpy.c (TEST_NAME): Likewise.
20040 * string/test-memmem.c (TEST_NAME): Likewise.
20041 * string/test-memmove.c (TEST_NAME): Likewise.
20042 * string/test-memset.c (TEST_NAME): Likewise.
20043 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20044 * string/test-stpcpy.c (TEST_NAME): Likewise.
20045 * string/test-stpncpy.c (TEST_NAME): Likewise.
20046 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20047 * string/test-strcasestr.c (TEST_NAME): Likewise.
20048 * string/test-strcat.c (TEST_NAME): Likewise.
20049 * string/test-strchr.c (TEST_NAME): Likewise.
20050 * string/test-strcmp.c(TEST_NAME): Likewise.
20051 * string/test-strcpy.c (TEST_NAME): Likewise.
20052 * string/test-strcspn.c (TEST_NAME): Likewise.
20053 * string/test-strlen.c (TEST_NAME): Likewise.
20054 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20055 * string/test-strncmp.c (TEST_NAME): Likewise.
20056 * string/test-strncpy.c (TEST_NAME): Likewise.
20057 * string/test-strnlen.c (TEST_NAME): Likewise.
20058 * string/test-strpbrk.c (TEST_NAME): Likewise.
20059 * string/test-strrchr.c (TEST_NAME): Likewise.
20060 * string/test-strspn.c (TEST_NAME): Likewise.
20061 * string/test-strstr.c (TEST_NAME): Likewise.
20062 * string/test-bcopy-ifunc.c: New file.
20063 * string/test-bzero-ifunc.c: Likewise.
20064 * string/test-memccpy-ifunc.c: Likewise.
20065 * string/test-memchr-ifunc.c: Likewise.
20066 * string/test-memcmp-ifunc.c: Likewise.
20067 * string/test-memcpy-ifunc.c: Likewise.
20068 * string/test-memmem-ifunc.c: Likewise.
20069 * string/test-memmove-ifunc.c: Likewise.
20070 * string/test-mempcpy-ifunc.c: Likewise.
20071 * string/test-memset-ifunc.c: Likewise.
20072 * string/test-rawmemchr-ifunc.c: Likewise.
20073 * string/test-stpcpy-ifunc.c: Likewise.
20074 * string/test-stpncpy-ifunc.c: Likewise.
20075 * string/test-strcasecmp-ifunc.c: Likewise.
20076 * string/test-strcasestr-ifunc.c: Likewise.
20077 * string/test-strcat-ifunc.c: Likewise.
20078 * string/test-strchr-ifunc.c: Likewise.
20079 * string/test-strchrnul-ifunc.c: Likewise.
20080 * string/test-strcmp-ifunc.c: Likewise.
20081 * string/test-strcpy-ifunc.c: Likewise.
20082 * string/test-strcspn-ifunc.c: Likewise.
20083 * string/test-strlen-ifunc.c: Likewise.
20084 * string/test-strncasecmp-ifunc.c: Likewise.
20085 * string/test-strncat-ifunc.c: Likewise.
20086 * string/test-strncmp-ifunc.c: Likewise.
20087 * string/test-strncpy-ifunc.c: Likewise.
20088 * string/test-strnlen-ifunc.c: Likewise.
20089 * string/test-strpbrk-ifunc.c: Likewise.
20090 * string/test-strrchr-ifunc.c: Likewise.
20091 * string/test-strspn-ifunc.c: Likewise.
20092 * string/test-strstr-ifunc.c: Likewise.
20094 * debug/Makefile (tests-ifunc): New variable.
20095 (tests): Add $(tests-ifunc).
20096 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20097 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20098 * debug/test-stpcpy_chk-ifunc.c: New file.
20099 * debug/test-strcpy_chk-ifunc.c: Likewise.
20101 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20104 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20105 header is not read in.
20107 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20109 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20110 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20111 directly. Pass built executable to script as
20112 $(built-program-cmd).
20113 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20114 $testprogram without using LD_LIBRARY_PATH and $ldso.
20116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20117 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20118 $(rtld-installed-name).
20119 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20120 (rtld_installed_name): Likewise.
20121 (library_path): Likewise.
20122 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20123 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20124 $(run-program-prefix) to tst-tables.sh.
20125 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20126 it to run tst-table-from and tst-table-to.
20127 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20128 Pass it to tst-table.sh.
20129 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20130 $(run-program-prefix) to tst-gettext.sh.
20131 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20133 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20135 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20136 to run tst-gettext.
20137 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20138 to run tst-gettext2.
20139 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20140 to run tst-translit.
20141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20142 $(run-program-prefix) to tst-mtrace.sh.
20143 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20145 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20146 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20147 $(rtld-installed-name).
20148 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20149 (rtld_installed_name): Likewise.
20150 (run_program_prefix): New variable. Use it to run wordexp-test.
20152 * Makeconfig (ARCH): Remove all definitions.
20153 (machine): Likewise.
20154 [ARCH]: Remove conditional code.
20155 [!objdir]: Give error.
20156 [!objdir] (objpfx): Remove.
20157 [!objdir] (common-objpfx): Likewise.
20158 [!objdir] (common-objdir): Likewise.
20159 * configure.in (config_makefile): Remove. Hardcode Makefile in
20160 AC_CONFIG_FILES call.
20161 * configure: Regenerated.
20164 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20166 (testout): Likewise.
20168 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20169 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20170 $(rtld-installed-name).
20171 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20172 (rtld_installed_name): Likwise.
20173 (runit): Remove function.
20174 (run_getconf): New variable, Use it for running getconf binary.
20176 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20179 * string/test-memmem.c (check_result): New function.
20180 (do_one_test): Use it.
20181 (check1): New function.
20182 (test_main): Use it.
20184 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20186 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20188 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20190 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20191 (_G_LSEEK64): Likewise.
20192 (_G_MMAP64): Likewise.
20193 (_G_FSTAT64): Likewise.
20194 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20195 (_G_LSEEK64): Likewise.
20196 (_G_MMAP64): Likewise.
20197 (_G_FSTAT64): Likewise.
20198 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20199 unconditional. Call __mmap64 directly.
20200 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20201 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20202 __lseek64 directly.
20203 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20204 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20206 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20207 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20208 __lseek64 directly.
20209 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20210 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20211 __lseek64 directly.
20212 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20213 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20214 __lseek64 directly.
20215 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20216 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20217 __fxstat64 directly.
20218 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20219 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20221 (freopen64) [!_G_OPEN64]: Remove conditional code.
20222 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20224 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20225 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20227 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20228 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20230 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20231 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20233 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20234 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20236 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20237 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20239 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20240 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20242 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20244 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 * manual/memory.texi (Malloc Tunable Parameters): Add note
20248 about free list pointers overwriting some perturb bytes.
20249 Wording suggested by Roland McGrath.
20251 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20253 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20254 (lgamma_test): Likewise.
20255 (tgamma_test): Likewise.
20257 2012-10-16 Florian Weimer <fweimer@redhat.com>
20260 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20261 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20263 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20265 * NEWS: Mention BZ #14716.
20266 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20267 when removing AVAILABLE1_USES_J macro.
20269 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20271 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20272 (__bswap_64): __uint64_t for unsigned 64-bit int.
20274 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20276 * include/string.h (memmem): Declare libc hidden alias.
20277 * string/memmem.c (memmem): Define libc hidden alias.
20278 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20279 __read, __close instead of open, read, close.
20281 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20284 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20286 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20287 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20288 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20290 (__rawmemchr_sse2): Likewise.
20291 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20292 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20293 (__strchr_sse2): Likewise.
20294 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20295 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20296 (__strcasecmp_sse2): Likewise.
20297 (__strncasecmp_sse2): Likewise.
20298 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20299 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20300 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20301 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20302 (__strrchr_sse2): Likewise.
20303 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20305 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20306 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20307 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20308 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20309 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20310 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20313 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20314 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20315 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20316 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20318 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20319 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20321 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20322 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20323 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20324 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20325 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20326 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20327 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20328 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20329 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20331 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20332 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20333 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20334 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20336 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20338 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20339 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20340 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20341 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20343 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20345 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20346 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20347 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20348 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20352 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20361 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20364 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20365 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20366 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20371 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20373 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20377 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20390 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20392 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20393 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20394 * include/ifunc-impl-list.h: New file.
20395 * misc/ifunc-impl-list.c: Likewise.
20396 * misc/Makefile (routines): Add ifunc-impl-list.
20397 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20398 * string/test-string.h: Include <ifunc-impl-list.h>.
20399 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20400 impl_array): New variables.
20401 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20403 (test_init): Call __libc_ifunc_impl_list to initialize
20404 func_list if TEST_IFUNC and TEST_NAME are defined.
20406 * string/Makefile (strop-tests): Add bcopy and bzero.
20407 * string/test-bcopy.c: New file.
20408 * string/test-bzero.c: Likewise.
20409 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20411 * string/test-memset.c: Support bzero test if TEST_BZERO is
20413 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20415 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20417 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20420 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20422 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20423 * configure: Regenerated.
20425 * Makeconfig (+link-static-before-libc): Don't include
20426 $(link-static-libc).
20428 * libio/libio.h (_IO_pos_t): Remove.
20430 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20432 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20435 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20437 * crypt/crypt-entry.c: Include fips-private.h.
20438 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20439 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20440 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20441 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20443 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20445 * crypt/crypt-private.h: Include stdbool.h.
20446 (_ufc_setup_salt_r): Return bool.
20447 * crypt/crypt-entry.c: Include errno.h.
20448 (__crypt_r): Return NULL with EINVAL for bad salt.
20449 * crypt/crypt_util.c (bad_for_salt): New.
20450 (_ufc_setup_salt_r): Check that salt is long enough and within
20451 the specified alphabet.
20452 * crypt/badsalttest.c: New file.
20453 * crypt/Makefile (tests): Add it.
20454 ($(objpfx)badsalttest): New.
20456 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20458 * NEWS: Add entry for BZ #14602.
20460 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20462 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20464 * math/libm-test.inc: Update comment listing what functions and
20466 (isgreater_test): New function.
20467 (isgreaterequal_test): Likewise.
20468 (isless_test): Likewise.
20469 (islessequal_test): Likewise.
20470 (islessgreater_test): Likewise.
20471 (isunordered_test): Likewise.
20472 (main): Call the new functions.
20474 2012-10-09 Roland McGrath <roland@hack.frob.com>
20476 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20477 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20478 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20479 * sysdeps/i386/configure: Regenerated.
20480 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20481 * sysdeps/mach/configure: Regenerated.
20482 * sysdeps/mach/hurd/configure: Regenerated.
20483 * sysdeps/powerpc/configure: Regenerated.
20484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20486 * sysdeps/s390/s390-32/configure: Regenerated.
20487 * sysdeps/s390/s390-64/configure: Regenerated.
20488 * sysdeps/sh/configure: Regenerated.
20489 * sysdeps/sparc/configure: Regenerated.
20490 * sysdeps/unix/sysv/linux/configure: Regenerated.
20491 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20492 * sysdeps/x86_64/configure: Regenerated.
20494 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20495 defined. Don't check if MAP is NULL.
20497 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20499 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20500 (_G_stat64): Likewise.
20501 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20502 (_G_stat64): Likewise.
20503 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20504 instead of struct _G_stat64.
20505 * libio/fileops.c (mmap_remap_check): Likewise.
20506 (decide_maybe_mmap): Likewise.
20507 (_IO_new_file_seekoff): Likewise.
20508 (_IO_file_stat): Likewise.
20509 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20511 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20512 instead of struct _G_stat64.
20513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20515 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20518 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20520 (CHECK_EOL): New macro.
20521 (two_way_short_needle): Check beginning of haystack for EOL. Use
20523 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20524 Replace with CHECK_EOL.
20525 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20526 Replace with CHECK_EOL.
20528 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20530 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20532 * math/libm-test.inc: Update comment listing what functions and
20534 (finite_test): New function.
20535 (isinf_test): Likewise.
20536 (isnan_test): Likewise.
20537 (fpclassify_test): Test subnormal input.
20538 (isfinite_test): Likewise.
20539 (isnormal_test): Likewise.
20540 (main): Call the new functions.
20542 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20545 * Makerules (%.dynsym): Force C locale when running
20546 $(OBJDUMP) --dynamic-syms.
20548 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20550 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20553 2012-10-06 David S. Miller <davem@davemloft.net>
20555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20556 upper 32-bits of the length value in %o2 since we use branch-on-register
20557 tests which consider the entire 64-bit register.
20559 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20561 * string/test-strstr.c (check2): Add a test for page boundary.
20563 2012-10-05 David S. Miller <davem@davemloft.net>
20565 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20568 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20570 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20571 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20572 and bzero when HWCAP_SPARC_CRYPTO is present.
20574 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20577 * string/test-strstr.c (check2): New function.
20578 (test_main): Call check2.
20580 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20582 * string/bug-strcasestr1.c (do_test): Moved to ...
20583 * string/test-strcasestr.c (check1): Here. New function.
20584 (do_one_test): Break out result checking code into ...
20585 (check_result): This. New function.
20586 (do_one_test): Call check_result.
20587 (test_main): Call check1.
20588 * string/bug-strchr1.c (do_test): Moved to ...
20589 * string/test-strchr.c (check1): Here. New function.
20590 (do_one_test): Break out result checking code into ...
20591 (check_result): This. New function.
20592 (do_one_test): Call check_result.
20593 (test_main): Call check1.
20594 * string/bug-strstr1.c (main): Moved to ...
20595 * string/test-strstr.c (check1): Here. New function.
20596 (do_one_test): Break out result checking code into ...
20597 (check_result): This. New function.
20598 (do_one_test): Call check_result.
20599 (test_main): Call check1.
20600 * string/bug-strcasestr1.c: Removed.
20601 * string/bug-strchr1.c: Likewise.
20602 * string/bug-strstr1.c: Likewise.
20604 * elf/Makefile (dl-routines): Add hwcaps.
20605 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20606 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20607 (_dl_important_hwcaps): Moved to ...
20608 * elf/dl-hwcaps.c: Here. New file.
20609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20612 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20613 if IS_IN_rtld isn't defined.
20615 * elf/dl-support.c (_dl_sysinfo_map): New.
20616 Include "get-dynamic-info.h" and "setup-vdso.h".
20617 (_dl_non_dynamic_init): Call setup_vdso.
20618 * elf/dynamic-link.h: Don't include <assert.h>.
20619 (elf_get_dynamic_info): Moved to ...
20620 * elf/get-dynamic-info.h: Here. New file.
20621 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20622 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20623 * elf/setup-vdso.h: Here. New file.
20624 * elf/rtld.c: Include "setup-vdso.h".
20625 (dl_main): Call setup_vdso.
20627 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20629 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20630 creal in comment listing functions tested. List finite, isinf,
20631 isnan, isless, islessequal, isgreater, isgreaterequal,
20632 islessgreater, isunordered, lgamma_r and pow10 as functions and
20633 macros not tested. Mention which functions not tested are aliases
20634 for other functions. Fix typo. Note that signs of NaNs are not
20637 * scripts/config.guess: Update from config.git.
20638 * scripts/config.sub: Likewise.
20640 2012-10-04 Roland McGrath <roland@hack.frob.com>
20642 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20643 * misc/madvise.c (madvise): Renamed to __madvise.
20644 Make madvise a weak alias.
20645 * include/sys/mman.h: Declare __madvise.
20646 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20647 * sysdeps/unix/syscalls.list
20648 (madvise): Make __madvise the strong name, and madvise a weak alias.
20649 * sysdeps/unix/sysv/linux/syscalls.list
20650 (madvise, mmap): Remove redundant entries.
20651 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20652 * malloc/malloc.c (mtrim): Likewise.
20653 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20655 2012-10-03 Roland McGrath <roland@hack.frob.com>
20657 * sysdeps/mach/hurd/dl-cache.c: File removed.
20658 * config.h.in (USE_LDCONFIG): New #undef.
20659 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20660 * configure: Regenerated.
20661 * elf/Makefile (dl-routines): Add dl-cache only under
20662 [$(use-ldconfig) = yes].
20663 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20664 cache on [USE_LDCONFIG].
20665 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20667 * elf/rtld.c (dl_main): Likewise.
20669 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20671 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20672 _SC_LEVEL4_CACHE_LINESIZE.
20674 2012-10-03 Roland McGrath <roland@hack.frob.com>
20676 * sysdeps/unix/bsd/confstr.h: File removed.
20678 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20680 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20683 2012-10-02 Roland McGrath <roland@hack.frob.com>
20685 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20686 Make 'mapoff' field ElfW(Off) rather than off_t.
20688 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20690 * nscd/Makefile: Remove nscd-cflags and all its users.
20691 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20692 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20695 * malloc.c (malloc_printerr): Clarify error message.
20697 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20701 Set bit_FMA_Usable if FMA is supported.
20702 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20704 (bit_FMA4_Usable): Updated.
20705 (index_FMA_Usable): New macro.
20706 (CPUID_FMA): Likewise
20707 (HAS_FMA): Defined with bit_FMA_Usable.
20709 2012-10-01 Roland McGrath <roland@hack.frob.com>
20711 * bits/types.h (__swblk_t): Type removed.
20712 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20713 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20715 (__SWBLK_T_TYPE): Likewise.
20716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20717 (__SWBLK_T_TYPE): Likewise.
20718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20719 (__SWBLK_T_TYPE): Likewise.
20720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20721 (__SWBLK_T_TYPE): Likewise.
20723 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20724 Honza Horak <hhorak@redhat.com>
20726 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20727 (xdr_mapname): Use YPMAXMAP as maxsize.
20728 (xdr_peername): Use YPMAXPEER as maxsize.
20729 (xdr_keydat): Use YPAXRECORD as maxsize.
20730 (xdr_valdat): Use YPMAXRECORD as maxsize.
20732 2012-10-01 Roland McGrath <roland@hack.frob.com>
20734 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20736 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20737 * csu/init-first.c: ... here.
20738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20739 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20742 * sysdeps/i386/init-first.c: File removed.
20743 * sysdeps/sh/init-first.c: File removed.
20745 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20749 if x * y might underflow to zero and z is zero.
20750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20752 * math/libm-test.inc (min_subnorm_value): New variable.
20753 (fma_test): Add more tests.
20754 (fma_test_towardzero): Likewise.
20755 (fma_test_downward): Likewise
20756 (fma_test_upward): Likewise.
20757 (initialize): Set min_subnorm_value.
20759 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20764 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20765 mode for addition resulting in exact zero.
20766 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20771 * math/libm-test.inc (fma_test): Add more tests.
20772 (fma_test_towardzero): New function.
20773 (fma_test_downward): Likewise.
20774 (fma_test_upward): Likewise.
20775 (main): Call the new functions.
20777 2012-09-28 David S. Miller <davem@davemloft.net>
20779 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20781 2012-09-28 Roland McGrath <roland@hack.frob.com>
20783 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20784 instead of SIGALRM.
20786 * sysdeps/gnu/_G_config.h: Moved to ...
20787 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20788 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20789 * sysdeps/generic/_G_config.h: ... here.
20791 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20793 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20795 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20796 Conditionalize target on [libnss_test1.so-version].
20798 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20800 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20801 (elfobjdir): Move out of conditionals.
20803 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20804 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20805 (__nss_lookup_function): Conditionalize label remove_from_tree on
20806 [!DO_STATIC_NSS || SHARED], matching its only use.
20808 2012-09-28 David S. Miller <davem@davemloft.net>
20810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20813 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20815 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20817 when HWCAP_SPARC_CRYPTO is present.
20819 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20821 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20823 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20826 * stdio-common/vfprintf.c (process_string_arg): Revert
20829 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20831 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20833 * stdio-common/tst-sprintf.c: Include <locale.h>
20834 (main): Test sprintf's handling of incomplete multibyte
20837 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20839 * elf/dl-runtime.c (VERSYMIDX): Removed.
20840 * elf/dl-version.c (VERSYMIDX): Likewise.
20841 * elf/do-rel.h (VERSYMIDX): Likewise.
20842 (VALIDX): Likewise.
20843 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20844 * elf/rtld.c (VALIDX): Likewise.
20845 (ADDRIDX): Likewise.
20846 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20847 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20848 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20849 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20850 (VALIDX): Likewise.
20851 (ADDRIDX): Likewise.
20853 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20855 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20857 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20860 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20862 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20863 addresses are in the same scope as 192.0.2/24.
20864 * posix/gai.conf: Document new scope table defaults.
20866 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20869 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20870 for ftell. Compute offsets from write pointers instead.
20871 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20873 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20876 * libio/Makefile (tests): New test case tst-fseek.
20877 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20878 combination works in wide mode.
20879 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20880 state when the external buffer state changes.
20882 2012-09-27 David S. Miller <davem@davemloft.net>
20885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20886 pass reloc->r_addend in as the 'high' argument to
20887 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20891 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20893 * rt/tst-aio2.c: Include <pthread.h>.
20894 * rt/tst-aio3.c: Likewise.
20896 2012-09-27 Steve Ellcey <sellcey@mips.com>
20898 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20900 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20902 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20903 contents on [SHARED].
20905 2012-09-26 Marek Polacek <polacek@redhat.com>
20909 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20910 for C++ and GCC <4.3 as well as for non GCC compilers.
20912 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20916 2012-09-25 Roland McGrath <roland@hack.frob.com>
20918 * Makefile.in (all, install): Declare with .PHONY.
20919 Reported by Michael Hope <michael.hope@linaro.org>.
20921 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20923 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20924 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20928 (sydep_routines): Add the new and the internal functions.
20929 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20930 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20932 (GLIBC_2.17): Add the new function.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20934 (GLIBC_2.17): Likewise.
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20936 (GLIBC_2.17): Likewise.
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20938 (GLIBC_2.17): Likewise.
20939 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20941 2012-09-25 Alan Modra <amodra@gmail.com>
20943 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20944 Add release barrier before setting once_control to say
20945 initialisation is done. Add hints on lwarx. Use macro in
20947 (clear_once_control): Add release barrier.
20949 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20952 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20954 * math/s_clog10.c (__clog10): Likewise.
20955 * math/s_clog10f.c (__clog10f): Likewise.
20956 * math/s_clog10l.c (__clog10l): Likewise.
20957 * math/s_clogf.c (__clogf): Likewise.
20958 * math/s_clogl.c (__clogl): Likewise.
20959 * math/Makefile (libm-calls): Add x2y2m1.
20960 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20961 (__x2y2m1): Likewise.
20962 (__x2y2m1l): Likewise.
20963 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20964 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20967 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20968 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20969 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20970 * sysdeps/i386/fpu/libm-test-ulps: Update.
20971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20974 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20975 int as type of variable DEPTH.
20976 (glob): Use size_t instead of int as type of variables NEWCOUNT
20979 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20982 Add s_sincosf-sse2.
20983 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20984 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20985 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20986 macros for using routine as __sincosf_ia32.
20987 Use macro for function declaration and weak_alias.
20988 * sysdeps/i386/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20993 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20994 subnormal argument.
20995 * math/s_cexpf.c (__cexpf): Likewise.
20996 * math/s_csinf.c (__csinf): Likewise.
20997 * math/s_csinhf.c (__csinhf): Likewise.
20998 * math/s_ctanf.c (__ctanf): Likewise.
20999 * math/s_ctanhf.c (__ctanhf): Likewise.
21000 * math/s_ccosh.c (__ccoshf): Likewise.
21001 * math/s_cexp.c (__cexpl): Likewise.
21002 * math/s_csin.c (__csin): Likewise.
21003 * math/s_csinh.c (__csinh): Likewise.
21004 * math/s_ctan.c (__ctan): Likewise.
21005 * math/s_ctanh.c (ctanh): Likewise.
21006 * math/s_ccoshl.c (__ccoshl): Likewise.
21007 * math/s_cexpl.c (__cexpl): Likewise.
21008 * math/s_csinl.c (__csinl): Likewise.
21009 * math/s_csinhl.c (__csinhl): Likewise.
21010 * math/s_ctanl.c (__ctanl): Likewise.
21011 * math/s_ctanhl.c (__ctanhl): Likewise.
21013 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21015 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21016 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21017 (_IO_off_t): Define to __off_t, not _G_off_t.
21018 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21019 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21020 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21021 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21022 type of __dummy and __dummy2 fields.
21023 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21024 (_G_ssize_t): Likewise.
21025 (_G_off_t): Likewise.
21026 (_G_pid_t): Likewise.
21027 (_G_uid_t): Likewise.
21028 (_G_wchar_t): Likewise.
21029 (_G_wint_t): Likewise.
21030 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21031 (_G_ssize_t): Likewise.
21032 (_G_off_t): Likewise.
21033 (_G_pid_t): Likewise.
21034 (_G_uid_t): Likewise.
21035 (_G_wchar_t): Likewise.
21036 (_G_wint_t): Likewise.
21037 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21038 (_G_ssize_t): Likewise.
21039 (_G_off_t): Likewise.
21040 (_G_pid_t): Likewise.
21041 (_G_uid_t): Likewise.
21042 (_G_wchar_t): Likewise.
21043 (_G_wint_t): Likewise.
21045 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21047 * malloc/arena.c: Include malloc-sysdep.h.
21048 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21049 is sufficient to shrink the heap or an unmap is needed.
21050 * sysdeps/generic/malloc-sysdep.h: New file. Define
21051 new function check_may_shrink_heap.
21052 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21053 new function check_may_shrink_heap.
21055 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21057 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21060 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21062 * catgets/test-gencat.sh: Add "set -e".
21063 * elf/tst-pathopt.sh: Likewise.
21064 * grp/tst_fgetgrent.sh: Likewise.
21065 * iconvdata/run-iconv-test.sh: Likewise.
21066 * intl/tst-gettext.sh: Likewise.
21067 * intl/tst-gettext2.sh: Likewise.
21068 * intl/tst-gettext4.sh: Likewise.
21069 * intl/tst-gettext6.sh: Likewise.
21070 * intl/tst-translit.sh: Likewise.
21071 * io/ftwtest-sh: Likewise.
21072 * libio/test-freopen.sh: Likewise.
21073 * malloc/tst-mtrace.sh: Likewise.
21074 * posix/globtest.sh: Likewise.
21075 * posix/tst-getconf.sh: Likewise.
21076 * posix/wordexp-tst.sh: Likewise.
21077 * stdio-common/tst-printf.sh: Likewise.
21078 * stdio-common/tst-unbputc.sh: Likewise.
21079 * stdlib/tst-fmtmsg.sh: Likewise.
21080 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21081 * catgets/Makefile: Do not specify -e option when running
21082 testsuite shell scripts.
21083 * elf/Makefile: Likewise.
21084 * grp/Makefile: Likewise.
21085 * iconvdata/Makefile: Likewise.
21086 * intl/Makefile: Likewise.
21087 * io/Makefile: Likewise.
21088 * libio/Makefile: Likewise.
21089 * malloc/Makefile: Likewise.
21090 * posix/Makefile: Likewise.
21091 * stdio-common/Makefile: Likewise.
21092 * stdlib/Makefile: Likewise.
21093 * sysdeps/x86_64/Makefile: Likewise.
21095 * io/ftwtest-sh: Add copyright header.
21096 * posix/globtest.sh: Likewise.
21097 * posix/tst-getconf.sh: Likewise.
21098 * posix/wordexp-tst.sh: Likewise.
21099 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21101 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21104 * Makeconfig (+link): Defined as $(+link-static) if
21105 $(build-shared) isn't yes.
21106 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21108 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21110 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21113 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21114 new chunk size with MALLOC_ALIGN_MASK.
21116 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21119 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21121 (__printf_fphex): Determine rounding using get_rounding_mode and
21123 * stdio-common/tst-printf-round.c (struct hex_test): New
21125 (hex_tests): New variable.
21126 (test_hex_in_one_mode): New function.
21127 (do_test): Also run tests for hex float output.
21129 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21131 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21133 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21134 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21135 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21136 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21137 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21140 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21142 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21143 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21144 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21145 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21147 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21150 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21152 * elf/tst-rtld-load-self.sh: New test.
21153 * elf/Makefile: Run it.
21155 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21157 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21158 (tst-writev-ENV): Remove.
21159 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21161 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21163 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21165 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21167 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21169 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21171 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21172 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21173 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21176 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21179 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21180 * config.make.in (have-cpp-asm-debuginfo): Removed.
21181 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21182 * configure: Regenerated.
21184 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21187 * stdio-common/printf_fp.c: Include <stdbool.h> and
21189 (___printf_fp): Determine rounding using get_rounding_mode and
21191 * stdio-common/tst-printf-round.c: New file.
21192 * stdio-common/Makefile (tests): Add tst-printf-round.
21193 (link-libm): New variable.
21194 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21196 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21199 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21200 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21202 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21205 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21207 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21208 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21209 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21212 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21215 * include/rounding-mode.h: New file.
21216 * sysdeps/generic/get-rounding-mode.h: Likewise.
21217 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21218 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21219 (MAX_VALUE): New macro.
21220 (MIN_VALUE): Likewise.
21221 (overflow_value): New function.
21222 (underflow_value): Likewise.
21223 (round_and_return): Use overflow_value and underflow_value to
21224 determine return values in overflow and underflow cases. Use
21225 round_away to determine rounding depending on rounding mode.
21226 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21227 determine return values in overflow and underflow cases.
21228 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21229 (struct test_results): New structure.
21230 (struct test): Use struct test_results to store expected results
21231 for all rounding modes.
21232 (TEST): Include expected results for all rounding modes.
21233 (test_in_one_mode): New function.
21234 (do_test): Use test_in_one_mode to compute and check results.
21235 Check results for all rounding modes.
21236 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21239 2012-12-09 Allan McRae <allan@archlinux.org>
21241 * sysdeps/i386/fpu/libm-test-ulps: Update
21243 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21245 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21246 (_G_int32_t): Likewise.
21247 (_G_uint16_t): Likewise.
21248 (_G_uint32_t): Likewise.
21249 (_G_HAVE_BOOL): Likewise.
21250 (_G_HAVE_ATEXIT): Likewise.
21251 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21252 (_G_HAVE_IO_FILE_OPEN): Likewise.
21253 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21254 (_G_int32_t): Likewise.
21255 (_G_uint16_t): Likewise.
21256 (_G_uint32_t): Likewise.
21257 (_G_HAVE_BOOL): Likewise.
21258 (_G_HAVE_ATEXIT): Likewise.
21259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21260 (_G_HAVE_IO_FILE_OPEN): Likewise.
21261 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21262 (_G_int32_t): Likewise.
21263 (_G_uint16_t): Likewise.
21264 (_G_uint32_t): Likewise.
21265 (_G_HAVE_BOOL): Likewise.
21266 (_G_HAVE_ATEXIT): Likewise.
21267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21268 (_G_HAVE_IO_FILE_OPEN): Likewise.
21270 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21272 * csu/libc-tls.c: Update copyright years.
21274 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21276 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21277 [!_G_USING_THUNKS]: Remove conditional code.
21278 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21279 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21281 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21282 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21283 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21284 (_G_VTABLE_LABEL_PREFIX): Likewise.
21285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21286 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21288 (_G_VTABLE_LABEL_PREFIX): Likewise.
21289 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21290 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21291 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21292 (_G_VTABLE_LABEL_PREFIX): Likewise.
21293 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21295 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21297 * libio/Makefile: Include ../Makeconfig before tests.
21298 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21299 only if $(build-shared) is yes.
21301 * iconv/gconv_db.c: Update copyright years.
21303 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21305 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21306 unwind info if defined PIC. Fix special cases description.
21307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21309 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21311 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21313 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21315 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21317 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21320 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21321 (LDLIBS-tst-chk4): This.
21322 (LDFLAGS-tst-chk5): Renamed to ...
21323 (LDLIBS-tst-chk5): This.
21324 (LDFLAGS-tst-chk6): Renamed to ...
21325 (LDLIBS-tst-chk6): This.
21326 (LDFLAGS-tst-lfschk4): Renamed to ...
21327 (LDLIBS-tst-lfschk4): This.
21328 (LDFLAGS-tst-lfschk5): Renamed to ...
21329 (LDLIBS-tst-lfschk5): This.
21330 (LDFLAGS-tst-lfschk6): Renamed to ...
21331 (LDLIBS-tst-lfschk6): This.
21333 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21334 on $(common-objpfx)soversions.mk.
21336 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21339 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21342 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21344 * malloc/arena.c (arena_get_retry): New function that gets
21345 another arena for the caller to try its request on.
21346 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21347 current arena cannot fulfill the request.
21348 (__libc_memalign): Likewise.
21349 (__libc_memalign): Likewise.
21350 (__libc_pvalloc): Likewise.
21351 (__libc_calloc): Likewise.
21353 2012-09-05 John Tobey <john.tobey@gmail.com>
21356 * manual/arith.texi (Operations on Complex): Fix description
21357 of carg branch cut.
21359 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21362 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21366 * manual/memory.texi (Memory): Make order of menu items match
21369 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21371 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21372 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21373 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21375 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21377 * csu/libc-tls.c (static_dtv): Renamed to ...
21378 (_dl_static_dtv): This. Make it global.
21379 (_dl_initial_dtv): Removed.
21380 (__libc_setup_tls): Updated.
21381 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21382 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21385 2012-09-06 Petr Machata <pmachata@redhat.com>
21387 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21388 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21389 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21390 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21392 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21395 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21396 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21402 * Makeconfig (link-static-before-libc): Replace $(+prector)
21404 (link-static-after-libc): Replace $(+postctor) with
21406 (link-bounded): Replace $(+prector)/$(+postctor) with
21407 $(+prectorT)/$(+postctorT).
21408 (+prectorT): New macro.
21409 (+postctorT): Likewise.
21411 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21413 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21414 (round_str): Handle values above the maximum for IBM long double
21416 * stdlib/tst-strtod-round.c (tests): Regenerated.
21418 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21420 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21422 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21423 zarch_nohighgprs around the zarch optimized routines.
21424 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21425 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21429 2012-09-05 David S. Miller <davem@davemloft.net>
21431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21433 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21434 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21435 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21436 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21439 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21441 * malloc/arena.c: Fold copyright years.
21442 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21444 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21446 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21450 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21452 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21455 change internal state upon failure.
21457 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21459 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21460 * malloc/memusage.c (mmap): Likewise.
21461 (mmap64, mremap): Likewise. Adjust name in comment.
21463 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 * libio/fileops.c: Fix typos in comments.
21466 * libio/oldfileops.c: Likewise.
21467 * libio/wfileops.c: Likewise.
21469 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21472 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21473 (tst-malloc-usable-ENV): Set environment for test case.
21474 * malloc/hooks.c (malloc_check_get_size): New function to get
21476 * malloc/malloc.c (musable): Use malloc_check_get_size.
21477 * malloc/tst-malloc-usable.c: New test case.
21479 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21481 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21483 2012-09-05 Allan McRae <allan@archlinux.org>
21486 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21487 determine header location.
21488 * configure: Regenerated.
21490 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21492 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21494 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21495 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21497 (test): Regenerate.
21499 2012-09-04 David S. Miller <davem@davemloft.net>
21501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21505 2012-09-04 Florian Weimer <fweimer@redhat.com>
21507 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21510 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21512 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21515 * libio/iogetdelim.c: Include <limits.h>.
21516 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21517 + len + 1 would overflow.
21519 2012-09-03 Andreas Jaeger <aj@suse.de>
21521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21522 * sysdeps/i386/fpu/libm-test-ulps: Update.
21524 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21526 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21527 Add s_sinf-sse2, s_conf-sse2.
21529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21530 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21531 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21532 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21534 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21535 for using routine as __sinf_ia32.
21536 Use macro for function declaration and weak_alias.
21537 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21538 for using routine as __cosf_ia32.
21539 Use macro for function declaration and weak_alias.
21541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21542 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21544 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21545 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21548 * math/libm-test.inc (cos_test): Add more test cases.
21549 (sin_test): Likewise.
21550 (sincos_test): Likewise.
21552 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21555 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21559 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21562 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21563 first element of the GOT.
21564 (elf_machine_load_address): Return the difference between
21565 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21567 2012-09-01 Allan McRae <allan@archlinux.org>
21570 * configure.in (AWK): Require gawk version 3.0 or later.
21571 * configure: Regenerated.
21573 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21575 * sysdeps/unix/sysv/linux/kernel-features.h
21576 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21578 [__NR_clock_getres]: Make code unconditional.
21579 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21580 (clock_getcpuclockid): Remove code left unreachable by removal of
21582 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21583 code unconditional.
21584 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21586 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21587 Make code unconditional.
21588 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21590 * sysdeps/unix/sysv/linux/clock_settime.c
21591 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21593 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21596 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21599 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21600 scripts/test-installation.pl.
21602 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21603 and $ld_so_version if it is set.
21605 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21609 failure if reading from procfs failed.
21610 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21612 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21614 * sysdeps/unix/sysv/linux/kernel-features.h
21615 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21616 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21617 Remove conditional code.
21618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21619 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21620 Remove conditional code.
21621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21622 * sysdeps/unix/sysv/linux/i386/fxstat.c
21623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21625 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21628 * sysdeps/unix/sysv/linux/i386/lxstat.c
21629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21631 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21632 Remove conditional code.
21633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21634 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21635 Remove conditional code.
21636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21637 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21638 <kernel-features.h>.
21639 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21641 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21642 Remove conditional code.
21643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21644 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21645 Remove conditional.
21647 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21650 * NEWS: Add fixed bug number.
21652 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21655 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21656 underflowing exponent in case of negative sign.
21657 * stdlib/tst-strtod-round-data: Add more tests.
21658 * stdlib/tst-strtod-round.c (tests): Regenerated.
21661 * stdlib/strtod_l.c (NDIG): Remove.
21662 (HEXNDIG): Likewise.
21663 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21664 smallest representable value.
21665 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21666 lie within an exact representation of 1/2 ulp of the result.
21667 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21669 (TENS_P9_IDX): Define unconditionally.
21670 (TENS_P9_SIZE): Likewise.
21671 (TENS_P10_IDX): Likewise.
21672 (TENS_P10_SIZE): Likewise.
21673 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21674 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21675 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21676 entries for 10^2^13 and 10^2^14.
21677 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21678 (TENS_P13_IDX): Define.
21679 (TENS_P13_SIZE): Likewise.
21680 (TENS_P14_IDX): Likewise.
21681 (TENS_P14_SIZE): Likewise.
21682 (_fpioconst_pow10): Change array size to
21683 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21685 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21686 1024]: Add entries for 10^2^13 and 10^2^14.
21687 [LAST_POW10 > _LAST_POW10]: Remove #error.
21688 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21689 (_fpioconst_pow10): Change array size to
21690 FPIOCONST_POW10_ARRAY_SIZE.
21691 * stdlib/gen-fpioconst.c: New file.
21692 * stdlib/gen-tst-strtod-round.c: Likewise.
21693 * stdlib/tst-strtod-round-data: Likewise.
21694 * stdlib/tst-strtod-round.c: Likewise.
21695 * stdlib/Makefile (tests): Add tst-strtod-round.
21698 * stdlib/strtod_l.c: Include <stdint.h>.
21699 (NDEBUG): Do not define.
21700 (round_and_return): Change EXPONENT parameter to type intmax_t.
21701 Rearrange calculations to avoid internal overflow possibilities.
21702 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21703 Rearrange calculations to avoid internal overflow possibilities.
21704 Assert that number fits inside MPNSIZE limbs.
21705 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21706 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21707 calculations and add assertions to avoid internal overflow
21708 possibilities. Add casts to avoid signed/unsigned operations.
21709 * stdlib/tst-strtod-overflow.c: New file.
21710 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21712 2012-08-25 Marek Polacek <polacek@redhat.com>
21714 * time/time.h: Fix some typos in comments.
21716 2012-08-23 Roland McGrath <roland@hack.frob.com>
21718 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21719 * posix/tst-rfc3484-2.c: Likewise.
21720 * posix/tst-rfc3484-3.c: Likewise.
21722 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21724 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21725 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21727 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21729 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21730 #include of fxstatat64.c.
21732 2012-08-22 Roland McGrath <roland@hack.frob.com>
21734 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21735 * shadow/getspent_r.c: Likewise.
21736 * shadow/getspnam.c: Likewise.
21737 * shadow/getspnam_r.c: Likewise.
21738 * gshadow/getsgent.c: Likewise.
21739 * gshadow/getsgent_r.c: Likewise.
21740 * gshadow/getsgnam.c: Likewise.
21741 * gshadow/getsgnam_r.c: Likewise.
21742 * inet/getnetbyad.c: Likewise.
21743 * inet/getnetbyad_r.c: Likewise.
21744 * inet/getnetbynm.c: Likewise.
21745 * inet/getnetbynm_r.c: Likewise.
21746 * inet/getnetent.c: Likewise.
21747 * inet/getnetent_r.c: Likewise.
21748 * inet/getproto.c: Likewise.
21749 * inet/getproto_r.c: Likewise.
21750 * inet/getprtent.c: Likewise.
21751 * inet/getprtent_r.c: Likewise.
21752 * inet/getprtname.c: Likewise.
21753 * inet/getprtname_r.c: Likewise.
21754 * inet/getrpcbyname.c: Likewise.
21755 * inet/getrpcbyname_r.c: Likewise.
21756 * inet/getrpcbynumber.c: Likewise.
21757 * inet/getrpcbynumber_r.c: Likewise.
21758 * inet/getrpcent.c: Likewise.
21759 * inet/getrpcent_r.c: Likewise.
21760 * inet/getaliasent.c: Likewise.
21761 * inet/getaliasent_r.c: Likewise.
21762 * inet/getaliasname.c: Likewise.
21763 * inet/getaliasname_r.c: Likewise.
21764 * nscd/getgrgid_r.c: Likewise.
21765 * nscd/getgrnam_r.c: Likewise.
21766 * nscd/gethstbyad_r.c: Likewise.
21767 * nscd/gethstbynm3_r.c: Likewise.
21768 * nscd/getpwnam_r.c: Likewise.
21769 * nscd/getpwuid_r.c: Likewise.
21770 * nscd/getsrvbynm_r.c: Likewise.
21771 * nscd/getsrvbypt_r.c: Likewise.
21772 * nscd/gai.c: Likewise.
21774 * configure.in (build_nscd): New substituted variable, set
21775 by --disable-build-nscd and defaults to $use_nscd.
21776 * configure: Regenerated.
21777 * config.make.in (build-nscd): New substituted variable.
21778 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21779 Change conditional to require [$(build-nscd) = yes] as well.
21780 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21783 * configure.in (use_nscd): New substituted variable, set by
21784 --disable-nscd. If enabled, define USE_NSCD.
21785 * configure: Regenerated.
21786 * config.h.in: Add USE_NSCD.
21787 * config.make.in (use-nscd): New substituted variable.
21788 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21789 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21790 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21791 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21792 (CFLAGS-getgrnam_r.c): Likewise.
21793 (CFLAGS-initgroups.c): Likewise.
21794 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21795 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21797 * inet/getnetgrent_r.c
21798 (nscd_setnetgrent): New function, broken out of ...
21799 (setnetgrent): ... here. Call it.
21800 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21801 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21802 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21803 * nscd/Makefile (routines, aux): Move definitions after include of
21804 Makeconfig. Conditionalize on [$(use-nscd) != no].
21805 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21806 Conditionalize on [USE_NSCD].
21807 (is_nscd, nscd_init_cb): Likewise.
21808 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21809 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21810 * nss/nss_db/db-init.c: Likewise.
21811 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21813 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21814 (make_request): Use it.
21815 (cache_valid_p): New function.
21816 (__check_pf): Use it.
21817 * NEWS: Add item for --disable-nscd.
21819 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21821 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21822 to support sed >= 4.2.1-20-ga9bf076.
21823 * configure: Regenerated.
21825 2012-08-22 Roland McGrath <roland@hack.frob.com>
21827 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21828 Conditionalize whole body on [IREL].
21830 2012-08-22 Jeff Law <law@redhat.com>
21833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21834 if the family is PF_UNSPEC.
21836 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21838 * Makerules (lib-version): Rename from V.
21839 (install-lib-nosubdir): Change V to lib-version.
21841 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21844 * powerpc32/power6/wcschr.c: New file.
21845 * powerpc32/power6/wcscpy.c: New file.
21846 * powerpc32/power6/wcsrchr.c: New file.
21847 * powerpc64/power6/wcschr.c: New file.
21848 * powerpc64/power6/wcscpy.c: New file.
21849 * powerpc64/power6/wcsrchr.c: New file.
21851 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21853 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21854 (two_way_short_needle): Use it.
21855 * string/strstr.c (AVAILABLE1_USES_J): Define.
21856 * string/strcasestr.c: Likewise.
21858 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21860 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21863 * NEWS: Add an entry.
21864 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21865 define their defaults.
21866 (two_way_short_needle): Detect end-of-string on-the-fly.
21867 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21868 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21869 * string/bug-strcasestr1.c: New test.
21870 * string/Makefile: Run it.
21872 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21875 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21876 the first character.
21878 2012-08-21 Roland McGrath <roland@hack.frob.com>
21880 * csu/elf-init.c (__libc_csu_irel): Function removed.
21881 * csu/libc-start.c (apply_irel): New function.
21882 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21884 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21886 * sysdeps/unix/sysv/linux/kernel-features.h
21887 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21888 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21889 <kernel-features.h>.
21890 [__NR_fadvise64_64]: Make code unconditional.
21891 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21892 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21893 !__NR_fadvise64_64)]: Likewise.
21894 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21895 !__NR_fadvise64_64))]: Likewise.
21896 [__NR_fadvise64]: Make code unconditional.
21897 [!__NR_fadvise64]: Remove conditional code.
21898 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21899 <kernel-features.h>.
21900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21905 not include <kernel-features.h>.
21906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21910 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21911 include <kernel-features.h>.
21912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21917 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21920 slight instruction rearrangements per scrollpipe analysis.
21921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21923 2012-08-20 Roland McGrath <roland@hack.frob.com>
21925 * manual/syslog.texi (syslog; vsyslog, closelog):
21926 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21927 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21929 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21930 DSOCAPS to match condition on defining it.
21932 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21934 * sysdeps/unix/sysv/linux/kernel-features.h
21935 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21946 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21947 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21949 * sysdeps/unix/sysv/linux/kernel-features.h
21950 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21951 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21953 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21954 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21957 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21958 Make code unconditional.
21959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21960 (__mmap64) [!__NR_mmap2]: Likewise.
21961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21965 [__NR_mmap2]: Make code unconditional.
21966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21967 (__mmap64) [!__NR_mmap2]: Likewise.
21969 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21971 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21973 2012-08-18 Andreas Jaeger <aj@suse.de>
21975 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21977 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21979 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21980 * include/unistd.h (__have_sock_cloexec): Likewise.
21981 (__have_pipe2): Likewise.
21982 (__have_dup3): Likewise.
21984 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21987 * include/unistd.h (__have_pipe2): Change define into an extern int.
21988 (__have_dup3): Likewise.
21989 * socket/have_sock_cloexec.c: Include fcntl.h.
21990 (__have_pipe2): New variable.
21991 (__have_dup3): Likewise.
21993 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21995 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21997 2012-08-17 Marek Polacek <polacek@redhat.com>
21999 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22000 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22002 2012-08-17 Roland McGrath <roland@hack.frob.com>
22004 * configure.in: Add AC_SUBST for sysheaders.
22005 * configure: Regenerated.
22006 * config.make.in (sysheaders): New substituted variable.
22008 * sysdeps/unix/mkfifo.c: Moved ...
22009 * sysdeps/posix/mkfifo.c: ... here.
22010 * sysdeps/unix/mkfifoat.c: Moved ...
22011 * sysdeps/posix/mkfifoat.c: ... here.
22013 * sysdeps/unix/utime.c: Moved ...
22014 * sysdeps/posix/utime.c: ... here.
22016 * sysdeps/unix/time.c: Moved ...
22017 * sysdeps/posix/time.c: ... here.
22018 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22019 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22021 * sysdeps/unix/nice.c: Moved ...
22022 * sysdeps/posix/nice.c: ... here.
22024 * sysdeps/unix/alarm.c: Moved ...
22025 * sysdeps/posix/alarm.c: ... here.
22027 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22029 2012-08-17 Jeff Law <law@redhat.com>
22031 * intl/Makefile (codeset_mo): New variable.
22032 ($(codeset_mo)): New target.
22033 (tst-codeset.out): Depend on that. Remove explicit rule.
22034 (tst-gettext3.out, tst-gettext5.out): Likewise.
22035 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22036 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22037 * intl/tst-codeset.sh: Remove.
22038 * intl/tst-gettext3.sh: Likewise.
22039 * intl/tst-gettext5.sh: Likewise.
22041 2012-08-17 Roland McGrath <roland@hack.frob.com>
22043 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22044 * sysdeps/unix/syscalls.list: ... here.
22046 * sysdeps/posix/getaddrinfo.c
22047 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22048 (gaiconf_init, gaiconf_reload): Use them.
22049 [!_STATBUF_ST_NSEC]
22050 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22051 Define using time_t rather than struct timespec.
22053 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22054 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22056 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22058 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22059 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22062 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22063 __libc_cleanup_push argument.
22065 * bits/param.h: New file.
22066 * misc/sys/param.h: New file.
22067 * include/sys/param.h: New file.
22068 * misc/Makefile (headers): Add bits/param.h.
22069 * sysdeps/generic/sys/param.h: File removed.
22070 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22071 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22072 * sysdeps/mach/hurd/bits/param.h: New file.
22073 * sysdeps/mach/hurd/sys/param.h: File removed.
22075 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22078 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22080 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22081 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22084 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22085 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22086 rather than -D_IO_MTSAFE_IO conditionally.
22087 * stdio-common/Makefile (CPPFLAGS): Likewise.
22088 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22089 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22090 Use $(libio-mtsafe).
22091 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22092 of -D_IO_MTSAFE_IO.
22093 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22094 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22095 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22096 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22097 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22098 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22099 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22100 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22101 (CFLAGS-fread_u_chk.c): Likewise.
22102 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22103 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22104 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22105 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22106 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22107 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22108 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22109 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22110 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22112 * libio/Makefile: Test [$(libc-reentrant) = yes]
22113 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22116 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22117 * sysdeps/pthread/configure: File removed.
22118 * sysdeps/pthread/Makeconfig: New file.
22119 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22120 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22122 2012-08-16 Gary Benson <gbenson@redhat.com>
22124 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22125 unmapping the first object in a namespace.
22127 2012-08-16 Roland McGrath <roland@hack.frob.com>
22129 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22130 (__internal_setnetgrent): ... this. Add internal_function to
22131 definition. Add libc_hidden_def.
22132 (setnetgrent): Update caller.
22133 (internal_endnetgrent): Renamed to ...
22134 (__internal_endnetgrent): ... this. Add internal_function to
22135 definition. Add libc_hidden_def.
22136 (endnetgrent): Update caller.
22137 (internal_getnetgrent_r): Renamed to ...
22138 (__internal_getnetgrent_r): ... this. Add internal_function to
22139 definition. Add libc_hidden_def.
22140 (__getnetgrent_r): Update caller.
22141 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22143 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22145 * stdlib/longlong.h: Update from GCC.
22147 2012-08-16 Roland McGrath <roland@hack.frob.com>
22149 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22150 on _QL, which is set by umul_ppmm but never used.
22151 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22152 variables, which are set by GMP macros but never used.
22153 * stdio-common/_itowa.c (_itowa): Likewise.
22154 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22155 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22157 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22159 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22160 struct La_sh_regs is not constant.
22161 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22162 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22163 and struct La_sparc64_regs are not constant.
22165 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22167 * sysdeps/unix/sysv/linux/kernel-features.h
22168 (__ASSUME_POSIX_TIMERS): Remove.
22169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22171 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22172 Make code unconditional.
22173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22174 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22175 Make code unconditional.
22176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22177 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22178 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22180 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22181 Make code unconditional.
22182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22183 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22184 (__libc_missing_posix_timers): Remove.
22186 2012-08-15 Roland McGrath <roland@hack.frob.com>
22188 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22189 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22191 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22193 * elf/dl-sym.c: Include <stdlib.h>.
22195 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22196 constants, which avoids warnings in 32-bit builds.
22198 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22199 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22201 * misc/lseek.c: File moved to ...
22202 * io/lseek.c: ... here.
22204 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22206 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22207 shifting LEN more than 31 bits at once.
22209 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22212 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22213 segmentation fault for a case of two empty input strings.
22214 * string/test-strncasecmp.c (check1): Renamed to...
22215 (bz12205): ...this.
22216 (bz14195): Add new testcase for two empty input strings and N > 0.
22217 (test_main): Call new testcase, adapt for renamed function.
22219 2012-08-15 Andreas Jaeger <aj@suse.de>
22222 * crypt/md5test2.c: New test, based on test supplied by Serge
22223 Belyshev <belyshev@depni.sinp.msu.ru>.
22224 * crypt/Makefile (xtests): Add md5test-giant..
22225 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22227 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22230 * crypt/md5.c (md5_process_block): Don't assume the buffer
22231 length is less than 2**32.
22232 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22233 length is less than 2**64.
22235 2012-08-15 Roland McGrath <roland@hack.frob.com>
22237 * string/str-two-way.h: Include <sys/param.h>.
22238 (MAX): Macro removed.
22240 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22241 Move #define and #undef of memmove to just before and after
22242 including <string.h>.
22244 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22245 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22246 and after including <string.h>. Move declarations of
22247 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22248 to before #include "string/memmove.c".
22250 * include/dirent.h: Declare __getdirentries.
22252 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22253 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22255 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22257 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22258 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22259 * sysdeps/i386/configure: Regenerated.
22260 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22261 STABS_CURRENT_FILE, and STABS_FUN.
22262 (END): Remove call to STABS_FUN_END.
22263 (STABS_CURRENT_FILE1): Delete.
22264 (STABS_CURRENT_FILE): Likewise.
22265 (STABS_FUN): Likewise.
22266 (STABS_FUN_END): Likewise.
22267 (STABS_FUN2): Likewise.
22268 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22269 * sysdeps/x86_64/configure: Regenerated.
22271 2012-08-14 Roland McGrath <roland@hack.frob.com>
22273 * elf/dl-open.c: Include <atomic.h>.
22274 * elf/dl-lookup.c: Likewise.
22276 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22278 * sysdeps/unix/sysv/linux/kernel-features.h
22279 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22280 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22282 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22284 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22285 condition on __ASSUME_CLONE_THREAD_FLAGS.
22287 2012-08-14 Andreas Jaeger <aj@suse.de>
22289 * sysdeps/i386/fpu/libm-test-ulps: Update.
22291 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22293 * include/atomic.h (atomic_exchange_and_add): Split into ...
22294 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22297 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22301 2012-08-13 Jeff Law <law@redhat.com>
22303 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22304 null byte in the output string.
22306 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22308 * sysdeps/unix/sysv/linux/kernel-features.h
22309 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22310 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22311 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22313 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22314 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22315 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22317 2012-08-09 Jeff Law <law@redhat.com>
22320 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22321 When avoid_arena is set, don't retry in the that arena. Pick the
22322 next one, whatever it might be.
22323 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22324 (arena_lock): Pass in new parameter to arena_get2.
22325 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22327 (__libc_malloc): Unify retrying after main arena failure with
22328 __libc_memalign version.
22329 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22331 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22334 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22335 to __redirect_strstr.
22336 (__strstr_sse42): Use typeof __redirect_strstr.
22337 (__strstr_ia32): Likewise.
22338 (__libc_strstr): New prototype.
22339 (strstr): Renamed to ...
22340 (__libc_strstr): This.
22341 (strstr): New strong alias of __libc_strstr.
22342 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22343 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22346 (__libc_time): New prototype.
22347 (time_ifunc): Replace time with __libc_time.
22348 (time): New strong alias and hidden definition of __libc_time.
22349 (__GI_time): Remove strong alias.
22350 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22351 Include <stddef.h>.
22352 (memmove): Redefined to __redirect_memmove.
22353 (__memmove_sse2): Use typeof __redirect_memmove.
22354 (__memmove_ssse3): Likewise.
22355 (__memmove_ssse3_back): Likewise.
22356 (__libc_memmove): New prototype.
22357 (memmove): Renamed to ...
22358 (__libc_memmove): This.
22359 (memmove): New strong alias of __libc_memmove.
22361 2012-08-08 Mark Salter <msalter@redhat.com>
22364 (R_MN10300_TLS_GD): Define.
22365 (R_MN10300_TLS_LD): Likewise.
22366 (R_MN10300_TLS_LDO): Likewise.
22367 (R_MN10300_TLS_GOTIE): Likewise.
22368 (R_MN10300_TLS_IE): Likewise.
22369 (R_MN10300_TLS_LE): Likewise.
22370 (R_MN10300_TLS_DTPMOD): Likewise.
22371 (R_MN10300_TLS_DTPOFF): Likewise.
22372 (R_MN10300_TLS_TPOFF): Likewise.
22373 (R_MN10300_SYM_DIFF): Likewise.
22374 (R_MN10300_ALIGN): Likewise.
22375 (R_MN10300_NUM): Update.
22377 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22382 2012-08-08 Roland McGrath <roland@hack.frob.com>
22384 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22386 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22387 sysdeps/unix -> sysdeps/posix move.
22388 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22390 2012-08-07 Allan McRae <allan@archlinux.org>
22393 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22394 (SUNOS_CPP): Likewise.
22395 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22397 (open_input): Call CPP using execvp.
22399 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22401 * sysdeps/unix/sysv/linux/kernel-features.h
22402 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22403 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22404 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22405 (__ASSUME_WAITID_SYSCALL): Likewise.
22406 * sysdeps/unix/sysv/linux/dl-execstack.c
22407 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22408 code unconditional.
22409 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22412 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22413 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22415 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22417 [__ASSUME_WAITID_SYSCALL]: Likewise.
22418 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22420 2012-08-07 Roland McGrath <roland@hack.frob.com>
22422 * sysdeps/unix/closedir.c: Renamed to ...
22423 * sysdeps/posix/closedir.c: ... here.
22424 * sysdeps/unix/dirfd.c: Renamed to ...
22425 * sysdeps/posix/dirfd.c: ... here.
22426 * sysdeps/unix/dirstream.h: Renamed to ...
22427 * sysdeps/posix/dirstream.h: ... here.
22428 * sysdeps/unix/fdopendir.c: Renamed to ...
22429 * sysdeps/posix/fdopendir.c: ... here.
22430 * sysdeps/unix/opendir.c: Renamed to ...
22431 * sysdeps/posix/opendir.c: ... here.
22432 * sysdeps/unix/readdir.c: Renamed to ...
22433 * sysdeps/posix/readdir.c: ... here.
22434 * sysdeps/unix/readdir_r.c: Renamed to ...
22435 * sysdeps/posix/readdir_r.c: ... here.
22436 * sysdeps/unix/rewinddir.c: Renamed to ...
22437 * sysdeps/posix/rewinddir.c: ... here.
22438 * sysdeps/unix/seekdir.c: Renamed to ...
22439 * sysdeps/posix/seekdir.c: ... here.
22440 * sysdeps/unix/telldir.c: Renamed to ...
22441 * sysdeps/posix/telldir.c: ... here.
22442 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22443 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22444 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22445 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22448 * bits/fcntl.h: ... here.
22450 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22452 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22453 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22454 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22455 (struct flock): Move l_start, l_len to the beginning.
22456 Use __pid_t for l_pid.
22457 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22458 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22459 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22460 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22461 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22462 [__USE_LARGEFILE64] (struct flock64): New type.
22463 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22466 * bits/dirent.h: ... here.
22468 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22469 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22471 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22474 Change from 2.6.0 to 2.6.16.
22475 * sysdeps/unix/sysv/linux/configure: Regenerated.
22476 * sysdeps/unix/sysv/linux/kernel-features.h
22477 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22478 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22480 (__ASSUME_UTIMES): Likewise.
22481 (__ASSUME_CLONE_STOPPED): Remove.
22482 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22483 architectures, not kernel version.
22484 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22485 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22486 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22487 (__ASSUME_WAITID_SYSCALL): Likewise.
22488 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22489 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22490 * README: State 2.6.16 as minimum Linux kernel version. Do not
22491 refer to older versions.
22493 2012-08-06 Roland McGrath <roland@hack.frob.com>
22495 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22496 Define alphasort64 as an alias.
22497 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22498 Define versionsort64 as an alias.
22499 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22500 Define scandir64 as an alias.
22501 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22502 Define scandirat64 as an alias.
22503 * dirent/alphasort64.c (alphasort64):
22504 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22505 * dirent/versionsort64.c: Likewise.
22506 * dirent/scandir64.c: Likewise.
22507 * dirent/scandirat64.c: Likewise.
22508 * sysdeps/wordsize-64/alphasort.c: File removed.
22509 * sysdeps/wordsize-64/alphasort64.c: File removed.
22510 * sysdeps/wordsize-64/scandir.c: File removed.
22511 * sysdeps/wordsize-64/scandir64.c: File removed.
22512 * sysdeps/wordsize-64/scandirat.c: File removed.
22513 * sysdeps/wordsize-64/scandirat64.c: File removed.
22514 * sysdeps/wordsize-64/versionsort.c: File removed.
22515 * sysdeps/wordsize-64/versionsort64.c: File removed.
22516 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22522 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22525 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22527 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22529 [defined __arch64__ || defined __sparcv9]
22530 (__INO_T_MATCHES_INO64_T): New macro.
22531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22532 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22533 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22534 * sysdeps/unix/sysv/linux/bits/dirent.h
22535 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22536 (_DIRENT_MATCHES_DIRENT64): New macro.
22538 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22539 Define lockf64 as an alias.
22540 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22541 Define fseeko64 as an alias.
22542 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22543 Define ftello64 as an alias.
22544 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22545 Define _IO_fgetpos64 and fgetpos64 as aliases.
22546 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22547 Define _IO_fsetpos64 and fsetpos64 as aliases.
22548 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22549 Conditionalize body on this.
22550 * libio/fseeko64.c: Likewise.
22551 * libio/ftello64.c: Likewise.
22552 * libio/iofgetpos64.c: Likewise.
22553 * libio/iofsetpos64.c: Likewise.
22554 * sysdeps/wordsize-64/lockf.c: File removed.
22555 * sysdeps/wordsize-64/lockf64.c: File removed.
22556 * sysdeps/wordsize-64/fseeko.c: File removed.
22557 * sysdeps/wordsize-64/fseeko64.c: File removed.
22558 * sysdeps/wordsize-64/ftello.c: File removed.
22559 * sysdeps/wordsize-64/ftello64.c: File removed.
22560 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22561 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22562 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22563 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22575 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22577 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22579 [defined __arch64__ || defined __sparcv9]
22580 (__OFF_T_MATCHES_OFF64_T): New macro.
22581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22582 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22584 (__OFF_T_MATCHES_OFF64_T): New macro.
22586 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22588 * stdlib/secure-getenv.c (__secure_getenv): Replace
22589 GLIBC_2_16 with GLIBC_2_17.
22591 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22596 2012-08-03 David S. Miller <davem@davemloft.net>
22598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22600 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22604 (__ASSUME_CORRECT_SI_PID): Likewise.
22605 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22606 (__ASSUME_TMPFS_NAME): Likewise.
22607 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22608 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22609 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22610 (HAVE_AUX_SECURE): Make definition unconditional.
22611 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22612 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22614 2012-08-03 Roland McGrath <roland@hack.frob.com>
22616 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22617 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22618 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22619 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22620 __eloop_threshold instead of SYMLOOP_MAX.
22622 * sysdeps/generic/eloop-threshold.h: New file.
22623 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22625 * elf/chroot_canon.c (chroot_canon): Likewise.
22627 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22631 Change to 2.6.0 everywhere.
22632 * sysdeps/unix/sysv/linux/configure: Regenerated.
22633 * sysdeps/unix/sysv/linux/kernel-features.h
22634 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22635 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22637 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22638 (__ASSUME_FUTEX_REQUEUE): Remove.
22639 (__ASSUME_STATFS64): Define unconditionally.
22640 (__ASSUME_AT_SECURE): Likewise.
22641 (__ASSUME_CORRECT_SI_PID): Likewise.
22642 (__ASSUME_TGKILL): Define without depending on kernel version for
22644 (__ASSUME_UTIMES): Likewise.
22645 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22647 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22648 (__ASSUME_TMPFS_NAME): Likewise.
22649 * README: Update reference to Linux kernel versions.
22651 2012-08-02 Marek Polacek <polacek@redhat.com>
22654 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22655 libc_cv_asm_type_prefix with %.
22656 * configure: Regenerated.
22657 * include/libc-symbols.h: Remove comment about
22658 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22659 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22660 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22661 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22662 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22663 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22664 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22665 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22666 * elf/tst-unique2mod1.c: Likewise.
22667 * elf/tst-unique1mod2.c: Likewise.
22668 * elf/tst-unique1mod1.c: Likewise.
22669 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22670 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22671 Replace ASM_TYPE_DIRECTIVE with .type.
22672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22673 * sysdeps/i386/sysdep.h: Likewise.
22674 * sysdeps/x86_64/sysdep.h: Likewise.
22675 * sysdeps/sh/sysdep.h: Likewise.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22677 Do not define ASM_TYPE_DIRECTIVE.
22678 * sysdeps/powerpc/sysdep.h: Likewise.
22679 * sysdeps/powerpc/powerpc32/sysdep.h:
22680 Replace ASM_TYPE_DIRECTIVE with .type.
22681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22683 * sysdeps/i386/fpu/e_powf.S: Likewise.
22684 * sysdeps/i386/fpu/e_expl.S: Likewise.
22685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22686 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22687 * sysdeps/i386/fpu/e_pow.S: Likewise.
22688 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22690 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22691 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22692 * sysdeps/i386/fpu/e_log2.S: Likewise.
22693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22694 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22695 * sysdeps/i386/fpu/e_powl.S: Likewise.
22696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22698 * sysdeps/i386/fpu/e_logl.S: Likewise.
22699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22700 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22701 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22702 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22704 * sysdeps/i386/fpu/e_log.S: Likewise.
22705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22706 * sysdeps/i386/fpu/e_logf.S: Likewise.
22707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22709 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22710 * sysdeps/i386/fpu/e_log10.S: Likewise.
22711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22717 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22718 * sysdeps/i386/i686/strtok.S: Likewise.
22719 * sysdeps/i386/i386-mcount.S: Likewise.
22720 * sysdeps/i386/strtok.S: Likewise.
22721 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22723 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22724 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22730 * sysdeps/x86_64/_mcount.S: Likewise.
22731 * sysdeps/x86_64/strtok.S: Likewise.
22732 * sysdeps/sh/_mcount.S: Likewise.
22734 2012-08-01 Roland McGrath <roland@hack.frob.com>
22736 * libio/iofopen.c: Include <fcntl.h>.
22737 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22738 (_IO_fopen64, fopen64): Define as aliases.
22739 * libio/iofopen64.c: Include <fcntl.h>.
22740 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22741 Conditionalize body on this.
22742 * sysdeps/wordsize-64/iofopen.c: File removed.
22743 * sysdeps/wordsize-64/iofopen64.c: File removed.
22745 2012-08-01 Marek Polacek <polacek@redhat.com>
22747 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22748 Use dlfcn directly instead of a variable.
22749 (binfmt-subdir): Do not define.
22752 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22755 Remove all definitions.
22756 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22757 <kernel-features.h>.
22758 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22759 (miss_F_GETOWN_EX): Remove all definitions.
22760 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22762 [!__ASSUME_FCNTL64]: Remove conditional code.
22763 [__ASSUME_FCNTL64]: Make code unconditional.
22764 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22765 <kernel-features.h>.
22766 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22767 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22768 (lockf64) [__NR_fcntl64]: Make code unconditional.
22769 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22771 * sysdeps/unix/sysv/linux/kernel-features.h
22772 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22773 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22774 Make code unconditional.
22775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22778 [__NR_vfork]: Make code unconditional.
22779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22782 [__NR_vfork]: Make code unconditional.
22783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22786 2012-08-01 Roland McGrath <roland@hack.frob.com>
22788 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22789 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22791 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22792 Define mkstemp64 as an alias.
22793 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22794 Define mkstemps64 as an alias.
22795 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22796 Define mkostemp64 as an alias.
22797 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22798 Define mkostemps64 as an alias.
22799 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22800 Conditionalize body on this.
22801 * misc/mkostemp64.c: Likewise.
22802 * misc/mkostemps64.c: Likewise.
22803 * misc/mkstemps64.c: Likewise.
22804 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22805 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22806 * sysdeps/wordsize-64/mkostemp.c: File removed.
22807 * sysdeps/wordsize-64/mkstemp.c: File removed.
22808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22814 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22816 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22817 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22819 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22820 compat_symbol macros from <shlib-compat.h> rather than the underlying
22821 default_symbol_version and symbol_version macros, so that DEFAULT
22822 lines in shlib-versions are respected.
22823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22825 2012-08-01 Florian Weimer <fweimer@redhat.com>
22827 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22828 Declare with warn_unused_result.
22829 (setgid, setregid, setegid, setresgid): Likewise.
22830 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22832 * WUR-REPORT: Remove set*id functions.
22834 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22836 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22838 2012-07-31 Roland McGrath <roland@hack.frob.com>
22841 * include/sys/socket.h (__libc_accept, __libc_accept4):
22842 Add attribute_hidden.
22843 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22845 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22847 * inet/getnetgrent_r.c (setup): Likewise.
22849 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22851 2012-07-31 David S. Miller <davem@davemloft.net>
22853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22855 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22858 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22859 value between 1.0 and 2.0 and smaller part has absolute value less
22861 * math/s_clog10.c (__clog10): Likewise.
22862 * math/s_clog10f.c (__clog10f): Likewise.
22863 * math/s_clog10l.c (__clog10l): Likewise.
22864 * math/s_clogf.c (__clogf): Likewise.
22865 * math/s_clogl.c (__clogl): Likewise.
22866 * math/libm-test.inc (clog_test): Add more tests.
22867 (clog10_test): Likewise.
22868 * sysdeps/i386/fpu/libm-test-ulps: Update.
22869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22871 2012-07-31 Florian Weimer <fweimer@redhat.com>
22873 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22874 Exit with zero in case no suitable GID is found, and write a
22875 message to standard error.
22877 2012-07-30 Roland McGrath <roland@hack.frob.com>
22879 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22881 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22882 (MAXPATHLEN): Removed.
22883 (NOGROUP, NODEV): New macros.
22884 (setbit, clrbit, isset, isclr): New macros.
22885 (howmany, roundup, powerof2): New macros.
22886 (DEV_BSIZE): New macro.
22888 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22889 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22891 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22892 definition on [!__NO_LONG_DOUBLE_MATH].
22894 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22895 PTR_MANGLE and PTR_DEMANGLE.
22897 * socket/accept4.c (accept4): Rename to __libc_accept4.
22898 Define accept4 as a weak alias.
22900 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22901 on [_DIRENT_HAVE_D_TYPE].
22902 * io/ftw.c (ftw_dir): Likewise.
22904 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22906 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22908 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22909 Use the BSD numbers rather than the arbitrary ones we had.
22910 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22911 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22912 (SIGXCPU, SIGXFSZ): New macros.
22915 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22916 initializer on [_LIBC_REENTRANT].
22918 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22919 definitions inside [_POSIX_MAPPED_FILES].
22921 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22923 * dirent/opendir.c: Include <fcntl.h>.
22925 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22926 (__libc_getspecific): Likewise.
22927 (__libc_key_create): Likewise.
22929 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22930 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22931 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22932 (tmpfile64): Define as alias.
22933 * sysdeps/wordsize-64/tmpfile.c: File removed.
22934 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22935 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22936 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22938 * stdio-common/vfscanf.c: Include <stdbool.h>.
22939 * nss/makedb.c: Likewise.
22940 * stdio-common/_i18n_number.h: Likewise.
22941 * argp/argp-help.c: Likewise.
22942 * posix/wordexp.c: Likewise.
22943 * sysdeps/posix/spawni.c: Likewise.
22944 * nss/nss_files/files-initgroups.c: Likewise.
22945 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22946 * nss/nss_files/files-initgroups.c: Likewise.
22947 * nss/nss_db/db-netgrp.c: Likewise.
22948 * nss/nss_db/db-initgroups.c: Likewise.
22949 * io/fchmodat.c: Include <sys/stat.h>.
22951 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22952 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22954 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22957 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22958 Add multiple inclusion protection.
22960 2012-07-27 David S. Miller <davem@davemloft.net>
22962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22964 2012-07-27 Gary Benson <gbenson@redhat.com>
22967 * elf/rtld.c: Include <stap-probe.h>.
22968 (dl_main): Added static probes "init_start" and "init_complete".
22969 * elf/dl-load.c: Include <stap-probe.h>.
22970 (lose): Take new parameter "nsid".
22971 Added static probe "map_failed".
22972 (_dl_map_object_from_fd): Pass namespace id to lose.
22973 Added static probe "map_start".
22974 (open_verify): Pass namespace id to lose.
22975 * elf/dl-open.c: Include <stap-probe.h>.
22976 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22977 and "reloc_complete".
22978 * elf/dl-close.c: Include <stap-probe.h>.
22979 (_dl_close_worker): Added static probes "unmap_start" and
22981 * elf/rtld-debugger-interface.txt: New file documenting the above.
22983 2012-07-26 Roland McGrath <roland@hack.frob.com>
22985 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22986 rather than a string variable.
22987 * sunrpc/rpc_main.c (h_output): Likewise.
22988 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22990 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22992 * inet/check_native.c: New file.
22994 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22997 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22998 if larger part has absolute value 1.0.
22999 * math/s_clog10.c (__clog10): Likewise.
23000 * math/s_clog10f.c (__clog10f): Likewise.
23001 * math/s_clog10l.c (__clog10l): Likewise.
23002 * math/s_clogf.c (__clogf): Likewise.
23003 * math/s_clogl.c (__clogl): Likewise.
23004 * math/libm-test.inc (clog_test): Add more tests.
23005 (clog10_test): Likewise.
23006 * sysdeps/i386/fpu/libm-test-ulps: Update.
23007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23009 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23010 (pltexit): Likewise.
23011 (La_regs): Likewise.
23012 (La_retval): Likewise.
23013 (int_retval): Likewise.
23014 Update #error for removed macros to refer only to definitions in
23016 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23018 (pltexit): Likewise.
23019 (La_regs): Likewise.
23020 (La_retval): Likewise.
23021 (int_retval): Likewise.
23022 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23024 (pltexit): Likewise.
23025 (La_regs): Likewise.
23026 (La_retval): Likewise.
23027 (int_retval): Likewise.
23028 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23030 (pltexit): Likewise.
23031 (La_regs): Likewise.
23032 (La_retval): Likewise.
23033 (int_retval): Likewise.
23034 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23036 (pltexit): Likewise.
23037 (La_regs): Likewise.
23038 (La_retval): Likewise.
23039 (int_retval): Likewise.
23040 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23042 (pltexit): Likewise.
23043 (La_regs): Likewise.
23044 (La_retval): Likewise.
23045 (int_retval): Likewise.
23046 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23048 (pltexit): Likewise.
23049 (La_regs): Likewise.
23050 (La_retval): Likewise.
23051 (int_retval): Likewise.
23052 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23053 macro definitions in tst-audit.h.
23054 * sysdeps/i386/tst-audit.h: New file.
23055 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23056 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23057 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23058 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23059 * sysdeps/sh/tst-audit.h: Likewise.
23060 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23061 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23062 * sysdeps/x86_64/tst-audit.h: Likewise.
23064 2012-07-26 Andreas Jaeger <aj@suse.de>
23066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23069 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23070 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23071 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23073 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23074 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23075 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23077 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23080 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23082 (si_call_addr, si_syscall, si_arch): Define new macro.
23083 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23085 (si_call_addr, si_syscall, si_arch): Define new marcro.
23086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23088 (si_call_addr, si_syscall, si_arch): Define new macro.
23089 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23091 (si_call_addr, si_syscall, si_arch): Define new macro.
23093 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23097 Change to 2.4.21 where previously 2.4.1.
23098 * sysdeps/unix/sysv/linux/configure: Regenerated.
23099 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23100 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23101 Linux kernel version.
23102 (__ASSUME_STD_AUXV): Remove.
23103 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23105 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23106 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23107 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23108 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23109 (__ASSUME_NETLINK_SUPPORT): Likewise.
23110 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23111 (__no_netlink_support): Remove conditional definition.
23112 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23114 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23115 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23117 (if_nameindex_ioctl): Remove.
23118 (if_nameindex_netlink): Do not handle __no_netlink_support.
23119 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23121 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23122 Remove conditional code.
23123 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23125 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23127 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23128 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23129 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23131 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23132 [!__ASSUME_STD_AUXV]: Remove conditional code.
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23134 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23135 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23137 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23138 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23140 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23142 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23143 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23145 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23147 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23150 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23153 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23154 code unconditional.
23155 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23157 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23159 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23162 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23164 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23167 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23168 code unconditional.
23169 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23171 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23173 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23176 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23177 code unconditional.
23178 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23180 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23182 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23185 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23187 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23188 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23189 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23190 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23191 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23192 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23194 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23195 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23196 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23197 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23198 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23199 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23200 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23201 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23203 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23207 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23208 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23211 2012-07-25 Florian Weimer <fweimer@redhat.com>
23213 * Versions.def: Add GLIBC_2.17.
23214 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23215 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23216 Introduce __libc_secure_getenv.
23217 * stdlib/Versions (2.17): Add secure_getenv
23218 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23219 * stdlib/secure-getenv.c: Rename __secure_getenv to
23220 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23221 symbol __secure_getenv for GLIBC_2.0.
23222 * stdlib/tst-secure-getenv.c: New.
23223 * stdlib/Makefile (tests): Add testcase.
23224 * manual/startup.texi (Environment Access): Document
23226 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23227 __libc_secure_getenv.
23228 * inet/ruserpass.c (ruserpass): Likewise.
23229 * malloc/mtrace.c (mtrace): Likewise.
23230 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23231 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23232 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23233 * sysdeps/posix/tempname.c: Likewise. Evaluate
23234 HAVE_SECURE_GETENV.
23235 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23236 __secure_getenv to __libc_secure_getenv.
23237 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23250 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23252 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23253 (struct La_i86_retval): Likewise.
23254 (struct La_x86_64_regs): Likewise.
23255 (struct La_x86_64_retval): Likewise.
23256 (struct La_x32_regs): Likewise.
23257 (struct La_x32_retval): Likewise.
23258 (struct La_ppc32_regs): Likewise.
23259 (struct La_ppc32_retval): Likewise.
23260 (struct La_ppc64_regs): Likewise.
23261 (struct La_ppc64_retval): Likewise.
23262 (struct La_sh_regs): Likewise.
23263 (struct La_sh_retval): Likewise.
23264 (struct La_s390_32_regs): Likewise.
23265 (struct La_s390_32_retval): Likewise.
23266 (struct La_s390_64_regs): Likewise.
23267 (struct La_s390_64_retval): Likewise.
23268 (struct La_sparc32_regs): Likewise.
23269 (struct La_sparc32_retval): Likewise.
23270 (struct La_sparc64_regs): Likewise.
23271 (struct La_sparc64_retval): Likewise.
23272 (struct audit_ifaces): Remove architecture-specific pltenter and
23274 * sysdeps/i386/ldsodefs.h: New file.
23275 * sysdeps/powerpc/ldsodefs.h: Likewise.
23276 * sysdeps/s390/ldsodefs.h: Likewise.
23277 * sysdeps/sh/ldsodefs.h: Likewise.
23278 * sysdeps/sparc/ldsodefs.h: Likewise.
23279 * sysdeps/x86_64/ldsodefs.h: Likewise.
23281 2012-07-25 Marek Polacek <polacek@redhat.com>
23284 * math/libm-test.inc (yn_test): Add another test.
23285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23286 to ERANGE when the result is +-Inf.
23287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23288 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23290 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23292 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23294 * conform/data/time.h-data (NULL): Use macro-constant. Require
23296 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23298 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23300 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23302 * configure.in <sysdeps resolving>: Correct printing
23304 * configure: Regenerate.
23306 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23308 * math/w_ilogb.c: Include <limits.h>.
23309 * math/w_ilogbl.c: Likewise.
23311 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23313 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23314 va_copy. Document allowing for unavailable va_copy only as
23315 pre-C99 compatibility.
23316 * manual/string.texi (Copying and Concatenation): Use va_copy
23317 instead of __va_copy in concat example.
23319 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23321 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23322 (__sendto): Use create_address_port. Initialize APORT and deallocate
23325 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23326 with O_NOLINK passed to __file_name_lookup.
23328 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23329 with O_NOLINK passed to __file_name_lookup.
23331 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23332 negative N or less than NGIDS.
23334 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23335 type to string_t. Set ERANGE as errno and return it if NAME is not big
23336 enough. Use memcpy instead of strncpy.
23338 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23340 * elf/Makefile (check-data): Remove.
23341 (localplt.data): New vpath directive.
23342 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23343 instead of $(check-data).
23344 * scripts/data/localplt-generic.data: Move to ...
23345 * sysdeps/generic/localplt.data: ... here.
23346 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23347 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23348 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23351 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23354 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23357 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23360 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23363 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23367 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23370 PPC32 and PPC64 files.
23371 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23372 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23374 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23376 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23377 __makecontext_ret to ...
23378 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23379 ... here and call exit if uc_link is NULL. New file.
23380 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23381 __makecontext_ret.S.
23382 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23383 __makecontext_ret to ...
23384 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23385 ... here and call exit if uc_link is NULL. New file.
23386 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23387 __makecontext_ret.S.
23389 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23391 * elf/elf.h (R_390_IRELATIVE): New definition.
23392 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23393 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23394 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23395 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23396 (elf_machine_lazy_rel): Likewise.
23397 * sysdeps/s390/dl-irel.h: New file.
23398 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23399 * sysdeps/s390/s390-64/memset.S: New asm code.
23400 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23401 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23402 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23403 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23404 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23405 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23406 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23407 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23408 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23409 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23410 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23411 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23412 * sysdeps/s390/s390-32/memset.S: New asm code.
23413 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23415 2012-07-17 Marek Polacek <polacek@redhat.com>
23418 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23419 * sysdeps/s390/s390-64/configure.in: Likewise.
23420 * sysdeps/sparc/configure.in: Likewise.
23421 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23422 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23423 * sysdeps/i386/configure.in: Likewise.
23424 * sysdeps/x86_64/configure.in: Likewise.
23425 * sysdeps/sh/configure.in: Likewise.
23426 * sysdeps/s390/s390-32/configure: Regenerated.
23427 * sysdeps/s390/s390-64/configure: Likewise.
23428 * sysdeps/x86_64/configure: Likewise.
23429 * sysdeps/sh/configure: Likewise.
23430 * sysdeps/powerpc/powerpc64/configure: Likewise.
23431 * sysdeps/powerpc/powerpc32/configure: Likewise.
23432 * sysdeps/sparc/configure: Likwise.
23433 * sysdeps/i386/configure: Likewise.
23435 * elf/dl-open.c: Comment fixes.
23437 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23439 * Makefile [CXX] (check-data): Remove.
23440 [CXX] (c++-types.data): New vpath directive.
23441 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23442 vpath. Do not allow for C++ type data being missing.
23443 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23444 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23445 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23446 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23447 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23448 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23449 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23452 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23455 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23458 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23461 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23464 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23467 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23470 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23473 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23474 definitions to architecture-specific files.
23475 (TLS_IE): Likewise.
23476 (TLS_LD): Likewise.
23477 (TLS_GD): Likewise.
23478 * sysdeps/i386/tls-macros.h: New file.
23479 * sysdeps/powerpc/tls-macros.h: Likewise.
23480 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23481 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23482 * sysdeps/sh/tls-macros.h: Likewise.
23483 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23484 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23485 * sysdeps/x86_64/tls-macros.h: Likewise.
23487 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23490 zero value for regular exit case.
23492 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23493 (__start_context): Preserve zero value for regular exit case.
23495 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23496 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23498 * manual/setjmp.texi (setcontext): Clarify normal process
23499 termination when uc_link is the null pointer.
23500 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23503 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23505 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23506 preprocessor. Test for each exception mask separately.
23508 2012-07-16 Andreas Jaeger <aj@suse.de>
23510 * po/ru.po: Update from translation team.
23512 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23514 * conform/data/string.h-data (NULL): Use macro-constant. Require
23516 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23517 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23518 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23519 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23522 2012-07-13 Andreas Jaeger <aj@suse.de>
23524 * po/fr.po: Update from translation team.
23526 2012-07-12 Marek Polacek <polacek@redhat.com>
23529 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23533 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23536 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23537 Change to 2.4.1 where previously 2.4.0.
23538 * sysdeps/unix/sysv/linux/configure: Regenerated.
23539 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23540 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23542 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23543 (__ASSUME_AT_CLKTCK): Remove.
23544 (__ASSUME_AT_PAGESIZE): Likewise.
23545 (__ASSUME_AT_XID): Likewise.
23546 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23547 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23548 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23550 (HAVE_AUX_PAGESIZE): Likewise.
23551 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23552 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23553 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23555 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23559 the temporary buffer used to invoke __gethostbyname2_r,
23560 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23561 host_data / struct gaih_addrtuple.
23562 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23563 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23564 header file nss/nsswitch.h.
23565 * nss/nsswitch.h (global scope): Add definition of implementation
23566 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23567 resolv/nss_dns/dns-host.c).
23569 2012-07-11 Andreas Jaeger <aj@suse.de>
23571 * po/fr.po: Update from translation team.
23573 * po/sv.po: Update from translation team
23574 * po/fr.po: Another update from translation team.
23576 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23578 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23579 for subnormals or multiply small sinh result by itself.
23580 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23583 2012-07-11 David S. Miller <davem@davemloft.net>
23585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23587 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23590 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23591 (INTERNAL_MARK): Shift it here.
23593 2012-07-10 Marek Polacek <polacek@redhat.com>
23596 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23597 libc_cv_asm_global_directive with .globl.
23598 * configure: Regenerated.
23599 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23601 * sysdeps/i386/configure: Regenerated.
23602 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23604 * sysdeps/x86_64/configure: Regenerated.
23605 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23606 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23607 * elf/tst-unique2mod2.c: Likewise.
23608 * elf/tst-unique2mod1.c: Likewise.
23609 * elf/tst-unique1mod2.c: Likewise.
23610 * elf/tst-unique1mod1.c: Likewise.
23611 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23612 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23614 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23615 * sysdeps/mach/sysdep.h: Likewise.
23616 * sysdeps/i386/sysdep.h: Likewise.
23617 * sysdeps/i386/i386-mcount.S: Likewise.
23618 * sysdeps/x86_64/_mcount.S: Likewise.
23619 * sysdeps/x86_64/sysdep.h: Likewise.
23620 * sysdeps/sh/_mcount.S: Likewise.
23621 * sysdeps/sh/sysdep.h: Likewise.
23622 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23623 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23624 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23625 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23626 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23627 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23628 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23629 * locale/localeinfo.h: Likewise.
23630 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23631 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23633 2012-07-09 Roland McGrath <roland@hack.frob.com>
23636 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23638 * manual/message.texi (The Uniforum approach): Likewise.
23639 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23640 (glibc iconv Implementation): Likewise.
23642 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23645 * math/s_clog.c (__clog): Avoid scaling a value down where that
23646 could result in underflow.
23647 * math/s_clog10.c (__clog10): Likewise.
23648 * math/s_clog10f.c (__clog10f): Likewise.
23649 * math/s_clog10l.c (__clog10l): Likewise.
23650 * math/s_clogf.c (__clogf): Likewise.
23651 * math/s_clogl.c (__clogl): Likewise.
23652 * math/libm-test.inc (clog_test): Add more tests.
23653 (clog10_test): Likewise.
23654 * sysdeps/i386/fpu/libm-test-ulps: Update.
23655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23657 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23660 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23661 by 7 not 8 to examine high bit of fractional part.
23664 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23665 for call to __mcount_internal.
23666 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23667 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23668 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23670 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23673 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23674 approximation for values within 0x1p-13f of an odd multiple of
23676 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23677 exception. Add more tests.
23678 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23682 inputs and return -1 for them. Do not check for +Inf in case not
23683 reachable for +Inf.
23684 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23685 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23687 and return -1 for them. Do not check for +Inf in case not
23688 reachable for +Inf.
23689 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23691 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23692 and return -1 for them. Do not check for +Inf in case not
23693 reachable for +Inf.
23694 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23695 spurious underflow.
23696 * sysdeps/i386/fpu/libm-test-ulps: Update.
23697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23699 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23701 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23703 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23707 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23708 could result in spurious underflow. Scale down values above
23709 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23710 * math/s_csqrtf.c (__csqrtf): Likewise.
23711 * math/s_csqrtl.c (__csqrtl): Likewise.
23712 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23713 spurious underflow.
23714 * sysdeps/i386/fpu/libm-test-ulps: Update.
23715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23717 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23719 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23721 * catgets/xopen-msg.awk: New file.
23722 * catgets/xopen-msg.sed: Removed.
23724 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23726 * intl/po2test.awk: New file.
23727 * intl/po2test.sed: Removed.
23729 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23732 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23733 or multiply small sinh result by itself.
23734 * math/s_ctanf.c (__ctanf): Likewise.
23735 * math/s_ctanh.c (__ctanh): Likewise.
23736 * math/s_ctanhf.c (__ctanhf): Likewise.
23737 * math/s_ctanhl.c (__ctanhl): Likewise.
23738 * math/s_ctanl.c (__ctanl): Likewise.
23739 * math/libm-test.inc (ctan_test_tonearest): New function.
23740 (ctan_test_towardzero): Likewise.
23741 (ctan_test_downward): Likewise.
23742 (ctan_test_upward): Likewise.
23743 (ctanh_test_tonearest): Likewise.
23744 (ctanh_test_towardzero): Likewise.
23745 (ctanh_test_downward): Likewise.
23746 (ctanh_test_upward): Likewise.
23747 (main): Call these new functions.
23748 * sysdeps/i386/fpu/libm-test-ulps: Update.
23749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23751 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23753 * .gitignore: Delete /ports entry.
23755 2012-07-03 Andreas Jaeger <aj@suse.de>
23757 * po/bg.po: Update from translation team.
23758 * po/cs.po: Likewise.
23759 * po/de.po: Likewise.
23760 * po/hr.po: Likewise.
23761 * po/nl.pl: Likewise.
23762 * po/pl.po: Likewise.
23763 * po/vi.po: Likewise.
23765 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23767 * Makeconfig [!+link] (+link-before-libc): New variable.
23768 [!+link] (+link-after-libc): Likewise.
23769 [!+link] (+link-tests): Likewise.
23770 [!+link] (+link): Define in terms of $(+link-before-libc) and
23771 $(+link-after-libc).
23772 [!+link-static] (+link-static-before-libc): New variable.
23773 [!+link-static] (+link-static-after-libc): Likewise.
23774 [!+link-static] (+link-static-tests): Likewise.
23775 [!+link-static] (+link-static): Define in terms of
23776 $(+link-static-before-libc) and $(+link-static-after-libc).
23777 [build-shared] (link-libc-before-gnulib): New variable.
23778 [build-shared] (link-libc-tests): Likewise.
23779 [build-shared] (link-libc): Define in terms of
23780 $(link-libc-before-gnulib).
23781 [!build-shared] (link-libc-tests): New variable.
23782 (link-libc-static-tests): New variable.
23783 [!gnulib] (gnulib-arch): New variable.
23784 [!gnulib] (gnulib-tests): Likewise.
23785 [!gnulib] (static-gnulib-arch): Likewise.
23786 [!gnulib] (static-gnulib-tests): Likewise.
23787 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23788 Define with "=" instead of ":=".
23789 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23790 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23791 * Rules (binaries-all-notests): New variable.
23792 (binaries-all-tests): Likewise.
23793 (binaries-static-notests): Likewise.
23794 (binaries-static-tests): Likewise.
23795 (binaries-all): Define using $(binaries-all-notests) and
23796 $(binaries-all-tests).
23797 (binaries-static): Define using $(binaries-static-notests) and
23798 $(binaries-static-tests).
23799 (binaries-shared-tests): New variable.
23800 (binaries-shared-notests): Likewise.
23801 (binaries-shared): Remove variable.
23802 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23803 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23804 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23805 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23806 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23807 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23808 * elf/Makefile (sln-modules): New variable.
23809 (extra-objs): Add $(sln-modules:=.o).
23810 (ldconfig-modules): Add static-stubs.
23811 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23812 * elf/static-stubs.c: New file.
23815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23816 by 7 not 8 to examine high bit of fractional part. Use volatile
23817 variables when splitting into final array of floats if
23818 __FLT_EVAL_METHOD__ != 0.
23819 * math/libm-test.inc (cos_test): Add another test.
23820 (sin_test): Likewise.
23821 * sysdeps/i386/fpu/libm-test-ulps: Update.
23824 * math/libm-test.inc (cosh_test): Add more tests.
23826 * version.h (RELEASE): Set to "development".
23827 (VERSION): Set to "2.16.90".
23829 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23831 * NEWS: Update copyright. Remove last-updated date.
23832 Mention math library bug fixes and timezone data changes.
23833 * README: Mention GNU/Hurd, x32, and HPPA support status.
23835 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23837 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23839 2012-06-27 Andreas Jaeger <aj@suse.de>
23841 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23843 2012-06-25 Andreas Jaeger <aj@suse.de>
23845 * sysdeps/s390/fpu/libm-test-ulps: Update.
23847 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23848 Thomas Schwinge <thomas@codesourcery.com>
23850 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23851 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23855 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23857 * sysdeps/mach/start.c: Remove file.
23858 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23859 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23860 * sysdeps/sh/init-first.c: Likewise.
23862 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23863 registers for frame unwinding purposes, add CFI directives.
23864 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23865 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23866 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23869 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23870 __fortify_fail returning.
23871 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23873 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23874 sysdeps/sh/____longjmp_chk.S.
23875 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23876 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23877 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23878 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23880 * sysdeps/sh/abort-instr.h: New file.
23881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23882 process in case exit returns.
23884 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23885 initialize the GOT register before use.
23887 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23888 calculation of ARGC > 4.
23890 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23891 meaningful names to some local labels.
23893 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23894 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23896 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23897 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23898 (__arch_compare_and_exchange_val_16_acq): Likewise.
23899 (__arch_compare_and_exchange_val_32_acq): Likewise.
23900 (atomic_exchange_and_add): Fix gUSA sequence.
23901 (atomic_add): Likewise.
23902 (atomic_add_negative): Likewise.
23903 (atomic_add_zero): Likewise.
23904 (atomic_bit_test_set): Likewise.
23906 2012-06-22 Andreas Schwab <schwab@redhat.com>
23909 * include/link.h (struct link_map): Add l_free_initfini.
23910 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23912 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23913 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23914 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23917 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23919 * configure.in: Use AC_LANG_SOURCE.
23920 * configure: Regenerate.
23922 2012-06-22 Roland McGrath <roland@hack.frob.com>
23924 * configure.in (libc_cv_localstatedir): New substituted variable.
23925 * configure: Regenerated.
23926 * config.make.in (localstatedir): New variable, substituted from
23927 libc_cv_localstatedir.
23928 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23929 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23930 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23931 * sysdeps/gnu/configure: Regenerated.
23933 2012-06-21 Jeff Law <law@redhat.com>
23936 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23937 free. Simplify list management for _LIBC case.
23939 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23942 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23943 Clear sign bit of 64-bit integer value before comparing against
23946 * sysdeps/mach/configure: Regenerated.
23948 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23951 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23953 2012-06-21 Jeff Law <law@redhat.com>
23956 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23957 uint16_t for elements in the "seen" array to avoid char overflows.
23958 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23959 * elf/dl-open.c (dl_open_worker): Likewise.
23961 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23963 * scripts/list-sources.sh: Scan PORTS for translations.
23964 * po/libc.pot: Regenerated.
23966 2012-06-21 Andreas Jaeger <aj@suse.de>
23969 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23971 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23972 * bits/byteswap-16.h (__bswap_16): Likewise.
23973 * bits/byteswap.h (__bswap_constant_16): Likewise.
23975 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23978 * sysdeps/i386/fpu_control.h: Removed.
23979 * sysdeps/x86_64/fpu_control.h: Moved to ...
23980 * sysdeps/x86/fpu_control.h: Here.
23982 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23983 (_FPU_SETCW): Likewise.
23985 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23988 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23989 * sysdeps/x86/fpu/bits/mathinline.h: This.
23990 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23994 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23995 functions if __x86_64__ is defined.
23997 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23999 * string/endian.h: Add !__ASSEMBLER__ condition for including
24000 conversion interfaces.
24002 2012-06-15 Joseph Myers <joseph@codesourcery.com>
24005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24006 of ABS(x) in calculating zero to negative powers other than odd
24008 * math/libm-test.inc (pow_test): Add more tests.
24010 2012-06-15 Andreas Jaeger <aj@suse.de>
24012 * manual/contrib.texi (Contributors): Update entry of Liubov
24013 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24016 2012-06-15 Cyril Hrubis <metan@ucw.cz>
24018 * string/string.h: Add __wur to GNU version of strerror_r.
24020 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24023 * string/Makefile (tests): Add tst-strtok_r.
24024 * string/tst-strtok_r.c: New file.
24025 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24026 RAX_LP/RDX_LP on SAVE_PTR.
24028 2012-06-14 Roland McGrath <roland@hack.frob.com>
24030 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24032 2012-06-14 Joseph Myers <joseph@codesourcery.com>
24034 * libm_test.inc (csqrt_test): Allow more spurious underflow
24036 (j0_test): Likewise.
24037 (j1_test): Likewise.
24038 (y0_test): Likewise.
24039 (y1_test): Likewise.
24041 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24043 * po/Makefile (libc.pot): Use UTF-8 charset.
24045 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24048 Suppress sign-conversion warning from FD_SET.
24049 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24050 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24051 not unsigned long int.
24052 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24054 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24058 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24059 __extern_always_inline instead of __extern_inline.
24060 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24061 (__signbit): Likewise.
24062 (__signbitl): Support C++ namespace.
24063 (lrintf): New inline function.
24065 (llrintf): Likewise.
24066 (llrint): Likewise.
24076 (floorf): Likewise.
24077 (nearbyint): Likewise.
24078 (nearbyintf): Likewise.
24080 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24083 non-default versions.
24085 2012-06-11 Roland McGrath <roland@hack.frob.com>
24088 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24090 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24092 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24093 (FE_UPWARD, FE_DOWNWARD): Don't define.
24094 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24095 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24097 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24099 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24100 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24102 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24104 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24105 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24106 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24107 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24109 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24112 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24113 * sysdeps/i386/fpu/Implies: New file.
24114 * sysdeps/x86_64/fpu/Implies: Likewise.
24115 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24116 * sysdeps/x86/fpu/bits/fenv.h: This.
24118 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24121 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24124 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24125 character 0xffff that matches the last element of the
24128 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24130 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24133 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24136 values higher than 25.6283.
24138 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24141 subnormal exponent extraction and add some __builtin_expect.
24142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24143 Fix for subnormal mantissa calculation.
24145 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24147 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24148 cpu2 is -1 and errno is not ENOSYS.
24150 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24153 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24154 * sysdeps/x86/bits/string.h: This.
24155 * sysdeps/x86_64/bits/string.h: Removed.
24157 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24158 if not compiling for x86-64, but compiling for >= i486.
24160 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24161 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24163 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24164 New macro from Linux kernel 3.4.0.
24165 (FP_XSTATE_MAGIC2): Likewise.
24166 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24167 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24168 (struct _fpx_sw_bytes): New struct.
24169 (struct _xsave_hdr): Likewise.
24170 (struct _ymmh_state): Likewise.
24171 (struct _xstate): Likewise.
24173 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24174 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24175 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24176 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24177 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24178 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24180 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24181 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24182 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24183 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24184 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24185 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24187 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24190 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24191 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24192 (sysdep_headers): Include sys/platform/ppc.h.
24193 * sysdeps/powerpc/test-gettimebase.c: Test for
24194 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24195 * manual/Makefile (appendices): Include platform.texi.
24196 * manual/contrib.texi (Contributors): Update @node pointers.
24197 * manual/maint.texi (Maintenance): Likewise.
24198 (Platform): New node.
24199 * manual/platform.texi: New file. Document the new features.
24201 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24202 Jakub Jelinek <jakub@redhat.com>
24205 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24206 where __builtin_expect is unavailable.
24208 2012-06-03 David S. Miller <davem@davemloft.net>
24210 * stdlib/longlong.h: Updated from GCC.
24212 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24215 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24216 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24219 (GLIBC_2.16): Likewise.
24221 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24223 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24225 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24228 (default-abi): New variable.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24230 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24232 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24234 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24236 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24239 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24240 definition. Document in comment.
24242 2012-06-01 David S. Miller <davem@davemloft.net>
24244 * stdlib/longlong.h: Updated from GCC.
24246 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24249 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24250 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24251 sys/debugreg.h sys/io.h here.
24252 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24253 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24255 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24256 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24257 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24258 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24259 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24260 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24262 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24263 Define only if __x86_64__ is defined.
24265 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24269 Use int64_t for variable i.
24270 * math/libm-test.inc (fmod_test): Add more tests.
24272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24273 z computation is not scheduled after fetestexcept.
24274 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24275 Use math_force_eval instead of asm to ensure calculation scheduled
24276 before exception test.
24277 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24278 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24280 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24283 computation is not scheduled after fetestexcept.
24285 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24288 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24289 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24291 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24293 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24294 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24296 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24299 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24301 (__WCHAR_MIN): Support __WORDSIZE == 64.
24302 (__WCHAR_MAX): Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24305 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24309 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24312 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24316 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24319 Defined to 1 if __x86_64__ isn't defined.
24320 (_STAT_VER_LINUX_OLD): New.
24321 (st_atime): Remove duplicate.
24322 (st_mtime): Likewise.
24323 (st_ctime): Likewise.
24325 2012-05-31 David S. Miller <davem@davemloft.net>
24327 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24330 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24332 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24336 * elf/dl-reloc.c: Include <_itoa.h>.
24337 (_dl_reloc_bad_type): Remove use of INTUSE.
24338 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24339 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24340 * stdio-common/psiginfo.c (psiginfo): Likewise.
24341 * stdio-common/psignal.c (psignal): Likewise.
24342 * string/strsignal.c (strsignal): Likewise.
24343 * include/signal.h (_sys_siglist): Declare hidden proto.
24344 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24345 INTVARDEF with libc_hidden_data_def.
24346 * stdio-common/itoa-udigits.c: Likewise.
24347 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24348 (_itoa_lower_digits_internal): Remove declaration.
24349 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24350 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24351 (_sys_sigabbrev_internal): Remove aliases.
24352 (_sys_siglist): Define hidden alias.
24354 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24359 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24362 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24363 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24365 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24366 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24367 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24368 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24370 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24372 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24373 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24374 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24376 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24384 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24385 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24386 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24388 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24389 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24391 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24392 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24393 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24395 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24396 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24398 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24399 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24403 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24405 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24406 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24408 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24410 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24411 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24412 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24414 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24416 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24418 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24420 * math/math.h (M_El): Use two more decimal places.
24421 (M_LOG2El): Likewise.
24422 (M_LOG10El): Likewise.
24423 (M_LN2l): Likewise.
24424 (M_LN10l): Likewise.
24426 (M_PI_2l): Likewise.
24427 (M_PI_4l): Likewise.
24428 (M_1_PIl): Likewise.
24429 (M_2_PIl): Likewise.
24430 (M_2_SQRTPIl): Likewise.
24431 (M_SQRT2l): Likewise.
24432 (M_SQRT1_2l): Likewise.
24434 2012-05-31 David S. Miller <davem@davemloft.net>
24436 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24437 values between float registers.
24438 * sysdeps/sparc/sparc64/memset.S: Likewise.
24439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24441 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24443 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24444 -D_FORTIFY_SOURCE=1.
24445 (CPPFLAGS-tst-longjmp_chk.c): Define.
24446 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24447 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24448 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24449 CFLAGS-tst-wchar-h.c.
24451 2012-05-31 Marek Polacek <polacek@redhat.com>
24454 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24455 __endmntent_internal): Remove declaration.
24456 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24457 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24458 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24460 2012-05-30 David S. Miller <davem@davemloft.net>
24462 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24463 (___Q_simulate_exceptions): Use real FP ops rather than writing
24465 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24468 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24471 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24472 * sysdeps/x86/bits/xtitypes.h: This.
24474 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24475 * sysdeps/x86/bits/wordsize.h: This.
24477 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24478 * sysdeps/x86/bits/huge_vall.h: This.
24480 * sysdeps/i386/bits/select.h: Removed.
24481 * sysdeps/x86_64/bits/select.h: Renamed to ...
24482 * sysdeps/x86/bits/select.h: This.
24484 * sysdeps/i386/bits/setjmp.h: Removed.
24485 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24486 * sysdeps/x86/bits/setjmp.h: This.
24488 * sysdeps/i386/bits/mathdef.h: Removed.
24489 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24490 * sysdeps/x86/bits/mathdef.h: This.
24492 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24495 * include/sys/socket.h (__connect_internal)
24496 (__libc_sa_len_internal): Remove declaration.
24497 (__connect, __libc_sa_len): Declare hidden_proto.
24498 (SA_LEN): Remove use of INTUSE.
24499 * socket/connect.c: Add libc_hidden_def.
24500 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24501 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24502 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24504 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24505 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24506 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24507 of adding _internal alias.
24509 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24512 * sysdeps/i386/bits/link.h: Removed.
24513 * sysdeps/i386/bits/linkmap.h: Likewise.
24514 * sysdeps/x86_64/bits/link.h: Renamed to ...
24515 * sysdeps/x86/bits/link.h: This.
24516 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24517 * sysdeps/x86/bits/linkmap.h: This.
24519 * sysdeps/i386/bits/endian.h: Removed.
24520 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24521 * sysdeps/x86/bits/endian.h: This.
24523 * sysdeps/i386/bits/byteswap.h: Removed.
24524 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24525 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24526 * sysdeps/x86/bits/byteswap.h: This.
24527 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24528 * sysdeps/x86/bits/byteswap-16.h: This.
24529 * sysdeps/i386/Implies: Add x86.
24530 * sysdeps/x86_64/Implies: Likewise.
24532 2012-05-30 David S. Miller <davem@davemloft.net>
24534 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24535 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24536 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24537 (FP_TRAPPING_EXCEPTIONS): Define.
24538 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24539 (FP_TRAPPING_EXCEPTIONS): Define.
24540 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24541 subnormals only when inexact has been signalled or underflow
24542 exceptions are enabled.
24543 (_FP_PACK_CANONICAL): Likewise.
24545 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24548 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24549 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24551 2012-05-30 Richard Henderson <rth@twiddle.net>
24553 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24554 with #ifndef NOT_IN_libc.
24556 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24557 marked to avoid plt entry.
24559 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24562 * Makeconfig (default-abi): New macro.
24563 (abi-includes): Likewise.
24564 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24565 $(abi-$(default-abi)-lib-soname) for soname if defined.
24566 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24568 * Makefile (installed-stubs): Likewise.
24569 * include/stubs-biarch.h: Removed.
24570 * scripts/lib-names.awk: Only handle one library at a time.
24571 * scripts/soversions.awk: Remove WORDSIZE support.
24572 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24574 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24576 (syscall-list-default-condition): Likewise.
24577 (syscall-list-default-condition): Likewise.
24578 (syscall-list-includes): Likewise.
24579 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24580 syscall-list-* with abi-*. Handle undefined abi-variants.
24581 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24582 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24583 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24584 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24586 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24588 (syscall-list-32-options): Likewise.
24589 (syscall-list-32-condition): Likewise.
24590 (syscall-list-64-options): Likewise.
24591 (syscall-list-64-condition): Likewise.
24592 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24594 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24597 (abi-64-ld-soname): New macro.
24598 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24599 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24602 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24603 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24605 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24607 * sysdeps/unix/sysv/linux/kernel-features.h
24608 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24609 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24610 include <kernel-features.h>.
24611 [!__NR_ftruncate64]: Remove conditional code.
24612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24613 [__NR_ftruncate64]: Make code unconditional.
24614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24615 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24616 include <kernel-features.h>.
24617 [!__NR_ftruncate64]: Remove conditional code.
24618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24619 [__NR_ftruncate64]: Make code unconditional.
24620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24622 include <kernel-features.h>.
24623 [!__NR_ftruncate64]: Remove conditional code.
24624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24625 [__NR_ftruncate64]: Make code unconditional.
24626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24628 include <kernel-features.h>.
24629 [!__NR_ftruncate64]: Remove conditional code.
24630 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24631 [__NR_ftruncate64]: Make code unconditional.
24632 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24634 * configure.in (libc_cv_fpie): Weaken to a compile test using
24635 LIBC_TRY_CC_OPTION.
24636 * configure: Regenerated.
24638 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24653 2012-05-27 David S. Miller <davem@davemloft.net>
24655 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24657 (__Q_simulate_exceptions): Return void. Change to simulate
24658 exceptions by writing into the %fsr.
24659 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24660 (__Qp_handle_exceptions): Likewise.
24662 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24663 __Qp_handle_exceptions.
24664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24665 __Qp_handle_exceptions.
24666 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24667 as unused and give dummy FP_RND_NEAREST initializer.
24668 (FP_INHIBIT_RESULTS): Define.
24669 (___Q_simulate_exceptions): Update declaration.
24670 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24673 as unused and give dummy FP_RND_NEAREST initializer.
24674 (__Qp_handle_exceptions): Update declaration.
24675 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24678 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24680 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24681 the temporary FPU control word.
24682 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24683 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24684 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24685 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24686 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24687 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24688 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24689 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24690 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24691 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24692 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24694 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24696 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24699 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24701 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24702 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24703 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24704 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24706 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24707 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24710 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24712 * po/h.po: Update from translation team.
24714 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24716 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24719 handling of denormals.
24720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24721 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24722 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24729 2012-05-26 Marek Polacek <polacek@redhat.com>
24732 * math/libm-test.inc (fma_test): Don't always expect underflow
24735 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24738 * elf/tst-execstack.c: Include stackinfo.h.
24739 (do_test): Adjust test case to ensure that pthread_getattr_np
24740 behaviour remains the same after marking stack executable.
24742 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24744 * sysdeps/unix/sysv/linux/kernel-features.h
24745 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24746 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24748 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24749 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24750 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24752 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24753 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24755 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24757 * configure.in: Define the default includes to being none.
24758 * configure: Regenerated.
24760 2012-05-25 Roland McGrath <roland@hack.frob.com>
24762 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24763 * sysdeps/x86_64/setjmp.S: Likewise.
24764 * sysdeps/i386/bsd-setjmp.S: Likewise.
24765 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24766 * sysdeps/i386/setjmp.S: Likewise.
24767 * sysdeps/i386/__longjmp.S: Likewise.
24768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24771 * include/stap-probe.h: New file.
24772 * configure.in: Handle --enable-systemtap.
24773 * configure: Regenerated.
24774 * config.h.in (USE_STAP_PROBE): New #undef.
24775 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24776 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24777 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24779 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24783 to 2.4.0 where earlier.
24784 * sysdeps/unix/sysv/linux/configure: Regenerated.
24785 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24786 <kernel-features.h>.
24787 [__ASSUME_32BITUIDS]: Make code unconditional.
24788 [!__ASSUME_32BITUIDS]: Remove conditional code.
24789 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24790 <kernel-features.h>.
24791 [__ASSUME_32BITUIDS]: Make code unconditional.
24792 [!__ASSUME_32BITUIDS]: Remove conditional code.
24793 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24794 [__ASSUME_32BITUIDS]: Make code unconditional.
24795 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24796 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24797 <kernel-features.h>.
24798 [__ASSUME_32BITUIDS]: Make code unconditional.
24799 [!__ASSUME_32BITUIDS]: Remove conditional code.
24800 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24801 <kernel-features.h>.
24802 [__ASSUME_32BITUIDS]: Make code unconditional.
24803 [!__ASSUME_32BITUIDS]: Remove conditional code.
24804 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24805 <kernel-features.h>.
24806 [__ASSUME_32BITUIDS]: Make code unconditional.
24807 [!__ASSUME_32BITUIDS]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24809 <kernel-features.h>.
24810 [__ASSUME_32BITUIDS]: Make code unconditional.
24811 [!__ASSUME_32BITUIDS]: Remove conditional code.
24812 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24813 <kernel-features.h>.
24814 [__ASSUME_32BITUIDS]: Make code unconditional.
24815 [!__ASSUME_32BITUIDS]: Remove conditional code.
24816 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24817 <kernel-features.h>.
24818 [__ASSUME_32BITUIDS]: Make code unconditional.
24819 [!__ASSUME_32BITUIDS]: Remove conditional code.
24820 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24821 <kernel-features.h>.
24822 [__ASSUME_32BITUIDS]: Make code unconditional.
24823 [!__ASSUME_32BITUIDS]: Remove conditional code.
24824 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24825 <kernel-features.h>.
24826 [__ASSUME_32BITUIDS]: Make code unconditional.
24827 [!__ASSUME_32BITUIDS]: Remove conditional code.
24828 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24829 <kernel-features.h>.
24830 [__ASSUME_32BITUIDS]: Make code unconditional.
24831 [!__ASSUME_32BITUIDS]: Remove conditional code.
24832 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24833 <kernel-features.h>.
24834 [__ASSUME_32BITUIDS]: Make code unconditional.
24835 [!__ASSUME_32BITUIDS]: Remove conditional code.
24836 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24837 <kernel-features.h>.
24838 [__NR_setresgid] (__setresgid): Do not declare.
24839 [__ASSUME_32BITUIDS]: Make code unconditional.
24840 [!__ASSUME_32BITUIDS]: Remove conditional code.
24841 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24842 <kernel-features.h>.
24843 [__NR_setresuid] (__setresuid): Do not declare.
24844 [__ASSUME_32BITUIDS]: Make code unconditional.
24845 [!__ASSUME_32BITUIDS]: Remove conditional code.
24846 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24847 <kernel-features.h>.
24848 [__ASSUME_32BITUIDS]: Make code unconditional.
24849 [!__ASSUME_32BITUIDS]: Remove conditional code.
24850 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24851 <kernel-features.h>.
24852 [__ASSUME_32BITUIDS]: Make code unconditional.
24853 [!__ASSUME_32BITUIDS]: Remove conditional code.
24854 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24855 <kernel-features.h>.
24856 [__ASSUME_32BITUIDS]: Make code unconditional.
24857 [!__ASSUME_32BITUIDS]: Remove conditional code.
24858 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24859 <kernel-features.h>.
24860 [__ASSUME_32BITUIDS]: Make code unconditional.
24861 [!__ASSUME_32BITUIDS]: Remove conditional code.
24862 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24863 <kernel-features.h>.
24864 [__ASSUME_32BITUIDS]: Make code unconditional.
24865 [!__ASSUME_32BITUIDS]: Remove conditional code.
24866 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24867 <kernel-features.h>.
24868 [__ASSUME_32BITUIDS]: Make code unconditional.
24869 [!__ASSUME_32BITUIDS]: Remove conditional code.
24870 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24871 <kernel-features.h>.
24872 [__ASSUME_32BITUIDS]: Make code unconditional.
24873 [!__ASSUME_32BITUIDS]: Remove conditional code.
24874 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24875 <kernel-features.h>.
24876 [__ASSUME_32BITUIDS]: Make code unconditional.
24877 [!__ASSUME_32BITUIDS]: Remove conditional code.
24878 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24879 <kernel-features.h>.
24880 [__ASSUME_32BITUIDS]: Make code unconditional.
24881 [!__ASSUME_32BITUIDS]: Remove conditional code.
24882 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24883 <kernel-features.h>.
24884 [__ASSUME_32BITUIDS]: Make code unconditional.
24885 [!__ASSUME_32BITUIDS]: Remove conditional code.
24886 * sysdeps/unix/sysv/linux/kernel-features.h
24887 (__ASSUME_SETRESUID_SYSCALL): Remove.
24888 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24889 (__ASSUME_32BITUIDS): Likewise.
24890 (__ASSUME_LDT_WORKS): Likewise.
24891 (__ASSUME_O_DIRECTORY): Likewise.
24892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24893 architecture but not kernel version.
24894 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24895 (__ASSUME_MMAP2_SYSCALL): Likewise.
24896 (__ASSUME_STAT64_SYSCALL): Likewise.
24897 (__ASSUME_IPC64): Likewise.
24898 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24899 <kernel-features.h>.
24900 [__ASSUME_32BITUIDS]: Make code unconditional.
24901 [!__ASSUME_32BITUIDS]: Remove conditional code.
24902 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24903 <kernel-features.h>.
24904 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24905 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24906 132096]: Remove conditional code.
24907 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24908 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24909 <kernel-features.h>.
24910 [__ASSUME_32BITUIDS]: Make code unconditional.
24911 [!__ASSUME_32BITUIDS]: Remove conditional code.
24912 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24913 <kernel-features.h>.
24914 [__ASSUME_32BITUIDS]: Make code unconditional.
24915 [!__ASSUME_32BITUIDS]: Remove conditional code.
24916 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24917 <kernel-features.h>.
24918 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24920 (__setresgid): Do not declare.
24921 [__ASSUME_32BITUIDS]: Make code unconditional.
24922 [!__ASSUME_32BITUIDS]: Remove conditional code.
24923 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24924 <kernel-features.h>.
24925 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24927 (__setresuid): Do not declare.
24928 [__ASSUME_32BITUIDS]: Make code unconditional.
24929 [!__ASSUME_32BITUIDS]: Remove conditional code.
24930 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
24935 <kernel-features.h>.
24936 [__ASSUME_32BITUIDS]: Make code unconditional.
24937 [!__ASSUME_32BITUIDS]: Remove conditional code.
24939 2012-05-25 Richard Henderson <rth@twiddle.net>
24941 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24942 dl_hwcap to ifunc resolver.
24943 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24945 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24946 dl_hwcap to ifunc resolver.
24947 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24949 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24952 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24953 for |x| <= 2**-26, not 2**-57.
24954 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24957 2012-05-24 Jeff Law <law@redhat.com>
24959 * stdio-common/Makefile (tests): Add bug25.
24960 * stdio-common/bug25.c: New test.
24962 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24965 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24966 multiple of MALLOC_ALIGNMENT in size.
24967 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24969 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24971 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24973 (FILENAME_MAX): Use macro-int-constant.
24974 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24975 (_IOFBF): Use macro-int-constant.
24976 (_IOLBF): Likewise.
24977 (_IONBF): Likewise.
24978 (SEEK_CUR): Likewise.
24979 (SEEK_END): Likewise.
24980 (SEEK_SET): Likewise.
24981 (TMP_MAX): Likewise.
24982 (EOF): Use macro-int-constant. Require < 0.
24983 (NULL): Use macro-constant. Require == 0.
24984 (stdin): Require type to be FILE *.
24985 (stdout): Likewise.
24986 (stderr): Likewise.
24987 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24988 macro-int-constant.
24989 (EXIT_SUCCESS): Likewise.
24990 (NULL): Use macro-constant. Require == 0.
24991 (RAND_MAX): Use macro-int-constant.
24992 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24993 [C99-based standards] (strtof): Require function.
24994 [C99-based standards] (strtold): Likewise.
24995 [C99-based standards] (strtoll): Likewise.
24996 [C99-based standards] (strtoull): Likewise.
24997 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24998 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24999 [ISO || ISO99 || ISO11] (math.h): Likewise.
25000 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25001 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25004 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25007 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25008 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25009 * intl/dgettext.c (DCGETTEXT): Likewise.
25010 * intl/gettext.c (DCGETTEXT): Likewise.
25011 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25012 * posix/regex_internal.h (gettext): Likewise.
25013 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25014 Remove declaration.
25015 * include/argz.h (__argz_count_internal)
25016 (__argz_stringify_internal): Remove declaration.
25017 (__argz_count, __argz_stringify): Declare hidden proto.
25018 * intl/dcgettext.c: Remove use of INTDEF.
25019 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25020 * string/argz-stringify.c: Likewise.
25021 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25022 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25023 Declare hidden proto.
25024 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25025 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25026 Declare hidden proto.
25027 * include/stdio.h (__asprintf_internal): Don't declare.
25028 (__asprintf): Don't define as macro. Declare hidden proto.
25029 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25030 (__fsetlocking): Declare hidden proto.
25031 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25032 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25034 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25035 (_IO_setlinebuf): Remove use of INTUSE.
25036 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25037 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25038 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25039 Remove declaration.
25040 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25041 (_IO_do_flush): Remove use of INTUSE.
25042 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25043 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25044 (_IO_adjust_column, _IO_least_wmarker)
25045 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25046 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25047 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25048 (_IO_default_doallocate, _IO_wdefault_doallocate)
25049 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25050 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25051 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25052 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25053 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25054 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25055 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25056 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25057 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25058 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25059 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25060 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25061 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25063 (_IO_flush_all_internal, _IO_adjust_column_internal)
25064 (_IO_default_uflow_internal, _IO_default_finish_internal)
25065 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25066 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25067 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25068 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25069 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25070 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25071 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25072 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25073 (_IO_file_close_internal, _IO_file_close_it_internal)
25074 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25075 (_IO_file_init_internal, _IO_file_attach_internal)
25076 (_IO_file_fopen_internal, _IO_file_read_internal)
25077 (_IO_file_sync_internal, _IO_file_seek_internal)
25078 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25079 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25080 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25081 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25082 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25083 (_IO_list_all_internal, _IO_link_in_internal)
25084 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25085 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25086 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25087 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25088 (_IO_do_write_internal, _IO_padn_internal)
25089 (_IO_getline_info_internal, _IO_getline_internal)
25090 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25091 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25092 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25093 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25094 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25095 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25096 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25097 with libc_hidden_ver, remove use of INTUSE.
25098 * libio/genops.c: Likewise.
25099 * libio/freopen.c: Likewise.
25100 * libio/freopen64.c: Likewise.
25101 * libio/iofclose.c: Likewise.
25102 * libio/iofdopen.c: Likewise.
25103 * libio/iofflush.c: Likewise.
25104 * libio/iofflush_u.c: Likewise.
25105 * libio/iofgets.c: Likewise.
25106 * libio/iofgets_u.c: Likewise.
25107 * libio/iofopen.c: Likewise.
25108 * libio/iofopncook.c: Likewise.
25109 * libio/iofread.c: Likewise.
25110 * libio/iofread_u.c: Likewise.
25111 * libio/ioftell.c: Likewise.
25112 * libio/iofwrite.c: Likewise.
25113 * libio/iogetline.c: Likewise.
25114 * libio/iogets.c: Likewise.
25115 * libio/iogetwline.c: Likewise.
25116 * libio/iopadn.c: Likewise.
25117 * libio/iopopen.c: Likewise.
25118 * libio/ioseekoff.c: Likewise.
25119 * libio/ioseekpos.c: Likewise.
25120 * libio/iosetbuffer.c: Likewise.
25121 * libio/iosetvbuf.c: Likewise.
25122 * libio/ioungetc.c: Likewise.
25123 * libio/ioungetwc.c: Likewise.
25124 * libio/iovdprintf.c: Likewise.
25125 * libio/iovsprintf.c: Likewise.
25126 * libio/iovsscanf.c: Likewise.
25127 * libio/memstream.c: Likewise.
25128 * libio/obprintf.c: Likewise.
25129 * libio/oldfileops.c: Likewise.
25130 * libio/oldiofclose.c: Likewise.
25131 * libio/oldiofdopen.c: Likewise.
25132 * libio/oldiofopen.c: Likewise.
25133 * libio/oldiopopen.c: Likewise.
25134 * libio/oldstdfiles.c: Likewise.
25135 * libio/putc.c: Likewise.
25136 * libio/setbuf.c: Likewise.
25137 * libio/setlinebuf.c: Likewise.
25138 * libio/stdfiles.c: Likewise.
25139 * libio/strops.c: Likewise.
25140 * libio/vasprintf.c: Likewise.
25141 * libio/vscanf.c: Likewise.
25142 * libio/vsnprintf.c: Likewise.
25143 * libio/vswprintf.c: Likewise.
25144 * libio/wfiledoalloc.c: Likewise.
25145 * libio/wfileops.c: Likewise.
25146 * libio/wgenops.c: Likewise.
25147 * libio/wmemstream.c: Likewise.
25148 * libio/wstrops.c: Likewise.
25149 * libio/__fpurge.c: Likewise.
25150 * libio/__fsetlocking.c: Likewise.
25151 * assert/assert.c: Likewise.
25152 * debug/fgets_chk.c: Likewise.
25153 * debug/fgets_u_chk.c: Likewise.
25154 * debug/fread_chk.c: Likewise.
25155 * debug/fread_u_chk.c: Likewise.
25156 * debug/gets_chk.c: Likewise.
25157 * debug/obprintf_chk.c: Likewise.
25158 * debug/vasprintf_chk.c: Likewise.
25159 * debug/vdprintf_chk.c: Likewise.
25160 * debug/vsnprintf_chk.c: Likewise.
25161 * debug/vsprintf_chk.c: Likewise.
25162 * malloc/mtrace.c: Likewise.
25163 * misc/error.c: Likewise.
25164 * misc/syslog.c: Likewise.
25165 * stdio-common/asprintf.c: Likewise.
25166 * stdio-common/fxprintf.c: Likewise.
25167 * stdio-common/getw.c: Likewise.
25168 * stdio-common/isoc99_fscanf.c: Likewise.
25169 * stdio-common/isoc99_scanf.c: Likewise.
25170 * stdio-common/isoc99_vfscanf.c: Likewise.
25171 * stdio-common/isoc99_vscanf.c: Likewise.
25172 * stdio-common/isoc99_vsscanf.c: Likewise.
25173 * stdio-common/printf-prs.c: Likewise.
25174 * stdio-common/printf_fp.c: Likewise.
25175 * stdio-common/printf_fphex.c: Likewise.
25176 * stdio-common/printf_size.c: Likewise.
25177 * stdio-common/putw.c: Likewise.
25178 * stdio-common/scanf.c: Likewise.
25179 * stdio-common/sprintf.c: Likewise.
25180 * stdio-common/tmpfile.c: Likewise.
25181 * stdio-common/vfprintf.c: Likewise.
25182 * stdio-common/vfscanf.c: Likewise.
25183 * stdlib/strfmon_l.c: Likewise.
25184 * sunrpc/openchild.c: Likewise.
25185 * sunrpc/xdr_stdio.c: Likewise.
25186 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25187 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25189 2012-05-24 Roland McGrath <roland@hack.frob.com>
25191 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25193 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25194 in the third column, to generate for the shared library an IFUNC
25195 that uses _dl_vdso_vsym.
25196 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25197 * Makeconfig (object-suffixes-noshared): New variable.
25199 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25200 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25201 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25202 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25205 * include/sys/time.h (__gettimeofday): Remove macro.
25206 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25207 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25209 (__gettimeofday): Add libc_hidden_def.
25210 (gettimeofday): Add libc_hidden_weak.
25211 * sysdeps/mach/gettimeofday.c: Likewise.
25212 * sysdeps/posix/gettimeofday.c: Likewise.
25213 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25214 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25216 (__gettimeofday_internal): Remove strong_alias.
25217 (__gettimeofday): Add libc_hidden_def.
25218 (gettimeofday): Add libc_hidden_weak.
25219 * sysdeps/unix/syscalls.list (gettimeofday):
25220 Remove __gettimeofday_internal alias.
25222 2012-05-24 Daniel Jacobowitz <drow@false.org>
25223 H.J. Lu <hongjiu.lu@intel.com>
25226 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25227 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25228 (largebin_index_32_big): New.
25229 (largebin_index): Use it for 16-byte alignment.
25230 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25231 correction with front_misalign.
25233 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25261 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25262 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25264 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25268 * math/libm-test.inc (exp_test): Add test from bug 14036.
25269 (pow_test): Add test from bug 10846.
25271 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25273 (special_function): Do not include flags in test name.
25274 (parse_args): Likewise.
25275 * sysdeps/i386/fpu/libm-test-ulps: Update.
25276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25277 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25278 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25281 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25283 * math/libm-test.inc ("Philosophy"): Update comment about
25285 (UNDERFLOW_EXCEPTION): New macro.
25286 (UNDERFLOW_EXCEPTION_OK): Likewise.
25287 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25288 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25289 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25290 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25291 (INVALID_EXCEPTION_OK): Update value.
25292 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25293 (OVERFLOW_EXCEPTION_OK): Likewise.
25294 (IGNORE_ZERO_INF_SIGN): Likewise.
25295 (test_exceptions): Handle underflow exceptions.
25296 (acos_test): Update for underflow exception expectations.
25297 (cexp_test): Likewise.
25298 (clog_test): Likewise.
25299 (clog10_test): Likewise.
25300 (csqrt_test): Likewise.
25301 (ctan_test): Likewise.
25302 (ctanh_test): Likewise.
25303 (exp_test): Likewise.
25304 (exp10_test): Likewise.
25305 (exp2_test): Likewise.
25306 (expm1_test): Likewise.
25307 (fma_test): Likewise.
25308 (j0_test): Likewise.
25309 (jn_test): Likewise.
25310 (nexttoward_test): Likewise.
25311 (pow_test): Likewise.
25312 (scalbn_test): Likewise.
25313 (scalbln_test): Likewise.
25314 (tan_test): Likewise.
25315 (y1_test): Likewise.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25319 2012-05-23 David S. Miller <davem@davemloft.net>
25321 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25322 (__libc_sigaction): Remove unused local variables.
25324 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25326 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25328 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25330 mktime: avoid signed integer overflow
25331 * time/mktime.c (__mktime_internal): Do not mishandle the case
25332 where diff == INT_MIN.
25334 mktime: simplify computation of average
25335 * time/mktime.c (ranged_convert): Use new time_t_avg function
25336 instead of rolling our own (probably-slower) code.
25338 mktime: do not assume signed right shift propagates sign bit
25339 * time/mktime.c (isdst_differ): New static function.
25340 (__mktime_internal): No need to normalize tm_isdst now.
25341 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25344 mktime: merge another wrapv change from gnulib
25345 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25346 from some compilers.
25348 mktime: remove incorrect attempt at unusual arithmetics
25349 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25350 The code didn't really work on such machines anyway.
25351 (TYPE_MINIMUM): Assume two's complement.
25352 (twos_complement_arithmetic): Verify that long_int and time_t
25353 are two's complement (or unsigned, in the latter case).
25355 mktime: check signed shifts on long_int and time_t, too
25356 * time/mktime.c (SHR): Check that shifts work as desired
25357 on the types long_int and time_t too, as SHR is used on
25360 mktime: do not assume 'long' is wide enough
25361 * time/mktime.c (verify): Move decl up.
25362 (long_int): New type.
25363 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25364 to remove assumption in the code that 'long' is wide enough to
25365 store year values. This assumption is not true on x32 and on
25366 some non-glibc platforms.
25368 mktime: merge wrapv change from gnulib
25369 * time/mktime.c (WRAPV): New macro.
25370 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25371 (guess_time_tm, __mktime_internal): Do not assume that signed
25372 integer overflow wraps around; modern compilers generate code
25373 where this assumption is no longer valid.
25375 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25377 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25378 Replace "jmp L(pseudo_end)" with "ret".
25379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25382 2012-05-23 Andreas Jaeger <aj@suse.de>
25384 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25385 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25387 2012-05-23 Andreas Jaeger <aj@suse.de>
25388 Maximilian Attems <max@stro.at>
25390 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25393 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25396 code so that pseudo_end is just ret and the stack pointer is
25397 correct also for static library in error case.
25399 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25401 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25402 move to syscalls.list.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25408 * manual/install.texi (Running make install): Do not mention Linux
25409 kernel version for which pt_chown is not needed.
25410 (Linux): Do not mention problems with nscd with 2.0 kernels.
25411 * INSTALL: Regenerated.
25413 2012-05-23 Andreas Jaeger <aj@suse.de>
25415 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25416 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25418 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25420 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25422 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25423 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25424 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25425 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25426 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25427 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25428 * sysdeps/unix/sysv/linux/bits/in.h
25429 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25431 2012-05-22 Roland McGrath <roland@hack.frob.com>
25433 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25434 (PREPARE_VERSION): Just use assert instead, it will be elided
25435 under [NDEBUG] anyway.
25437 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25439 * sysdeps/unix/sysv/linux/Makefile: Include
25440 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25441 (sysdep_routines): Remove sysctl.
25442 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25443 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25444 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25445 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25446 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25448 2012-05-22 Andreas Jaeger <aj@suse.de>
25450 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25451 that pseudo_end is just ret and the stack pointer is correct also
25452 for static library in error case.
25454 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25457 * nss/nsswitch.c (defconfig_entries): New variable.
25458 (__nss_database_lookup): Don't leak defconfig entries.
25459 (nss_parse_service_list): Don't leak on error paths.
25460 (free_database_entries): New function.
25461 (free_defconfig): New function.
25462 (free_mem): Move common code to free_database_entries.
25464 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25466 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25468 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25470 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25471 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25474 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25475 (INTERNAL_SYSCALL_TYPES): Likewise.
25476 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25477 (LOAD_REGS_TYPES_[1-6]): Likewise.
25478 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25479 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25481 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25484 copysignl for GLIBC_2_0.
25485 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25486 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25488 logbl for GLIBC_2_0.
25489 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25492 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25495 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25497 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25500 * time/mktime.c: Update copyright years.
25502 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25504 mktime: merge comment-quoting-style change from gnulib
25505 * time/mktime.c: Quote 'like this' in comments.
25506 The GNU coding standards suggest that we no longer quote `like this',
25507 as "`" and "'" are typically rendered asymmetrically nowadays.
25508 The typical gnulib style is to quote 'like this' when quoting
25509 code, and "like this" when quoting English.
25511 * time/mktime.c (compile-command): Add "-I.".
25513 mktime: merge mktime-internal.h change from gnulib
25514 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25516 mktime: merge time_r change from gnulib
25517 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25519 mktime: merge DEBUG change from gnulib
25520 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25521 case system <time.h> has a #define.
25523 mktime: merge <sys/types.h> change from gnulib
25524 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25525 since <time.t> is now guaranteed to define time_t.
25527 mktime: merge HAVE_CONFIG_H change from gnulib
25528 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25530 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25535 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25537 (struct rusage): Use anonymous union to pad each field to
25540 2012-05-21 David S. Miller <davem@davemloft.net>
25542 * Makefules (o-iterator): Remove .s cases.
25543 (compile-command.s): Delete.
25544 (COMPILE.s): Delete.
25545 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25547 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25549 * configure.in (libc_cv_predef_stack_protector): Only consider
25550 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25551 * configure: Regenerated.
25553 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25556 New macro. Use R*LP on int and pointer.
25557 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25558 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25559 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25560 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25562 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25563 [__WORDSIZE_TIME64_COMPAT32] instead of
25564 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25565 (struct utmp): Likewise.
25566 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25567 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25569 (__WORDSIZE_TIME64_COMPAT32): This.
25570 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25571 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25572 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25573 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25574 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25575 (__WORDSIZE_TIME64_COMPAT32): New macro.
25577 2012-05-21 Andreas Jaeger <aj@suse.de>
25579 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25580 only if [SHARED]. Add prototype for __wcschr_ia32.
25582 2012-05-21 Roland McGrath <roland@hack.frob.com>
25584 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25585 of %rbp unmolested in the jmp_buf while mangling the low bits.
25586 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25587 unmolested high bits of %rbp while demangling the low bits.
25588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25590 2012-05-21 Andreas Jaeger <aj@suse.de>
25592 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25593 * sunrpc/svc_simple.c: Use it for registerrpc.
25594 * sunrpc/xcrypt.c: Use it for passwd2des.
25596 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25598 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25600 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25601 Don't define if [__SYSCALL_WORDSIZE != 32].
25602 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25605 2012-05-21 Bruno Haible <bruno@clisp.org>
25606 Andreas Jaeger <aj@suse.de>
25608 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25609 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25610 inptr and inend for must_buffer_ch.
25611 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25612 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25613 * stdio-common/Makefile (tests): Remove bug15.
25614 (bug15-ENV): Remove macro.
25615 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25618 2012-05-19 Andreas Jaeger <aj@suse.de>
25619 Roland McGrath <roland@hack.frob.com>
25621 * manual/contrib.texi: Completely rewritten. It contains now an
25622 alphabetical list of contributors and their contributions.
25624 2012-05-21 Richard Henderson <rth@twiddle.net>
25626 * misc/getauxval.c (__getauxval): Use unsigned long int.
25627 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25628 (getauxval): Use unsigned long int.
25630 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25632 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25634 2012-05-21 Roland McGrath <roland@hack.frob.com>
25636 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25637 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25638 __alignof__ (long double).
25640 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25644 2012-05-20 Richard Henderson <rth@twiddle.net>
25646 * misc/getauxval.c: New file.
25647 * misc/sys/auxv.h: New file.
25648 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25649 (routines): Add getauxval.
25650 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25652 * elf/dl-sysdep.c (_dl_auxv): Remove.
25653 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25654 * elf/dl-support.c (_dl_auxv): New variable.
25655 (_dl_aux_init): Initialize it.
25656 * manual/startup.texi (Auxiliary Vector): New node.
25657 * sysdeps/generic/bits/hwcap.h: New file.
25658 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25659 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25660 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25661 * sysdeps/sparc/sysdep.h: ... here. Include it.
25662 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25675 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25679 2012-05-19 David S. Miller <davem@davemloft.net>
25681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25683 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25686 * math/s_ccosh.c: Include <float.h>
25687 (__ccosh): Avoid internal overflow calculating sinh and cosh
25688 values before multiplying by sin and cos values.
25689 * math/s_ccoshf.c: Likewise.
25690 * math/s_ccoshl.c: Likewise.
25691 * math/s_csin.c: Likewise.
25692 * math/s_csinf.c: Likewise.
25693 * math/s_csinl.c: Likewise.
25694 * math/s_csinh.c: Likewise.
25695 * math/s_csinhf.c: Likewise.
25696 * math/s_csinhl.c: Likewise.
25697 * math/libm-test.inc (ccos_test): Add more tests.
25698 (ccosh_test): Likewise.
25699 (csin_test): Likewise.
25700 (csinh_test): Likewise.
25701 * sysdeps/i386/fpu/libm-test-ulps: Update.
25702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25704 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25706 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25707 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25709 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25711 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25713 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25714 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25715 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25716 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25717 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25718 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25719 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25720 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25721 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25722 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25723 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25724 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25725 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25726 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25727 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25728 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25729 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25730 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25731 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25732 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25733 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25734 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25735 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25736 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25737 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25738 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25739 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25740 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25741 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25742 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25743 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25745 2012-05-18 Andreas Jaeger <aj@suse.de>
25747 * csu/.gitignore: Delete.
25749 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25751 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25752 (timex): Use __syscall_slong_t.
25754 2012-05-18 Andreas Jaeger <aj@suse.de>
25755 Carlos O'Donell <carlos_odonell@mentor.com>
25757 * manual/install.texi (Configuring and compiling): Update
25758 description about files modified in the source directory.
25759 * INSTALL: Regenerated.
25761 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25763 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25764 value. Use "or" to set return value to -1.
25765 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25766 negate return value.
25768 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25770 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25771 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25772 failure if the compiler has Graphite support disabled.
25773 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25775 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25776 CFLAGS-memmove.c): Likewise.
25777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25780 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25782 * sysdeps/x86_64/x32/_itoa.h: New file.
25784 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25785 getdents system call only if kernel and user dirents have the
25786 same d_ino and d_off.
25788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25789 LLONG_MAX != LONG_MAX.
25790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25791 (_fitoa_word): Likewise.
25793 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25795 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25796 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25797 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25799 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25800 include <bits/wordsize.h>. Check __x86_64__ instead of
25802 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25803 if __x86_64__ is defined. Use anonymous union on fpstate.
25805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25808 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25810 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25811 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25812 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25813 Refer to _rtld_local_ro instead of _rtld_global_ro.
25814 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25816 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25818 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25820 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25821 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25822 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25824 * sysdeps/powerpc/powerpc32/dl-machine.c
25825 (__elf_machine_runtime_setup) [PROF]: Don't reference
25828 2012-05-18 Andreas Jaeger <aj@suse.de>
25830 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25831 function only available for GCCs before 3.4 since GCC 3.4
25832 introduced a builtin.
25834 (llrintf): Likewise.
25835 (llrint): Likewise.
25842 (nearbyint): Likewise.
25843 (nearbyintf): Likewise.
25847 (floorf): Likewise.
25849 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25851 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25852 on both fields and cast pointer to __syscall_ulong_t.
25854 * bits/types.h (__fsword_t): New type.
25855 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25856 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25858 (__FSWORD_T_TYPE): Likewise.
25859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25860 (__FSWORD_T_TYPE): Likewise.
25861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25862 (__FSWORD_T_TYPE): Likewise.
25863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25864 (__FSWORD_T_TYPE): Likewise.
25865 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25866 __SWORD_TYPE with __fsword_t.
25867 (statfs64): Likewise.
25869 2012-05-17 David S. Miller <davem@davemloft.net>
25871 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25873 2012-05-17 Andreas Jaeger <aj@suse.de>
25875 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25878 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25880 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25882 2012-05-17 Andreas Jaeger <aj@suse.de>
25884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25887 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25889 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25891 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25893 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25894 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25896 2012-05-17 Andreas Jaeger <aj@suse.de>
25897 Carlos O'Donell <carlos_odonell@mentor.com>
25900 * sysdeps/x86_64/multiarch/init-arch.h
25901 (bit_YMM_Usable): Rename to...
25902 (bit_AVX_Usable): ... this.
25903 (bit_FMA4_Usable): New macro.
25904 (bit_XMM_state): New macro.
25905 (bit_YMM_state): New macro.
25906 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25907 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25908 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25909 (CPUID_OSXSAVE): New macro.
25910 (CPUID_AVX): New macro.
25911 (CPUID_FMA4): New macro.
25912 (index_YMM_Usable): Rename to...
25913 (index_AVX_Usable): ... this.
25914 (HAS_AVX): Use HAS_ARCH_FEATURE.
25915 (HAS_FMA4): Likewise.
25916 (HAS_YMM_USABLE): Remove.
25917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25918 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25920 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25921 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25922 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25923 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25924 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25926 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25928 * math/libm-test.c: Support platforms without multiple rounding modes.
25929 * math/bug-nextafter.c: Support platforms without FP exceptions.
25930 * math/bug-nexttoward.c: Likewise.
25931 * math/test-fenv.c: Likewise.
25932 * math/test-misc.c: Likewise.
25933 * stdlib/bug-getcontext.c: Likewise.
25935 2012-05-17 Andreas Jaeger <aj@suse.de>
25937 * manual/examples/search.c (critter_cmp): Change signature to
25939 * manual/string.texi (Collation Functions): Likewise.
25941 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25943 * bits/types.h: Fold copyright years.
25944 * bits/typesizes.h: Likewise.
25945 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25949 * time/time.h: Likewise.
25951 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25954 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25955 in instead of returning them. Return void.
25956 (__libc_mallinfo): Accumulate over all arenas.
25957 (__malloc_stats): Adjust for change in int_mallinfo interface.
25959 2012-05-16 Roland McGrath <roland@hack.frob.com>
25962 * configure.in (NM): Add AC_CHECK_TOOL for it.
25963 (libc_extra_cflags): New substituted variable.
25964 Check for -fstack-protector being used implicitly.
25965 * configure: Regenerated.
25966 * config.make.in (config-extra-cflags): New variable,
25967 gets @libc_extra_cflags@.
25968 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25971 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25972 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25973 * configure: Regenerated.
25974 * config.make.in (CPPUNDEFS): New substituted variable.
25975 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25976 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25977 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25981 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25982 (mq_attr): Use __syscall_slong_t.
25984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25986 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25987 Check __x86_64__ instead of __WORDSIZE.
25988 (_STAT_VER_LINUX): Likewise.
25989 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25990 __syscall_ulong_t and __syscall_slong_t.
25991 (stat64): Likewise.
25993 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25997 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25999 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26003 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26006 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26007 include <bits/wordsize.h>. Check __x86_64__ instead of
26009 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26011 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26013 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26014 include <bits/wordsize.h>. Check __x86_64__ instead of
26016 (user_regs_struct): Use "__extension__ unsigned long long"
26017 instead of "unsigned long" if __x86_64__ is defined.
26018 (user): Likewise. Pad after pointer field if __ILP32__ is
26021 2012-05-16 Joseph Myers <joseph@codesourcery.com>
26023 * configure.in (makeinfo): Require version 4.5 or later. Allow
26025 * configure: Regenerated.
26026 * manual/install.texi (texinfo): Increase version requirement to
26028 * INSTALL: Regenerated.
26030 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26034 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26036 * sysdeps/x86_64/x32/ffs.c: New file.
26038 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26040 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26041 defined. Use __syscall_ulong_t.
26042 (shminfo): Use __syscall_ulong_t.
26043 (shm_info): Likewise.
26045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26048 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26050 (msgqnum_t): Use __syscall_ulong_t.
26051 (msglen_t): Likewise.
26052 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26055 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26058 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26060 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26061 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26063 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26066 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26067 include <bits/wordsize.h>. Check __x86_64__ instead of
26070 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26071 "unsigned long long int" if __x86_64__ is defined.
26072 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26075 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26076 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26078 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26080 (GET_PC): Cast to uintptr_t first.
26081 (GET_FRAME): Likewise.
26082 (GET_STACK): Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26085 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26087 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26091 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26092 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26100 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26101 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26114 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26116 * Makerules (+depfiles): Also collect depfiles from .oS in
26118 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26119 .oS, $(libnldbl-routines)).
26121 * Makerules (native-compile-mkdep-flags): Define.
26122 * sunrpc/Makefile (extra-objs): Add $(addprefix
26123 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26124 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26125 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26126 calling $(make-target-directory).
26128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26130 * bits/types.h (__snseconds_t): Removed.
26131 * time/time.h (struct timespec): Replace __snseconds_t with
26133 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26134 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26137 (__SNSECONDS_T_TYPE): Likewise.
26138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26139 (__SNSECONDS_T_TYPE): Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26141 (__SNSECONDS_T_TYPE): Likewise.
26143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26145 * sysdeps/mach/hurd/bits/typesizes.h
26146 (__SYSCALL_SLONG_TYPE): New macro.
26147 (__SYSCALL_ULONG_TYPE): Likewise.
26149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26151 * bits/types.h (__syscall_slong_t): New type.
26152 (__syscall_ulong_t): Likewise.
26154 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26155 (__SYSCALL_ULONG_TYPE): Likewise.
26156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26157 (__SYSCALL_SLONG_TYPE): Likewise.
26158 (__SYSCALL_ULONG_TYPE): Likewise.
26159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26160 (__SYSCALL_SLONG_TYPE): Likewise.
26161 (__SYSCALL_ULONG_TYPE): Likewise.
26162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26163 (__SYSCALL_SLONG_TYPE): Likewise.
26164 (__SYSCALL_ULONG_TYPE): Likewise.
26166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26168 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26169 Add sigaltstack-offsets.sym.
26170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26171 <sigaltstack-offsets.h>.
26172 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26173 longjmp_msg pointer.
26174 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26175 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26177 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26179 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26181 * elf/stackguard-macros.h: Remove file.
26182 * sysdeps/generic/stackguard-macros.h: New file.
26183 * sysdeps/i386/stackguard-macros.h: Likewise.
26184 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26185 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26186 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26187 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26188 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26189 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26190 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26191 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26192 <elf/stackguard-macros.h>.
26195 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26196 __aligned__ in attribute.
26197 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26198 (gregset_t): Likewise.
26200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26202 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26203 * sysdeps/x86_64/64/Implies-after: Here. New file.
26204 * sysdeps/x86_64/x32/Implies-after: New file.
26206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26208 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26209 and access return value for _dl_profile_fixup. Use R10_LP to
26212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26214 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26218 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26219 * sysdeps/x86_64/x32/sysdep.h: New file.
26221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26223 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26224 * sysdeps/x86_64/setjmp.S: Likewise.
26226 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26229 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26230 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26231 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26232 remove unused global constant.
26234 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26236 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26237 include of <not-cancel.h>.
26239 2012-05-15 Roland McGrath <roland@hack.frob.com>
26241 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26243 2012-05-15 Jeff Law <law@redhat.com>
26244 Andreas Jaeger <aj@suse.de>
26247 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26249 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26250 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26251 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26252 code changing __hst_map_handle.map.
26254 2012-05-15 Roland McGrath <roland@hack.frob.com>
26256 * configure.in (sysnames): Look for Implies-before and Implies-after
26258 * configure: Regenerated.
26260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26262 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26263 8-byte data alignment with LP_SIZE alignment.
26265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26267 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26272 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26277 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26278 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26284 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26285 (stackinfo_sub_sp): Likewise.
26287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26289 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26304 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26308 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26309 into R11_LP and load __x86_64_shared_cache_size_half into
26312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26317 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26325 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26326 powerpc32/power7/fpu/s_logb.c via #include.
26327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26328 powerpc32/power7/fpu/s_logbf.c via #include.
26329 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26330 powerpc32/power7/fpu/s_logbl.c via #include.
26332 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26334 * README.libm: Remove file.
26336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26338 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26339 count for x32. Use R*_LP and omit operand-size suffix.
26341 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26343 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26344 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26345 * sysdeps/x86_64/x32/shlib-versions: New file.
26347 2012-05-14 Roland McGrath <roland@hack.frob.com>
26349 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26350 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26351 Use _dl_fatal_printf instead.
26353 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26355 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26356 set if not set by the user. Do not allow for being unset.
26357 * sysdeps/unix/sysv/linux/configure: Regenerated.
26359 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26361 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26362 the `q' suffix from lea and replace .quad with ASM_ADDR.
26364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26367 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26369 (PTR_DEMANGLE): Likewise.
26371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26373 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26375 (ASM_ADDR): Likewise.
26376 (RAX_LP): Likewise.
26377 (RBP_LP): Likewise.
26378 (RBX_LP): Likewise.
26379 (RCX_LP): Likewise.
26380 (RDI_LP): Likewise.
26381 (RSI_LP): Likewise.
26382 (RSP_LP): Likewise.
26385 (R10_LP): Likewise.
26386 (R10_LP): Likewise.
26387 (R11_LP): Likewise.
26388 (R12_LP): Likewise.
26389 (R13_LP): Likewise.
26390 (R14_LP): Likewise.
26391 (R15_LP): Likewise.
26393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26395 * sysdeps/x86_64/x32/dl-machine.h: New file.
26397 2012-05-14 Andreas Jaeger <aj@suse.de>
26399 * manual/Makefile (subdir): Remove export of subdir.
26400 (all): Remove target.
26401 (.PHONY): Remove all from list.
26402 (mkinstalldirs): Remove.
26403 (.PHONY): Remove installdirs from list.
26404 ($(inst_infodir)/libc.info): Use make-target-directory.
26405 (installdirs): Remove.
26406 (subdir_%): Remove.
26407 (glibc-targets): Remove.
26410 ($(objpfx)stubs ../po/manual.pot): Remove.
26411 ($(objpfx)stamp%): Remove.
26412 (make-target-directory): Remove.
26413 (subdir_install): Remove.
26414 (routines): Remove.
26421 * manual/.gitignore: Remove, it's not needed anymore.
26422 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26424 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26426 (texis): Renamed to $(objpfx)texis.
26427 (texis-path): New, contains path to generated files.
26428 (chapters.%): Use texis-path for complete path, add extra argument
26430 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26431 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26432 (summary,texi, stamp-summary): Use complete path of
26433 files. Generate files in build dir.
26434 (dir-add.texi): Build in build dir.
26435 (libm-err.texi,stamp-libm-err): Likewise.
26436 (version.texi, stamp-version): Likewise.
26437 (.%c.texi): Likewise.
26438 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26439 (mostlyclean): Remove target.
26440 (realclean): Remove target.
26441 (generated): Add new variable with contents from mostlyclean and
26442 realclean, remove entries duplicated in common-mostlyclean, add
26443 stamp-libm-err and stamp-version.
26444 (generated-dirs): Add libc directory.
26445 ($(inst_infodir)/libc.info): Install files from build dir.
26447 * manual/install.texi (Configuring and compiling): Adjust since
26448 the info files are not part of the tar ball anymore.
26450 2012-05-14 Andreas Jaeger <aj@suse.de>
26452 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26455 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26459 to 2.2.0 where earlier.
26460 * sysdeps/unix/sysv/linux/configure: Regenerated.
26461 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26462 Remove conditional code.
26463 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26464 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26465 Remove conditional code.
26466 [!__NR_lchown]: Likewise.
26467 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26468 [__NR_lchown]: Likewise.
26469 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26470 comment referencing __ASSUME_LCHOWN_SYSCALL.
26471 * sysdeps/unix/sysv/linux/i386/sigaction.c
26472 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26473 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26474 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26475 Remove conditional code.
26476 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26477 (__protocol_available): Remove #if 0 code.
26478 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26480 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26481 * sysdeps/unix/sysv/linux/kernel-features.h
26482 (__ASSUME_GETCWD_SYSCALL): Don't define.
26483 (__ASSUME_REALTIME_SIGNALS): Likewise.
26484 (__ASSUME_PREAD_SYSCALL): Likewise.
26485 (__ASSUME_PWRITE_SYSCALL): Likewise.
26486 (__ASSUME_POLL_SYSCALL): Likewise.
26487 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26488 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26490 (__ASSUME_SIOCGIFNAME): Don't define.
26491 (__ASSUME_MSG_NOSIGNAL): Likewise.
26492 (__ASSUME_SENDFILE): Define unconditionally.
26493 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26494 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26496 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26497 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26499 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26500 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26501 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26502 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26519 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26525 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26527 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26528 Remove conditional code.
26529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26530 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26531 Remove conditional code.
26532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26533 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26534 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26535 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26536 Remove conditional code.
26537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26538 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26539 Remove conditional code.
26540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26541 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26542 Remove conditional code.
26543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26544 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26545 Remove conditional code.
26546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26547 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26548 Remove conditional code.
26549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26550 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26553 * sysdeps/unix/sysv/linux/sigaction.c
26554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26556 * sysdeps/unix/sysv/linux/sigpending.c
26557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26559 * sysdeps/unix/sysv/linux/sigprocmask.c
26560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26562 * sysdeps/unix/sysv/linux/sigsuspend.c
26563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26565 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26566 (__libc_missing_rt_sigs): Remove.
26567 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26568 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26569 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26570 Remove conditional code.
26571 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26572 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26575 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26576 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26577 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26579 2012-05-14 Andreas Jaeger <aj@suse.de>
26581 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26582 it's not used in glibc.
26583 (__coshm1): Likewise.
26584 (__acosh1p): Likewise.
26587 * manual/string.texi (Copying and Concatenation): Add missing
26588 variable in concat example.
26589 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26591 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26595 __builtin_clzl with __builtin_clzll.
26597 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26600 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26603 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26605 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26606 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26607 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26608 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26610 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26612 * NEWS: Update ia64 info.
26614 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26616 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26619 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26621 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26622 * sysdeps/unix/syscalls.list (dup3): Likewise.
26623 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26624 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26626 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26628 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26629 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26631 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26633 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26635 (TLS_IE): Use mov/add instead of movq/addq to load thread
26637 (TLS_GD_PREFIX): New.
26640 2012-05-11 David S. Miller <davem@davemloft.net>
26642 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26643 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26644 (_FPU_SETCW): Likewise.
26646 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26648 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26649 is 32-byte aligned.
26651 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26654 * iconvdata/gb18030.c: Update tables.
26655 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26656 characters specially.
26657 (BODY for TO_LOOP): Add encoding of missing ranges.
26659 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26662 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26663 * sysdeps/mach/hurd/dup3.c: Likewise.
26664 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26665 * sysdeps/powerpc/memmove.c:: Likewise.
26667 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26670 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26672 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26674 * elf/elf.h (R_X86_64_RELATIVE64): New.
26675 (R_X86_64_NUM): Updated.
26676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26677 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26678 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26679 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26680 tst-quad1pie tst-quad2pie
26681 (modules-names): Add tst-quadmod1 tst-quadmod2.
26682 ($(objpfx)tst-quad1): New dependency.
26683 ($(objpfx)tst-quad2): Likewise.
26684 ($(objpfx)tst-quad1pie): Likewise.
26685 ($(objpfx)tst-quad2pie): Likewise.
26686 * sysdeps/x86_64/tst-quad1.c: New file.
26687 * sysdeps/x86_64/tst-quad1pie.c: New file.
26688 * sysdeps/x86_64/tst-quad2.c: Likewise.
26689 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26690 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26691 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26692 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26693 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26697 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26698 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26699 * streams/stropts.h (t_scalar_t): Define type.
26701 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26702 (_PATH_PRESERVE): Set to "/var/lib".
26703 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26705 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26708 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26709 if __dir_mkfile succeeded.
26711 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26712 checking for _hurd_dtablesize. Unlock it right after having
26713 finished _hurd_dtable allocation.
26715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26717 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26718 * sysdeps/mach/hurd/configure: Regenerated.
26719 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26720 special-casing to...
26721 * sysdeps/gnu/configure.in: ... this new file.
26722 * sysdeps/unix/sysv/linux/configure: Regenerated.
26723 * sysdeps/gnu/configure: New generated file.
26725 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26726 for Linux: use nsec instead of usec, as well as:
26727 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26728 members of type struct timespec.
26729 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26731 (struct stat64): Likewise.
26732 (_STATBUF_ST_NSEC): New macro.
26733 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26736 __strtoul_internal rather than strtoul.
26738 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26740 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26745 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26746 which preserves existing values.
26747 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26749 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26751 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26752 TIMEOUT values. Return EINVAL for NFDS values either negative or
26753 greater than FD_SETSIZE.
26755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26757 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26758 allocated, call __vm_protect to finish enabling the existing space, and
26759 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26760 allocate the remainder.
26762 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26764 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26765 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26769 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26770 sysdeps/mach/hurd/readlink.c.
26772 * posix/tst-sysconf.c (posix_options): Only use
26773 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26774 _POSIX_SYNCHRONIZED_IO when they are defined
26775 * sysdeps/mach/hurd/bits/posix_opt.h:
26776 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26777 (_XOPEN_REALTIME): Undefine macro.
26778 (_XOPEN_REALTIME_THREADS): Undefine macro.
26779 (_XOPEN_SHM): Undefine macro.
26780 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26782 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26784 (_POSIX_ASYNC_IO): Undefine macro.
26785 (_POSIX_PRIORITIZED_IO): Undefine macro.
26786 (_POSIX_SPIN_LOCKS): Define macro to -1.
26788 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26789 SA_NODEFER, SA_RESETHAND.
26790 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26791 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26794 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26796 * elf/Makefile (pldd-modules): Define unconditionally.
26798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26800 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26804 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26805 Return ENOENT when name is empty.
26806 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26810 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26812 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26816 Fix mlock in all cases except non-readable pages.
26817 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26818 instead of VM_PROT_ALL as parameter to __vm_wire function.
26820 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26821 (__mkdir): When path is `/', just fail with EEXIST.
26822 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26826 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26827 <sys/uio.h> (for writev).
26828 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26829 and <sys/param.h> (for MIN).
26831 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26833 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26834 REQUESTED_TIME. Properly set the remaining time and return EINTR
26837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26839 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26840 Depend on against $(link-rpcuserlibs).
26842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26844 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26845 (__libc_stack_end): Do not use attribute_relro.
26846 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26847 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26848 to libthread-provided value.
26849 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26852 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26855 * bits/libc-lock.h (__libc_once_get): New macro.
26856 * sysdeps/mach/bits/libc-lock.h: Likewise.
26857 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26859 instead of using implementation details.
26861 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26862 * libio/freopen.c: Likewise.
26863 * libio/freopen64.c: Likewise.
26864 * misc/syslog.c: Likewise.
26865 * nscd/connections.c: Likewise.
26866 * nscd/netgroupcache.c: Likewise.
26867 * sysdeps/posix/getcwd.c: Likewise.
26869 2012-05-10 Roland McGrath <roland@hack.frob.com>
26871 * math/w_ilogbf.c: Add #include <limits.h>.
26873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26875 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26876 path instead of returning without unlocking.
26878 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26879 immediate-write ioctls.
26880 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26884 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26885 __builtin_frame_address instead of making assumptions about the
26886 location of the return address relative to DATA. Force early load of
26887 the return address.
26888 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26889 __builtin_frame_address.
26892 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26893 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26894 implement dup3 and do some further code clean-ups.
26895 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26896 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26900 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26902 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26903 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26904 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26905 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26906 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26909 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26910 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26911 when handler == SIG_ERR, not when handler != SIG_ERR.
26913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26915 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26916 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26919 accept4 for GNU Hurd.
26920 * include/sys/socket.h (__libc_accept4): New prototype.
26921 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26922 to implement __libc_accept4.
26923 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26925 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26927 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26928 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26929 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26930 signal-defines.sym.
26932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26934 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26938 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26939 assertion on O_CLOEXEC flag.
26940 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26941 * hurd/intern-fd.c: Likewise.
26942 * hurd/port2fd.c: Likewise.
26944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26947 * bits/in.h (IPV6_PKTINFO): Define new macro.
26948 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26950 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26955 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26957 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26958 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26960 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26961 * math/libm-test.inc (logb_test) : Additional logb tests.
26963 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26964 Andreas Jaeger <aj@suse.de>
26966 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26967 * configure: Regenerated.
26968 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26969 * config.make.in (link-obsolete-rpc): New substituted variable.
26970 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26971 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26972 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26973 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26974 so that libc.a contains the symbols.
26975 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26976 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26977 * sunrpc/auth_none.c: Likewise.
26978 * sunrpc/auth_unix.c: Likewise.
26979 * sunrpc/authdes_prot.c: Likewise.
26980 * sunrpc/authuxprot.c: Likewise.
26981 * sunrpc/clnt_gen.c: Likewise.
26982 * sunrpc/clnt_perr.c: Likewise.
26983 * sunrpc/clnt_raw.c: Likewise.
26984 * sunrpc/clnt_simp.c: Likewise.
26985 * sunrpc/clnt_tcp.c: Likewise.
26986 * sunrpc/clnt_udp.c: Likewise.
26987 * sunrpc/clnt_unix.c: Likewise.
26988 * sunrpc/des_crypt.c: Likewise.
26989 * sunrpc/des_soft.c: Likewise.
26990 * sunrpc/get_myaddr.c: Likewise.
26991 * sunrpc/key_call.c: Likewise.
26992 * sunrpc/key_prot.c: Likewise.
26993 * sunrpc/netname.c: Likewise.
26994 * sunrpc/pm_getmaps.c: Likewise.
26995 * sunrpc/pm_getport.c: Likewise.
26996 * sunrpc/pmap_clnt.c: Likewise.
26997 * sunrpc/pmap_prot.c: Likewise.
26998 * sunrpc/pmap_prot2.c: Likewise.
26999 * sunrpc/pmap_rmt.c: Likewise.
27000 * sunrpc/publickey.c: Likewise.
27001 * sunrpc/rpc_cmsg.c: Likewise.
27002 * sunrpc/rpc_common.c: Likewise.
27003 * sunrpc/rpc_dtable.c: Likewise.
27004 * sunrpc/rpc_prot.c: Likewise.
27005 * sunrpc/rpc_thread.c: Likewise.
27006 * sunrpc/rtime.c: Likewise.
27007 * sunrpc/svc.c: Likewise.
27008 * sunrpc/svc_auth.c: Likewise.
27009 * sunrpc/svc_raw.c: Likewise.
27010 * sunrpc/svc_run.c: Likewise.
27011 * sunrpc/svc_tcp.c: Likewise.
27012 * sunrpc/svc_udp.c: Likewise.
27013 * sunrpc/svc_unix.c: Likewise.
27014 * sunrpc/svcauth_des.c: Likewise.
27015 * sunrpc/xcrypt.c: Likewise.
27016 * sunrpc/xdr.c: Likewise.
27017 * sunrpc/xdr_array.c: Likewise.
27018 * sunrpc/xdr_float.c: Likewise.
27019 * sunrpc/xdr_intXX_t.c: Likewise.
27020 * sunrpc/xdr_mem.c: Likewise.
27021 * sunrpc/xdr_rec.c: Likewise.
27022 * sunrpc/xdr_ref.c: Likewise.
27023 * sunrpc/xdr_sizeof.c: Likewise.
27024 * sunrpc/xdr_stdio.c: Likewise.
27026 2012-05-10 Roland McGrath <roland@hack.frob.com>
27028 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27029 change. Update copyright years.
27031 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27033 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27035 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27036 Joseph Myers <joseph@codesourcery.com>
27037 Paul Pluzhnikov <ppluzhnikov@google.com>
27040 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27042 [cross-compiling] (extra-libs): Likewise.
27043 [cross-compiling] (extra-libs-others): Likewise.
27044 [cross-compiling] (librpcsvc-routines): Likewise.
27045 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27046 [cross-compiling] (omit-deps): Likewise.
27047 (sunrpc-CPPFLAGS): New variable.
27048 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27049 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27050 (cross-rpcgen-objs): New variable.
27051 (extra-objs): Append $(cross-rpcgen-objs).
27052 ($(cross-rpcgen-objs)): New rule.
27053 ($(objpfx)cross-rpcgen): Likewise.
27054 (rpcgen-cmd): Define to use $(built-program-file). Expand
27056 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27057 ($(objpfx)x%.stmp): Likewise.
27058 * sunrpc/proto.h [IS_IN_build] (_): Define.
27059 [IS_IN_build] (_libc_intl_domainname): Likewise.
27061 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27064 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27065 and R_X86_64_TPOFF64.
27067 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27069 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27070 sysdeps/unix/sysv/syscalls.list.
27073 * sysdeps/unix/sysv/syscalls.list: Remove file.
27075 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27078 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27079 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27080 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27081 (__LC_IDENTIFICATION): Make these macros useful in #if
27082 expressions, as required by C99.
27084 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27086 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27087 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27090 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27092 * stdlib/longlong.h: Updated from GCC.
27094 2012-05-09 Andreas Jaeger <aj@suse.de>
27096 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27097 default is first entry.
27098 (run_mode): Set type.
27099 (main): Remove informal message about syslog.
27100 (options): Fix typo.
27103 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27106 (llrintf): Likewise.
27107 (llrint): Likewise.
27110 (nearbyint): Likewise.
27111 (nearbyintf): Likewise.
27113 2012-05-09 Andreas Jaeger <aj@suse.de>
27114 Pedro Alves <palves@redhat.com>
27116 * nscd/nscd.c (run_mode): Use enum.
27117 (main): Cleanup coding style issue.
27119 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27120 Andreas Jaeger <aj@suse.de>
27122 * nscd/nscd.c (go_background): Replaced with...
27123 (run_mode): ... this.
27124 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27125 (options): Add -F --foreground.
27126 (main): Implement it.
27127 (parse_opt): Parse it.
27129 2012-05-09 Andreas Jaeger <aj@suse.de>
27132 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27133 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27134 -Wconversion warning.
27135 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27138 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27140 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27142 (LC_ALL): Use macro-int-constant.
27143 (LC_COLLATE): Likewise.
27144 (LC_CTYPE): Likewise.
27145 (LC_MESSAGES): Likewise.
27146 (LC_MONETARY): Likewise.
27147 (LC_NUMERIC): Likewise.
27148 (LC_TIME): Likewise.
27149 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27150 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27152 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27154 [C99-based standards] (float_t): Expect type.
27155 [C99-based standards] (double_t): Expect type.
27156 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27158 [C99-based standards] (HUGE_VALL): Likewise.
27159 [C99-based standards] (INFINITY): Likewise.
27160 [C99-based standards] (NAN): Likewise.
27161 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27162 [C99-based standards] (FP_NAN): Likewise.
27163 [C99-based standards] (FP_NORMAL): Likewise.
27164 [C99-based standards] (FP_SUBNORMAL): Likewise.
27165 [C99-based standards] (FP_ZERO): Likewise.
27166 [C99-based standards] (FP_FAST_FMA): Use
27167 optional-macro-int-constant. Specify type. Require == 1.
27168 [C99-based standards] (FP_FAST_FMAF): Likewise.
27169 [C99-based standards] (FP_FAST_FMAL): Likewise.
27170 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27171 [C99-based standards] (FP_ILOGBNAN): Likewise.
27172 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27174 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27175 [C99-based standards] (math_errhandling): Specify type.
27176 [ISO99 || ISO11] (signgam): Do not allow.
27177 [non-C99-based standards] (copysignf): Do not allow.
27178 [non-C99-based standards] (exp2f): Likewise.
27179 [non-C99-based standards] (log2f): Likewise.
27180 [non-C99-based standards] (modff): Allow.
27181 [non-C99-based standards] (erff): Do not allow.
27182 [non-C99-based standards] (erfcf): Likewise.
27183 [non-C99-based standards] (gammaf): Likewise.
27184 [non-C99-based standards] (hypotf): Likewise.
27185 [non-C99-based standards] (j0f): Likewise.
27186 [non-C99-based standards] (j1f): Likewise.
27187 [non-C99-based standards] (jnf): Likewise.
27188 [non-C99-based standards] (lgammaf): Likewise.
27189 [non-C99-based standards] (tgammaf): Likewise.
27190 [non-C99-based standards] (y0f): Likewise.
27191 [non-C99-based standards] (y1f): Likewise.
27192 [non-C99-based standards] (ynf): Likewise.
27193 [non-C99-based standards] (isnanf): Likewise.
27194 [non-C99-based standards] (acoshf): Likewise.
27195 [non-C99-based standards] (asinhf): Likewise.
27196 [non-C99-based standards] (atanhf): Likewise.
27197 [non-C99-based standards] (cbrtf): Likewise.
27198 [non-C99-based standards] (expm1f): Likewise.
27199 [non-C99-based standards] (ilogbf): Likewise.
27200 [non-C99-based standards] (log1pf): Likewise.
27201 [non-C99-based standards] (logbf): Likewise.
27202 [non-C99-based standards] (nextafterf): Likewise.
27203 [non-C99-based standards] (remainderf): Likewise.
27204 [non-C99-based standards] (rintf): Likewise.
27205 [non-C99-based standards] (scalbf): Likewise.
27206 [non-C99-based standards] (copysignl): Likewise.
27207 [non-C99-based standards] (exp2l): Likewise.
27208 [non-C99-based standards] (log2l): Likewise.
27209 [non-C99-based standards] (modfl): Allow.
27210 [non-C99-based standards] (erfl): Do not allow.
27211 [non-C99-based standards] (erfcl): Likewise.
27212 [non-C99-based standards] (gammal): Likewise.
27213 [non-C99-based standards] (hypotl): Likewise.
27214 [non-C99-based standards] (j0l): Likewise.
27215 [non-C99-based standards] (j1l): Likewise.
27216 [non-C99-based standards] (jnl): Likewise.
27217 [non-C99-based standards] (lgammal): Likewise.
27218 [non-C99-based standards] (tgammal): Likewise.
27219 [non-C99-based standards] (y0l): Likewise.
27220 [non-C99-based standards] (y1l): Likewise.
27221 [non-C99-based standards] (ynl): Likewise.
27222 [non-C99-based standards] (isnanl): Likewise.
27223 [non-C99-based standards] (acoshl): Likewise.
27224 [non-C99-based standards] (asinhl): Likewise.
27225 [non-C99-based standards] (atanhl): Likewise.
27226 [non-C99-based standards] (cbrtl): Likewise.
27227 [non-C99-based standards] (expm1l): Likewise.
27228 [non-C99-based standards] (ilogbl): Likewise.
27229 [non-C99-based standards] (log1pl): Likewise.
27230 [non-C99-based standards] (logbl): Likewise.
27231 [non-C99-based standards] (nextafterl): Likewise.
27232 [non-C99-based standards] (remainderl): Likewise.
27233 [non-C99-based standards] (rintl): Likewise.
27234 [non-C99-based standards] (scalbl): Likewise.
27235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27236 [non-C99-based standards] (FP_*): Do not allow.
27237 [C99-based standards] (FP_*): Change to
27238 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27239 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27241 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27242 (SIG_ERR): Likewise.
27243 [X/Open-based standards] (SIG_HOLD): Likewise.
27244 (SIG_IGN): Likewise.
27245 (SIGABRT): Use macro-int-constant. Specify type. Require
27247 (SIGFPE): Likewise.
27248 (SIGILL): Likewise.
27249 (SIGINT): Likewise.
27250 (SIGSEGV): Likewise.
27251 (SIGTER): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27270 [X/Open-based standards] (SIGTRAP): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27273 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27274 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27275 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27278 2012-05-08 Ian Wienand <ianw@vmware.com>
27281 * time/tzset.c (__tzset_parse_tz): Update default rules for
27282 daylight time changes in the Energy Policy Act of 2005.
27284 2012-05-09 Andreas Jaeger <aj@suse.de>
27287 * elf/ldconfig.c (parse_conf): Change string to make clear that
27288 ldconfig only issued a warning if ld.so.conf does not exist.
27290 2012-05-08 David S. Miller <davem@davemloft.net>
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27293 movxtod instead of popping the value on the stack.
27295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27297 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27299 * config.h.in: Add HAVE_ARM_PCS_VFP.
27301 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27304 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27305 checking but the checks are disabled for any reason.
27307 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27309 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27310 and ELF64_R_TYPE with ELFW(R_TYPE).
27312 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27314 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27315 (ulimit): Likewise.
27317 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27318 (settimeofday): Likewise.
27320 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27322 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27323 a struct th_u2 inside the union, and move tu_block/tu_code into
27324 a new th_u3 union of tu_block/tu_code inside of that. Move
27325 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27326 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27327 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27328 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27329 (th_stuff): Change to th_u1.tu_stuff.
27331 (th_msg): Change to th_u1.th_u2.tu_data.
27333 2012-05-07 David S. Miller <davem@davemloft.net>
27335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27338 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27339 (SETUP_PIC_REG): Use it.
27340 (SETUP_PIC_REG_LEAF): Use it.
27342 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27346 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27348 (EXPL_FINITE): Likewise.
27349 (FLDLOG): Likewise.
27350 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27351 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27353 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27355 (EXPL_FINITE): Likewise.
27356 (FLDLOG): Likewise.
27357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27358 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27360 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27361 test of -max_value argument for long double.
27362 * sysdeps/i386/fpu/libm-test-ulps: Update.
27363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27365 2012-05-06 David S. Miller <davem@davemloft.net>
27367 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27368 quad soft-float symbols whose references which are compiler
27370 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27372 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27376 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27378 (EXPL_FINITE): Likewise.
27379 (FLDLOG): Likewise.
27382 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27383 Adjust comments for base varying.
27384 (__expl_finite): Change alias to EXPL_FINITE.
27385 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27387 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27388 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27390 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27393 (EXPL_FINITE): Likewise.
27394 (FLDLOG): Likewise.
27397 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27398 Adjust comments for base varying.
27399 (__expl_finite): Change alias to EXPL_FINITE.
27400 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27405 * math/libm-test.inc (check_float_internal): Correct ulp
27406 calculation for subnormal expected results.
27408 2012-05-06 Andreas Jaeger <aj@suse.de>
27410 * Makeconfig (+math-flags): New, set to -frounding-math.
27411 (+cflags): Add +math-flags so that all of glibc gets compiled with
27414 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27416 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27418 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27424 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27425 (__ieee754_expl): Allow for and saturate large arguments.
27426 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27427 (u_threshold): Likewise.
27428 (__exp): Call __ieee754_exp before checking for overflow and
27430 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27431 (u_threshold): Likewise.
27432 (__expf): Call __ieee754_expf before checking for overflow and
27434 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27435 (u_threshold): Likewise.
27436 (__expl): Call __ieee754_expl before checking for overflow and
27438 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27439 (__ieee754_expl): Allow for and saturate large arguments.
27440 * math/libm-test.inc (exp_test): Add another test. Do not allow
27441 missing overflow exception on overflow.
27442 (expm1_test): Do not allow missing overflow exception on overflow.
27444 * sysdeps/i386/fpu/e_expl.c: Move to ...
27445 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27446 rather than using inline asm.
27447 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27448 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27449 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27451 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27454 (signal): Likewise.
27458 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27460 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27461 sysdeps/unix/common/syscalls.list.
27462 (fchmod): Likewise.
27463 (fchown): Likewise.
27464 (ftruncate): Likewise.
27465 (getrusage): Likewise.
27466 (gettimeofday): Likewise.
27467 (setpgid): Likewise.
27468 (setregid): Likewise.
27469 (setreuid): Likewise.
27470 (sigaction): Likewise.
27471 (truncate): Likewise.
27472 (vhangup): Likewise.
27473 * sysdeps/unix/common/syscalls.list: Remove file.
27474 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27475 * sysdeps/unix/sysv/linux/Implies: Likewise.
27477 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27479 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27481 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27485 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27488 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27491 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27494 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27497 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27500 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27503 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27507 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27511 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27514 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27518 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27522 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27524 * sysdeps/unix/common/bits/dirent.h: Remove file.
27525 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27527 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27528 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27529 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27530 * sysdeps/unix/bsd/isatty.c: Likewise.
27531 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27532 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27533 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27535 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27539 long double comparison inaccuracies.
27540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27543 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27545 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27546 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27548 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27551 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27552 nonzero digits before rounding a hex value.
27553 * stdlib/tst-strtod.c (tests): Add another test.
27555 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27557 * sysdeps/s390/fpu/libm-test-ulps: Update.
27559 2012-05-03 Andreas Jaeger <aj@suse.de>
27561 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27562 does not get optimized out.
27563 (malloc_opt_barrier): New.
27565 2012-05-03 Andreas Jaeger <aj@suse.de>
27566 Roland McGrath <roland@hack.frob.com>
27568 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27569 intermediate file deletion.
27570 (generated): Add .symlist files.
27572 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27575 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27576 Redirect under this condition.
27577 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27578 [__USE_GNU] (__dprintf_chk): Not under this condition.
27579 [__USE_GNU] (__vdprintf_chk): Likewise.
27580 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27581 under this condition.
27582 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27583 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27584 [__USE_XOPEN2K8] (vdprintf): Likewise.
27585 [__USE_GNU] (__dprintf_chk): Not under this condition.
27586 [__USE_GNU] (__vdprintf_chk): Likewise.
27587 [__USE_GNU] (dprintf): Likewise.
27588 [__USE_GNU] (vdprintf): Likewise.
27590 2012-05-03 Roland McGrath <roland@hack.frob.com>
27592 * elf/Makefile (common-generated): Set this instead of generated for
27593 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27594 $(all-built-dso)-derived lists.
27596 2012-05-03 Andreas Jaeger <aj@suse.de>
27598 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 * FAQ.in: Likewise.
27602 * scripts/gen-FAQ.pl: Likewise.
27603 * manual/install.texi (Installation): Point to online location of
27605 * Makefile (files-for-dist): Remove FAQ.
27608 2012-05-02 Allan McRae <allan@archlinux.org>
27610 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27611 (LDFLAGS-reldepmod5.so): Likewise.
27612 (LDFLAGS-reldep6mod1.so): Likewise.
27613 (LDFLAGS-reldep6mod4.so): Likewise.
27614 (LDFLAGS-reldep8mod3.so): Likewise.
27615 (LDFLAGS-unload4mod1.so): Likewise.
27616 (LDFLAGS-unload4mod2.so): Likewise.
27617 (LDFLAGS-tst-initorder): Likewise.
27618 (LDFLAGS-tst-initordera2.so): Likewise.
27619 (LDFLAGS-tst-initordera3.so): Likewise.
27620 (LDFLAGS-tst-initordera4.so): Likewise.
27621 (LDFLAGS-tst-initorderb2.so): Likewise.
27622 (LDFLAGS-noload): Likewise.
27623 (LDFLAGS-next): Likewise.
27624 (LDFLAGS-order2mod1.so): Likewise.
27625 (LDFLAGS-order2mod2.so): Likewise.
27626 (LDFLAGS-tst-initorder2): Likewise.
27627 (LDFLAGS-tst-initorder2a.so): Likewise.
27628 (LDFLAGS-tst-initorder2b.so): Likewise.
27629 (LDFLAGS-tst-initorder2c.so): Likewise.
27630 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27632 2012-05-02 David S. Miller <davem@davemloft.net>
27634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27636 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27639 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27641 2012-05-02 Andreas Jaeger <aj@suse.de>
27643 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27644 since we manipulate rounding mode.
27645 (CPPFLAGS-test-idouble.c): Likewise.
27646 (CPPFLAGS-test-ifloat.c): Likewise.
27647 (CFLAGS-test-ldouble.c): Likewise.
27648 (CFLAGS-test-double.c): Likewise.
27649 (CFLAGS-test-float.c): Likewise.
27650 (CFLAGS-test-misc.c): Likewise.
27651 (CFLAGS-test-test-fenv.c): Likewise.
27653 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27657 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27658 comparisons to determine direction to adjust input.
27660 2012-05-01 Roland McGrath <roland@hack.frob.com>
27662 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27663 output to the target.
27665 * scripts/localplt.awk: New file.
27666 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27667 (check-localplt-CFLAGS): Variable removed.
27668 ($(all-built-dso:=.jmprel)): New static pattern rule.
27669 (generated): Add those targets.
27670 (localplt-built-dso): New variable.
27671 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27673 * elf/check-localplt.c: File removed.
27675 * scripts/check-execstack.awk: New file.
27676 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27677 (check-execstack-CFLAGS): Variable removed.
27678 ($(objpfx)check-execstack.h): Target removed.
27679 ($(objpfx)execstack-default): New target.
27680 (generated): Add that instead of check-execstack.h.
27681 ($(all-built-dso:=.phdr)): New static pattern rule.
27682 (generated): Add those targets.
27683 * elf/check-execstack.c: File removed.
27685 * scripts/check-textrel.awk: New file.
27686 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27687 (check-textrel-CFLAGS): Variable removed.
27688 (all-built-dso): Use := to define.o
27689 ($(all-built-dso:=.dyn)): New static pattern rule.
27690 (generated): Add those targets.
27691 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27692 * config.make.in (READELF): New substituted variable.
27693 * elf/check-textrel.c: File removed.
27695 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27697 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27699 * conform/data/ctype.h-data [C99-based standards] (isblank):
27701 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27702 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27704 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27705 Specify type. Require positive value.
27706 (EILSEQ): Likewise.
27707 (ERANGE): Likewise.
27708 [ISO || POSIX] (EILSEQ): Do not expect.
27709 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27710 Specify type. Require positive value.
27711 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27712 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27713 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27714 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27715 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27716 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27717 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27718 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27719 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27720 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27721 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27722 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27723 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27724 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27725 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27726 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27727 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27728 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27729 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27730 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27731 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27732 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27733 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27734 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27735 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27736 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27737 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27738 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27739 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27740 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27741 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27742 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27743 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27744 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27745 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27746 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27747 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27748 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27749 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27750 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27751 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27752 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27753 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27754 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27756 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27757 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27758 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27759 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27760 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27761 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27762 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27763 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27764 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27765 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27766 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27767 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27768 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27769 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27771 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27773 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27774 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27775 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27776 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27777 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27778 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27779 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27780 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27781 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27782 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27783 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27784 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27785 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27786 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27787 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27789 (FLT_ROUNDS): Expect as macro, not constant.
27790 (FLT_MANT_DIG): Use macro-int-constant.
27791 (DBL_MANT_DIG): Likewise.
27792 (LDBL_MANT_DIG): Likewise.
27793 (FLT_DIG): Likewise.
27794 (DBL_DIG): Likewise.
27795 (LDBL_DIG): Likewise.
27796 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27797 (DBL_MIN_EXP): Likewise.
27798 (LDBL_MIN_EXP): Likewise.
27799 (FLT_MAX_EXP): Use macro-int-constant.
27800 (DBL_MAX_EXP): Likewise.
27801 (LDBL_MAX_EXP): Likewise.
27802 (FLT_MAX_10_EXP): Likewise.
27803 (DBL_MAX_10_EXP): Likewise.
27804 (LDBL_MAX_10_EXP): Likewise.
27805 (FLT_MAX): Use macro-constant.
27806 (DBL_MAX): Likewise.
27807 (LDBL_MAX): Likewise.
27808 (FLT_EPSILON): Use macro-constant. Give upper bound.
27809 (DBL_EPSILON): Likewise.
27810 (LDBL_EPSILON): Likewise.
27811 (FLT_MIN): Likewise.
27812 (DBL_MIN): Likewise.
27813 (LDBL_MIN): Likewise.
27814 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27815 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27816 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27817 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27818 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27819 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27820 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27821 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27822 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27823 [ISO11] (FLT_TRUE_MIN): Likewise.
27824 [ISO11] (LDBL_TRUE_MIN): Likewise.
27825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27826 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27827 (SCHAR_MIN): Use macro-int-constant. Specify type.
27828 (SCHAR_MAX): Likewise.
27829 (UCHAR_MAX): Likewise.
27830 (CHAR_MIN): Likewise.
27831 (CHAR_MAX): Likewise.
27832 (MB_LEN_MAX): Use macro-int-constant.
27833 (SHRT_MIN): Use macro-int-constant. Specify type.
27834 (SHRT_MAX): Likewise.
27835 (USHRT_MAX): Likewise.
27836 (INT_MAX): Likewise.
27837 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27839 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27841 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27843 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27844 bound negative. Suffix upper bound with "L".
27845 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27847 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27849 [C99-based standards] (LLONG_MAX): Likewise.
27850 [C99-based standards] (ULLONG_MAX): Likewise.
27851 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27853 [ISO11] (max_align_t): Require type.
27854 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27856 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27857 from $CFLAGS, without defining away __attribute__ calls.
27858 (checknamespace): Use $CFLAGS_namespace.
27860 * conform/conformtest.pl (@keywords): Only include C99 keywords
27861 for standards based on C99 or C11.
27863 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27865 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27868 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27869 usability of symbols in #if.
27871 * conform/conformtest.pl: If macro or constant types start
27872 "promoted:", expect the symbol to be of the following type
27873 promoted by the integer promotions.
27875 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27876 in one place. Also handle "macro-constant".
27878 * conform/conformtest.pl: Only accept expected macro values with
27879 "==". Parse all "macro" lines in one place.
27880 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27882 * conform/conformtest.pl: Handle braced types on "constant" lines
27883 instead of handling "typed-constant".
27884 * conform/data/signal.h-data: Use "constant" instead of
27887 * conform/conformtest.pl: Handle "optional-" at start of lines in
27888 one place rather than duplicating several cases. Handle each
27889 format of "macro" line with initial "optional-".
27891 * conform/conformtest.pl: Only accept expected constant or
27892 optional-constant values with "==". Parse all "constant" lines in
27893 one place. Parse all "optional-constant" lines in one place.
27894 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27895 * conform/data/fmtmsg.h-data: Likewise.
27896 * conform/data/netinet/in.h-data: Likewise.
27897 * conform/data/tar.h-data: Likewise.
27898 * conform/data/limits.h-data: Use "==" form on "constant" and
27899 "optional-constant" lines.
27901 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27902 Use -std=c99 for XOPEN2K.
27903 (@knownproblems): Remove.
27904 (newtoken): Don't check %isknown.
27906 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27907 Do not expect macro.
27908 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27909 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27910 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27911 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27912 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27913 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27914 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27915 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27916 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27917 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27918 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27919 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27920 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27921 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27922 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27923 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27929 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27930 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27931 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27932 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27933 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27934 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27935 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27936 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27937 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27938 [XPG3] (acosh): Likewise.
27939 [XPG3] (asinh): Likewise.
27940 [XPG3] (atanh): Likewise.
27941 [XPG3] (cbrt): Likewise.
27942 [XPG3] (expm1): Likewise.
27943 [XPG3] (ilogb): Likewise.
27944 [XPG3] (log1p): Likewise.
27945 [XPG3] (logb): Likewise.
27946 [XPG3] (nextafter): Likewise.
27947 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27948 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27949 [XPG3] (remainder): Likewise.
27950 [XPG3] (rint): Likewise.
27951 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27952 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27953 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27954 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27955 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27958 [UNIX98 || XOPEN2K] (scalb): Expect.
27959 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27960 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27976 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27977 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27992 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27993 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27994 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27995 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27996 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27997 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27998 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27999 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28000 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28001 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28002 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28003 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28004 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28005 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28006 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28007 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28008 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28009 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28010 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28011 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28012 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28013 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28014 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28015 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28016 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28017 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28018 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28019 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28020 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28021 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28022 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28023 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28024 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28025 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28026 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28027 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28028 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28029 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28030 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28031 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28032 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28033 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28034 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28035 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28036 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28037 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28038 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28039 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28040 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28041 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28042 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28043 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28044 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28045 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28046 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28047 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28059 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28060 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28077 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28078 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28079 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28080 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28081 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28082 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28083 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28084 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28085 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28088 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28089 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28090 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28091 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28092 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28093 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28094 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28097 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28098 _XOPEN_SOURCE_EXTENDED for XPG4.
28100 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28102 * Makeconfig (localtime): Remove variable.
28103 (inst_localtime-file): Likewise.
28105 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28126 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28130 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28131 comparisons to determine direction to adjust input.
28132 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28133 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28134 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28140 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28141 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28143 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28145 * math/libm-test.inc (nexttoward_test): Add more tests.
28147 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28151 in version GLIBC_2.1, not GLIBC_2.0.
28152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28155 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28158 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28160 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28161 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28162 * math/libm-test.inc (acos_test): Add more tests.
28163 (asin_test): Likewise.
28164 * sysdeps/i386/fpu/libm-test-ulps: Update.
28165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28168 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28170 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28171 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28172 * math/libm-test.inc (acos_test_tonearest): New function.
28173 (acos_test_towardzero): Likewise.
28174 (acos_test_downward): Likewise.
28175 (acos_test_upward): Likewise.
28176 (asin_test_tonearest): Likewise.
28177 (asin_test_towardzero): Likewise.
28178 (asin_test_downward): Likewise.
28179 (asin_test_upward): Likewise.
28180 (main): Call the new functions.
28181 * sysdeps/i386/fpu/libm-test-ulps: Update.
28182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28186 * math/e_exp10.c: Include <float.h>.
28187 (__ieee754_exp10): Handle underflow here rather than multiplying
28188 large negative argument by M_LN10.
28189 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28191 * math/e_exp10l.c: Include <float.h>.
28192 (__ieee754_exp10l): Handle underflow here rather than multiplying
28193 large negative argument by M_LN10l.
28194 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28195 spurious overflow exception on underflow.
28197 2012-04-29 Marek Polacek <polacek@redhat.com>
28199 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28200 (__fortify_function): New macro.
28201 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28202 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28203 __extern_always_inline.
28204 * libio/bits/stdio2.h: Likewise.
28205 * libio/bits/stdio.h: Likewise.
28206 * string/string.h: Likewise.
28207 * string/bits/string3.h: Likewise.
28208 * include/stdio.h: Likewise.
28209 * stdlib/bits/stdlib.h: Likewise.
28210 * stdlib/stdlib.h: Likewise.
28211 * rt/bits/mqueue2.h: Likewise.
28212 * rt/mqueue.h: Likewise.
28213 * posix/bits/unistd.h: Likewise.
28214 * posix/unistd.h: Likewise.
28215 * io/bits/poll2.h: Likewise.
28216 * io/bits/fcntl2.h: Likewise.
28217 * io/fcntl.h: Likewise.
28218 * io/sys/poll.h: Likewise.
28219 * misc/bits/syslog.h: Likewise.
28220 * misc/bits/syslog-ldbl.h: Likewise.
28221 * misc/sys/syslog.h: Likewise.
28222 * socket/bits/socket2.h: Likewise.
28223 * socket/sys/socket.h: Likewise.
28224 * debug/tst-chk1.c: Likewise.
28225 * wcsmbs/bits/wchar2.h: Likewise.
28226 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28227 * wcsmbs/wchar.h: Likewise.
28229 2012-04-29 Andreas Jaeger <aj@suse.de>
28231 * Makerules (tests): Remove enable-check-abi protection.
28232 (check-abi-warn): Remove.
28233 (check-abi-%): Remove check-abi-warn usage.
28235 * configure.in: Remove check-abi configure option.
28236 * configure: Regenerated.
28237 * config.make.in (enable-check-abi): Remove.
28239 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28242 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28243 double functions to double *_finite functions.
28246 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28247 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28249 * stdio-common/Makefile (tests): Add tst-sprintf3.
28250 * stdio-common/tst-sprintf3.c: New file.
28252 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28253 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28255 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28257 * conform/conformtest.pl: Remove duplicate typed-constant
28260 2012-04-28 David S. Miller <davem@davemloft.net>
28262 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28263 (check-abi-%): Remove AWK script prerequisite and explicit
28265 (check-abi): Rewrite to just diff the symlist with the abilist.
28266 (config-tls, config-abi-config): Delete, no longer used.
28267 (update-abi-%): Remove AWK script and explicit abilist directory.
28268 (update-abi): Rewrite to simply compare and conditionally copy the
28269 symlist and the sysdep abilist file. Remove update-abi-config
28271 * abilist/ld.abilist: Remove.
28272 * abilist/libBrokenLocale.abilist: Remove.
28273 * abilist/libanl.abilist: Remove.
28274 * abilist/libcrypt.abilist: Remove.
28275 * abilist/libdl.abilist: Remove.
28276 * abilist/librt.abilist: Remove.
28277 * abilist/libthread_db.abilist: Remove.
28278 * abilist/libutil.abilist: Remove.
28279 * scripts/extract-abilist.awk: Remove.
28280 * scripts/merge-abilist.awk: Remove.
28281 * sysdeps/generic/libcidn.abilist: New file.
28282 * sysdeps/generic/libnss_compat.abilist: New file.
28283 * sysdeps/generic/libnss_db.abilist: New file.
28284 * sysdeps/generic/libnss_dns.abilist: New file.
28285 * sysdeps/generic/libnss_files.abilist: New file.
28286 * sysdeps/generic/libnss_hesiod.abilist: New file.
28287 * sysdeps/generic/libnss_nis.abilist: New file.
28288 * sysdeps/generic/libnss_nisplus.abilist: New file.
28289 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28290 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28291 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28294 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28295 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28296 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28297 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28298 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28299 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28300 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28301 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28303 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28304 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28305 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28306 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28308 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28309 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28310 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28311 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28312 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28313 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28315 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28316 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28317 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28319 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28422 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28423 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28424 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28427 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28428 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28429 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28430 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28431 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28432 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28433 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28434 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28435 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28487 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28489 * conform/conformtest.pl: Fix typo in handling typed-constant from
28492 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28494 * README: Cut down references to pre-2.6 Linux kernels and
28495 Linuxthreads. Update lists of configurations in libc and ports
28496 and sort alphabetically. Say "or newer" with Linux kernel version
28499 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28501 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28504 * math/libm-test.inc (logb_test_downward): New test to expose
28505 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28508 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28511 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28513 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28514 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28516 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28518 * sysdeps/unix/i386/brk.S: Remove file.
28519 * sysdeps/unix/i386/dl-brk.S: Likewise.
28520 * sysdeps/unix/i386/pipe.S: Likewise.
28521 * sysdeps/unix/i386/sigreturn.S: Likewise.
28522 * sysdeps/unix/i386/syscall.S: Likewise.
28523 * sysdeps/unix/i386/vfork.S: Likewise.
28524 * sysdeps/unix/i386/wait.S: Likewise.
28526 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28527 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28529 * configure.in (arm*-none*): Do not allow without
28530 --enable-hacker-mode.
28531 (netbsd*): Remove case setting base_os.
28532 (386bsd*): Likewise.
28533 (freebsd*): Likewise.
28536 (sunos*): Likewise.
28537 (ultrix*): Likewise.
28538 (newsos*): Likewise.
28539 (dynix*): Likewise.
28545 (minix*): Likewise.
28546 (irix4*): Likewise.
28547 (irix6*): Likewise.
28548 (solaris[2-9]*): Likewise.
28550 * configure: Regenerated.
28552 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28555 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28556 overflow or cancellation in calculating denominator.
28557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28559 down expression to avoid unexpected rounding in newer GCCs.
28560 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28562 2012-04-26 David S. Miller <davem@davemloft.net>
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28565 long-double compat symbols.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28580 2012-04-25 David S. Miller <davem@davemloft.net>
28582 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28583 HWCAP_* values only after the memory barriers have been defined.
28584 (atomic_full_barrier): Define.
28585 (atomic_read_barrier): Define.
28586 (atomic_write_barrier): Define.
28588 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28590 * shlib-versions: Add libgcc_s version information.
28591 * sysdeps/generic/libgcc_s.h: Remove.
28592 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28594 * sysdeps/gnu/unwind-resume.c: Likewise.
28595 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28597 2012-04-25 David S. Miller <davem@davemloft.net>
28599 * sysdeps/unix/sparc/brk.S: Delete.
28600 * sysdeps/unix/sparc/dl-brk.S: Delete.
28601 * sysdeps/unix/sparc/pipe.S: Delete.
28602 * sysdeps/unix/sparc/sysdep.S: Delete.
28603 * sysdeps/unix/sparc/sysdep.h: Delete.
28604 * sysdeps/unix/sparc/vfork.S: Delete.
28605 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28606 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28607 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28608 ret_ERRVAL, r0, r1, MOVE): Define.
28609 (JUMPTARGET): Remove.
28610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28611 sysdeps/unix/sparc/sysdep.h
28612 (ENTRY, END): Remove.
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28615 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28617 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28618 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28621 * timezone/README: Update upstream location and email address for
28623 * timezone/zdump.c: Update from tzcode 2012b.
28624 * timezone/zic.c: Likewise.
28626 * configure.in (libc_cv_as_needed): Remove test.
28627 * configure: Regenerated.
28628 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28629 conditional definition.
28630 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28631 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28632 * config.make.in (have-as-needed): Remove variable.
28634 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28635 Paul Pluzhnikov <ppluzhnikov@google.com>
28637 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28640 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28642 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28643 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28644 * sysdeps/sh/strlen.S: Likewise.
28646 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/unix/fork.S: Remove file.
28649 * sysdeps/unix/i386/fork.S: Likewise.
28650 * sysdeps/unix/sparc/fork.S: Likewise.
28652 * sysdeps/unix/system.c: Remove file.
28653 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28655 * sysdeps/unix/getegid.S: Remove file.
28656 * sysdeps/unix/geteuid.S: Likewise.
28658 2012-04-24 Roland McGrath <roland@hack.frob.com>
28660 * scripts/check-localplt.awk: New file.
28661 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28663 * scripts/data/localplt-generic.data: Add a comment.
28665 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28666 NODE when __dir_mkfile failed.
28667 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28668 Reported by Ludovic Courtès <ludo@gnu.org>.
28670 2012-04-24 Andreas Jaeger <aj@suse.de>
28672 * Makerules (common-clean): Also remove gen-as-const-headers
28675 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28677 * Makerules (native-compile): Do not change working directory for
28678 build. Use $(OUTPUT_OPTION) in command.
28679 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28681 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28684 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28685 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28686 * math/libm-test.inc (floor_test): Add more tests.
28687 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28689 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/unix/getdents.c: Remove file.
28692 * sysdeps/unix/sysv/getdents.c: Likewise.
28693 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28695 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28696 sysdeps/unix/mman/syscalls.list.
28698 (mprotect): Likewise.
28700 (munmap): Likewise.
28701 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28702 * sysdeps/unix/mman/syscalls.list: Remove.
28703 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28705 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28706 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28707 * configure: Regenerated.
28708 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28709 $(libgcc_s_suffix).
28710 * config.make.in (libgcc_s_suffix): Remove variable.
28712 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28714 * sysdeps/unix/sysv/gethostname.c: Move to ...
28715 * sysdeps/posix/gethostname.c: ... here.
28717 * sysdeps/unix/execve.S: Remove file.
28719 * sysdeps/unix/_exit.S: Remove file.
28721 2012-04-23 Andreas Jaeger <aj@suse.de>
28724 * manual/Makefile: Remove make dist support, there's no
28725 need for a stand-alone documentation tar ball.
28726 (TEXI2DVI): Define always, it's not in Makeconfig.
28729 (edition): Removed.
28730 (glibc-doc-$(edition).tar): Removed
28734 (ETAGS): Remove, it's in Makeconfig.
28735 (move-if-change): Remove, it's in Makeconfig.
28737 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28740 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28741 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28742 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28743 (strtod_l, strtof_l, strtold_l): Remove __wur.
28744 It is not necessarily an error to ignore strtol's return value.
28745 One can reliably look at the stored endptr to decide whether
28746 the number had valid syntax.
28748 2012-04-21 Andreas Jaeger <aj@suse.de>
28751 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28753 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28756 * sysdeps/unix/sysv/Versions: Remove file.
28758 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28763 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28767 version from __vm86.
28769 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28771 * sysdeps/unix/common/lxstat.c: Remove file.
28772 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28774 * sysdeps/unix/sysv/Makefile: Remove file.
28776 * sysdeps/unix/sysv/direct.h: Remove file.
28778 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28779 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28780 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28781 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28782 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28783 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28784 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28786 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28788 * sysdeps/unix/xmknod.c: Remove file.
28789 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28791 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28793 * sysdeps/unix/sysv/i386/time.S: Remove file.
28795 * sysdeps/unix/fxstat.c: Remove file.
28796 * sysdeps/unix/xstat.c: Likewise.
28797 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28799 * sysdeps/unix/sysv/sigaction.c: Remove file.
28801 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28802 (sysdep_headers): Remove variable.
28803 [termio.h not in sysdep_headers] (generated): Likewise.
28804 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28805 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28806 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28807 * sysdeps/unix/sysv/tcflow.c: Likewise.
28808 * sysdeps/unix/sysv/tcflush.c: Likewise.
28809 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28810 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28811 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28812 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28813 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28815 * sysdeps/unix/siglist.c: Remove file.
28817 * sysdeps/unix/getppid.S: Remove file.
28819 * sysdeps/unix/mkdir.c: Remove file.
28820 * sysdeps/unix/rmdir.c: Likewise.
28822 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28824 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28826 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28827 errlist-compat value.
28829 2012-04-18 David S. Miller <davem@davemloft.net>
28831 * sysdeps/generic/memcopy.h (reg_char): Delete.
28832 * debug/strcat_chk.c: Use char, not reg_char.
28833 * debug/strcpy_chk.c: Likewise.
28834 * debug/strncat_chk.c: Likewise.
28835 * debug/strncpy_chk.c: Likewise.
28836 * string/memchr.c: Likewise.
28837 * string/memrchr.c: Likewise.
28838 * string/rawmemchr.c: Likewise.
28839 * string/strcat.c: Likewise.
28840 * string/strchr.c: Likewise.
28841 * string/strchrnul.c: Likewise.
28842 * string/strcmp.c: Likewise.
28843 * string/strcpy.c: Likewise.
28844 * string/strncat.c: Likewise.
28845 * string/strncmp.c: Likewise.
28846 * string/strncpy.c: Likewise.
28848 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28850 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28851 __builtin_memcopy is called when src and dest ranges are known to not
28854 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28856 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28857 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28858 fwd_align_merge macro call.
28859 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28860 bwd_align_merge macro call.
28861 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28863 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28866 bwd_align_merge macros.
28867 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28868 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28869 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28871 2012-04-18 David S. Miller <davem@davemloft.net>
28873 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28875 2012-04-18 Andreas Jaeger <aj@suse.de>
28878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28879 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28880 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28882 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28883 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28884 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28886 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28887 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28888 Adjust for changed ldbl-128 files.
28890 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28891 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28892 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28894 2012-04-17 David S. Miller <davem@davemloft.net>
28896 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28898 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28900 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28901 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28902 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28903 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28904 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28905 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28907 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28910 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28911 * math/libm-test.inc: Add ilogb errno and exception tests.
28912 * math/w_ilogb.c: New file: ilogb wrapper.
28913 * math/w_ilogbf.c: New file: ilogbf wrapper.
28914 * math/w_ilogbl.c: New file: ilogbl wrapper.
28915 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28916 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28917 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28918 exception being thrown with 0.0 as argument.
28919 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28920 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28921 exception being thrown with 0.0 as argument.
28922 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28923 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28924 exception being thrown with 0.0 as argument.
28925 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28926 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28927 exception being thrown with 0.0 as argument.
28928 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28929 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28930 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28931 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28932 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28933 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28934 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28935 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28936 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28938 2012-04-17 Petr Baudis <pasky@ucw.cz>
28940 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28943 2012-04-16 Marek Polacek <polacek@redhat.com>
28945 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28947 2012-04-16 Marek Polacek <polacek@redhat.com>
28949 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28950 operands of fdivp instruction.
28952 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28954 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28955 * elf/tst-auditmod3b.c: Likewise.
28956 * elf/tst-auditmod4b.c: Likewise.
28957 * elf/tst-auditmod5b.c: Likewise.
28958 * elf/tst-auditmod6b.c: Likewise.
28959 * elf/tst-auditmod6c.c: Likewise.
28960 * elf/tst-auditmod7b.c: Likewise.
28961 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28962 * sysdeps/x86_64/preconfigure.in: Likewise.
28963 * sysdeps/x86_64/preconfigure: Regenerated.
28965 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28967 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28970 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28973 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28975 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28978 * locale/iso-639.def: Fix gl language name. Spotted by
28981 2012-04-12 Roland McGrath <roland@hack.frob.com>
28984 * libio/libio.h (__io_write_fn): Update comment.
28986 2012-04-12 Petr Baudis <pasky@ucw.cz>
28989 * stdio.texi (Hook Functions): The user provided writer function
28990 is not allowed to return -1.
28992 2012-04-11 David S. Miller <davem@davemloft.net>
28994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28996 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28998 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28999 Add a leading slash to rtkaio.
29001 2012-04-11 Jim Meyering <meyering@redhat.com>
29004 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29005 It is not necessarily an error to ignore fwrite's return
29006 value. One can reliably use ferror to test for errors after
29009 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29011 * bits/types.h (__snseconds_t): New type.
29012 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29014 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29016 (__SNSECONDS_T_TYPE): Likewise.
29017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29018 (__SNSECONDS_T_TYPE): Likewise.
29019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29020 (__SNSECONDS_T_TYPE): Likewise.
29022 2012-04-10 Andreas Jaeger <aj@suse.de>
29025 * manual/time.texi (Processor Time): Return type of times is
29026 elapsed real time since an arbitrary point in the past.
29027 (CPU Time): Move CLK_TCK from here...
29028 (Processor Time): ...to here. Correct description.
29029 * manual/conf.texi (Constants for Sysconf): Correct description of
29032 2012-04-10 David S. Miller <davem@davemloft.net>
29035 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29036 where the is a gap between DT_REL(A) and DT_JMPREL.
29038 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29040 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29041 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29042 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29044 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29046 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29047 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29048 (dl_main): Handle --inhibit-cache.
29049 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29051 * elf/dl-load.c (_dl_map_object): Use it.
29052 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29054 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29057 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29058 (__ieee754_powl): Saturate large exponents rather than testing for
29059 overflow of y*log2(x).
29060 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29061 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29065 * math/s_ctan.c: Include <float.h>.
29066 (__ctan): Avoid internal overflow or cancellation in calculating
29068 * math/s_ctanf.c: Likewise.
29069 * math/s_ctanl.c: Likewise.
29070 * math/s_ctanh.c: Likewise.
29071 * math/s_ctanhf.c: Likewise.
29072 * math/s_ctanhl.c: Likewise.
29073 * math/libm-test.inc (ctan_test): Add more tests.
29074 (ctanh_test): Likewise.
29075 * sysdeps/i386/fpu/libm-test-ulps: Update.
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29078 2012-04-09 Andreas Jaeger <aj@suse.de>
29081 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29082 is an optional BSD extension.
29085 * manual/stdio.texi (Opening Streams): Document additional fopen
29088 2012-04-09 Roland McGrath <roland@hack.frob.com>
29090 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29091 %eax without telling the compiler.
29093 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29096 * manual/install.texi: Use sourceware.org.
29098 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29101 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29102 (__ieee754_pow): Generate overflow and underflow using huge*huge
29103 and tiny*tiny rather than just returning constant infinity or zero
29104 for large exponents.
29105 * math/libm-test.inc (pow_test): Require overflow exceptions for
29106 applicable cases of large exponents.
29109 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29110 (__ieee754_pow): Use iterative multiplication algorithm only for
29111 integer exponents with absolute value below 1024. Check for odd
29112 integer exponents when using algorithm for real exponents.
29113 * math/libm-test.inc (pow_test): Add more tests.
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29116 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29119 * math/libm-test.inc (exp_test): Do not allow overflow exception
29122 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29125 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29126 instead of __kernel_standard_f.
29128 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29130 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29131 * sysdeps/x86_64/memset_chk.S: Likewise.
29133 2012-04-08 Andreas Jaeger <aj@suse.de>
29136 * manual/startup.texi (Environment Access): Describe return value
29137 for putenv and setenv.
29140 * manual/filesys.texi (Directory Entries): Add description for
29144 * manual/filesys.texi (Directory Entries): Clarify that it's file
29145 system not operating system in the description of DT_UNKNOWN.
29148 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29150 2012-04-08 Stephen Compall <s11@member.fsf.org>
29153 * manual/llio.texi (Opening and Closing Files): Add cross
29154 reference to explain mode argument.
29156 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29158 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29159 * sysdeps/x86_64/memset_chk.S: Likewise.
29161 2012-04-07 David S. Miller <davem@davemloft.net>
29163 * elf/elf.h (R_SPARC_WDISP10): Define.
29164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29167 R_SPARC_SIZE64 and R_SPARC_H34.
29169 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29172 conditions and remove no longer applicable assertion.
29174 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29176 * bits/byteswap.h: Include <features.h>.
29177 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29178 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29180 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29182 * bits/byteswap.h (__bswap_16): Removed.
29183 Include <bits/byteswap-16.h> to get __bswap_16.
29184 * sysdeps/i386/bits/byteswap.h: Likewise.
29185 * sysdeps/s390/bits/byteswap.h: Likewise.
29186 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29187 * bits/byteswap-16.h: New file.
29188 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29189 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29190 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29191 * string/Makefile (headers): Add bits/byteswap-16.h.
29193 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29196 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29198 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29199 * nss/tst-nss-static.c: New.
29201 2012-04-06 Robert Millan <rmh@gnu.org>
29204 * manual/llio.texi (File Position Primitive): lseek
29205 refers to WHENCE when it really means OFFSET.
29207 2012-04-06 Andreas Jaeger <aj@suse.de>
29209 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29210 strncmp declarations.
29212 * abilist/libc.abilist: Add __poll and __ppoll.
29214 2012-04-05 David S. Miller <davem@davemloft.net>
29216 * scripts/check-local-headers.sh: Accept a host triplet in the
29217 path matched by the exclude regexp.
29219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29221 * sysdeps/powerpc/powerpc32/dl-machine.h
29222 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29223 * sysdeps/s390/s390-32/dl-machine.h
29224 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29225 * sysdeps/sparc/sparc32/dl-machine.h
29226 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29227 * sysdeps/sparc/sparc64/dl-machine.h
29228 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29230 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29232 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29233 undefined symbol errors.
29235 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29238 2012-04-05 Michael Matz <matz@suse.de>
29241 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29243 2012-04-05 Andreas Jaeger <aj@suse.de>
29246 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29249 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29251 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29252 which ROUND is no valid rounding mode.
29254 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29256 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29258 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29260 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29262 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29263 an exception using FPU order intentionally.
29265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29267 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29268 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29269 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29270 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29272 2012-04-05 Simon Josefsson <simon@josefsson.org>
29275 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29276 EINVAL when BUFLEN is too smal.
29278 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29281 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29282 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29284 2012-04-03 Andreas Jaeger <aj@suse.de>
29287 * manual/setjmp.texi (System V contexts): Fix sentence.
29290 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29291 New macro for this case.
29292 [!__GNUC__] (__bswap_64): New inline function for this case.
29293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29294 * bits/byteswap.h: Likewise.
29295 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29296 ull, guard with __GLIBC_HAVE_LONG_LONG.
29298 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29299 __GLIBC_HAVE_LONG_LONG.
29301 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29302 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29304 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29307 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29308 inptr and inend, rather than using last_ch.
29310 2012-04-02 David S. Miller <davem@davemloft.net>
29312 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29313 * stdio-common/printf-parse.h (read_int): Change return type to
29314 'int', return -1 on INT_MAX overflow.
29315 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29316 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29317 overflows INT_MAX. Check for overflow of in-format-string precision
29318 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29319 SIZE_MAX not INT_MAX for integer overflow test.
29320 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29321 skip the construct in the format string but do not record anything.
29322 * stdio-common/bug22.c: Adjust to test both width/prevision
29323 INT_MAX overflow as well as total length INT_MAX overflow. Check
29324 explicitly for proper errno values.
29326 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29328 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29330 * string/test-strcmp.c [! WIDE]: Likewise.
29331 * time/tst-mktime2.c: Likewise for INT_MAX.
29332 * string/test-string.h: #include <sys/param.h> for MIN.
29334 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29335 * sysdeps/i386/init-first.c (init): Likewise.
29336 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29337 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29338 * sysdeps/sh/init-first.c (init): Likewise.
29340 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29342 * po/ru.po: Update from translation team.
29343 * po/vi.po: Likewise.
29345 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29347 * resolv/nss_dns/dns-host.c: Merge copyright years.
29349 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29352 Optimize memcpy with prefetch if
29353 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29354 src, dst pointers have unequal 16 byte alignments.
29356 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29359 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29360 from a CNAME entry and return the minimum ttl for the query.
29361 (gaih_getanswer_slice): Likewise.
29363 2012-03-30 Jeff Law <law@redhat.com>
29365 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29367 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29368 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29370 * resolv/nss_dns/dns-host.c: Update copyright year.
29372 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29374 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29375 requests to save a system call. Fix check that all bytes are sent.
29377 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29378 comments for sendmmsg.
29380 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29383 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29384 with only 1 character between 0x0041 and 0x01b0.
29385 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29386 * wcsmbs/tst-mbsnrtowcs.c: New file.
29388 2012-03-29 David S. Miller <davem@davemloft.net>
29390 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29391 small copies by hand.
29393 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29396 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29397 _nss_compat_initgroups_dyn): Fall back to malloc/free
29398 for large group memberships.
29400 2012-03-28 David S. Miller <davem@davemloft.net>
29402 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29403 that branches into memcpy.
29404 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29407 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29410 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29411 implementation too.
29412 * sysdeps/sparc/mempcpy.S: New file.
29414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29415 the IFUNC routine in the libc case.
29416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29418 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29419 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29420 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29421 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29422 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29423 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29424 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29425 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29427 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29428 loop to 256 bytes instead of 64 bytes and fix test signedness.
29430 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29431 * sysdeps/sparc/sparc32/Makefile: rather than here...
29432 * sysdeps/sparc/sparc64/Makefile: and here.
29434 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29436 * malloc/mallocbug.c: Avoid warnings about unused variables.
29438 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29441 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29442 in the right place. Discard and retry query if response is
29443 larger than input buffer size.
29445 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29451 x for large integer exponent.
29452 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29453 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29454 sign of result as needed afterwards.
29455 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29456 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29457 result for underflowing pow the same as for overflow.
29458 (__kernel_standard_l): Handle powl overflow and underflow here
29459 rather than calling __kernel_standard.
29460 * math/libm-test.inc (pow_test): Add more tests.
29475 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29476 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29477 (__kernel_standard_l): New function.
29478 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29480 * math/w_acosl.c (__acosl): Likewise.
29481 * math/w_asinl.c (__asinl): Likewise.
29482 * math/w_atan2l.c (__atan2l): Likewise.
29483 * math/w_atanhl.c (__atanhl): Likewise.
29484 * math/w_coshl.c (__coshl): Likewise.
29485 * math/w_exp10l.c (__exp10l): Likewise.
29486 * math/w_exp2l.c (__exp2l): Likewise.
29487 * math/w_fmodl.c (__fmodl): Likewise.
29488 * math/w_hypotl.c (__hypotl): Likewise.
29489 * math/w_j0l.c (__j0l, __y0l): Likewise.
29490 * math/w_j1l.c (__j1l, __y1l): Likewise.
29491 * math/w_jnl.c (__jnl, __ynl): Likewise.
29492 * math/w_lgammal.c (__lgammal): Likewise.
29493 * math/w_log10l.c (__log10l): Likewise.
29494 * math/w_log2l.c (__log2l): Likewise.
29495 * math/w_logl.c (__logl): Likewise.
29496 * math/w_powl.c (__powl): Likewise.
29497 * math/w_remainderl.c (__remainderl): Likewise.
29498 * math/w_scalbl.c (sysv_scalbl): Likewise.
29499 * math/w_sinhl.c (__sinhl): Likewise.
29500 * math/w_sqrtl.c (__sqrtl): Likewise.
29501 * math/w_tgammal.c (__tgammal): Likewise.
29502 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29503 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29504 * math/libm-test.inc (acos_test): Add more tests.
29505 (acosh_test): Likewise.
29506 (asin_test): Likewise.
29507 (atanh_test): Likewise.
29508 (exp_test): Likewise.
29509 (exp10_test): Likewise.
29510 (exp2_test): Likewise.
29511 (expm1_test): Likewise.
29512 (lgamma_test): Likewise.
29513 (log_test): Likewise.
29514 (log10_test): Likewise.
29515 (log1p_test): Likewise.
29516 (log2_test): Likewise.
29517 (pow_test): Do not allow some spurious overflow exceptions.
29518 (sqrt_test): Add more tests.
29519 (tgamma_test): Likewise.
29520 (y0_test): Likewise.
29521 (y1_test): Likewise.
29522 (yn_test): Likewise.
29524 2012-03-27 Anton Blanchard <anton@samba.org>
29526 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29532 2012-03-27 David S. Miller <davem@davemloft.net>
29534 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29536 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29537 have-as-vis3 check.
29539 2012-03-27 Andreas Jaeger <aj@suse.de>
29541 * sysdeps/x86_64/elf/configure.in: Moved to ...
29542 * sysdeps/x86_64/configure.in: ... here.
29543 * sysdeps/x86_64/elf/start.S: Moved to ...
29544 * sysdeps/x86_64/start.S: ... here.
29545 * sysdeps/x86_64/elf/configure: Delete.
29547 * sysdeps/x86_64/configure.in: Merge contents from
29548 sysdeps/i386/configure.in (without i686 check).
29550 * sysdeps/i386/elf/Versions: Merge into ...
29551 * sysdeps/i386/Versions: ... this.
29552 * sysdeps/i386/elf/Versions: Delete file.
29553 * sysdeps/i386/elf/start.S: Moved to ...
29554 * sysdeps/i386/start.S: ...here.
29555 * sysdeps/i386/elf/configure.in: Merge into...
29556 * sysdeps/i386/configure.in: ...here.
29557 * sysdeps/i386/elf/configure.in: Delete file.
29558 * sysdeps/i386/elf/configure: Delete file.
29560 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29561 * debug/backtracesyms.c: ... here.
29562 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29563 * debug/backtracesymsfd.c: ... here.
29564 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29565 * sysdeps/generic/ifunc-sel.h: ... here.
29567 * sysdeps/unix/i386/start.c: Delete file.
29568 * sysdeps/unix/sparc/start.c: Delete file.
29569 * sysdeps/unix/start.c: Delete file.
29571 * sysdeps/sh/elf/configure.in: Moved to ...
29572 * sysdeps/sh/configure.in: ... here.
29573 * sysdeps/sh/elf/start.S: Moved to ...
29574 * sysdeps/sh/start.S: ... here.
29575 * sysdeps/sh/elf/configure: Delete file.
29577 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29578 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29579 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29580 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29581 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29582 * sysdeps/powerpc/powerpc64/start.S: here.
29583 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29584 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29585 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29586 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29587 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29589 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29590 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29591 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29592 * sysdeps/powerpc/powerpc32/start.S: ... here.
29593 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29594 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29595 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29597 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29598 * sysdeps/powerpc/ifunc-sel.h: ... here.
29599 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29600 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29602 * sysdeps/sparc/elf/configure.in: Moved to ...
29603 * sysdeps/sparc/configure.in: ... here.
29604 * sysdeps/sparc/elf/configure: Delete file.
29605 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29606 * sysdeps/sparc/sparc32/start.S: ... here.
29607 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29608 * sysdeps/sparc/sparc64/start.S: ... here.
29609 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29610 * sysdeps/sparc/sparc32/Makefile: ... this.
29611 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29612 * sysdeps/sparc/sparc64/Makefile: ... this.
29614 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29615 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29616 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29617 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29618 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29619 * sysdeps/s390/s390-32/setjmp.S: ... here.
29620 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29621 * sysdeps/s390/s390-32/configure.in: ... here.
29622 * sysdeps/s390/s390-32/elf/configure: Delete file.
29623 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29624 * sysdeps/s390/s390-32/start.S: ... here.
29626 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29627 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29628 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29629 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29630 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29631 * sysdeps/s390/s390-64/setjmp.S: ... here.
29632 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29633 * sysdeps/s390/s390-64/configure.in: ... here
29634 * sysdeps/s390/s390-64/elf/configure: Delete file.
29635 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29636 * sysdeps/s390/s390-64/start.S: ... here.
29637 * sysdeps/s390/s390-64/elf/configure: Delete.
29639 * configure.in: Remove support for elf directories in sysdeps.
29641 * configure: Regenerated.
29642 * sysdeps/i386/configure: Regenerated.
29643 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29644 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29645 * sysdeps/s390/s390-32/configure: Regenerated.
29646 * sysdeps/s390/s390-64/configure: Regenerated.
29647 * sysdeps/sh/configure: Regenerated.
29648 * sysdeps/sparc/configure: Regenerated.
29649 * sysdeps/x86_64/configure: Regenerated.
29651 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29656 denormal result into account.
29658 2012-03-25 Roland McGrath <roland@hack.frob.com>
29660 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29661 Reported by Allan McRae <allan@archlinux.org>.
29663 2012-03-23 Jeff Law <law@redhat.com>
29665 * nss/getnssent.c (__nss_getent): Fix typo.
29667 2012-03-23 David S. Miller <davem@davemloft.net>
29669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29671 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29673 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29674 to pad to uint64_t for each field.
29675 (dl_tls_index): Replace unsigned long with uint64_t.
29677 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29678 Paul Pluzhnikov <ppluzhnikov@google.com>
29681 * grp/Makefile (otherlibs): Don't set it.
29682 * inet/Makefile (otherlibs): Likewise.
29683 * login/Makefile (otherlibs): Likewise.
29684 * nscd/Makefile (otherlibs): Likewise.
29685 * posix/Makefile (otherlibs): Likewise.
29686 * pwd/Makefile (otherlibs): Likewise.
29687 * rt/Makefile (otherlibs): Likewise.
29688 * sunrpc/Makefile (otherlibs): Likewise.
29689 * nss/Makefile (otherlibs): Likewise.
29690 Add libnss_files to routines and static-only-routines.
29691 ($(objpfx)getent): Remove rule.
29692 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29693 static-only-routines.
29695 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29698 * math/s_cexp.c: Include <float.h>.
29699 (__cexp): Handle exp result overflowing not necessarily
29700 overflowing both real and imaginary parts of result.
29701 * math/s_cexpf.c: Likewise.
29702 * math/s_cexpl.c: Likewise.
29703 * math/libm-test.inc (cexp_test): Add more tests.
29704 * sysdeps/i386/fpu/libm-test-ulps: Update.
29705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29707 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29709 * include/link.h (ELFW): New macro.
29710 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29711 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29713 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29715 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29718 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29720 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29722 (struct La_x32_retval): Likewise.
29724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29726 * sysdeps/x86_64/preconfigure.in: New file.
29727 * sysdeps/x86_64/preconfigure: New generated file.
29729 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29732 * math/e_exp2l.c: Include <float.h>.
29733 (__ieee754_exp2l): Handle overflow and underflow cases
29734 separately. Only pass fractional part of argument to
29736 * math/libm-test.inc (exp2_test): Add more tests.
29738 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29739 negating x to take absolute value.
29740 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29745 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29746 computing low part if x was negated.
29747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29749 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29751 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29752 la_x32_gnu_pltexit.
29753 (pltexit): Cast int_retval to ptrdiff_t.
29754 * elf/tst-auditmod3b.c: Likewise.
29755 * elf/tst-auditmod4b.c: Likewise.
29756 * elf/tst-auditmod5b.c: Likewise.
29757 * elf/tst-auditmod6b.c: Likewise.
29758 * elf/tst-auditmod6c.c: Likewise.
29759 * elf/tst-auditmod7b.c: Likewise.
29761 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29762 and x32_gnu_pltexit.
29764 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29765 __ELF_NATIVE_CLASS.
29766 (La_x32_regs): New macro.
29767 (La_x32_retval): Likewise.
29768 (la_x32_gnu_pltenter): New function prototype.
29769 (la_x32_gnu_pltexit): Likewise.
29771 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29778 * configure.in (libc_cv_cc_nofma): Check for option to disable
29779 generation of FMA instructions.
29780 * configure: Regenerate.
29781 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29782 * sysdeps/ieee754/dbl-64/Makefile: New file.
29783 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29784 Remove brandred-fma4.
29785 (CFLAGS-brandred-fma4.c): Remove.
29786 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29787 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29789 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29792 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29794 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29795 LLONG_MAX != LONG_MAX.
29796 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29797 (_fitoa_word): Likewise.
29798 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29799 LLONG_MAX != LONG_MAX.
29800 * stdio-common/_itowa.h: Include <_itoa.h>.
29801 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29802 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29803 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29804 only if not defined.
29805 (_ITOA_WORD_TYPE): Likewise.
29806 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29807 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29809 2012-03-21 David S. Miller <davem@davemloft.net>
29811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29813 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29815 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29816 of x86_64 when setting libc_cv_slibdir, libdir and
29818 * sysdeps/unix/sysv/linux/configure: Regenerated.
29820 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29822 * manual/lang.texi (Old Varargs): Remove section.
29823 (How Variadic): Update menu.
29824 (va_start): Do not mention varargs.h.
29826 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29827 Joseph Myers <joseph@codesourcery.com>
29829 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29831 * configure: Regenerated.
29833 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29835 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29836 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29839 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29842 * Makefile (files-for-dist): Remove NOTES.
29843 (NOTES): Remove rule.
29844 * README: Don't refer to NOTES.
29845 * manual/creature.texi: Don't include macros.texi.
29846 * manual/intro.texi (creature.texi): Remove comment referring to
29849 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29850 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29851 * configure: Regenerated.
29852 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29853 LIBC_TRY_CC_OPTION.
29854 (libc_cv_as_i686): Likewise.
29855 (libc_cv_cc_avx): Likewise.
29856 (libc_cv_cc_sse2avx): Likewise.
29857 (libc_cv_cc_fma4): Likewise.
29858 (libc_cv_cc_novzeroupper): Likewise.
29859 * sysdeps/i386/configure: Regenerated.
29862 * sysdeps/i386/fpu/s_cexp.S: Remove.
29863 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29865 * math/libm-test.inc (cexp_test): Add more tests.
29866 * sysdeps/i386/fpu/libm-test-ulps: Update.
29867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29869 2012-03-21 Allan McRae <allan@archlinux.org>
29871 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29873 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29876 * math/w_exp2.c: Do not include <float.h>.
29877 (o_threshold, u_threshold): Remove.
29878 (__exp2): Calculate result before checking finiteness and calling
29880 * math/w_exp2f.c: Likewise.
29881 * math/w_exp2l.c: Likewise.
29882 * math/libm-test.inc (exp2_test): Require overflow exception for
29886 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29887 range of signed 64-bit integers before using fistpll. Remove
29888 checks for whether integers fit in mantissa bits.
29889 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29890 the range of signed 32-bit integers before using fistpl. Remove
29891 checks for whether integers fit in mantissa bits.
29892 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29893 (__ieee754_powl): Test for y outside the range of signed 64-bit
29894 integers before using fistpll. Reduce 64-bit values to 63-bit
29896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29897 divide-by-zero is raised for zero to large negative powers.
29898 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29899 (__ieee754_powl): Test for y outside the range of signed 64-bit
29900 integers before using fistpll. Reduce 64-bit values to 63-bit
29902 * math/libm-test.inc (pow_test): Add more tests.
29904 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29906 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29907 <stdio-common/_itoa.h>.
29908 * debug/segfault.c: Likewise.
29909 * elf/dl-cache.c: Likewise.
29910 * elf/dl-minimal.c: Likewise.
29911 * elf/dl-misc.c: Likewise.
29912 * elf/dl-sysdep.c: Likewise.
29913 * elf/dl-version.c: Likewise.
29914 * elf/rtld.c: Likewise.
29915 * hurd/hurdsock.c: Likewise.
29916 * hurd/lookup-retry.c: Likewise.
29917 * malloc/malloc.c: Likewise.
29918 * malloc/mtrace.c: Likewise.
29919 * nscd/nscd_getgr_r.c: Likewise.
29920 * nscd/nscd_getpw_r.c: Likewise.
29921 * nscd/nscd_getserv_r.c: Likewise.
29922 * posix/getopt_init.c: Likewise.
29923 * posix/wordexp.c: Likewise.
29924 * stdio-common/_itoa.c: Likewise.
29925 * stdio-common/printf_fphex.c: Likewise.
29926 * stdio-common/vfprintf.c: Likewise.
29927 * string/_strerror.c: Likewise.
29928 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29929 * sysdeps/i386/i686/hp-timing.h: Likewise.
29930 * sysdeps/mach/_strerror.c: Likewise.
29931 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29932 * sysdeps/mach/hurd/sethostid.c: Likewise.
29933 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29934 * sysdeps/mach/xpg-strerror.c: Likewise.
29935 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29936 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29937 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29938 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29939 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29940 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29941 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29942 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29943 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29944 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29945 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29946 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29947 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29948 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29949 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29950 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29951 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29952 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29953 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29954 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29955 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29957 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29959 * stdio-common/_itoa.h: Moved to ...
29960 * sysdeps/generic/_itoa.h: Here.
29962 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29964 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29965 instead of "_itoa.h" and "_itowa.h".
29966 * stdio-common/vfprintf.: Likewise.
29968 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29970 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29972 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29973 (__signbit): Likwise.
29974 (llrintf): Likwise.
29977 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29979 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29982 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29984 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29985 OVERFLOW_EXCEPTION_OK.
29986 * math/libm-test.inc ("Philosophy"): Update comment about
29988 (OVERFLOW_EXCEPTION): Define.
29989 (OVERFLOW_EXCEPTION_OK): Likewise.
29990 (INVALID_EXCEPTION_OK): Renumber.
29991 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29992 (IGNORE_ZERO_INF_SIGN): Likewise.
29993 (test_exceptions): Handle FE_OVERFLOW.
29994 (exp10_test): Expect overflow exceptions.
29995 (exp2_test): Likewise.
29996 (expm1_test): Likewise.
29997 (nextafter_test): Likewise.
29998 (pow_test): Likewise.
29999 (scalbn_test): Likewise.
30000 (scalbln_test): Likewise.
30002 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30004 * sysdeps/x86_64/bits/atomic.h
30005 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30007 (atomic_exchange_acq): Likewise.
30008 (__arch_exchange_and_add_body): Likewise.
30009 (__arch_add_body): Likewise.
30010 (atomic_add_negative): Likewise.
30011 (atomic_add_zero): Likewise.
30013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30015 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30016 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30018 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30020 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30021 Check __x86_64__ instead of __WORDSIZE.
30023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30025 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30027 2012-03-19 David S. Miller <davem@davemloft.net>
30029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30031 * sysdeps/sparc/fpu/fenv_private.h: New file.
30032 * sysdeps/sparc/fpu/math_private.h: Use it.
30033 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30035 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30036 (libc_feholdexcept_setroundl): Remove.
30037 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30039 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30040 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30042 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30044 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30045 int64_t instead of long int.
30046 (INSERT_WORDS64): Likwise.
30048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30050 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30051 _Unwind_GetCFA return to _Unwind_Ptr first.
30053 2012-03-19 Joseph Myers <joseph@codesourcery.com>
30056 * math/s_clog.c: Include <float.h>.
30057 (__clog): Scale large or subnormal inputs.
30058 * math/s_clogf.c: Likewise.
30059 * math/s_clogl.c: Likewise.
30060 * math/s_clog10.c: Include <float.h>.
30061 (M_LOG10_2): Define.
30062 (__clog10): Scale large or subnormal inputs.
30063 * math/s_clog10f.c: Likewise.
30064 * math/s_clog10l.c: Likewise.
30065 * math/libm-test.inc (clog_test): Add more tests.
30066 (clog10_test): Likewise.
30067 * sysdeps/i386/fpu/libm-test-ulps: Update.
30068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30071 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30073 * math/libm-test.inc (atan2_test): Add another test.
30075 * Makerules (common-objdir-compile): Remove.
30076 * sysdeps/unix/Makefile (config-generated): Do not add
30077 $(unix-generated) to variable.
30078 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30079 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30081 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30083 [generic bits/local_lim.h] (before-compile): Do not append to
30085 [generic bits/local_lim.h] (common-generated): Likewise.
30086 [generic sys/param.h] (before-compile): Do not append to variable.
30087 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30088 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30089 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30090 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30092 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30093 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30094 [generic sys/param.h] ($(addprefix
30095 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30096 [generic sys/param.h] (common-generated): Do not append to
30098 [generic sys/param.h] (sysdep_headers): Likewise.
30099 [generic bits/errno.h] (before-compile): Do not append to
30101 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30103 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30104 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30105 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30106 [generic bits/errno.h] (common-generated): Do not append to
30108 [generic bits/ioctls.h] (before-compile): Do not append to
30110 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30112 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30113 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30114 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30116 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30117 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30118 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30119 [generic bits/ioctls.h] (common-generated): Do not append to
30121 [generic sys/syscall.h] (syscall.h): Remove variable.
30122 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30124 [generic sys/syscall.h] (before-compile): Do not append to
30126 [generic sys/syscall.h] (common-generated): Likewise.
30127 * sysdeps/unix/errnos-tmpl.c: Remove file.
30128 * sysdeps/unix/errnos.awk: Likewise.
30129 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30130 * sysdeps/unix/ioctls.awk: Likewise.
30131 * sysdeps/unix/mk-local_lim.c: Likewise.
30132 * sysdeps/unix/snarf-ioctls: Likewise.
30134 2012-03-19 Richard Henderson <rth@twiddle.net>
30136 * sysdeps/i386/fpu/fenv_private.h: New file.
30137 * sysdeps/i386/fpu/math_private.h: Use it.
30138 (math_opt_barrier, math_force_eval): Remove.
30139 (libc_feholdexcept_setround_53bit): Remove.
30140 (libc_feupdateenv_53bit): Remove.
30141 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30142 (math_opt_barrier, math_force_eval): Remove.
30143 (libc_feholdexcept): Remove.
30144 (libc_feholdexcept_setround): Remove.
30145 (libc_fetestexcept, libc_fesetenv): Remove.
30146 (libc_feupdateenv_test): Remove.
30147 (libc_feupdateenv, libc_feholdsetround): Remove.
30148 (libc_feresetround): Remove.
30150 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30151 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30153 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30154 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30155 (libc_feupdateenv_testl): New.
30156 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30157 (libc_feupdateenv_testf): New.
30158 (libc_feupdateenv): Use libc_feupdateenv_test.
30159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30162 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30163 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30164 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30165 (libc_feresetround_noex): New.
30166 (libc_feresetround_noexf): New.
30167 (libc_feresetround_noexl): New.
30168 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30169 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30170 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30171 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30176 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30178 SET_RESTORE_ROUND_NOEX.
30179 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30180 SET_RESTORE_ROUND_NOEXF.
30181 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30182 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30183 (libc_feholdsetroundf): New.
30184 (libc_feresetround, libc_feresetroundf): New.
30186 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30187 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30188 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30190 * sysdeps/generic/math_private.h: Include <fenv.h>.
30191 (default_libc_feholdexcept): New.
30192 (default_libc_feholdexcept_setround): New.
30193 (default_libc_fesetenv, default_libc_feupdateenv): New.
30194 (libc_feholdexcept): Only define if undefined.
30195 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30196 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30197 (libc_feholdexcept_setroundl): Likewise.
30198 (libc_feholdexcept_setround_53bit): Likewise.
30199 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30200 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30201 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30202 (libc_feupdateenv_53bit): Likewise.
30203 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30204 (libc_feholdexcept): Convert from macro to inline function.
30205 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30206 (libc_fesetenv, libc_feupdateenv): Likewise.
30208 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30209 not previously defined.
30210 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30211 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30212 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30213 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30214 * sysdeps/ieee754/flt-32/math_private.h: New file.
30215 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30216 math_private.h below SET_FLOAT_WORD.
30217 (__isnan, __isinf_ns, __finite): Remove.
30218 (__isnanf, __isinf_nsf, __finitef): Remove.
30220 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30224 2012-03-17 David S. Miller <davem@davemloft.net>
30227 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30230 2012-03-16 David S. Miller <davem@davemloft.net>
30232 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30236 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30238 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30239 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30240 sysdep_routines when subdir is sysvipc.
30241 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30242 __getshmlba helper.
30244 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30246 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30248 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30251 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30254 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30255 (__lround): Renamed to ...
30256 (__llround): This. Replace long int with long long int.
30257 Define lround functions as aliases of llround functions.
30258 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30260 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30263 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30264 adresses to uintptr_t. Replace "long int" and "unsigned long
30265 int" with "greg_t" on va_arg.
30267 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30269 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30270 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30272 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30273 Move e_machine check before EI_CLASS check. Handle x32
30274 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30275 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30276 SKIP_EM_IA_64 and include
30277 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30279 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30280 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30281 (add_system_dir): New macro.
30283 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30284 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30286 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30297 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30299 * math/w_j0f.c (j0f): Likewise.
30301 * math/w_j0l.c (__j0l): Likewise.
30303 * math/w_j1.c (j1): Likewise.
30305 * math/w_j1f.c (j1f): Likewise.
30307 * math/w_j1l.c (__j1l): Likewise.
30309 * math/w_jn.c (jn): Likewise.
30311 * math/w_jnf.c (jnf): Likewise.
30313 * math/w_jnl.c (__jnl): Likewise.
30315 * math/libm-test.inc (j0_test): Add more tests.
30316 (j1_test): Likewise.
30317 (jn_test): Likewise. Add trailing semicolon to existing test.
30318 (y0_test): Likewise.
30319 (y1_test): Likewise.
30320 * sysdeps/i386/fpu/libm-test-ulps: Update.
30321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30326 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30327 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30329 (__tanl): Set errno for infinite argument.
30330 * sysdeps/i386/fpu/mptan.c: Remove.
30331 * sysdeps/i386/fpu/s_tan.S: Likewise.
30332 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30333 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30334 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30335 * math/libm-test.inc (tan_test): Add more tests and enable more
30336 tests for double and long double.
30337 * sysdeps/i386/fpu/libm-test-ulps: Update.
30338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30340 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30342 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30343 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30345 2012-03-16 Roland McGrath <roland@hack.frob.com>
30347 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30348 * configure.in: Use it for both main tree and add-ons.
30349 * configure: Regenerated.
30351 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30353 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30355 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30357 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30361 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30362 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30367 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30368 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30369 != 0 for prec == 2.
30370 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30371 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30372 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30373 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30374 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30375 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30376 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30377 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30378 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30379 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30380 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30381 * math/libm-test.inc (cos_test): Add more tests and enable more
30382 tests for long double.
30383 (sin_test): Likewise.
30384 (sincos_test): Likewise.
30385 * sysdeps/i386/fpu/libm-test-ulps: Update.
30386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30388 2012-03-16 David S. Miller <davem@davemloft.net>
30390 * sysdeps/sparc/fpu/math_private.h: New file.
30392 2012-03-15 David S. Miller <davem@davemloft.net>
30394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30408 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30409 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30411 * sysdeps/sparc/sparc-ifunc.h: New file.
30412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30453 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30457 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30459 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30463 2012-03-15 Andreas Jaeger <aj@suse.de>
30466 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30467 ieee754/flt-32 implementation for sin, cos and sincos.
30468 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30469 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30470 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30471 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30472 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30473 ieee754/flt-32 implementation for tan.
30475 * math/libm-test.inc (cos_test): Enable some large input tests for
30477 (sin_test): Likewise.
30478 (sincos_test): Likewise.
30479 (tan_test): Add tests for large input.
30481 * sysdeps/i386/fpu/libm-test-ulps: Update.
30483 2012-03-15 Andreas Jaeger <aj@suse.de>
30486 * math/libm-test.inc (cos_test): Add more test cases.
30487 (sin_test): Likewise.
30488 (sincos_test): Likewise.
30490 2012-03-15 Andreas Jaeger <aj@suse.de>
30493 * math/libm-test.inc (cos_test): Add a test case for large input
30495 (sin_test): Likewise.
30496 (sincos_test): Likewise.
30498 2012-03-15 Andreas Jaeger <aj@suse.de>,
30499 Joseph Myers <joseph@codesourcery.com>
30502 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30503 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30504 * sysdeps/i386/fpu/branred.c: Likewise.
30505 * sysdeps/i386/fpu/dosincos.c: Likewise.
30506 * sysdeps/i386/fpu/mpa.c: Likewise.
30507 * sysdeps/i386/fpu/s_cos.S: Likewise.
30508 * sysdeps/i386/fpu/s_sin.S: Likewise.
30509 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30510 * sysdeps/i386/fpu/sincos32.c: Likewise.
30512 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30514 (libc_feupdateenv_53bit): Define.
30515 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30517 (libc_feupdateenv_53bit): Define.
30519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30520 53 bit (without extend i386 double precision).
30522 * math/libm-test.inc (sincos_test): Add tests for large input.
30526 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30528 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30532 2012-03-15 David S. Miller <davem@davemloft.net>
30534 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30535 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30536 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30537 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30562 fmin/fmax sysdep routines.
30563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30565 2012-03-14 David S. Miller <davem@davemloft.net>
30567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30639 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30644 * sysdeps/sparc/configure.in: New file.
30645 * sysdeps/sparc/configure: Generate.
30646 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30647 * configure: Regenerate.
30648 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30649 * config.make.in (have-as-vis3): New.
30650 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30651 available use -Av9d instead of -Av9a.
30652 * sysdeps/sparc/sparc64/Makefile: Likewise.
30653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30668 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30669 fzeros/fnegs to load 0x80000000 into a float register instead of
30671 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30673 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30677 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30678 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30679 ($(inst_includedir)/bits/syscall.h): Remove rule.
30680 ($(objpfx)bits/syscall.d): Include instead of
30681 $(objpfx)syscall-list.d.
30682 (generated): Change syscall-list.h and syscall-list.d to
30683 bits/syscall.h and bits/syscall.d.
30685 2012-03-14 Roland McGrath <roland@hack.frob.com>
30688 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30690 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30693 * math/s_csqrt.c: Include <float.h>.
30694 (__csqrt): Scale large or subnormal inputs.
30695 * math/s_csqrtf.c: Likewise.
30696 * math/s_csqrtl.c: Likewise.
30697 * math/libm-test.inc (csqrt_test): Add more tests.
30698 * sysdeps/i386/fpu/libm-test-ulps: Update.
30699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30702 * math/libm-test.inc (hypot_test): Add more tests.
30704 2012-03-13 David S. Miller <davem@davemloft.net>
30707 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30708 double-precision for the calculation instead of scaling.
30710 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30712 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30713 manipulate bits before adding and subtracting TWO52[sx].
30714 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30715 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30719 2012-03-13 David S. Miller <davem@davemloft.net>
30721 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30722 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30724 rtld-global-offsets.h
30725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30727 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30730 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30732 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30733 'err' in the ifdef scope in which it is actually used.
30735 * nss/nss_db/db-init.c: Include string.h
30737 2012-03-12 David S. Miller <davem@davemloft.net>
30739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30740 masking out of the most significant byte of random value used.
30741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30742 Fix coding style in previous change.
30744 * sysdeps/unix/sysv/linux/kernel-features.h
30745 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30746 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30748 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30751 2012-03-11 David S. Miller <davem@davemloft.net>
30753 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30754 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30756 for 'resultvar' otherwise things get truncated on 64-bit.
30758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30759 Fix masking out of the most significant byte of random value used.
30761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30763 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30767 2012-03-09 David S. Miller <davem@davemloft.net>
30769 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30770 variables with appropriate CPP guards.
30771 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30772 frame pointer, not the stack pointer. Correct layout comments. Fix test
30773 on resulting framesize and the management of the outregs buffer for pltexit.
30774 Preserve floating point return values across _dl_call_pltexit call.
30775 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30776 framesize and the management of the outregs buffer for pltexit.
30777 Preserve floating point return values across _dl_call_pltexit
30779 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30780 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30781 (print_exit): Fix format string for return register value.
30783 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30785 * sunrpc/Makefile (others): Add rpcgen.
30786 ($(objpfx)rpcgen): Remove special build rule and dependency on
30788 * sunrpc/rpcgen.c: New file.
30790 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30793 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30794 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30795 * sysdeps/i386/crti.S: Likewise.
30796 * sysdeps/i386/crtn.S: Likewise.
30797 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30798 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30799 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30800 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30801 * sysdeps/sh/crti.S: Likewise.
30802 * sysdeps/sh/crtn.S: Likewise.
30803 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30806 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30808 * locale/programs/locfile-kw.gperf: Likewise.
30809 * locale/programs/charmap-kw.h: Regenerated.
30810 * locale/programs/locfile-kw.h: Likewise.
30813 * intl/plural.y: Replace FSF snail mail address with URL.
30814 * intl/plural.c: Regenerated.
30816 2012-03-09 Richard Henderson <rth@twiddle.net>
30818 * include/math_private.h: Remove file.
30819 * math/math_private.h: Move file ...
30820 * sysdeps/generic/math_private.h: ... here.
30822 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30823 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30824 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30826 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30827 and <math_private.h>.
30828 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30829 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30830 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30831 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30832 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30916 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30917 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30919 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30921 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30922 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30923 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30925 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30928 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30929 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30930 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30931 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30933 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30934 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30935 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30936 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30938 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30939 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30940 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30942 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30943 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30951 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30952 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30953 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30954 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30955 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30956 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30957 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30958 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30959 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30961 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30962 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30963 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30964 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30965 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30966 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30967 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30969 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30970 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30971 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30972 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30976 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30977 * sysdeps/ieee754/k_standard.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31097 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31127 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31128 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31138 * sysdeps/ieee754/s_lib_version.c: Likewise.
31139 * sysdeps/ieee754/s_matherr.c: Likewise.
31140 * sysdeps/ieee754/s_signgam.c: Likewise.
31141 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31143 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31144 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31145 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31146 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31147 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31148 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31149 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31150 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31151 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31152 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31155 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31156 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31157 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31158 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31159 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31163 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31165 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31166 * sunrpc/rpc_main.c: Likewise.
31167 * sunrpc/rpc_svcout.c: Likewise.
31169 2012-03-09 David S. Miller <davem@davemloft.net>
31171 * include/math_private.h: New file.
31173 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31175 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31176 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31177 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31178 from <bits/socket_type.h>.
31179 (enum __socket_type): Don't define here.
31180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31182 bits/socket_type.h.
31185 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31186 checking __USE_GNU.
31188 * Makerules ($(inst_includedir)/%.h): New rule.
31189 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31190 (install-others): Remove variable setting.
31191 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31193 2012-03-08 Richard Henderson <rth@twiddle.net>
31195 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31196 from macro to inline function; merge with the
31197 !__LIBC_INTERNAL_MATH_INLINES version.
31198 (__ieee754_sqrtf): Likewise.
31200 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31201 to inline function.
31202 (__rintf, __floor, __floorf): Likewise.
31204 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31205 macro to inline function.
31206 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31208 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31209 not <math/math_private.h>.
31211 2012-03-08 David S. Miller <davem@davemloft.net>
31213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31215 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31217 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31219 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31221 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31222 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31224 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31226 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31227 be defined individually, they must be defined as a block. Define
31228 S for printing a string instead of hidint the different by using a
31229 macro for adding the 'l'.
31230 * stdio-common/tst-fphex-wide.c: Adjust.
31232 2012-03-07 Marek Polacek <polacek@redhat.com>
31234 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31236 2012-03-08 Marek Polacek <polacek@redhat.com>
31239 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31240 * stdio-common/tst-fphex.c: Define a few macros to make the
31241 test reusable. Use them.
31242 * stdio-common/tst-fphex-wide.c: New file.
31244 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31247 * manual/macros.texi (gnusystems): New macro.
31248 (nongnusystems): Likewise.
31249 (gnulinuxhurdsystems): Likewise.
31250 (gnuhurdsystems): Likewise..
31251 (gnulinuxsystems): Likewise.
31252 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31253 variants of the GNU system, not "GNU system".
31254 * manual/conf.texi: Likewise.
31255 * manual/errno.texi: Likewise. Update example of errno macro
31257 * manual/filesys.texi: Likewise.
31258 (getumask): Document as specific to GNU/Hurd.
31259 * manual/install.texi: Likewise. Reword some references to
31261 * manual/intro.texi: Likewise.
31262 * manual/io.texi: Likewise.
31263 (File Name Portability): Detail which constraints are inapplicable
31264 to all GNU systems and which are only inapplicable to GNU/Hurd.
31265 * manual/job.texi: Likewise.
31266 * manual/llio.texi: Likewise.
31267 (O_NOCTTY): Document as present on GNU/Linux.
31268 * manual/maint.texi: Likewise.
31269 * manual/memory.texi: Likewise.
31270 * manual/pattern.texi: Likewise.
31271 * manual/pipe.texi: Likewise.
31272 * manual/process.texi: Likewise.
31273 * manual/resource.texi: Likewise.
31274 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31276 * manual/setjmp.texi: Likewise.
31277 * manual/signal.texi: Likewise.
31278 * manual/startup.texi: Likewise.
31279 * manual/stdio.texi: Likewise.
31280 * manual/terminal.texi: Likewise.
31281 (ONLCR): Document as POSIX.
31282 (OXTABS): Document availability on GNU/Linux as XTABS.
31283 (ONOEOT): Document availability separately from other bits.
31284 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31285 * manual/time.texi: Likewise.
31286 * manual/users.texi: Likewise.
31287 * INSTALL: Regenerated.
31288 * sysdeps/gnu/errlist.c: Regenerated.
31290 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31291 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31292 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31294 * configure: Regenerated.
31296 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31298 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31299 default includes instead of AC_HEADER_CHECK.
31300 * sysdeps/i386/configure: Regenerated.
31303 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31304 * math/s_cacoshf.c (__cacoshf): Likewise.
31305 * math/s_cacoshl.c (__cacoshl): Likewise.
31306 * math/s_casinh.c (__casinh): Set signs of result from argument.
31307 * math/s_casinhf.c (__casinhf): Likewise.
31308 * math/s_casinhl.c (__casinhl): Likewise.
31309 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31310 (casinh_test): Add more tests.
31311 * sysdeps/i386/fpu/libm-test-ulps: Update.
31312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31314 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31316 * po/zh_TW.po: Update from translation team.
31318 * login/Makefile (distribute): Remove variable.
31319 * catgets/Makefile: Likewise.
31320 * mach/Makefile: Likewise.
31321 * malloc/Makefile: Likewise.
31322 * misc/Makefile: Likewise.
31323 * iconv/Makefile: Likewise.
31324 * nscd/Makefile: Likewise.
31325 * hurd/Makefile: Likewise.
31326 * manual/Makefile: Likewise.
31327 * locale/Makefile: Likewise.
31328 * intl/Makefile: Likewise.
31329 * conform/Makefile: Likewise.
31330 * nss/Makefile: Likewise.
31331 * time/Makefile: Likewise.
31332 * soft-fp/Makefile: Likewise.
31333 * dirent/Makefile: Likewise.
31334 * gmon/Makefile: Likewise.
31335 * po/Makefile: Likewise.
31336 * rt/Makefile: Likewise.
31337 * socket/Makefile: Likewise.
31338 * math/Makefile: Likewise.
31339 * signal/Makefile: Likewise.
31340 * debug/Makefile: Likewise.
31341 * elf/Makefile: Likewise.
31342 * timezone/Makefile: Likewise.
31343 * stdlib/Makefile: Likewise.
31344 * iconvdata/Makefile: Likewise.
31345 * sunrpc/Makefile: Likewise.
31346 * io/Makefile: Likewise.
31347 * argp/Makefile: Likewise.
31348 * inet/Makefile: Likewise.
31349 * hesiod/Makefile: Likewise.
31350 * grp/Makefile: Likewise.
31351 * csu/Makefile: Likewise.
31352 * wctype/Makefile: Likewise.
31353 * crypt/Makefile: Likewise.
31354 * libio/Makefile: Likewise.
31355 * string/Makefile: Likewise.
31356 * nis/Makefile: Likewise.
31357 * resolv/Makefile: Likewise.
31358 * stdio-common/Makefile: Likewise.
31359 * wcsmbs/Makefile: Likewise.
31360 * dlfcn/Makefile: Likewise.
31361 * posix/Makefile: Likewise.
31364 * timezone/Makefile: Don't install timezone files, just the programs
31367 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31369 * nss/databases.def: Add missing gshadow entry.
31371 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31373 2012-03-06 Marek Polacek <polacek@redhat.com>
31376 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31377 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31378 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31379 * stdio-common/tst-long-dbl-fphex.c: New file.
31381 2012-03-06 David S. Miller <davem@davemloft.net>
31383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31384 (set_obp_int): New function.
31385 (get_obp_int): New function.
31386 (__get_clockfreq_via_dev_openprom): Likewise.
31387 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31388 Avoid unused variable warnings on 'val' and use builtin_expect.
31389 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31391 (INLINE_CLONE_SYSCALL): Likewise.
31393 2012-03-05 David S. Miller <davem@davemloft.net>
31395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31397 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31402 only for |x| >= 40.
31403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31405 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31408 Replace gettimeofday with __vdso_gettimeofday.
31410 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31411 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31412 __vdso_clock_gettime and __vdso_getcpu.
31414 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31415 time with __vdso_time.
31417 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31419 * manual/lang.texi (size_t): Note types to which size_t may be
31420 equivalent with the GNU C Library, but do not describe when
31421 differences between them are significant.
31423 2012-03-05 Andreas Jaeger <aj@suse.de>
31425 * sysdeps/i386/fpu/libm-test-ulps: Update.
31427 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31430 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31431 (__ieee754_pow): Save and restore rounding mode and use
31432 round-to-nearest for main computations.
31433 * math/libm-test.inc (pow_test_tonearest): New function.
31434 (pow_test_towardzero): Likewise.
31435 (pow_test_downward): Likewise.
31436 (pow_test_upward): Likewise.
31437 (main): Call the new functions.
31438 * sysdeps/i386/fpu/libm-test-ulps: Update.
31439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31442 * math/libm-test.inc (cosh_test_tonearest): New function.
31443 (cosh_test_towardzero): Likewise.
31444 (cosh_test_downward): Likewise.
31445 (cosh_test_upward): Likewise.
31446 (sinh_test_tonearest): Likewise.
31447 (sinh_test_towardzero): Likewise.
31448 (sinh_test_downward): Likewise.
31449 (sinh_test_upward): Likewise.
31450 (main): Call the new functions.
31451 * sysdeps/i386/fpu/libm-test-ulps: Update.
31452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31454 2012-03-05 Tom de Vries <tom@codesourcery.com>
31456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31457 default stack guard is set in last bytes.
31458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31460 2012-03-05 Kees Cook <keescook@chromium.org>
31462 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31465 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31466 possibly allocate from heap instead of stack.
31467 * stdio-common/bug-vfprintf-nargs.c: New file.
31468 * stdio-common/Makefile (tests): Add nargs overflow test.
31470 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31474 2012-03-03 Marek Polacek <polacek@redhat.com>
31476 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31477 * math/math_private.h: Likewise.
31478 * stdlib/tst-strtod.c: Likewise.
31479 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31480 * sysdeps/x86_64/bits/atomic.h: Likewise.
31482 2012-03-02 David S. Miller <davem@davemloft.net>
31484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31488 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31489 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31490 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31491 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31493 2012-03-02 Roland McGrath <roland@hack.frob.com>
31496 * manual/examples/README: New file, says the example source files
31497 can be used under GPL>=2.
31498 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31499 line containing just "*/".
31500 * manual/examples/add.c: Add copyright header (GPL>=2).
31501 * manual/examples/argp-ex1.c: Likewise.
31502 * manual/examples/argp-ex2.c: Likewise.
31503 * manual/examples/argp-ex3.c: Likewise.
31504 * manual/examples/argp-ex4.c: Likewise.
31505 * manual/examples/atexit.c: Likewise.
31506 * manual/examples/db.c: Likewise.
31507 * manual/examples/dir.c: Likewise.
31508 * manual/examples/dir2.c: Likewise.
31509 * manual/examples/execinfo.c: Likewise.
31510 * manual/examples/filecli.c: Likewise.
31511 * manual/examples/filesrv.c: Likewise.
31512 * manual/examples/fmtmsgexpl.c: Likewise.
31513 * manual/examples/genpass.c: Likewise.
31514 * manual/examples/inetcli.c: Likewise.
31515 * manual/examples/inetsrv.c: Likewise.
31516 * manual/examples/isockad.c: Likewise.
31517 * manual/examples/longopt.c: Likewise.
31518 * manual/examples/memopen.c: Likewise.
31519 * manual/examples/memstrm.c: Likewise.
31520 * manual/examples/mkfsock.c: Likewise.
31521 * manual/examples/mkisock.c: Likewise.
31522 * manual/examples/mygetpass.c: Likewise.
31523 * manual/examples/pipe.c: Likewise.
31524 * manual/examples/popen.c: Likewise.
31525 * manual/examples/rprintf.c: Likewise.
31526 * manual/examples/search.c: Likewise.
31527 * manual/examples/select.c: Likewise.
31528 * manual/examples/setjmp.c: Likewise.
31529 * manual/examples/sigh1.c: Likewise.
31530 * manual/examples/sigusr.c: Likewise.
31531 * manual/examples/stpcpy.c: Likewise.
31532 * manual/examples/strdupa.c: Likewise.
31533 * manual/examples/strftim.c: Likewise.
31534 * manual/examples/strncat.c: Likewise.
31535 * manual/examples/subopt.c: Likewise.
31536 * manual/examples/swapcontext.c: Likewise.
31537 * manual/examples/termios.c: Likewise.
31538 * manual/examples/testopt.c: Likewise.
31539 * manual/examples/testpass.c: Likewise.
31540 * manual/examples/timeval_subtract.c: Likewise.
31543 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31545 * manual/timeval_subtract.c.texi: ... here, new file.
31547 2012-03-02 David S. Miller <davem@davemloft.net>
31549 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31551 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31554 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31555 (__sin): Save and restore rounding mode and use round-to-nearest
31556 for all computations.
31557 (__cos): Save and restore rounding mode and use round-to-nearest
31558 for all computations.
31559 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31561 (tan): Save and restore rounding mode and use round-to-nearest for
31563 * math/libm-test.inc (cos_test_tonearest): New function.
31564 (cos_test_towardzero): Likewise.
31565 (cos_test_downward): Likewise.
31566 (cos_test_upward): Likewise.
31567 (sin_test_tonearest): Likewise.
31568 (sin_test_towardzero): Likewise.
31569 (sin_test_downward): Likewise.
31570 (sin_test_upward): Likewise.
31571 (tan_test_tonearest): Likewise.
31572 (tan_test_towardzero): Likewise.
31573 (tan_test_downward): Likewise.
31574 (tan_test_upward): Likewise.
31575 (main): Call the new functions.
31576 * sysdeps/i386/fpu/libm-test-ulps: Update.
31577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31580 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31581 small n, then large n, before computing and testing k+n.
31582 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31587 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31588 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31593 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31594 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31595 * math/libm-test.inc (scalbn_test): Add more tests.
31596 (scalbln_test): Likewise.
31598 * manual/filesys.texi (mode_t): Describe constraints on size and
31599 signedness, not exact equivalence to a particular type.
31601 (ino64_t): Likewise.
31603 (nlink_t): Likewise.
31604 (blkcnt_t): Likewise.
31605 (blkcnt64_t): Likewise.
31606 * manual/llio.texi (off_t): Likewise.
31609 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31610 (__ieee754_exp): Save and restore rounding mode and use
31611 round-to-nearest for all computations.
31612 * math/libm-test.inc (exp_test_tonearest): New function.
31613 (exp_test_towardzero): Likewise.
31614 (exp_test_downward): Likewise.
31615 (exp_test_upward): Likewise.
31616 (main): Call the new functions.
31617 * sysdeps/i386/fpu/libm-test-ulps: Update.
31618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31620 2012-03-01 Chris Demetriou <cgd@google.com>
31622 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31623 have predictable order.
31625 2012-03-01 David S. Miller <davem@davemloft.net>
31627 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31629 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31630 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31631 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31632 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31634 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31635 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31636 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31638 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31639 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31640 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31641 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31642 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31647 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31648 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31650 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31651 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31652 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31653 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31654 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31656 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31658 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31659 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31660 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31661 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31663 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31666 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31667 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31668 * sysdeps/sparc/elf/configure: Regenerated.
31670 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31672 * configure.in (AS, LD): Require binutils 2.20 or later.
31673 * configure: Regenerated.
31674 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31675 as required minimum version.
31676 * INSTALL: Regenerated.
31680 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31681 before squaring exponent.
31682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31683 bottom long double and 27 bits of top long double before squaring
31685 * math/libm-test.inc (erfc_test): Add more tests.
31686 * sysdeps/i386/fpu/libm-test-ulps: Update.
31687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31690 2012-03-01 Kai Tietz <ktietz@redhat.com>
31692 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31693 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31694 containing bit-fields.
31695 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31696 * soft-fp/single.h (_FP_UNION_S): Likewise.
31697 * soft-fp/double.h (_FP_UNION_D): Likewise.
31699 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31702 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31703 not include ../strcmp.S.
31704 [USE_AS_STRNCASECMP_L]: Likewise.
31705 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31706 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31707 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31708 (__strncasecmp_l_ia32): Define as alias to
31709 __strncasecmp_l_nonascii.
31712 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31713 * sysdeps/i386/fpu/libm-test-ulps: Update.
31714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31716 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31719 2012-02-29 Jeff Law <law@redhat.com>
31721 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31722 out of bounds read.
31724 2012-02-29 Marek Polacek <polacek@redhat.com>
31727 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31728 * elf/Makefile: Add rules to run tst-unused-dep.out.
31730 2012-02-28 David S. Miller <davem@davemloft.net>
31732 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31733 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31735 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31739 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31741 * math/libm-test.inc (llround_test): Move one test from
31742 lround_test. Use TEST_f_L in moved test.
31743 (lround_test): Move misplaced test to llround_test. Add testcase
31746 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31748 * sysdeps/x86_64/fpu/e_expf.S: New file.
31749 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31751 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31754 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31755 of remain_len that may cause incomplete multi-byte character and
31757 * posix/bug-regex33.c: New file.
31758 * posix/Makefile (tests): Add bug-regex33.
31760 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31762 * manual/macros.texi: New file.
31763 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31764 * manual/libc.texinfo: Include macros.texi.
31765 * manual/creatute.texi: Likewise.
31766 * manual/install.texi: Likewise.
31767 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31768 @glibcadj{} in references to the GNU C Library.
31769 * manual/charset.texi: Likewise.
31770 * manual/conf.texi: Likewise.
31771 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31772 when not using those macros.
31773 * manual/creature.texi: Likewise.
31774 * manual/crypt.texi: Likewise.
31775 * manual/errno.texi: Likewise.
31776 * manual/filesys.texi: Likewise.
31777 * manual/header.texi: Likewise.
31778 * manual/install.texi: Likewise.
31779 * manual/intro.texi: Likewise.
31780 * manual/io.texi: Likewise.
31781 * manual/job.texi: Likewise.
31782 * manual/lang.texi: Likewise.
31783 * manual/libc.texiinfo: Likewise.
31784 * manual/llio.texi: Likewise.
31785 * manual/locale.texi: Likewise.
31786 * manual/maint.texi: Likewise.
31787 * manual/math.texi: Likewise.
31788 * manual/memory.texi: Likewise.
31789 * manual/message.texi: Likewise.
31790 * manual/nss.texi: Likewise.
31791 * manual/pattern.texi: Likewise.
31792 * manual/process.texi: Likewise.
31793 * manual/resource.texi: Likewise.
31794 * manual/search.texi: Likewise.
31795 * manual/setjmp.texi: Likewise.
31796 * manual/signal.texi: Likewise.
31797 * manual/socket.texi: Likewise.
31798 * manual/startup.texi: Likewise.
31799 * manual/stdio.texi: Likewise.
31800 * manual/string.texi: Likewise.
31801 * manual/sysinfo.texi: Likewise.
31802 * manual/syslog.texi: Likewise.
31803 * manual/terminal.texi: Likewise.
31804 * manual/time.texi: Likewise.
31805 * manual/users.texi: Likewise.
31806 * INSTALL: Regenerated.
31807 * NOTES: Regenerated.
31808 * sysdeps/gnu/errlist.c: Regenerated.
31810 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31812 * include/dirent.h: Include <dirstream.h> before
31815 2012-02-28 David S. Miller <davem@davemloft.net>
31817 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31818 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31819 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31820 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31822 2012-02-27 David S. Miller <davem@davemloft.net>
31824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31826 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31827 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31830 frame pointer instead of stack pointer relative arg slot.
31831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31832 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31833 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31835 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31838 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31840 2012-02-27 David S. Miller <davem@davemloft.net>
31842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31846 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31847 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31848 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31849 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31851 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31853 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31854 later. Allow versions 5-9.
31855 * configure: Regenerated.
31856 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31857 required minimum version and 4.6 as recommended version. Do not
31858 mention bugs in GCC 2.7 and 2.8.
31859 * INSTALL: Regenerated.
31861 2012-02-27 David S. Miller <davem@davemloft.net>
31863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31867 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31868 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31869 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31870 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31873 manipulate bits before adding and subtracting TWO112[sx].
31874 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31876 2012-02-27 Roland McGrath <roland@hack.frob.com>
31879 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31880 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31881 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31882 being in POSIX, because they are in 1003.1-2008.
31884 * rt/tst-aio.c: Include <fcntl.h>.
31885 * rt/tst-aio7.c: Likewise.
31886 * rt/tst-aio64.c: Likewise.
31888 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31890 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31892 * manual/install.texi (--with-headers): Describe headers as
31893 interface headers, not private headers.
31894 (Specific advice for GNU/Linux systems): Describe use of headers
31895 from "make headers_install", not private headers from older
31897 * INSTALL: Regenerated.
31898 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31900 * sysdeps/unix/sysv/linux/configure: Regenerated.
31902 * manual/llio.texi (fclean): Remove documentation.
31904 * manual/Makefile (libc-texi-generated): New variable. Include
31906 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31907 $(libc-texi-generated), not duplicated list of files.
31908 (version.texi, stamp-version): New rules.
31909 (realclean): Remove $(libc-texi-generated), not individual files
31910 from that list. Do not remove dir-add.texinfo.
31911 * manual/libc.texinfo: Comment out uses of edition numbers and
31912 references to printed manual. Remove last-updated dates.
31913 (EDITION): Comment out.
31915 (VERSION, UPDATED): Remove.
31916 (version.texi): Include.
31918 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31920 * sysdeps/posix/spawni.c: Include <signal.h>.
31921 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31922 * sysdeps/pthread/aio_fsync.c: Likewise.
31924 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31926 * conform/Makefile (tests): Run only when not cross-compiling and
31927 when fast-check is not defined.
31929 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31930 * conform/data/limits.h-data: Fixes for POSIX2008.
31931 * conform/run-conformtest.sh: Run all tests.
31932 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31934 * include/bits/dlfcn.h: Likewise.
31935 * include/langinfo.h: Likewise.
31936 * include/monetary.h: Likewise.
31937 * include/sys/poll.h: Likewise.
31939 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31941 * posix/spawn.h: Define __need_sigset_t.
31942 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31943 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31944 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31945 to get sigevent_t only.
31946 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31947 only for __USE_GNU.
31948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31949 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31950 process_vm_writev only for __USE_GNU.
31951 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31953 * conform/Makefile: For now ignore errors from run-conformtest.
31954 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31955 POSIX to avoid namespace pollution. Don't prepend headers.
31956 * conform/data/aio.h-data: Fixes for POSIX testing.
31957 * conform/data/fcntl.h-data: Likewise.
31958 * conform/data/glob.h-data: Likewise.
31959 * conform/data/grp.h-data: Likewise.
31960 * conform/data/pthread.h-data: Likewise.
31961 * conform/data/pwd.h-data: Likewise.
31962 * conform/data/signal.h-data: Likewise.
31963 * conform/data/spawn.h-data: Likewise.
31964 * conform/data/stdio.h-data: Likewise.
31965 * conform/data/stdlib.h-data: Likewise.
31966 * conform/data/stropts.h-data: Likewise.
31967 * conform/data/sys/mman.h-data: Likewise.
31968 * conform/data/sys/stat.h-data: Likewise.
31969 * conform/data/sys/types.h-data: Likewise.
31970 * conform/data/sys/wait.h-data: Likewise.
31971 * conform/data/time.h-data: Likewise.
31972 * conform/data/unistd.h-data: Likewise.
31973 * conform/data/utime.h-data: Likewise.
31975 * io/sys/stat.h: fchmod was always in POSIX.
31976 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31977 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31978 * rt/aio.h: Define __need_timespec before including <time.h>.
31979 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31980 struct. Add forward declaration of pthread_attr_t and use it in
31982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31984 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31985 always remove CLK_TCK definition.
31987 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31989 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31991 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31993 * conform/run-conformtest.sh: New file.
31994 * conform/Makefile: Run run-conformtest for tests.
31995 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31998 * conform/data/uchar.h-data: New file.
31999 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32000 * conform/data/arpa/inet.h-data: Likewise.
32001 * conform/data/assert.h-data: Likewise.
32002 * conform/data/complex.h-data: Likewise.
32003 * conform/data/cpio.h-data: Likewise.
32004 * conform/data/ctype.h-data: Likewise.
32005 * conform/data/dirent.h-data: Likewise.
32006 * conform/data/dlfcn.h-data: Likewise.
32007 * conform/data/errno.h-data: Likewise.
32008 * conform/data/fcntl.h-data: Likewise.
32009 * conform/data/float.h-data: Likewise.
32010 * conform/data/fmtmsg.h-data: Likewise.
32011 * conform/data/fnmatch.h-data: Likewise.
32012 * conform/data/ftw.h-data: Likewise.
32013 * conform/data/glob.h-data: Likewise.
32014 * conform/data/grp.h-data: Likewise.
32015 * conform/data/iconv.h-data: Likewise.
32016 * conform/data/inttypes.h-data: Likewise.
32017 * conform/data/langinfo.h-data: Likewise.
32018 * conform/data/libgen.h-data: Likewise.
32019 * conform/data/limits.h-data: Likewise.
32020 * conform/data/locale.h-data: Likewise.
32021 * conform/data/math.h-data: Likewise.
32022 * conform/data/monetary.h-data: Likewise.
32023 * conform/data/mqueue.h-data: Likewise.
32024 * conform/data/ndbm.h-data: Likewise.
32025 * conform/data/net/if.h-data: Likewise.
32026 * conform/data/netdb.h-data: Likewise.
32027 * conform/data/netinet/in.h-data: Likewise.
32028 * conform/data/nl_types.h-data: Likewise.
32029 * conform/data/poll.h-data: Likewise.
32030 * conform/data/pthread.h-data: Likewise.
32031 * conform/data/pwd.h-data: Likewise.
32032 * conform/data/regex.h-data: Likewise.
32033 * conform/data/sched.h-data: Likewise.
32034 * conform/data/search.h-data: Likewise.
32035 * conform/data/semaphore.h-data: Likewise.
32036 * conform/data/setjmp.h-data: Likewise.
32037 * conform/data/signal.h-data: Likewise.
32038 * conform/data/spawn.h-data: Likewise.
32039 * conform/data/stdarg.h-data: Likewise.
32040 * conform/data/stdio.h-data: Likewise.
32041 * conform/data/stdlib.h-data: Likewise.
32042 * conform/data/string.h-data: Likewise.
32043 * conform/data/strings.h-data: Likewise.
32044 * conform/data/stropts.h-data: Likewise.
32045 * conform/data/sys/ipc.h-data: Likewise.
32046 * conform/data/sys/mman.h-data: Likewise.
32047 * conform/data/sys/msg.h-data: Likewise.
32048 * conform/data/sys/resource.h-data: Likewise.
32049 * conform/data/sys/select.h-data: Likewise.
32050 * conform/data/sys/sem.h-data: Likewise.
32051 * conform/data/sys/shm.h-data: Likewise.
32052 * conform/data/sys/socket.h-data: Likewise.
32053 * conform/data/sys/stat.h-data: Likewise.
32054 * conform/data/sys/statvfs.h-data: Likewise.
32055 * conform/data/sys/time.h-data: Likewise.
32056 * conform/data/sys/timeb.h-data: Likewise.
32057 * conform/data/sys/times.h-data: Likewise.
32058 * conform/data/sys/types.h-data: Likewise.
32059 * conform/data/sys/uio.h-data: Likewise.
32060 * conform/data/sys/un.h-data: Likewise.
32061 * conform/data/sys/utsname.h-data: Likewise.
32062 * conform/data/sys/wait.h-data: Likewise.
32063 * conform/data/syslog.h-data: Likewise.
32064 * conform/data/tar.h-data: Likewise.
32065 * conform/data/termios.h-data: Likewise.
32066 * conform/data/utime.h-data: Likewise.
32067 * conform/data/utmpx.h-data: Likewise.
32068 * conform/data/varargs.h-data: Likewise.
32069 * conform/data/wchar.h-data: Likewise.
32070 * conform/data/wctype.h-data: Likewise.
32071 * conform/data/wordexp.h-data: Likewise.
32073 * include/stropts.h: New file.
32074 * include/uchar.h: New file.
32075 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32076 * include/assert.h: Likewise.
32077 * include/ctype.h: Likewise.
32078 * include/dirent.h: Likewise.
32079 * include/dlfcn.h: Likewise.
32080 * include/fcntl.h: Likewise.
32081 * include/fnmatch.h: Likewise.
32082 * include/glob.h: Likewise.
32083 * include/grp.h: Likewise.
32084 * include/libio.h: Likewise.
32085 * include/locale.h: Likewise.
32086 * include/math.h: Likewise.
32087 * include/net/if.h: Likewise.
32088 * include/netdb.h: Likewise.
32089 * include/netinet/in.h: Likewise.
32090 * include/pthread.h: Likewise.
32091 * include/pwd.h: Likewise.
32092 * include/regex.h: Likewise.
32093 * include/sched.h: Likewise.
32094 * include/search.h: Likewise.
32095 * include/setjmp.h: Likewise.
32096 * include/signal.h: Likewise.
32097 * include/stdio.h: Likewise.
32098 * include/stdlib.h: Likewise.
32099 * include/string.h: Likewise.
32100 * include/sys/cdefs.h: Likewise.
32101 * include/sys/mman.h: Likewise.
32102 * include/sys/msg.h: Likewise.
32103 * include/sys/resource.h: Likewise.
32104 * include/sys/select.h: Likewise.
32105 * include/sys/socket.h: Likewise.
32106 * include/sys/stat.h: Likewise.
32107 * include/sys/statvfs.h: Likewise.
32108 * include/sys/time.h: Likewise.
32109 * include/sys/times.h: Likewise.
32110 * include/sys/uio.h: Likewise.
32111 * include/sys/utsname.h: Likewise.
32112 * include/sys/wait.h: Likewise.
32113 * include/termios.h: Likewise.
32114 * include/time.h: Likewise.
32115 * include/ulimit.h: Likewise.
32116 * include/unistd.h: Likewise.
32117 * include/utime.h: Likewise.
32118 * include/wchar.h: Likewise.
32119 * include/wctype.h: Likewise.
32120 * include/wordexp.h: Likewise.
32122 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32124 * time/time.h: TIME_UTC must be a macro.
32125 Make timespec_get available for ISO C11 only as well.
32127 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32129 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32130 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32132 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32134 * configure.in: Use -o not -a in test for unsupported multi-arch.
32136 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32138 * manual/texinfo.tex: Update to version 2012-01-19.16.
32140 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32142 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32144 2012-02-24 Roland McGrath <roland@hack.frob.com>
32147 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32148 * manual/fdl-1.3.texi: New file.
32149 * manual/fdl-1.1.texi: File removed.
32152 * manual/libc.texinfo (FDL_VERSION): New @set.
32153 Use it for mention of FDL in cover text.
32154 (Documentation License): Use it in @include file name.
32156 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32157 Roland McGrath <roland@hack.frob.com>
32160 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32161 not LONG_LONG_MAX and LONG_LONG_MIN.
32162 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32163 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32165 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32171 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32172 manipulate bits before adding and subtracting TWO23[sx].
32173 * math/libm-test.inc (nearbyint_test): Add more tests.
32175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32178 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32179 bits before adding and subtracting TWO23[sx].
32180 * math/libm-test.inc (rint_test): Add more tests.
32181 (rint_test_tonearest): Likewise.
32182 (rint_test_towardzero): Likewise.
32183 (rint_test_downward): Likewise.
32184 (rint_test_upward: Likewise.
32186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32189 * include/stdc-predef.h: New file. Extracted from features.h.
32190 * include/features.h: Include stdc-predef.h.
32191 * Makefile (headers): Add stdc-predef.h.
32192 * CONFORMANCE (Compiler limitations): Update.
32194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32196 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32198 2012-02-21 David S. Miller <davem@davemloft.net>
32200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32201 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32203 2012-02-20 David S. Miller <davem@davemloft.net>
32205 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32206 using a normal save/restore sequence, rather than allocating a
32207 dummy stack frame just to store a frame pointer and restore.
32208 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32210 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32212 * manual/install.texi: Fix stray word in line-wrapped comment.
32214 2012-02-20 David S. Miller <davem@davemloft.net>
32216 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32217 both binutils and gcc support GOTDATA.
32219 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32220 "rd %pc" in the PIC register setup sequences.
32222 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32223 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32224 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32225 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32226 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32229 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32231 (SYSCALL_ERROR_HANDLER): Likewise.
32232 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32233 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32235 (SYSCALL_ERROR_HANDLER): Likewise.
32237 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32238 (HAVE_GCC_GOTDATA): New.
32239 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32240 relocation support in both binutils and gcc.
32241 * sysdeps/sparc/elf/configure: Regenerate.
32243 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32244 * sysdeps/sparc/sparc32/elf/configure: Delete.
32245 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32246 * sysdeps/sparc/sparc64/elf/configure: Delete.
32247 * sysdeps/sparc/elf/configure.in: New file.
32248 * sysdeps/sparc/elf/configure: Generate.
32250 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32251 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32252 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32253 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32254 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32256 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32258 * manual/install.texi: Do not mention specific glibc version
32260 * manual/libc.texinfo (VERSION, UPDATED): Update.
32261 (@copying): Use @copyright{} and range of years.
32263 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32266 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32267 [crti.S not in sysdirs] (generated): Do not append.
32268 [crti.S not in sysdirs] (omit-deps): Likewise.
32269 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32270 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32271 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32272 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32273 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32275 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32276 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32277 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32278 * csu/defs.awk: Remove file.
32279 * sysdeps/generic/initfini.c: Likewise.
32280 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32282 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32285 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32287 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32288 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32292 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32294 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32295 (__EPOLL_PACKED): Define to empty if not defined by
32297 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32301 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32303 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32304 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32305 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32306 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32308 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32312 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32314 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32321 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32326 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32328 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32329 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32331 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32333 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32336 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32338 * math/w_acos.c: Use non-signaling floating-point comparisons.
32339 * math/w_acosf.c: Likewise.
32340 * math/w_acosh.c: Likewise.
32341 * math/w_acoshf.c: Likewise.
32342 * math/w_acoshl.c: Likewise.
32343 * math/w_acosl.c: Likewise.
32344 * math/w_asin.c: Likewise.
32345 * math/w_asinf.c: Likewise.
32346 * math/w_asinl.c: Likewise.
32347 * math/w_atanh.c: Likewise.
32348 * math/w_atanhf.c: Likewise.
32349 * math/w_atanhl.c: Likewise.
32350 * math/w_exp2.c: Likewise.
32351 * math/w_exp2f.c: Likewise.
32352 * math/w_exp2l.c: Likewise.
32353 * math/w_j0.c: Likewise.
32354 * math/w_j0f.c: Likewise.
32355 * math/w_j0l.c: Likewise.
32356 * math/w_j1.c: Likewise.
32357 * math/w_j1f.c: Likewise.
32358 * math/w_j1l.c: Likewise.
32359 * math/w_jn.c: Likewise.
32360 * math/w_jnf.c: Likewise.
32361 * math/w_log.c: Likewise.
32362 * math/w_log10.c: Likewise.
32363 * math/w_log10f.c: Likewise.
32364 * math/w_log10l.c: Likewise.
32365 * math/w_log2.c: Likewise.
32366 * math/w_log2f.c: Likewise.
32367 * math/w_log2l.c: Likewise.
32368 * math/w_logf.c: Likewise.
32369 * math/w_logl.c: Likewise.
32370 * math/w_sqrt.c: Likewise.
32371 * math/w_sqrtf.c: Likewise.
32372 * math/w_sqrtl.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32377 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32379 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32382 * manual/string.texi (strnlen): Use correct parameter name in
32383 equivalent expression.
32385 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32388 * manual/users.texi (seteuid): Consistently use neweuid for
32391 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32394 * manual/nss.texi (Services in the NSS configuration): Correct
32395 list of services in example configuration file.
32397 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32400 * manual/arith.texi: Remove statements about negative zero
32401 behaving identically to zero.
32403 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32406 * manual/install.texi: Do not document upgrading from libc5.
32408 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32411 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32413 2012-02-18 David S. Miller <davem@davemloft.net>
32415 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32416 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32417 %o7 across the call.
32418 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32421 SETUP_PIC_REG_LEAF.
32422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32423 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32424 * sysdeps/sparc/crtn.S: Likewise.
32426 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32428 * aout/Makefile: Remove.
32430 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32433 * manual/examples/argp-ex1.c (main): Format definition in GNU
32435 * manual/examples/argp-ex2.c (main): Likewise.
32436 * manual/examples/argp-ex3.c (main): Likewise.
32437 * manual/examples/argp-ex4.c (main): Likewise.
32438 * manual/examples/longopt.c (main): Use new-style prototype
32440 * manual/examples/strncat.c (main): Specify return type and use
32441 (void) for arguments.
32442 * manual/examples/subopt.c (main): Use char **argv argument.
32444 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32447 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32450 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32453 * manual/string.texi (strchr): Change when strchrnul is
32456 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32459 * manual/locale.texi (setlocale): Document LOCPATH.
32461 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32464 * manual/process.texi (execle): Move @dots{} before last argument.
32466 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32469 * manual/charset.texi (Generic Charset Conversion): Fix typo
32470 (LC_TYPE -> LC_CTYPE).
32472 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32475 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32476 (scalbnf): Likewise.
32477 (scalbnl): Likewise.
32478 (scalbln): Likewise.
32479 (scalblnf): Likewise.
32480 (scalblnl): Likewise.
32481 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32482 (vwarnx): Likewise.
32485 * manual/filesys.texi (telldir): Use braces around return type.
32486 * manual/llio.texi (mmap): Add space after comma.
32487 (mmap64): Likewise.
32488 * manual/math.texi (jn): Use @var{} on parameter names.
32494 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32496 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32498 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32499 (sched_get_priority_max): Likewise.
32500 * manual/signal.texi (sigvec): Add space after comma.
32501 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32503 (if_indextoname): Likewise.
32504 (if_freenameindex): Likewise.
32505 (sendto): Use ',' instead of '.' in prototype.
32506 * manual/startup.texi (syscall): Use @dots{} instead of literal
32508 * manual/stdio.texi (__fpending): Separate initial words of
32509 paragraph from @deftypefun line.
32510 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32512 (vsyslog): Use @var{} on parameter names.
32513 * manual/terminal.texi (stty): Use @var{} on parameter names.
32514 * manual/users.texi (getutmp): Use @var{} on parameter names.
32515 (getutmpx): Likewise.
32517 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32520 * manual/stdio.texi (fopen): Fix typos in description of
32523 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32526 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32527 get clock_id definition.
32529 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32532 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32533 (madvise): Cast every argument to void on its own.
32535 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32538 * manual/startup.texi (Exit Status): Fix typo.
32540 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32543 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32544 * manual/examples/argp-ex2.c: Likewise.
32545 * manual/examples/argp-ex3.c: Likewise.
32547 2012-02-16 Richard Henderson <rth@redhat.com>
32549 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32550 * sysdeps/s390/s390-32/initfini.c: Remove.
32551 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32552 * sysdeps/s390/s390-64/initfini.c: Remove.
32554 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32556 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32557 compiler output for sysdeps/generic/initfini.c.
32558 * sysdeps/sh/elf/initfini.c: Remove file.
32560 2012-02-16 David S. Miller <davem@davemloft.net>
32563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32565 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32566 * sysdeps/sparc/crti.S: New file.
32567 * sysdeps/sparc/crtn.S: New file.
32568 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32569 * sysdeps/sparc/sparc64/Makefile: Likewise.
32571 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32574 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32576 2012-02-15 Roland McGrath <roland@hack.frob.com>
32579 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32581 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32582 (write, read, close): Likewise.
32583 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32585 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32587 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32588 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32589 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32590 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32592 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32596 2012-02-14 Marek Polacek <polacek@redhat.com>
32598 * sysdeps/x86_64/crti.S: New file.
32599 * sysdeps/x86_64/crtn.S: New file.
32600 * sysdeps/x86_64/elf/initfini.c: Remove file.
32602 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32604 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32605 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32606 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32607 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32609 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32613 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32615 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32616 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32617 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32618 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32620 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32624 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32626 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32627 __feraiseexcept instead of feraiseexcept.
32629 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32630 nanosleep invocations.
32631 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32632 strings, and add error checking for a nanosleep invocations.
32634 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32636 Replace FSF snail mail address with URLs, as per GNU coding standards.
32637 Most of the snail mail addresses were wrong anyway, and omitting
32638 them makes the source code easier to maintain. Almost all of the
32639 changes are to license notices and to locale LC_IDENTIFICATION
32640 addresses, except for this one:
32641 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32642 not its snail mail address.
32644 2012-02-09 Richard Henderson <rth@twiddle.net>
32646 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32647 of kernel-features.h.
32649 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32651 2012-02-08 Marek Polacek <polacek@redhat.com>
32653 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32654 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32655 * sysdeps/gnu/_G_config.h: Likewise.
32656 * sysdeps/generic/_G_config.h: Likewise.
32658 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32660 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32664 * sysdeps/powerpc/powerpc32/crti.S: New file.
32665 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32666 * sysdeps/powerpc/powerpc64/crti.S: New file.
32667 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32669 * Makeconfig (have-initfini): Don't set.
32670 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32671 * configure.in (nopic_initfini): Don't substitute.
32672 * config.h.in (HAVE_INITFINI): Don't #undef.
32673 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32674 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32676 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32678 Support crti.S and crtn.S provided directly by architectures.
32679 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32680 [crti.S in sysdirs] (omit-deps): Likewise.
32681 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32682 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32683 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32684 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32685 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32686 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32687 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32688 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32689 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32690 compiler output for sysdeps/generic/initfini.c.
32691 * sysdeps/i386/elf/Makefile: Remove file.
32692 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32694 2012-02-07 Marek Polacek <polacek@redhat.com>
32696 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32697 * sysdeps/gnu/_G_config.h: Likewise.
32698 * sysdeps/mach/hurd/_G_config.h: Likewise.
32700 2012-02-07 Marek Polacek <polacek@redhat.com>
32702 * math/Makefile (tests): Add tst-CMPLX2.
32703 * math/tst-CMPLX2.c: New file.
32705 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32707 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32709 * math/libm-test.inc (jn_test): Add missing L suffix.
32711 2012-02-06 Marek Polacek <polacek@redhat.com>
32713 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32714 * sysdeps/i386/fpu/e_powf.S: Likewise.
32715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32716 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32718 * sysdeps/i386/fpu/e_pow.S: Likewise.
32719 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32721 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32722 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32723 * sysdeps/i386/fpu/e_log2.S: Likewise.
32724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32726 * sysdeps/i386/fpu/e_powl.S: Likewise.
32727 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32728 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32729 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32730 * sysdeps/i386/fpu/e_logl.S: Likewise.
32731 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32732 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32733 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32734 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32735 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32736 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32737 * sysdeps/i386/fpu/e_log.S: Likewise.
32738 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32739 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32740 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32741 * sysdeps/i386/fpu/e_logf.S: Likewise.
32742 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32743 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32744 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32745 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32746 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32747 * sysdeps/i386/fpu/e_log10.S: Likewise.
32748 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32749 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32750 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32751 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32752 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32753 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32754 * sysdeps/i386/asm-syntax.h: Likewise.
32755 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32757 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32758 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32759 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32760 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32761 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32762 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32764 * sysdeps/powerpc/sysdep.h: Likewise.
32765 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32766 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32768 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32771 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32773 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32775 * sysdeps/i386/sysdep.h: Include <features.h>.
32776 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32779 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32781 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32783 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32786 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32788 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32789 (SETUP_PIC_REG): Use GET_PC_THUNK.
32790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32793 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32795 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32796 for non-PIC compilation.
32797 (SETUP_PIC_REG): Add .p2align directive.
32798 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32799 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32800 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32801 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32802 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32803 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32804 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32806 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32807 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32808 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32810 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32811 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32812 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32813 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32814 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32815 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32816 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32817 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32819 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32826 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32832 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32837 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32840 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32842 * math/tst-CMPLX.c: Include <stdio.h>.
32844 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32846 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32848 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32849 * sysdeps/sparc/bits/mathdef.h: Likewise.
32851 2012-01-31 Marek Polacek <polacek@redhat.com>
32853 * libio/libio.h: Don't define _PARAMS.
32854 * locale/programs/config.h: Don't define PARAMS.
32855 * stdlib/strtol_l.c: Likewise.
32856 (__strtol_l): Remove PARAMS from the prototype.
32858 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32860 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32861 names. Just use the correct names. Remove unnecessary wrapper
32863 * malloc/arena.c: Likewise.
32864 * malloc/hooks.c: Likewise.
32866 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32867 ARENA_TEST says not to. Simplify test for creation of a new arena.
32868 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32870 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32872 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32874 (update_get_addr): New function.
32875 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32876 GET_ADDR_MODULE parameter.
32878 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32880 * crypt/cert.c: Remove __STDC__ conditionals.
32881 * crypt/crypt-entry.c: Likewise.
32882 * crypt/crypt_util.c: Likewise.
32883 * libio/filedoalloc.c: Likewise.
32884 * libio/fileops.c: Likewise.
32885 * libio/genops.c: Likewise.
32886 * libio/iofclose.c: Likewise.
32887 * libio/iofdopen.c: Likewise.
32888 * libio/iofopen.c: Likewise.
32889 * libio/iofopen64.c: Likewise.
32890 * libio/iogetdelim.c: Likewise.
32891 * libio/iopopen.c: Likewise.
32892 * libio/obprintf.c: Likewise.
32893 * libio/oldfileops.c: Likewise.
32894 * libio/oldiofclose.c: Likewise.
32895 * libio/oldiofdopen.c: Likewise.
32896 * libio/oldiofopen.c: Likewise.
32897 * libio/oldiopopen.c: Likewise.
32898 * libio/wfiledoalloc.c: Likewise.
32899 * libio/wgenops.c: Likewise.
32900 * locale/programs/xmalloc.c: Likewise.
32901 * misc/syslog.c: Likewise.
32902 * stdio-common/xbug.c: Likewise.
32903 * string/memchr.c: Likewise.
32904 * string/memcmp.c: Likewise.
32905 * string/memrchr.c: Likewise.
32906 * string/rawmemchr.c: Likewise.
32907 * sysdeps/posix/getcwd.c: Likewise.
32908 * time/strftime_l.c: Likewise.
32910 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32912 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32913 * config.make.in (config-cflags-sse2avx): Define.
32914 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32917 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32919 * scripts/config.guess: Update from upstream config git repository.
32920 * scripts/config.sub: Likewise.
32922 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32924 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32926 (R_TILEPRO_*, R_TILEGX_*): New macros.
32928 * scripts/firstversions.awk: Fix bug in version range handling.
32930 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32932 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32934 * include/sys/epoll.h: New file.
32935 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32938 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32940 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32941 Avoid unnecessary __WORDSIZE == 64 test.
32942 (fmaxf): Use VEX format if possible.
32947 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32948 * math/math_private.h: Remove libc_fegetround* and
32950 * sysdeps/i386/configure.in: Check for -msse2avx.
32951 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32952 also if SSE2AVX is defined.
32953 Remove libc_fegetround* and libc_fesetround*.
32954 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32955 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32959 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32961 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32962 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32964 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32966 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32968 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32972 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32975 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32977 * Makeconfig (libm): Define.
32978 * elf/Makefile: Add rules to build and run tst-relsort1.
32979 * elf/tst-relsort1.c: New file.
32980 * elf/tst-relsort1mod1.c: New file.
32981 * elf/tst-relsort1mod2.c: New file.
32983 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32985 * math/s_ldexp.c: Remove __STDC__ conditionals.
32986 * math/s_ldexpf.c: Likewise.
32987 * math/s_ldexpl.c: Likewise.
32988 * math/s_nextafter.c: Likewise.
32989 * math/s_nexttowardf.c: Likewise.
32990 * math/s_significand.c: Likewise.
32991 * math/s_significandf.c: Likewise.
32992 * math/s_significandl.c: Likewise.
32993 * math/w_jnl.c: Likewise.
32994 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32995 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32996 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32997 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32998 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33013 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33014 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33016 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33018 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33019 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33024 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33026 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33027 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33028 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33033 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33034 * sysdeps/ieee754/k_standard.c: Likewise.
33035 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33109 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33110 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33114 * sysdeps/ieee754/s_matherr.c: Likewise.
33115 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33116 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33120 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33122 * crypt/md5.h: Remove __STDC__ conditionals.
33123 * libio/libioP.h: Likewise.
33124 * locale/programs/config.h: Likewise.
33125 * sysdeps/generic/sysdep.h: Likewise.
33126 * sysdeps/i386/asm-syntax.h: Likewise.
33127 * sysdeps/s390/asm-syntax.h: Likewise.
33128 * sysdeps/unix/sysdep.h: Likewise.
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33132 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33134 * libio/libio.h: Remove __STDC__ conditionals.
33135 * malloc/obstack.h: Likewise.
33136 * math/complex.h: Likewise.
33137 * math/math.h: Likewise.
33138 * sysdeps/generic/_G_config.h: Likewise.
33139 * sysdeps/gnu/_G_config.h: Likewise.
33140 * sysdeps/mach/hurd/_G_config.h: Likewise.
33141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33142 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33143 * sysdeps/sparc/bits/mathdef.h: Likewise.
33145 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33148 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33149 Clean up HAS_* macros.
33150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33151 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33161 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33163 * elf/tst-unique3.cc (gets): Remove declaration.
33164 * elf/tst-unique3lib.cc (gets): Likewise.
33165 * elf/tst-unique3lib2.cc (gets): Likewise.
33166 * elf/tst-unique4.cc (gets): Likewise.
33168 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33170 * include/stdio.h: Add C++ protection. Add gets declarations and
33172 * debug/tst-chk1.c: Don't declare gets here.
33173 * stdio-common/tst-gets.c: Likewise.
33175 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33177 * posix/glob: Remove directory.
33179 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33181 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33183 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33185 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33186 of the non-standard EPFNOSUPPORT.
33188 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33190 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33191 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33192 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33194 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33196 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33198 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33200 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33202 * nscd/grpcache.c (cache_addgr): Likewise.
33203 * nscd/hstcache.c (cache_addhst): Likewise.
33204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33205 * nscd/pwdcache.c (cache_addpw): Likewise.
33206 * nscd/servicescache.c (cache_addserv): Likewise.
33208 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33210 * malloc/malloc.c: Various cleanups.
33211 * malloc/hooks.c: Likewise.
33213 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33214 * stdlib/bug-fmtmsg1.c: New file.
33216 * stdlib/fmtmsg.c (init): Add missing unlock.
33217 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33219 2012-01-12 Marek Polacek <polacek@redhat.com>
33221 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33224 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33226 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33227 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33228 macro to ensure uniqueness of label name.
33229 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33230 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33232 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33234 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33241 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33243 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33245 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33246 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33249 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33251 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33252 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33256 * math/bits/math-finite.h: Add ldexp support.
33258 2012-01-10 Marek Polacek <polacek@redhat.com>
33260 * locale/programs/localedef.h (show_archive_content): Add noreturn
33263 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33265 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33267 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33269 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33271 * io/Makefile (headers): Add bits/poll2.h.
33273 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33276 typo #include statement.
33278 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33280 * include/sys/cdefs.h: Define __attribute_alloc_size.
33281 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33282 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33283 * elf/pldd.c: Likewise.
33284 * iconv/iconv_charmap.c: Likewise.
33285 * iconv/iconvconfig.c: Likewise.
33286 * iconv/strtab.c: Likewise.
33287 * locale/programs/locale.c: Likewise.
33288 * locale/programs/localedef.h: Likewise.
33289 * locale/programs/simple-hash.c: Likewise.
33290 * nscd/nscd.h: Likewise.
33291 * nss/makedb.c: Likewise.
33292 * sysdeps/generic/ldconfig.h: Likewise.
33293 * locale/programs/localedef.c: Remove xmalloc prototype.
33294 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33296 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33301 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33303 * math/Makefile (tests): Add tst-CMPLX.
33304 * math/tst-CMPLX.c: New file.
33306 * math/complex.h (CMPLXL): Fix typo.
33308 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33309 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33311 * debug/tst-chk1.c: Add poll and ppoll tests.
33312 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33313 * include/sys/poll.h: Add hidden proto for ppoll.
33314 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33315 * sysdeps/mach/hurd/ppoll.c: Likewise.
33316 * io/ppoll.c: Likewise.
33317 * debug/poll_chk.c: New file.
33318 * debug/ppoll_chk.c: New file.
33319 * include/bits/poll2.h: New file.
33320 * io/bits/poll2.h: New file.
33323 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33325 * configure.in: static is always set to yes. Remove.
33326 * config.make.in: Don't set build-static.
33327 * Makeconfig: Remove use of build-static.
33328 * dlfcn/Makefile: Likewise.
33329 * elf/Makefile: Likewise.
33330 * math/Makefile: Likewise.
33331 * misc/Makefile: Likewise.
33332 * nptl/Makefile: Likewise.
33333 * sysdeps/mach/hurd/Makefile: Likewise.
33335 * configure.in: PWD_P is not used anymore.
33336 * config.make.in: Remove PWD_P entry.
33338 * configure.in: Remove last remnants of RANLIB.
33339 No need to check for signed size_t anymore.
33340 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33342 Remove __builtin_expect test because we require at least gcc 3.4.
33343 * aclocal.m4: Likewise.
33345 * wcsmbs/mbrtoc16.c: Implement using towc function.
33346 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33347 * wcsmbs/wcsmbsload.c: Likewise.
33348 * iconv/gconv_simple.c: Likewise.
33349 * iconv/gconv_int.h: Likewise.
33350 * iconv/gconv_builtin.h: Likewise.
33351 * iconv/iconv_prog.c: Remove CHAR16 handling.
33353 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33355 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33357 * configure.in: Remove --with-elf and --enable-bounded options.
33358 Dont set base_machine for ia64. More non-ELF conditions removed.
33359 Remove testing and setting of leading underscore information.
33360 * config.make.in (build-bounded): Set to no.
33361 * config.h.in: Remove NO_UNDERSCORES entry.
33362 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33364 * csu/start.c: Remove !NO_UNDERSCORE code.
33365 * locale/localeinfo.h: Likewise.
33366 * sysdeps/generic/machine-gmon.h: Likewise.
33367 * sysdeps/generic/sysdep.h: Likewise.
33368 * sysdeps/i386/sysdep.h: Likewise.
33369 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33370 * sysdeps/mach/sysdep.h: Likewise.
33371 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33372 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33373 * sysdeps/sh/sysdep.h: Likewise.
33374 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33375 * sysdeps/unix/i386/sysdep.S: Likewise.
33376 * sysdeps/unix/sparc/start.c: Likewise.
33377 * sysdeps/unix/sparc/sysdep.S: Likewise.
33378 * sysdeps/unix/sparc/sysdep.h: Likewise.
33379 * sysdeps/unix/start.c: Likewise.
33380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33381 * sysdeps/x86_64/sysdep.h: Likewise.
33383 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33386 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33388 * argp/argp-fmtstream.h: Use const instead __const.
33389 * argp/argp.h: Likewise.
33390 * assert/assert.h: Likewise.
33391 * bits/fenv.h: Likewise.
33392 * bits/sched.h: Likewise.
33393 * bits/sigset.h: Likewise.
33394 * bits/sigthread.h: Likewise.
33395 * catgets/nl_types.h: Likewise.
33396 * conform/data/pthread.h-data: Likewise.
33397 * crypt/crypt-private.h: Likewise.
33398 * crypt/crypt.h: Likewise.
33399 * crypt/crypt_util.c: Likewise.
33400 * ctype/ctype.h: Likewise.
33401 * debug/execinfo.h: Likewise.
33402 * debug/mbsnrtowcs_chk.c: Likewise.
33403 * debug/mbsrtowcs_chk.c: Likewise.
33404 * debug/wcsnrtombs_chk.c: Likewise.
33405 * debug/wcsrtombs_chk.c: Likewise.
33406 * debug/wcstombs_chk.c: Likewise.
33407 * dirent/dirent.h: Likewise.
33408 * dlfcn/dlfcn.h: Likewise.
33409 * elf/neededtest4.c: Likewise.
33410 * grp/grp.h: Likewise.
33411 * gshadow/gshadow.h: Likewise.
33412 * iconv/gconv.h: Likewise.
33413 * iconv/gconv_int.h: Likewise.
33414 * iconv/gconv_simple.c: Likewise.
33415 * iconv/iconv.h: Likewise.
33416 * iconv/loop.c: Likewise.
33417 * iconv/skeleton.c: Likewise.
33418 * include/aio.h: Likewise.
33419 * include/aliases.h: Likewise.
33420 * include/argz.h: Likewise.
33421 * include/arpa/inet.h: Likewise.
33422 * include/assert.h: Likewise.
33423 * include/dirent.h: Likewise.
33424 * include/dlfcn.h: Likewise.
33425 * include/execinfo.h: Likewise.
33426 * include/fcntl.h: Likewise.
33427 * include/fenv.h: Likewise.
33428 * include/glob.h: Likewise.
33429 * include/grp.h: Likewise.
33430 * include/libintl.h: Likewise.
33431 * include/mntent.h: Likewise.
33432 * include/netdb.h: Likewise.
33433 * include/pwd.h: Likewise.
33434 * include/rpc/netdb.h: Likewise.
33435 * include/sched.h: Likewise.
33436 * include/search.h: Likewise.
33437 * include/shadow.h: Likewise.
33438 * include/signal.h: Likewise.
33439 * include/stdio.h: Likewise.
33440 * include/stdlib.h: Likewise.
33441 * include/string.h: Likewise.
33442 * include/sys/socket.h: Likewise.
33443 * include/sys/stat.h: Likewise.
33444 * include/sys/statfs.h: Likewise.
33445 * include/sys/statvfs.h: Likewise.
33446 * include/sys/syslog.h: Likewise.
33447 * include/sys/time.h: Likewise.
33448 * include/sys/uio.h: Likewise.
33449 * include/time.h: Likewise.
33450 * include/unistd.h: Likewise.
33451 * include/utmp.h: Likewise.
33452 * include/wchar.h: Likewise.
33453 * include/wctype.h: Likewise.
33454 * inet/aliases.h: Likewise.
33455 * inet/arpa/inet.h: Likewise.
33456 * inet/netinet/ether.h: Likewise.
33457 * inet/netinet/in.h: Likewise.
33458 * intl/libintl.h: Likewise.
33459 * io/bits/fcntl2.h: Likewise.
33460 * io/fcntl.h: Likewise.
33461 * io/ftw.h: Likewise.
33462 * io/sys/poll.h: Likewise.
33463 * io/sys/stat.h: Likewise.
33464 * io/sys/statfs.h: Likewise.
33465 * io/sys/statvfs.h: Likewise.
33466 * io/utime.h: Likewise.
33467 * libio/bits/stdio.h: Likewise.
33468 * libio/bits/stdio2.h: Likewise.
33469 * libio/libio.h: Likewise.
33470 * libio/libioP.h: Likewise.
33471 * libio/stdio.h: Likewise.
33472 * locale/lc-ctype.c: Likewise.
33473 * locale/locale.h: Likewise.
33474 * login/utmp.h: Likewise.
33475 * malloc/arena.c: Likewise.
33476 * malloc/malloc.c: Likewise.
33477 * malloc/malloc.h: Likewise.
33478 * malloc/mcheck.c: Likewise.
33479 * malloc/mtrace.c: Likewise.
33480 * math/bits/mathcalls.h: Likewise.
33481 * math/fenv.h: Likewise.
33482 * math/math_private.h: Likewise.
33483 * misc/bits/error.h: Likewise.
33484 * misc/bits/syslog.h: Likewise.
33485 * misc/err.h: Likewise.
33486 * misc/error.h: Likewise.
33487 * misc/fstab.h: Likewise.
33488 * misc/mntent.h: Likewise.
33489 * misc/regexp.h: Likewise.
33490 * misc/search.h: Likewise.
33491 * misc/sgtty.h: Likewise.
33492 * misc/sys/mman.h: Likewise.
33493 * misc/sys/syslog.h: Likewise.
33494 * misc/sys/uio.h: Likewise.
33495 * misc/sys/xattr.h: Likewise.
33496 * misc/ttyent.h: Likewise.
33497 * nis/rpcsvc/ypclnt.h: Likewise.
33498 * nss/nss.h: Likewise.
33499 * posix/bits/unistd.h: Likewise.
33500 * posix/fnmatch.h: Likewise.
33501 * posix/glob.h: Likewise.
33502 * posix/sched.h: Likewise.
33503 * posix/spawn.h: Likewise.
33504 * posix/sys/wait.h: Likewise.
33505 * posix/unistd.h: Likewise.
33506 * posix/wordexp.h: Likewise.
33507 * pwd/pwd.h: Likewise.
33508 * resolv/netdb.h: Likewise.
33509 * resource/sys/resource.h: Likewise.
33510 * rt/aio.h: Likewise.
33511 * rt/bits/mqueue2.h: Likewise.
33512 * rt/mqueue.h: Likewise.
33513 * shadow/shadow.h: Likewise.
33514 * signal/signal.h: Likewise.
33515 * socket/send.c: Likewise.
33516 * socket/sendto.c: Likewise.
33517 * socket/sys/socket.h: Likewise.
33518 * stdio-common/printf.h: Likewise.
33519 * stdlib/bits/stdlib.h: Likewise.
33520 * stdlib/fmtmsg.h: Likewise.
33521 * stdlib/monetary.h: Likewise.
33522 * stdlib/stdlib.h: Likewise.
33523 * stdlib/ucontext.h: Likewise.
33524 * streams/stropts.h: Likewise.
33525 * string/argz.h: Likewise.
33526 * string/bits/string2.h: Likewise.
33527 * string/string.h: Likewise.
33528 * string/strings.h: Likewise.
33529 * sunrpc/rpc/auth.h: Likewise.
33530 * sunrpc/rpc/auth_des.h: Likewise.
33531 * sunrpc/rpc/clnt.h: Likewise.
33532 * sunrpc/rpc/netdb.h: Likewise.
33533 * sunrpc/rpc/pmap_clnt.h: Likewise.
33534 * sunrpc/rpc/xdr.h: Likewise.
33535 * sysdeps/generic/inttypes.h: Likewise.
33536 * sysdeps/generic/net/if.h: Likewise.
33537 * sysdeps/generic/sys/swap.h: Likewise.
33538 * sysdeps/gnu/net/if.h: Likewise.
33539 * sysdeps/gnu/utmpx.h: Likewise.
33540 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33541 * sysdeps/i386/i486/bits/string.h: Likewise.
33542 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33543 * sysdeps/s390/bits/string.h: Likewise.
33544 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33545 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33546 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33547 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33548 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33549 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33550 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33551 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33552 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33553 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33554 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33555 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33556 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33557 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33558 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33559 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33560 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33563 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33564 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33565 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33566 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33567 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33568 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33569 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33570 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33572 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33573 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33574 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33575 * sysvipc/sys/ipc.h: Likewise.
33576 * sysvipc/sys/msg.h: Likewise.
33577 * sysvipc/sys/sem.h: Likewise.
33578 * sysvipc/sys/shm.h: Likewise.
33579 * termios/termios.h: Likewise.
33580 * time/sys/time.h: Likewise.
33581 * time/time.h: Likewise.
33582 * wcsmbs/bits/wchar2.h: Likewise.
33583 * wcsmbs/uchar.h: Likewise.
33584 * wcsmbs/wchar.h: Likewise.
33585 * wctype/wctype.h: Likewise.
33588 * Makeconfig: Remove all but ELF support including AIX support.
33589 * Makerules: Likewise.
33590 * config.h.in: Likewise.
33591 * config.make.in: Likewise.
33592 * configure: Likewise.
33593 * configure.in: Likewise.
33594 * csu/Makefile: Likewise.
33595 * csu/version.c: Likewise.
33596 * debug/Makefile: Likewise.
33597 * dlfcn/Makefile: Likewise.
33598 * elf/Makefile: Likewise.
33599 * extra-lib.mk: Likewise.
33600 * iconv/Makefile: Likewise.
33601 * include/libc-symbols.h: Likewise.
33602 * include/shlib-compat.h: Likewise.
33603 * resolv/Makefile: Likewise.
33604 * resolv/res_libc.c: Likewise.
33605 * rt/Makefile: Likewise.
33606 * sysdeps/i386/asm-syntax.h: Likewise.
33607 * sysdeps/i386/sysdep.h: Likewise.
33608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33609 * sysdeps/mach/sysdep.h: Likewise.
33610 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33611 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33612 * sysdeps/s390/asm-syntax.h: Likewise.
33613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33615 * sysdeps/sh/sysdep.h: Likewise.
33616 * sysdeps/unix/sparc/sysdep.h: Likewise.
33617 * sysdeps/wordsize-32/divdi3.c: Likewise.
33618 * sysdeps/x86_64/sysdep.h: Likewise.
33620 * argp/Versions: Remove _argp_unlock_xxx.
33623 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33624 * abilist/libBrokenLocale.abilist: Likewise.
33625 * abilist/libanl.abilist: Likewise.
33626 * abilist/libc.abilist: Likewise.
33627 * abilist/libcrypt.abilist: Likewise.
33628 * abilist/libdl.abilist: Likewise.
33629 * abilist/libm.abilist: Likewise.
33630 * abilist/libnsl.abilist: Likewise.
33631 * abilist/libpthread.abilist: Likewise.
33632 * abilist/libresolv.abilist: Likewise.
33633 * abilist/librt.abilist: Likewise.
33634 * abilist/libthread_db.abilist: Likewise.
33635 * abilist/libutil.abilist: Likewise.
33636 * abilist/libnss_db.abilist: New file.
33638 * scripts/abilist.awk: Add support for indirect functions.
33640 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33642 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33644 * shlib-versions: Remove entries for ports architectures.
33646 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33648 * elf/stackguard-macros.h: Remove support for IA-64.
33649 * elf/tst-auditmod1.c: Likewise.
33650 * sysdeps/generic/ldsodefs.h: Likewise.
33652 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33653 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33657 * configure.in: Remove --enable-omitfp support.
33659 * config.make.in: Likewise.
33660 * Makeconfig: Likewise.
33661 * manual/install.texi: Likewise.
33663 In case anyone cares, the IA-64 architecture could move to ports.
33664 * sysdeps/ia64/*: Removed.
33665 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33666 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33669 * configure.in: Remove entries for unsupported architectures.
33672 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33673 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33675 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33676 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33677 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33678 fall back to using wcrtomb.
33679 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33680 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33682 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33683 * wcsmbs/tst-c16c32-1.c: New file.
33685 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33688 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33690 * elf/tst-unique3.cc: Add explicit declaration of gets.
33691 * elf/tst-unique3lib.cc: Likewise.
33692 * elf/tst-unique3lib2.cc: Likewise.
33693 * elf/tst-unique4.cc: Likewise.
33695 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33697 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33700 * assert/assert.h (static_assert): Don't define for C++.
33701 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33702 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33704 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33706 * iconv/loop.c (single loop): Fix assertion in storing of
33709 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33711 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33713 * posix/getconf.c: Update copyright year.
33714 * nss/getent.c: Likewise.
33715 * nss/makedb.c: Likewise.
33716 * iconv/iconvconfig.c: Likewise.
33717 * iconv/iconv_prog.c: Likewise.
33718 * elf/ldconfig.c: Likewise.
33719 * elf/pldd.c: Likewise.
33720 * elf/sotruss.ksh: Likewise.
33721 * catgets/gencat.c: Likewise.
33722 * csu/version.c: Likewise.
33723 * elf/ldd.bash.in: Likewise.
33724 * elf/sprof.c (print_version): Likewise.
33725 * locale/programs/locale.c: Likewise.
33726 * locale/programs/localedef.c: Likewise.
33727 * login/programs/pt_chown.c: Likewise.
33728 * nscd/nscd.c (print_version): Likewise.
33729 * debug/xtrace.sh: Likewise.
33730 * malloc/memusage.sh: Likewise.
33731 * malloc/mtrace.pl: Likewise.
33732 * debug/catchsegv.sh: Likewise.
33734 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33736 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33739 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33742 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33743 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33745 * iconv/gconv_int.h: Likewise.
33746 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33747 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33748 from libc for GLIBC_2.16.
33749 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33750 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33751 * wcsmbs/uchar.h: Really define mbstate_t.
33752 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33753 * wcsmbs/c16rtomb.c: New file.
33754 * wcsmbs/mbrtoc16.c: New file.
33755 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33756 for C/POSIX locale.
33757 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33758 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33760 * wcsmbs/wchar.h: Add missing __restrict.
33762 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33765 * time/Makefile (routines): Add timespec_get.
33766 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33767 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33768 timespec for ISO C11.
33769 * time/timespec_get.c: New file.
33770 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33771 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33774 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33775 * stdlib/stdlib.h: Declare aligned_alloc.
33776 * Versions.def: Add GLIBC_2.16 for libc.
33777 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33780 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33783 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33787 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33790 * assert/assert.h (static_assert): Define.
33792 * version.h: Update for 2.16 development version.
33795 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33798 * version.h (RELEASE): Bump for 2.15 release.
33799 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33801 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33802 Patch by Marek Polacek <mpolacek@redhat.com>.
33804 * bits/byteswap.h: Protect long long constants with __extension__.
33805 * sysdeps/i386/bits/byteswap.h: Likewise.
33806 * sysdeps/ia64/bits/byteswap.h: Likewise.
33807 * sysdeps/s390/bits/byteswap.h: Likewise.
33808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33810 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33814 destination buffer.
33815 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33817 2011-12-23 Marek Polacek <polacek@redhat.com>
33819 * elf/dl-addr.c (determine_info): Add inline keyword.
33820 * elf/tst-auditmod4b.c (check_avx): Likewise.
33821 * elf/tst-auditmod6b.c (check_avx): Likewise.
33822 * elf/tst-auditmod6c.c (check_avx): Likewise.
33823 * elf/tst-auditmod7b.c (check_avx): Likewise.
33825 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33827 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33830 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33833 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33834 processing for last bytes.
33836 2011-08-06 Bruno Haible <bruno@clisp.org>
33839 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33840 U+0385, not to U+1FEE.
33843 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33844 entry for U+00A5 U+0301.
33846 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33849 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33850 buffer for the output is too small.
33852 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33856 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33857 SSE flags if possible.
33859 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33863 processing for last bytes.
33865 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33867 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33868 (syscall-list-default-options, syscall-list-default-condition)
33869 (syscall-list-includes): Define.
33870 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33871 list of ABIs and options and #if conditions for each ABI. Do not
33872 handle common syscalls between ABIs specially.
33873 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33875 (syscall-list-variants, syscall-list-32bit-options)
33876 (syscall-list-32bit-condition, syscall-list-64bit-options)
33877 (syscall-list-64bit-condition): Define.
33878 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33879 (syscall-list-variants, syscall-list-32bit-options)
33880 (syscall-list-32bit-condition, syscall-list-64bit-options)
33881 (syscall-list-64bit-condition): Define.
33882 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33884 (syscall-list-variants, syscall-list-32bit-options)
33885 (syscall-list-32bit-condition, syscall-list-64bit-options)
33886 (syscall-list-64bit-condition): Define.
33887 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33889 (syscall-list-variants, syscall-list-32bit-options)
33890 (syscall-list-32bit-condition, syscall-list-64bit-options)
33891 (syscall-list-64bit-condition): Define.
33893 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33895 * locale/iso-639.def: Add brx entry.
33898 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33899 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33901 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33902 __feraiseexcept_renamed.
33904 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33907 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33908 EPOLLET with unsigned values.
33909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33912 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33913 to large cancellation.
33914 * math/s_cacoshf.c: Likewise.
33915 * math/s_cacoshl.c: Likewise.
33917 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33921 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33922 * math/s_cacoshf.c: Likewise.
33923 * math/s_cacoshl.c: Likewise.
33925 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33928 * iconv/gconv.h: Define __GCONV_SWAP.
33929 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33930 * iconvdata/utf-16.c: Likewise.
33931 * iconvdata/utf-32.c: Likewise.
33933 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33936 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33937 numerator after shifting it by one limb.
33939 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33941 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33942 under [__USE_EXTERN_INLINES].
33944 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33947 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33949 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33951 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33952 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33954 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33955 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33956 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33957 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33958 for strncasecmp/strncasecmp_l compilation.
33959 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33960 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33962 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33965 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33968 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33971 * time/tzfile.c (__tzfile_read): Check values from file header.
33973 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33975 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33976 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33977 * powerpc/powerpc32/dl-start.S: Likewise.
33978 * powerpc/powerpc32/elf/start.S: Likewise.
33979 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33980 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33981 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33982 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33983 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33984 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33985 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33986 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33987 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33988 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33989 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33990 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33991 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33992 * powerpc/powerpc32/memset.S: Likewise.
33993 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33994 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33995 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33996 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33997 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33998 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33999 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34000 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34001 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34002 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34003 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34004 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34005 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34007 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34009 * math/libm-test.inc: Added more nearbyint tests.
34010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34011 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34015 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34017 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34020 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34022 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34023 Add wcscpy-ssse3 wcscpy-c.
34024 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34025 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34026 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34027 * sysdeps/x86_64/wcschr.S: New file.
34028 * sysdeps/x86_64/wcsrchr.S: New file.
34029 * string/test-strcmp.c: Remove checking of wcscmp function for
34031 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34032 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34033 wcsrchr-sse2 wcsrchr-c.
34034 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34035 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34036 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34037 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34038 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34039 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34040 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34041 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34043 * wcsmbc/wcschr.c (WCSCHR): New macro.
34045 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34047 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34048 * wcsmbs/test-wcsrchr.c: New file.
34049 * string/test-strrchr.c: Add wcsrchr support.
34051 * wcsmbs/test-wcscpy.c: New file.
34052 * string/test-strcpy.c: Add wcscpy support.
34055 2011-12-10 Ulrich Drepper <drepper@gmail.com>
34057 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34060 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34063 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34065 2011-12-04 Ulrich Drepper <drepper@gmail.com>
34067 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34068 Minor optimizations.
34070 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34071 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34072 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34074 2011-12-03 Ulrich Drepper <drepper@gmail.com>
34076 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34077 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34078 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34079 for gcc to avoid warnings.
34080 * inet/Makefile (tests): Add tst-checks.
34081 * inet/tst-checks.c: New file.
34083 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34086 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34089 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34090 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34092 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34094 2011-12-02 Ulrich Drepper <drepper@gmail.com>
34096 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34099 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34101 2011-11-29 Joseph Myers <joseph@codesourcery.com>
34103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34104 conditional on GCC version.
34105 (__arch_compare_and_exchange_val_8_acq)
34106 (__arch_compare_and_exchange_val_16_acq)
34107 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34108 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34109 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34111 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34113 * sysdeps/sh/backtrace.c: New file.
34115 2011-12-02 Andreas Schwab <schwab@redhat.com>
34117 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34120 2011-12-01 Andreas Schwab <schwab@redhat.com>
34122 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34123 falling back to utime.
34125 2011-11-30 Andreas Schwab <schwab@redhat.com>
34127 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34128 expectations for float.
34130 2011-11-29 Andreas Schwab <schwab@redhat.com>
34132 * locale/weight.h (findidx): Add parameter len.
34133 * locale/weightwc.h (findidx): Likewise.
34134 * posix/fnmatch_loop.c (FCT): Adjust caller.
34135 * posix/regcomp.c (build_equiv_class): Likewise.
34136 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34137 * posix/regexec.c (check_node_accept_bytes): Likewise.
34138 * string/strcoll_l.c (STRCOLL): Likewise.
34139 * string/strxfrm_l.c (STRXFRM): Likewise.
34141 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34143 * Makefile.in: Remove CVSOPT handling.
34144 * configure.in: Remove use of AC_REVISION.
34145 * iconvdata/Makefile (distribute): No need to filter out CVS.
34146 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34149 2011-11-16 Andreas Schwab <schwab@redhat.com>
34151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34152 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34153 [USE_AS_STRNCASECMP_L]: Likewise.
34154 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34155 NO_TLS_DIRECT_SEG_REFS.
34156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34157 Fix argument offsets for non-PIC.
34158 [USE_AS_STRNCASECMP_L]: Likewise.
34159 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34160 NO_TLS_DIRECT_SEG_REFS.
34162 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34164 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34166 * locale/loadlocale.c (_nl_load_locale): Likewise.
34168 2011-11-15 Andreas Schwab <schwab@redhat.com>
34170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34171 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34173 (SYSCALL_GETTIME): Set errno on error.
34175 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34176 count references to noai6ai_cached.
34178 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34180 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34182 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34183 FD_CLOEXEC for /proc/self/maps.
34185 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34186 FD_CLOEXEC for /proc/meminfo.
34188 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34191 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34192 FD_CLOEXEC for given file.
34194 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34196 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34197 FD_CLOEXEC for /etc/hosts.
34198 (_gethtent): Likewise.
34200 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34202 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34203 cancellation and set FD_CLOEXEC for /etc/netgroup.
34205 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34206 reading /etc/publickey.
34208 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34209 allow cancellation when reading /etc/group.
34211 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34213 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34215 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34216 when using data file.
34218 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34220 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34221 (write_nis_obj): Use "c" and "e" in fopen.
34223 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34225 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34227 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34229 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34231 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34234 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34236 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34238 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34240 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34241 file parsing and set FD_CLOEXEC.
34243 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34245 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34247 2011-11-14 Andreas Schwab <schwab@redhat.com>
34249 * malloc/arena.c (arena_get2): Don't call reused_arena when
34250 _int_new_arena failed.
34252 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34254 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34255 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34257 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34258 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34260 to compile strcasecmp and strncasecmp.
34261 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34262 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34266 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34268 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34269 locale-defines.sym to gen-as-const-headers.
34270 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34271 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34273 to compile strcasecmp and strncasecmp.
34274 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34275 strcasecmp_l and strncasecmp_l.
34276 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34277 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34278 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34279 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34280 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34281 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34282 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34283 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34284 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34285 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34286 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34288 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34290 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34291 result of SYSDEP_GETTIME_CPU to retval.
34292 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34293 parameter list to macro. Remove trailing semicolon. Adjust users.
34295 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34298 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34300 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34302 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34303 from unused variable.
34305 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34307 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34310 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34313 * sunrpc/rpc_prot.c (rejected): Fix case value.
34315 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34316 unsigned long long int to avoid warnings in shift.
34318 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34320 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34323 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34324 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34325 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34327 * nis/nis_table.c (nis_list): Use variable of correct type for
34328 result of __follow_path call.
34330 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34332 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34333 of math functions ceil, trunc, floor, round, and sqrt, when
34334 avaliable on the platform.
34335 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34341 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34343 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34346 2011-11-11 Roland McGrath <roland@hack.frob.com>
34348 * include/unistd.h: Fix __readlink return type.
34349 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34351 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34353 * stdlib/ucontext.h: Undo last change for makecontext.
34355 2011-11-11 Andreas Schwab <schwab@redhat.com>
34357 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34359 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34360 * setjmp/setjmp.h: Mark functions as non-leaf.
34361 * setjmp/bits/setjmp2.h: Likewise.
34362 * stdlib/ucontext.h: Likewise.
34364 2011-11-10 Andreas Schwab <schwab@redhat.com>
34366 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34367 (reused_arena): Don't check arena limit.
34368 (arena_get2): Atomically check arena limit.
34370 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34372 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34373 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34378 2011-11-07 Andreas Schwab <schwab@redhat.com>
34380 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34381 handler when locking.
34383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34384 Fix size of allocated buffer.
34386 2011-11-04 Andreas Schwab <schwab@redhat.com>
34389 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34390 declarations for long double functions.
34391 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34393 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34395 2011-11-03 Andreas Schwab <schwab@redhat.com>
34397 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34400 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34403 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34405 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34407 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34409 * include/alloca.h (stackinfo_alloca_round): Define.
34410 (extend_alloca): Use it.
34411 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34412 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34415 * scripts/check-local-headers.sh: Ignore libaudit.h.
34417 * nscd/Makefile (extra-objs): Make recursively expanded.
34419 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34421 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34422 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34424 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34425 * posix/tst-rfc3484-2.c: Likewise.
34426 * posix/tst-rfc3484-3.c: Likewise.
34428 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34430 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34432 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34433 process_vm_writev from libc using GLIBC_2.15 version.
34435 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34437 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34439 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34442 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34445 * nss/getent.c (initgroups_keys): Show error message in case no group
34448 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34449 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34450 __bump_nl_timestamp.
34451 * nscd/connections (nscd_init): When host database is served open
34452 netlink socket and request notification about configuration changes.
34453 (main_loop_poll): Track netlink file descriptor and bump timestamp
34454 in case data becomes available.
34455 (main_loop_epoll): Likewise.
34456 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34457 (database_pers_head): Add extra_data fileds.
34458 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34459 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34460 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34463 in6ai data, call __free_in6ai.
34464 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34465 Add -DHAVE_NETLINK.
34466 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34467 interface information. Reuse previous data if netlink timestamp
34469 (__bump_nl_timestamp): New function.
34470 (__free_in6ai): New function.
34472 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34474 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34475 close_not_cancel_no_status here.
34476 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34478 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34481 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34484 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34485 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34486 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34488 2011-07-03 Andreas Jaeger <aj@suse.de>
34491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34492 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34493 * math/libm-test.inc (sin_test): Add test case.
34495 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34498 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34499 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34501 * elf/chroot_canon.c (chroot_canon): Cleanups.
34503 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34506 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34507 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34509 * string/test-strchr.c: Make usable for strchrnul testing.
34510 * string/test-strchrnul.c: New file.
34511 * string/Makefile (strop-tests): Add strchrnul.
34513 * po/it.po: Update from translation team.
34514 * po/es.po: Likewise.
34516 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34518 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34519 the three constants needed as parameters. Drop the others.
34520 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34521 __m128i_strloadu_tolower.
34522 Create and initialize variable zero and use it in all the places
34523 where _mm_setzero_si128 was used.
34525 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34526 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34527 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34528 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34530 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34531 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34532 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34533 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34534 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34535 __mpranred, __mptan.
34536 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34537 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34538 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34539 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34540 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34541 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34542 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34543 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34544 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34546 2011-10-28 Andreas Schwab <schwab@redhat.com>
34548 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34549 redefine if SHARED.
34550 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34553 wide char related routines to wcsmbs subdir.
34555 2011-10-27 Andreas Schwab <schwab@redhat.com>
34558 * misc/sys/cdefs.h (__THROWNL): Define.
34559 * posix/unistd.h: Use __THREADNL instead of __THREAD
34560 for memory synchronization functions.
34562 2011-10-26 Roland McGrath <roland@hack.frob.com>
34565 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34567 * manual/stdio.texi (Obstack Streams): Node removed.
34569 2011-10-26 Andreas Schwab <schwab@redhat.com>
34571 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34572 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34573 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34575 * math/math_private.h (math_force_eval): Allow non-addressable
34577 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34579 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34581 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34582 file is not needed.
34584 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34587 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34588 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34591 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34593 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34594 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34595 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34596 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34597 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34598 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34599 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34600 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34601 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34602 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34603 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34604 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34606 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34607 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34608 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34609 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34610 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34611 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34613 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34614 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34616 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34617 place. Use VEX encoding when compiling for AVX.
34619 2011-10-25 Andreas Schwab <schwab@redhat.com>
34621 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34622 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34624 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34626 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34628 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34629 useless if() expression.
34630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34632 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34634 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34640 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34641 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34642 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34643 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34644 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34648 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34650 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34652 2011-10-25 Andreas Schwab <schwab@redhat.com>
34654 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34658 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34660 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34661 .text section. Avoid duplicate constants.
34662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34670 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34672 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34674 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34685 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34686 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34687 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34689 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34691 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34693 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34700 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34701 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34703 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34704 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34705 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34706 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34708 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34710 * sysdeps/x86_64/dla.h: Move to ...
34711 * sysdeps/x86_64/fpu/dla.h: ...here.
34712 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34713 situations. Use __builtin_fma only for gcc 4.6 and up.
34715 * config.make.in: Add have-mfma4 entry.
34716 * configure.in: Substitute libc_cv_cc_fma4.
34717 * math/Makefile (dbl-only-routines): Add sincostab.
34718 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34719 Use __sincostab not sincos.
34720 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
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/e_atan2.c: Likewise. Define singArctan2
34727 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34728 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34729 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34730 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34732 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34733 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34735 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34736 define aliases when function name is a macro.
34737 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34738 sysdeps/ieee754/dbl-64/sincos.tbl.
34739 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34740 fma4-enabled routines.
34741 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34742 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34743 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34744 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34745 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34746 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34748 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34750 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34751 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34752 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34753 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34754 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34756 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34757 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34758 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34759 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34761 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34762 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34768 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34770 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34772 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34778 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34783 2011-10-24 Andreas Schwab <schwab@redhat.com>
34785 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34787 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34789 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34791 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34793 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34795 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34796 Remove unused variable magic_bits.
34797 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34799 * string/strnlen.c: Define and use STRNLEN macro.
34800 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34801 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34802 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34803 * wcsmbs/wcslen.c: Define and use WCSLEN.
34804 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34805 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34806 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34807 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34808 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34809 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34810 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34812 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34815 strnlen-sse2-no-bsf.
34816 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34817 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34818 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34819 Add strnlen support.
34820 (USE_AS_STRNLEN): New macro.
34821 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34823 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34824 * sysdeps/x86_64/wcslen.S: New file.
34826 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34828 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34829 XMM-moves are used for copying on small sizes.
34831 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34833 * wcsmbs/Makefile (strop-tests): Add wcschr.
34834 * wcsmbs/test-wcschr.c: New file.
34835 * string/test-strchr.c: Update.
34836 Add wcschr support.
34839 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34841 * wcsmbs/Makefile (strop-tests): Add wcslen.
34842 * wcsmbs/test-wcslen.c: New file.
34843 * string/test-strlen.c: Update.
34844 Add wcslen support.
34847 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34849 * po/it.po: Update from translation team.
34851 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34853 * sysdeps/x86_64/wcscmp.S: Update.
34854 Fix wrong comparison semantics.
34855 wcscmp shall use signed comparison not unsigned.
34856 Don't use substraction to avoid overflow bug.
34857 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34858 * wcsmbc/wcscmp.c: Likewise.
34859 * string/test-strcmp.c: Likewise.
34860 Add new tests to check cases with negative values.
34862 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34864 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34865 * sysdeps/x86_64/dla.h: ...here. New file.
34866 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34876 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34879 __ynl_finite aliases.
34881 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34885 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34887 [DLA_FMA] (EMULV): Use DLA_FMA.
34888 [DLA_FMA] (MUL12): Use EMULV.
34889 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34890 that are not needed.
34891 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34899 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34901 * math/s_nan.c: Undef __nan.
34902 * math/s_nanf.c: Undef __nanf.
34903 * math/s_nanl.c: Undef __nanl.
34904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34907 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34909 * math/s_catan.c: Add branch predictions.
34910 * math/s_catanf.c: Likewise.
34911 * math/s_catanh.c: Likewise.
34912 * math/s_catanhf.c: Likewise.
34913 * math/s_catanhl.c: Likewise.
34914 * math/s_catanl.c: Likewise.
34915 * math/s_cexp.c: Likewise.
34916 * math/s_cexpf.c: Likewise.
34917 * math/s_cexpl.c: Likewise.
34918 * math/s_clog.c: Likewise.
34919 * math/s_clog10.c: Likewise.
34920 * math/s_clog10f.c: Likewise.
34921 * math/s_clog10l.c: Likewise.
34922 * math/s_clogf.c: Likewise.
34923 * math/s_clogl.c: Likewise.
34924 * math/s_csqrt.c: Likewise.
34925 * math/s_csqrtf.c: Likewise.
34926 * math/s_csqrtl.c: Likewise.
34927 * math/s_ctanf.c: Likewise.
34928 * math/s_ctanh.c: Likewise.
34929 * math/s_ctanhf.c: Likewise.
34930 * math/s_ctanhl.c: Likewise.
34931 * math/s_ctanl.c: Likewise.
34933 * math/math_private.h: Define __nan, __nanf, __nanl.
34934 * math/s_cacosh.c: Include <math_private.h>.
34935 * math/s_cacoshl.c: Likewise.
34936 * math/s_casinh.c: Likewise.
34937 * math/s_casinhf.c: Likewise.
34938 * math/s_casinhl.c: Likewise.
34939 * math/s_ccos.c: Rely entire on ccosh.
34940 * math/s_ccosf.c: Rely entire on ccoshf.
34941 * math/s_ccosl.c: Rely entirely on ccoshl.
34942 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34943 Remove tests for FE_INVALID.
34944 * math/s_ccoshf.c: Likewise.
34945 * math/s_ccoshl.c: Likewise.
34946 * math/s_csin.c: Likewise.
34947 * math/s_csinf.c: Likewise.
34948 * math/s_csinh.c Likewise.
34949 * math/s_csinhf.c: Likewise.
34950 * math/s_csinhl.c: Likewise.
34951 * math/s_csinl.c: Likewise.
34952 * math/s_ctan.c: Likewise.
34953 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34954 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34955 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34957 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34960 compilation problems.
34962 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34965 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34967 * sysdeps/i386/configure.in: Test for -mfma4 option.
34968 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34969 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34970 COMMON_CPUID_INDEX_80000001.
34971 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34972 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34973 use it if FMA3 is not supported.
34974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34976 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34977 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34979 2011-10-20 Andreas Schwab <schwab@redhat.com>
34982 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34983 it would create a cycle with a link time dependency.
34985 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34987 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34989 * string/Makefile (strop-tests): Add rawmemchr.
34990 * string/test-rawmemchr.c: New file.
34992 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34994 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34995 when compiling str{,n}casecmp and when AVX is available. Hook up
34996 new optimized code in initializers.
34998 2011-10-19 Andreas Schwab <schwab@redhat.com>
35000 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35001 __feraiseexcept instead of feraiseexcept.
35003 2011-10-18 Ulrich Drepper <drepper@gmail.com>
35005 * math/math_private.h: Define defaults for libc_fetestexcept and
35007 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35008 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35009 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35010 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35011 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35012 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35013 libc_fetestexcept and libc_feupdateenv.
35015 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35016 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35017 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35018 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35019 libc_feholdexcept_setround.
35021 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35022 Add s_nearbyint-c and s_nearbyintf-c.
35023 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35024 nearbyintf inlines.
35025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35026 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35028 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35030 * math/math_private.h: Define defaults for libc_fegetround,
35031 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35032 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35033 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35035 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35036 standard functions.
35037 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35038 Remove comments and hacks for old compiler versions.
35039 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35040 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35041 libc_feholdexceptl.
35043 2011-10-18 Andreas Schwab <schwab@redhat.com>
35045 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35046 (__feraiseexcept_renamed): Add __NTH.
35047 (feraiseexcept): Add __NTH. Rename local variables to fix
35048 namespace violations.
35050 2011-10-17 Ulrich Drepper <drepper@gmail.com>
35052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35056 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35057 recently added interfaces.
35058 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35060 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35061 about macro parameter expansion.
35063 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35064 __NO_MATH_INLINES is defined. Cleanups.
35066 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35067 and __floorf is target has SSE4.1.
35068 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35069 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35070 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35071 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35073 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35075 (floorf): Likewise.
35077 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35079 2011-10-17 Andreas Schwab <schwab@redhat.com>
35081 * misc/sys/cdefs.h: Fix last change.
35083 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35086 2011-10-16 Ulrich Drepper <drepper@gmail.com>
35088 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35090 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35093 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35096 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35098 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35099 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35100 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35101 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35102 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35103 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35104 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35105 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35106 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35107 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35108 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35109 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35110 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35111 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35113 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35114 ceil, ceilf, floor, floorf.
35116 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35117 Perform IRELATIVE relocations last.
35119 * elf/do-rel.h: Add another parameter nrelative, replacing the
35120 local variable with the same name. Change name of the function
35121 to end in Rel or Rela (uppercase).
35122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35123 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35124 elf_dynamic_do_##reloc function.
35126 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35128 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35129 is sufficient, at least on modern CPUs.
35131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35133 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35134 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35136 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35138 * math/bits/math-finite.h: Add entries for exp.
35139 * math/e_expl.c: Add __*_finite alias.
35140 * sysdeps/i386/fpu/e_exp.S: Likewise.
35141 * sysdeps/i386/fpu/e_expf.S: Likewise.
35142 * sysdeps/i386/fpu/e_expl.c: Likewise.
35143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35144 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35147 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35148 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35149 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35151 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35152 is sufficient, at least on modern CPUs.
35154 * ctype/ctype-info.c (__ctype_init): Define.
35155 * include/ctype.h (__ctype_init): Declare.
35156 (__ctype_b_loc): The variable is always initialized.
35157 (__ctype_toupper_loc): Likewise.
35158 (__ctype_tolower_loc): Likewise.
35159 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35160 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35162 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35164 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35166 * configure.in: Also look in $cxxmachine/include for C++ system
35169 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35171 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35172 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35173 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35174 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35175 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35176 (USE_AS_WMEMCMP): New macro.
35178 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35179 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35180 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35181 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35183 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35184 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35185 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35186 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35187 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35188 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35189 (USE_AS_WMEMCMP): New macro.
35190 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35191 * sysdeps/string/test-memcmp.c: Update.
35192 Fix simple_wmemcmp.
35194 * wcsmbs/wmemcmp.c: Update.
35195 (WMEMCMP): New macro.
35198 2011-10-12 Andreas Jaeger <aj@suse.de>
35201 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35203 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35205 * libio/iofwide.c (do_length): Avoid warning.
35207 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35209 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35211 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35213 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35214 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35215 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35216 * sysdeps/i386/i686/fpu/e_log.S: New file.
35217 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35218 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35220 * ctype/ctype.h: Add support for inlined isXXX functions when
35221 compiling C++ code.
35223 2011-10-14 Andreas Schwab <schwab@redhat.com>
35225 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35229 2011-10-13 Roland McGrath <roland@hack.frob.com>
35232 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35234 2011-10-13 Andreas Schwab <schwab@redhat.com>
35236 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35237 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35240 * sysdeps/x86_64/memrchr.S: Check for zero size.
35242 * string/stratcliff.c: Add memrchr tests.
35244 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35247 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35248 rawmemchr-sse2 rawmemchr-sse2-bsf.
35249 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35250 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35251 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35252 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35253 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35254 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35255 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35256 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35258 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35259 * string/memrchr.c (MEMRCHR): New macro.
35261 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35263 Add integration with gcc's -ffinite-math-only and optimize wrapper
35265 * Versions.def: Define GLIBC_2.15 version for libm.
35266 * math/Makefile (headers): Add bits/math-finite.h.
35267 * math/bits/math-finite.h: New file.
35268 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35269 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35270 * math/e_acoshl.c: Add __*_finite alias.
35271 * math/e_acosl.c: Likewise.
35272 * math/e_asinl.c: Likewise.
35273 * math/e_atan2l.c: Likewise.
35274 * math/e_atanhl.c: Likewise.
35275 * math/e_coshl.c: Likewise.
35276 * math/e_exp10.c: Likewise.
35277 * math/e_exp10f.c: Likewise.
35278 * math/e_exp10l.c: Likewise.
35279 * math/e_exp2l.c: Likewise.
35280 * math/e_fmodl.c: Likewise.
35281 * math/e_gammal_r.c: Likewise.
35282 * math/e_hypotl.c: Likewise.
35283 * math/e_j0l.c: Likewise.
35284 * math/e_j1l.c: Likewise.
35285 * math/e_jnl.c: Likewise.
35286 * math/e_lgammal_r.c: Likewise.
35287 * math/e_log10l.c: Likewise.
35288 * math/e_log2l.c: Likewise.
35289 * math/e_logl.c: Likewise.
35290 * math/e_powl.c: Likewise.
35291 * math/e_sinhl.c: Likewise.
35292 * math/e_sqrtl.c: Likewise.
35293 * math/e_scalb.c: Completely rewritten and optimized.
35294 * math/e_scalbf.c: Likewise.
35295 * math/e_scalbl.c: Likewise.
35296 * math/w_acos.c: Likewise.
35297 * math/w_acosf.c: Likewise.
35298 * math/w_acosl.c: Likewise.
35299 * math/w_acosh.c: Likewise.
35300 * math/w_acoshf.c: Likewise.
35301 * math/w_acoshl.c: Likewise.
35302 * math/w_asin.c: Likewise.
35303 * math/w_asinf.c: Likewise.
35304 * math/w_asinl.c: Likewise.
35305 * math/w_atan2.c: Likewise.
35306 * math/w_atan2f.c: Likewise.
35307 * math/w_atan2l.c: Likewise.
35308 * math/w_atanh.c: Likewise.
35309 * math/w_atanhf.c: Likewise.
35310 * math/w_atanhl.c: Likewise.
35311 * math/w_exp10.c: Likewise.
35312 * math/w_exp10f.c: Likewise.
35313 * math/w_exp10l.c: Likewise.
35314 * math/w_fmod.c: Likewise.
35315 * math/w_fmodf.c: Likewise.
35316 * math/w_fmodl.c: Likewise.
35317 * math/w_j0.c: Likewise.
35318 * math/w_j0f.c: Likewise.
35319 * math/w_j0l.c: Likewise.
35320 * math/w_j1.c: Likewise.
35321 * math/w_j1f.c: Likewise.
35322 * math/w_j1l.c: Likewise.
35323 * math/w_jn.c: Likewise.
35324 * math/w_jnf.c: Likewise.
35325 * math/w_log.c: Likewise.
35326 * math/w_logf.c: Likewise.
35327 * math/w_logl.c: Likewise.
35328 * math/w_log10.c: Likewise.
35329 * math/w_log10f.c: Likewise.
35330 * math/w_log10l.c: Likewise.
35331 * math/w_log2.c: Likewise.
35332 * math/w_log2f.c: Likewise.
35333 * math/w_log2l.c: Likewise.
35334 * math/w_pow.c: Likewise.
35335 * math/w_powf.c: Likewise.
35336 * math/w_powl.c: Likewise.
35337 * math/w_remainder.c: Likewise.
35338 * math/w_remainderf.c: Likewise.
35339 * math/w_remainderl.c: Likewise.
35340 * math/w_scalb.c: Likewise.
35341 * math/w_scalbf.c: Likewise.
35342 * math/w_scalbl.c: Likewise.
35343 * math/w_sqrt.c: Likewise.
35344 * math/w_sqrtf.c: Likewise.
35345 * math/w_sqrtl.c: Likewise.
35346 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35347 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35349 * math/math_private.h: Declare __kernel_standard_f.
35350 * math/w_cosh.c: Remove cruft and optimize a bit.
35351 * math/w_coshf.c: Likewise.
35352 * math/w_coshl.c: Likewise.
35353 * math/w_exp2.c: Likewise.
35354 * math/w_exp2f.c: Likewise.
35355 * math/w_exp2l.c: Likewise.
35356 * math/w_hypot.c: Likewise.
35357 * math/w_hypotf.c: Likewise.
35358 * math/w_hypotl.c: Likewise.
35359 * math/w_lgamma.c: Likewise.
35360 * math/w_lgamma_r.c: Likewise.
35361 * math/w_lgammaf.c: Likewise.
35362 * math/w_lgammaf_r.c: Likewise.
35363 * math/w_lgammal.c: Likewise.
35364 * math/w_lgammal_r.c: Likewise.
35365 * math/w_sinh.c: Likewise.
35366 * math/w_sinhf.c: Likewise.
35367 * math/w_sinhl.c: Likewise.
35368 * math/w_tgamma.c: Likewise.
35369 * math/w_tgammaf.c: Likewise.
35370 * math/w_tgammal.c: Likewise.
35371 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35373 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35374 Minor optimizations. Pretty printing. Remove cruft.
35375 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35376 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35377 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35379 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35380 * sysdeps/i386/fpu/e_asin.S: Likewise.
35381 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35382 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35383 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35384 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35386 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35387 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35388 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35389 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35390 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35391 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35392 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35393 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35394 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35395 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35396 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35397 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35398 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35399 * sysdeps/i386/fpu/e_log.S: Likewise.
35400 * sysdeps/i386/fpu/e_log10.S: Likewise.
35401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35403 * sysdeps/i386/fpu/e_log2.S: Likewise.
35404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35405 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35406 * sysdeps/i386/fpu/e_logf.S: Likewise.
35407 * sysdeps/i386/fpu/e_logl.S: Likewise.
35408 * sysdeps/i386/fpu/e_pow.S: Likewise.
35409 * sysdeps/i386/fpu/e_powf.S: Likewise.
35410 * sysdeps/i386/fpu/e_powl.S: Likewise.
35411 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35412 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35413 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35416 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35417 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35418 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35419 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35441 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35442 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35443 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35444 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35445 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35446 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35447 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35448 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35449 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35450 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35451 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35454 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35455 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35456 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35457 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35458 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35459 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35460 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35461 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35500 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35503 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35505 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35508 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35513 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35515 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35516 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35517 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35518 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35519 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35520 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35521 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35522 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35523 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35524 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35525 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35526 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35528 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35529 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35530 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35531 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35532 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35533 (__isnanf): Likewise.
35534 (__isinf_ns): Likewise.
35535 (__isinf_nsf): Likewise.
35536 (__finite): Likewise.
35537 (__finitef): Likewise.
35538 (__ieee754_sqrt): Define as macro.
35539 (__ieee754_sqrtf): Define as macro.
35540 (__ieee754_sqrtl): Define as macro.
35541 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35543 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35544 __FINITE_MATH_ONLY__ consistent.
35545 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35547 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35549 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35552 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35554 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35556 * po/ja.po: Update from translation team.
35558 2011-10-08 Roland McGrath <roland@hack.frob.com>
35560 * locale/programs/locarchive.c (prepare_address_space): New function.
35561 (create_archive, enlarge_archive, open_archive): Use it.
35563 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35564 inside [SHARED], where it is used.
35566 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35568 * nss/getent.c (netgroup_keys): Remove unused variable.
35569 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35571 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35573 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35574 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35576 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35577 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35578 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35579 * math/Makefile (libm-calls): Add s_isinf_ns.
35580 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35581 * math/multc3.c: Likewise.
35582 * math/s_casin.c: Likewise.
35583 * math/s_casinf.c: Likewise.
35584 * math/s_casinl.c: Likewise.
35585 * math/s_ccos.c: Likewise.
35586 * math/s_ccosf.c: Likewise.
35587 * math/s_ccosl.c: Likewise.
35588 * math/s_ctan.c: Likewise.
35589 * math/s_ctanf.c: Likewise.
35590 * math/s_ctanh.c: Likewise.
35591 * math/s_ctanhf.c: Likewise.
35592 * math/s_ctanhl.c: Likewise.
35593 * math/s_ctanl.c: Likewise.
35594 * math/w_fmod.c: Likewise.
35595 * math/w_fmodf.c: Likewise.
35596 * math/w_fmodl.c: Likewise.
35597 * math/w_remainder.c: Likewise.
35598 * math/w_remainderf.c: Likewise.
35599 * math/w_remainderl.c: Likewise.
35600 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35601 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35602 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35604 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35605 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35606 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35607 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35609 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35611 * stdio-common/printf_fphex.c: Likewise.
35612 * stdio-common/printf_size.c: Likewise.
35614 * math/e_exp10.c: Include math_private.h using <...> not "...".
35615 * math/e_exp10f.c: Likewise.
35616 * math/e_exp10l.c: Likewise.
35617 * math/e_exp2l.c: Likewise.
35618 * math/e_j0l.c: Likewise.
35619 * math/e_j1l.c: Likewise.
35620 * math/e_jnl.c: Likewise.
35621 * math/e_lgammal_r.c: Likewise.
35622 * math/e_rem_pio2l.c: Likewise.
35623 * math/e_scalb.c: Likewise.
35624 * math/e_scalbf.c: Likewise.
35625 * math/e_scalbl.c: Likewise.
35626 * math/k_cosl.c: Likewise.
35627 * math/k_sinl.c: Likewise.
35628 * math/k_tanl.c: Likewise.
35629 * math/s_cacoshf.c: Likewise.
35630 * math/s_catan.c: Likewise.
35631 * math/s_catanf.c: Likewise.
35632 * math/s_catanh.c: Likewise.
35633 * math/s_catanhf.c: Likewise.
35634 * math/s_catanhl.c: Likewise.
35635 * math/s_catanl.c: Likewise.
35636 * math/s_ccosh.c: Likewise.
35637 * math/s_ccoshf.c: Likewise.
35638 * math/s_ccoshl.c: Likewise.
35639 * math/s_cexp.c: Likewise.
35640 * math/s_cexpf.c: Likewise.
35641 * math/s_cexpl.c: Likewise.
35642 * math/s_clog.c: Likewise.
35643 * math/s_clog10.c: Likewise.
35644 * math/s_clog10f.c: Likewise.
35645 * math/s_clog10l.c: Likewise.
35646 * math/s_clogf.c: Likewise.
35647 * math/s_clogl.c: Likewise.
35648 * math/s_csin.c: Likewise.
35649 * math/s_csinf.c: Likewise.
35650 * math/s_csinh.c: Likewise.
35651 * math/s_csinhf.c: Likewise.
35652 * math/s_csinhl.c: Likewise.
35653 * math/s_csinl.c: Likewise.
35654 * math/s_csqrt.c: Likewise.
35655 * math/s_csqrtf.c: Likewise.
35656 * math/s_csqrtl.c: Likewise.
35657 * math/s_ctan.c: Likewise.
35658 * math/s_ctanf.c: Likewise.
35659 * math/s_ctanh.c: Likewise.
35660 * math/s_ctanhf.c: Likewise.
35661 * math/s_ctanhl.c: Likewise.
35662 * math/s_ctanl.c: Likewise.
35663 * math/s_ldexp.c: Likewise.
35664 * math/s_ldexpf.c: Likewise.
35665 * math/s_ldexpl.c: Likewise.
35666 * math/s_significand.c: Likewise.
35667 * math/s_significandf.c: Likewise.
35668 * math/s_significandl.c: Likewise.
35669 * math/w_acos.c: Likewise.
35670 * math/w_acosf.c: Likewise.
35671 * math/w_acosh.c: Likewise.
35672 * math/w_acoshf.c: Likewise.
35673 * math/w_acoshl.c: Likewise.
35674 * math/w_acosl.c: Likewise.
35675 * math/w_asin.c: Likewise.
35676 * math/w_asinf.c: Likewise.
35677 * math/w_asinl.c: Likewise.
35678 * math/w_atan2.c: Likewise.
35679 * math/w_atan2f.c: Likewise.
35680 * math/w_atan2l.c: Likewise.
35681 * math/w_atanh.c: Likewise.
35682 * math/w_atanhf.c: Likewise.
35683 * math/w_atanhl.c: Likewise.
35684 * math/w_cosh.c: Likewise.
35685 * math/w_coshf.c: Likewise.
35686 * math/w_coshl.c: Likewise.
35687 * math/w_dremf.c: Likewise.
35688 * math/w_exp10.c: Likewise.
35689 * math/w_exp10f.c: Likewise.
35690 * math/w_exp10l.c: Likewise.
35691 * math/w_exp2.c: Likewise.
35692 * math/w_exp2f.c: Likewise.
35693 * math/w_fmod.c: Likewise.
35694 * math/w_fmodf.c: Likewise.
35695 * math/w_fmodl.c: Likewise.
35696 * math/w_hypot.c: Likewise.
35697 * math/w_hypotf.c: Likewise.
35698 * math/w_hypotl.c: Likewise.
35699 * math/w_j0.c: Likewise.
35700 * math/w_j0f.c: Likewise.
35701 * math/w_j0l.c: Likewise.
35702 * math/w_j1.c: Likewise.
35703 * math/w_j1f.c: Likewise.
35704 * math/w_j1l.c: Likewise.
35705 * math/w_jn.c: Likewise.
35706 * math/w_jnf.c: Likewise.
35707 * math/w_jnl.c: Likewise.
35708 * math/w_lgamma.c: Likewise.
35709 * math/w_lgamma_r.c: Likewise.
35710 * math/w_lgammaf.c: Likewise.
35711 * math/w_lgammaf_r.c: Likewise.
35712 * math/w_lgammal.c: Likewise.
35713 * math/w_lgammal_r.c: Likewise.
35714 * math/w_log.c: Likewise.
35715 * math/w_log10.c: Likewise.
35716 * math/w_log10f.c: Likewise.
35717 * math/w_log10l.c: Likewise.
35718 * math/w_log2.c: Likewise.
35719 * math/w_log2f.c: Likewise.
35720 * math/w_log2l.c: Likewise.
35721 * math/w_logf.c: Likewise.
35722 * math/w_logl.c: Likewise.
35723 * math/w_pow.c: Likewise.
35724 * math/w_powf.c: Likewise.
35725 * math/w_powl.c: Likewise.
35726 * math/w_remainder.c: Likewise.
35727 * math/w_remainderf.c: Likewise.
35728 * math/w_remainderl.c: Likewise.
35729 * math/w_scalb.c: Likewise.
35730 * math/w_scalbf.c: Likewise.
35731 * math/w_scalbl.c: Likewise.
35732 * math/w_sinh.c: Likewise.
35733 * math/w_sinhf.c: Likewise.
35734 * math/w_sinhl.c: Likewise.
35735 * math/w_sqrt.c: Likewise.
35736 * math/w_sqrtf.c: Likewise.
35737 * math/w_sqrtl.c: Likewise.
35738 * math/w_tgamma.c: Likewise.
35739 * math/w_tgammaf.c: Likewise.
35740 * math/w_tgammal.c: Likewise.
35742 * po/ja.po: Update from translation team.
35744 2011-09-29 Andreas Jaeger <aj@suse.de>
35747 * sunrpc/netname.c (netname2host): Fix logic.
35751 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35753 * math/w_remainder.c (__remainder): Likewise.
35754 * math/w_remainderf.c (__remainderf): Likewise.
35755 * math/libm-test.inc (remainder_test): Add test cases.
35757 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35759 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35762 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35764 * string/test-memcmp.c: Avoid unncessary #defines.
35765 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35767 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35769 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35770 Use new sse2 version for core i3 - i7 as it's faster
35771 than sse42 version.
35772 (bit_Prefer_PMINUB_for_stringop): New.
35773 * sysdeps/x86_64/rawmemchr.S: Update.
35774 Replace with faster SSE2 version.
35775 * sysdeps/x86_64/memrchr.S: New file.
35776 * sysdeps/x86_64/memchr.S: Update.
35777 Replace with faster SSE2 version.
35779 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35781 * elf/dl-load.c (lose): Add cast to avoid warning.
35783 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35785 * po/ca.po: Update from translation team.
35787 * inet/getnetgrent_r.c: Hook up nscd.
35788 * nscd/Makefile (routines): Add nscd_netgroup.
35789 (nscd-modules): Add netgroupcache.
35790 (CFLAGS-netgroupcache.c): Define.
35791 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35792 (cache_search): Add const to second parameter.
35793 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35795 (dbs): Add netgrdb entry.
35796 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35797 (verify_persistent_db): Handle netgrdb.
35798 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35799 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35801 (netgroup_response_header): Define.
35802 (innetgroup_response_header): Define.
35803 (datahead): Add netgroup_response_header and innetgroup_response_header
35805 * nscd/nscd.conf: Add entries for netgroup cache.
35806 * nscd/nscd.h (dbtype): Add netgrdb.
35807 (_PATH_NSCD_NETGROUP_DB): Define.
35808 (netgroup_iov_disabled): Declare.
35809 (xmalloc, xcalloc, xrealloc): Move declarations here.
35810 (cache_search): Adjust prototype.
35811 Add netgroup-related prototypes.
35812 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35813 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35814 (__nscd_innetgr): Declare.
35815 * nscd/selinux.c (perms): Use access_vector_t as element type and
35816 add netgroup-related initializers.
35817 * nscd/netgroupcache.c: New file.
35818 * nscd/nscd_netgroup.c: New file.
35819 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35820 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35821 For four parameters use innetgr.
35822 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35823 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35824 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35825 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35827 * nscd/connections.c (register_traced_file): Don't register file
35828 for disabled databases.
35830 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35832 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35834 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35835 from tree and freeing node.
35837 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35839 * nss/nsswitch.c (__nss_database_lookup): Handle
35840 nss_parse_service_list out of memory case.
35842 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35844 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35845 out of memory case.
35847 2011-10-04 Andreas Schwab <schwab@redhat.com>
35849 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35850 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35852 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35853 elf_machine_rela, elf_machine_lazy_rel.
35854 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35855 (ELF_DYNAMIC_DO_REL): Likewise.
35856 (ELF_DYNAMIC_DO_RELA): Likewise.
35857 (ELF_DYNAMIC_RELOCATE): Likewise.
35858 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35859 to ELF_DYNAMIC_DO_REL.
35860 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35861 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35862 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35864 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35865 skip_ifunc, don't call ifunc function if non-zero.
35866 (elf_machine_rela): Likewise.
35867 (elf_machine_lazy_rel): Likewise.
35868 (elf_machine_lazy_rela): Likewise.
35869 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35870 (elf_machine_lazy_rel): Likewise.
35871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35873 (elf_machine_lazy_rel): Likewise.
35874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35876 (elf_machine_lazy_rel): Likewise.
35877 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35878 (elf_machine_lazy_rel): Likewise.
35879 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35880 (elf_machine_lazy_rel): Likewise.
35881 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35882 (elf_machine_lazy_rel): Likewise.
35883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35884 (elf_machine_lazy_rel): Likewise.
35885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35886 (elf_machine_lazy_rel): Likewise.
35887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35888 (elf_machine_lazy_rel): Likewise.
35890 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35892 * nss/nss_files/files-init.c (_nss_files_init): Use static
35893 initialization for all the *_traced_file variables.
35895 2011-09-28 Andreas Schwab <schwab@redhat.com>
35897 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35899 2011-09-27 Roland McGrath <roland@hack.frob.com>
35902 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35904 2011-09-27 Andreas Schwab <schwab@redhat.com>
35906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35907 Reread the line before reparsing it.
35909 2011-09-26 Andreas Schwab <schwab@redhat.com>
35911 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35913 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35914 Maxim Kuvyrkov <maxim@codesourcery.com>
35915 Joseph Myers <joseph@codesourcery.com>
35917 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35918 if needed for __stack_chk_guard.
35920 2011-09-19 Roland McGrath <roland@hack.frob.com>
35922 * sysdeps/posix/spawni.c (script_execute): Always define it.
35923 It will be optimized away if unused.
35924 (maybe_script_execute): New function.
35925 (__spawni): Call it.
35927 * Makerules: Don't include tls.make.
35928 (config-tls): Always set to thread.
35929 * tls.make.c: File removed.
35931 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35933 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35934 * config.make.in (CPPFLAGS-config): New substituted variable.
35936 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35938 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35941 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35942 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35944 2011-09-15 Roland McGrath <roland@hack.frob.com>
35946 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35947 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35949 (CALL_FAIL): Likewise.
35950 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35951 (CALL_FAIL): Macro removed.
35952 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35954 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35956 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35957 for __FINITE_MATH_ONLY__ == 1.
35959 2011-09-15 Andreas Schwab <schwab@redhat.com>
35961 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35962 __ieee754_sqrt instead of sqrt.
35963 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35964 __ieee754_sqrtf instead of sqrtf.
35965 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35966 __floorf instead of floorf.
35967 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35968 __floorf, __truncf instead of floorf, truncf.
35970 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35972 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35974 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35975 __extern_always_inline.
35976 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35979 2011-09-14 Andreas Schwab <schwab@redhat.com>
35981 * elf/rtld.c (dl_main): Also relocate in dependency order when
35982 doing symbol dependency testing.
35984 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35987 Always define `refsym'.
35989 2011-09-13 Andreas Schwab <schwab@redhat.com>
35991 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35992 (__FD_ELT): Renamed from __FDELT.
35993 * misc/bits/select2.h (__FD_ELT): Likewise.
35994 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35995 __FD_MASK instead of __FDELT, __FDMASK.
35996 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35998 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36001 * elf/Makefile (gen-ldd): Fix pattern.
36003 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36004 (init_tls): Likewise.
36006 2011-09-12 Ulrich Drepper <drepper@gmail.com>
36008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36010 2011-09-12 Andreas Schwab <schwab@redhat.com>
36012 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36013 `struct cmsghdr *' instead of `void *'.
36014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36017 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36019 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36021 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36022 ldd_rewrite_script.
36024 2011-09-11 Ulrich Drepper <drepper@gmail.com>
36026 * configure.in: Remove --with-tls option.
36027 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36028 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36029 out in case it is missing.
36030 * sysdeps/ia64/elf/configure.in: Likewise.
36031 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36032 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36033 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36034 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36035 * sysdeps/sh/elf/configure.in: Likewise.
36036 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36038 * sysdeps/x86_64/elf/configure.in: Likewise.
36039 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36040 * sysdeps/mach/hurd/tls.h: Likewise.
36043 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36046 * configure.in: Fix use of AC_INIT.
36048 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36050 2011-09-10 Ulrich Drepper <drepper@gmail.com>
36052 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36054 * malloc/hooks.c: Likewise.
36057 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36058 variables statically.
36059 (narenas): Initialize.
36060 (list_lock): Initialize.
36061 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36062 initializtion of main_arena and list_lock. Small cleanups.
36063 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36064 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36065 Add initializers to main_arena and mp_.
36066 (malloc_state): Remove pagesize member. Change all users to use
36069 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36070 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36071 is always initialized.
36073 * malloc/malloc.c: Removed unused configurations and dead code.
36074 * malloc/arena.c: Likewise.
36075 * malloc/hooks.c: Likewise.
36076 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36078 * include/tls.h: Removed. USE___THREAD must always be defined.
36079 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36080 * elf/dl-libc.c: Likewise.
36081 * elf/dl-tsd.c: Likewise.
36082 * include/errno.h: Likewise.
36083 * include/netdb.h: Likewise.
36084 * include/resolv.h: Likewise.
36085 * inet/herrno-loc.c: Likewise.
36086 * inet/herrno.c: Likewise.
36087 * malloc/arena.c: Likewise.
36088 * malloc/hooks.c: Likewise.
36089 * malloc/malloc.c: Likewise.
36090 * resolv/res-state.c: Likewise.
36091 * resolv/res_libc.c: Likewise.
36092 * sysdeps/i386/dl-machine.h: Likewise.
36093 * sysdeps/ia64/dl-machine.h: Likewise.
36094 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36095 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36096 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36097 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36098 * sysdeps/sh/dl-machine.h: Likewise.
36099 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36100 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36101 * sysdeps/unix/i386/sysdep.S: Likewise.
36102 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36103 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36107 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36108 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36112 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36113 * sysdeps/x86_64/dl-machine.h: Likewise.
36114 * tls.make.c: Likewise.
36116 * configure.in: Remove --with-__thread option. Make tests for
36117 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36118 tls_model attribute fail if no support is available. Remove
36120 * Makeconfig: Adjust for dropped configure option. All features are
36122 * Makerules: Likewise.
36123 * Versions.def: Likewise.
36124 * argp/argp-fmtstream.c: Likewise.
36125 * argp/argp-fmtstream.h: Likewise.
36126 * argp/argp-help.c: Likewise.
36127 * assert/assert.c: Likewise.
36128 * config.h.in: Likewise.
36129 * config.make.in: Likewise.
36130 * configure: Likewise.
36131 * configure.in: Likewise.
36132 * csu/Versions: Likewise.
36133 * csu/init.c: Likewise.
36134 * elf/tst-audit2.c: Likewise.
36135 * elf/tst-tls10.c: Likewise.
36136 * elf/tst-tls10.h: Likewise.
36137 * elf/tst-tls11.c: Likewise.
36138 * elf/tst-tls12.c: Likewise.
36139 * elf/tst-tls14.c: Likewise.
36140 * elf/tst-tlsmod11.c: Likewise.
36141 * elf/tst-tlsmod12.c: Likewise.
36142 * elf/tst-tlsmod13.c: Likewise.
36143 * elf/tst-tlsmod13a.c: Likewise.
36144 * elf/tst-tlsmod14a.c: Likewise.
36145 * elf/tst-tlsmod15b.c: Likewise.
36146 * elf/tst-tlsmod16a.c: Likewise.
36147 * elf/tst-tlsmod16b.c: Likewise.
36148 * elf/tst-tlsmod7.c: Likewise.
36149 * elf/tst-tlsmod8.c: Likewise.
36150 * elf/tst-tlsmod9.c: Likewise.
36151 * gmon/gmon.c: Likewise.
36152 * grp/fgetgrent_r.c: Likewise.
36153 * grp/putgrent.c: Likewise.
36154 * hurd/fopenport.c: Likewise.
36155 * include/libc-symbols.h: Likewise.
36156 * include/tls.h: Likewise.
36157 * intl/gettextP.h: Likewise.
36158 * intl/loadinfo.h: Likewise.
36159 * locale/global-locale.c: Likewise.
36160 * locale/localeinfo.h: Likewise.
36161 * mach/devstream.c: Likewise.
36162 * malloc/arena.c: Likewise.
36163 * malloc/set-freeres.c: Likewise.
36164 * misc/err.c: Likewise.
36165 * misc/getttyent.c: Likewise.
36166 * misc/mntent_r.c: Likewise.
36167 * posix/getopt.c: Likewise.
36168 * posix/wordexp.c: Likewise.
36169 * pwd/fgetpwent_r.c: Likewise.
36170 * resolv/Versions: Likewise.
36171 * resolv/res_hconf.c: Likewise.
36172 * shadow/fgetspent_r.c: Likewise.
36173 * shadow/putspent.c: Likewise.
36174 * stdio-common/printf_fphex.c: Likewise.
36175 * stdio-common/tmpfile.c: Likewise.
36176 * stdlib/abort.c: Likewise.
36177 * stdlib/fmtmsg.c: Likewise.
36178 * sunrpc/auth_unix.c: Likewise.
36179 * sunrpc/clnt_perr.c: Likewise.
36180 * sunrpc/clnt_tcp.c: Likewise.
36181 * sunrpc/clnt_udp.c: Likewise.
36182 * sunrpc/clnt_unix.c: Likewise.
36183 * sunrpc/openchild.c: Likewise.
36184 * sunrpc/svc_simple.c: Likewise.
36185 * sunrpc/svc_tcp.c: Likewise.
36186 * sunrpc/svc_udp.c: Likewise.
36187 * sunrpc/svc_unix.c: Likewise.
36188 * sunrpc/xdr.c: Likewise.
36189 * sunrpc/xdr_array.c: Likewise.
36190 * sunrpc/xdr_rec.c: Likewise.
36191 * sunrpc/xdr_ref.c: Likewise.
36192 * sunrpc/xdr_stdio.c: Likewise.
36194 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36196 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36198 2011-07-03 Andreas Jaeger <aj@suse.de>
36200 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36201 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36202 regenerate with gen-libm-tests.pl.
36204 2010-05-12 Petr Baudis <pasky@suse.cz>
36207 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36208 around j0() zero points by switching to j1().
36209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36212 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36214 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36216 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36218 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36221 Patch in part by Pavel Roskin <proski@gnu.org>.
36224 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36226 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36227 Free memory block if necessary.
36230 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36231 be NULL. Don't lock in this case.
36233 2011-09-09 Roland McGrath <roland@hack.frob.com>
36235 * elf/elf.h (ELFOSABI_GNU): New macro.
36236 (ELFOSABI_LINUX): Define to that.
36238 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36240 * string/strncat.c (strncat): Undef the symbol in case it has been
36241 defined in bits/string.h.
36243 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36245 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36247 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36250 2011-08-17 Andreas Jaeger <aj@suse.de>
36252 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36254 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36255 Ian Lance Taylor <iant@google.com>
36257 * math/libm-test.inc (lround_test): New testcase.
36258 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36260 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36262 * Makefile: Remove support for automatic cvs check-ins.
36263 * Makerules: Likewise.
36264 * config.make.in: Likewise.
36265 * configure.in: Likewise.
36266 * intl/Makefile: Likewise.
36267 * locale/Makefile: Likewise.
36268 * po/Makefile: Likewise.
36269 * posix/Makefile: Likewise.
36270 * sysdeps/gnu/Makefile: Likewise.
36271 * sysdeps/mach/hurd/Makefile: Likewise.
36272 * sysdeps/sparc/sparc32/Makefile: Likewise.
36275 * posix/Makefile (bug-regex32-ENV): Define.
36276 Patch by John Stanley <jpsinthemix@verizon.net>.
36278 * misc/Makefile (headers): Add bits/select2.h.
36279 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36280 * misc/bits/select2.h: New file.
36281 * include/bits/select2.h: New file.
36282 * debug/Makefile (routines): Add fdelt_chk.
36283 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36284 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36286 * debug/fdelt_chk.c: New file.
36288 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36289 * wcsmbs/test-wmemcmp.c: Likewise.
36290 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36291 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36293 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36295 * string/Makefile (strop-tests): Add memcmp.
36296 * string/test-wmemcmp.c: New file.
36297 * string/test-memcmp.c: Add wmemcmp support.
36299 2011-09-08 Roland McGrath <roland@hack.frob.com>
36302 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36305 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36306 garbage value in a __mach_port_mod_refs call in the cases of the
36307 task-self and thread-self ports.
36309 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36311 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36313 2011-09-08 Andreas Schwab <schwab@redhat.com>
36315 * elf/dl-load.c (lose): Check for non-null L.
36317 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36319 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36321 * elf/dl-libc.c (dlerror_run): Pass back error code from
36325 * elf/dl-load.c (lose): Free l_origin if it is valid.
36327 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36329 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36330 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36332 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36333 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36334 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36336 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36338 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36339 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36340 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36341 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36342 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36343 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36344 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36345 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36346 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36347 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36349 2011-08-15 Alan Modra <amodra@gmail.com>
36352 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36353 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36354 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36355 ppc_mcount to static-only-routines.
36356 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36358 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36359 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36361 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36363 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36364 for finite and infinity parameters.
36366 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36369 and add nop instructions for throughput optimization.
36370 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36372 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36375 aligned copy for power7 with vector-scalar instructions.
36376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36378 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36383 2011-09-07 Andreas Schwab <schwab@redhat.com>
36386 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36389 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36391 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36392 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36393 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36394 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36397 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36400 Forgot to demangle the pointer.
36402 * sysdeps/i386/sysdep.h: Define atom_text_section.
36403 * sysdeps/x86_64/sysdep.h: Likewise.
36404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36405 section with atom_text_section.
36406 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36408 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36409 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36410 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36412 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36414 already be defined. Change to take two parameters and don't assign
36415 result to variable. Adjust all users.
36416 Define INTERNAL_GETTIME if not already defined.
36417 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36420 HAVE_CLOCK_GETTIME_VSYSCALL.
36421 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36423 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36424 gettimeofday vsyscall, just use time.
36426 2011-09-06 Andreas Schwab <schwab@redhat.com>
36428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36431 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36433 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36437 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36439 syscall if possible.
36441 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36443 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36444 e_ident. Don't pass to find_mapsXX.
36445 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36447 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36450 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36451 * sysdeps/x86_64/multiarch/strchr.S: Update.
36452 Check bit_slow_BSF bit.
36453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36455 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36457 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36460 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36462 (tryshell): Define.
36463 (__spawni): Change last parameter to be flag. Test
36464 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36465 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36466 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36467 * posix/spawni.c: Likewise.
36468 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36469 * posix/spawnp.c: Likewise. Change normal version to use
36470 SPAWN_XFLAGS_USE_PATH.
36471 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36472 SPAWN_XFLAGS_TRY_SHELL.
36475 * posix/glob.h: Remove gcc 1.x support.
36478 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36480 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36483 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36485 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36486 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36487 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36488 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36489 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36492 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36494 * sysdeps/x86_64/wcscmp.S: New file.
36496 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36497 wcscmp-c wcscmp-sse2
36498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36499 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36500 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36501 * wcsmbs/wcscmp.c: Allow renaming.
36503 2011-09-05 David S. Miller <davem@davemloft.net>
36505 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36506 stack slot, rather than the struct return pointer slot.
36507 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36508 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36510 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36512 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36514 * po/ja.po: Update from translation team.
36517 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36518 kernel in 64-bit binaries.
36520 2011-09-01 David S. Miller <davem@davemloft.net>
36522 * elf/elf.h (HWCAP_SPARC_*): Move to..
36523 * sysdeps/sparc/sysdep.h: this new file and add new values.
36524 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36525 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36526 _DL_HWCAP_COUNT to 24.
36527 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36529 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36530 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36531 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36533 instead of magic constants.
36534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36536 2011-08-31 David S. Miller <davem@davemloft.net>
36538 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36540 Reimplement to do errno handling inline.
36541 (SYSCALL_ERROR_HANDLER): New macro.
36542 (__SYSCALL_STRING): Do not do errno handling in asm.
36543 (__CLONE_SYSCALL_STRING): Delete.
36544 (__INTERNAL_SYSCALL_STRING): Delete.
36545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36546 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36547 (PSEUDO): Reimplement to do errno handling inline.
36548 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36549 (SYSCALL_ERROR_HANDLER): New macro.
36550 (__SYSCALL_STRING): Do not do errno handling in asm.
36551 (__CLONE_SYSCALL_STRING): Delete.
36552 (__INTERNAL_SYSCALL_STRING): Delete.
36553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36554 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36556 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36557 (inline_syscall*): Add 'err' argument.
36558 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36559 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36560 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36561 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36563 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36564 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36566 2011-08-30 Andreas Schwab <schwab@redhat.com>
36568 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36570 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36572 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36575 2011-08-24 David S. Miller <davem@davemloft.net>
36577 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36579 2011-08-24 Andreas Schwab <schwab@redhat.com>
36581 * elf/Makefile: Add rules to build and run unload8 test.
36582 * elf/unload8.c: New file.
36583 * elf/unload8mod1.c: New file.
36584 * elf/unload8mod1x.c: New file.
36585 * elf/unload8mod2.c: New file.
36586 * elf/unload8mod3.c: New file.
36588 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36591 2011-08-23 David S. Miller <davem@davemloft.net>
36593 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36594 subtract stack bias.
36595 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36596 %sp not %fp in calculations.
36597 (_JMPBUF_UNWINDS_ADJ): Likewise.
36599 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36600 (aio_suspend): Call it to force an exception region around the
36601 AIO_MISC_WAIT() invocation.
36603 2011-08-23 Andreas Schwab <schwab@redhat.com>
36605 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36608 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36610 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36612 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36613 and <dl-machine.h>.
36614 (Elf64_FuncDesc): Remove.
36616 2011-08-22 David S. Miller <davem@davemloft.net>
36618 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36619 sigaltstack check, add missing cfi directives.
36620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36621 missing cfi directives, and sigaltstack handling.
36623 2011-08-16 Andreas Schwab <schwab@redhat.com>
36626 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36627 object is seen twice.
36628 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36630 * elf/Makefile (distribute): Add tst-initorder2.c.
36631 (tests): Add tst-initorder2.
36632 (modules-names): Add tst-initorder2a tst-initorder2b
36633 tst-initorder2c tst-initorder2d. Add rules to build them.
36634 ($(objpfx)tst-initorder2.out): New rule.
36635 * elf/tst-initorder2.c: New file.
36636 * elf/tst-initorder2.exp: New file.
36638 2011-08-22 Andreas Schwab <schwab@redhat.com>
36640 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36642 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36643 dependencies back to end of function.
36645 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36646 $(elfobjdir)/ld.so.
36648 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36651 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36653 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36654 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36655 of __vdso_gettimeofday.
36656 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36657 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36659 (_libc_vdso_platform_setup): Remove initialization of
36660 __vdso_gettimeofday and __vdso_time.
36662 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36664 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36665 and fgetc_unlocked.
36666 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36669 * elf/dl-open.c (add_to_global): Report additions to the global scope
36670 for LD_DEBUG=scopes.
36671 (dl_open_worker): Also print scope of newly loaded dependencies.
36672 (_dl_show_scope): Indicate if there is no scope.
36675 * stdio-common/Makefile (tests): Add bug24.
36676 * stdio-common/bug24.c: New file.
36678 2011-08-19 Andreas Jaeger <aj@suse.de>
36681 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36682 non-existant file when using close-on-exec mode.
36684 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36687 the very first instruction.
36689 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36690 the CFI state in the end.
36691 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36692 inclusion of dl-trampoline.h.
36693 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36695 2011-08-19 Andreas Schwab <schwab@redhat.com>
36697 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36698 expectations for long double.
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36701 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36703 2011-08-14 David S. Miller <davem@davemloft.net>
36705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36706 artificual limit depends upon the system page size.
36708 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36710 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36711 * resolv/Makefile: Define CFLAGS-libresolv.
36713 2011-08-17 Andreas Schwab <schwab@redhat.com>
36715 * nss/makedb.c (compute_tables): Make variables used in nested
36718 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36720 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36721 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36722 if buffer was too small.
36724 * elf/pldd.c (main): Attach to all threads in the process.
36725 Rewrite /proc handling to use *at functions.
36727 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36729 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36730 specifies first scope to show.
36731 (dl_open_worker): Update callers. Move printing scope of new
36732 object to before the relocation.
36733 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36734 * sysdeps/generic/ldsodefs.h: Update declaration.
36736 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36737 string for the scope number.
36739 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36741 * nscd/servicescache.c (cache_addserv): Make sure written is always
36744 2011-08-14 Roland McGrath <roland@hack.frob.com>
36746 * sysdeps/i386/i486/bits/atomic.h
36747 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36748 statement expression, so as to suppress "set but not used" warning.
36749 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36751 * string/strncat.c (STRNCAT): Use prototype definition.
36753 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36754 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36756 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36757 (localedef-modules): Add localedef.
36758 (locale-modules): Add locale.
36760 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36761 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36762 to avoid a warning.
36764 2011-08-14 David S. Miller <davem@davemloft.net>
36766 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36767 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36769 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36771 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36772 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36773 * elf/rtld.c (dl_main): Set l_name of vDSO.
36774 Call _dl_show_scope when DL_DEBUG_SCOPES.
36775 (process_dl_debug): Recognize scopes flag and also set it for all.
36776 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36777 Declare _dl_show_scope.
36779 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36780 (do_dlopen): Pass caller_dlopen to dl_open.
36781 (__libc_dlopen_mode): Initialize caller_dlopen.
36783 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36784 of libc. Make tolower call locale-independent. Optimize a bit by
36785 using isdigit instead of isalnum.
36786 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36788 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36790 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36791 was a dependency or dynamically loaded.
36793 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36795 * intl/l10nflist.c: Allow architecture-specific pop function.
36796 * sysdeps/x86_64/l10nflist.c: New file.
36798 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36801 2011-08-10 Andreas Schwab <schwab@redhat.com>
36803 * include/dirent.h: Add libc_hidden_proto for scandirat and
36804 scandirat64. Don't declare __scandirat64.
36805 * dirent/scandirat.c: Add libc_hidden_def.
36806 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36807 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36809 2011-08-10 David S. Miller <davem@davemloft.net>
36811 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36817 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36819 * Versions.def [libc]: Add GLIBC_2.15.
36820 * dirent/Makefile (routines): Add scandirat and scandirat64.
36821 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36823 * dirent/dirent.h: Declare scandirat and scandirat64.
36824 * dirent/scandirat.c: New file.
36825 * dirent/scandirat64.c: New file.
36826 * sysdeps/wordsize-64/scandirat.c: New file.
36827 * sysdeps/wordsize-64/scandirat64.c: New file.
36828 * dirent/opendir.c: Define opendirat.
36829 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36831 * dirent/scandir64.c: Adjust for scandir.c change.
36832 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36833 __scandirat64, and __scandir_cancel_handler.
36834 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36835 additional parameter and use openat instead of open (outside of ld.so).
36836 Add new __opendir as wrapper around __opendirat.
36837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36838 here without requiring old scandirat implementation.
36840 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36842 * dirent/scandir.c (cancel_handler): Renamed to
36843 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36844 defined. Adjust users.
36845 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36846 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36848 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36850 * string/test-string.h (IMPL): Use __STRING to expand name and then
36853 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36856 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36858 * string/Makefile: Update.
36859 (strop-tests): Append strncat.
36860 * string/test-wcscmp.c: New file.
36861 New comprehensive test for wcscmp.
36862 * string/test-strcmp.c: Update.
36863 (WIDE): New define.
36865 2011-07-22 Andreas Schwab <schwab@redhat.com>
36867 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36870 2011-07-26 Andreas Schwab <schwab@redhat.com>
36872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36873 encoding to ACE if AI_IDN.
36875 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36878 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36880 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36883 Fix overflow bug in strncat.
36884 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36886 * string/test-strncat.c: Update.
36887 Add new tests for checking overflow bugs.
36889 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36892 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36893 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36894 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36895 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36896 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36897 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36898 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36899 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36902 (USE_AS_STRCAT): Define.
36903 Add strcat and strncat support.
36904 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36906 2011-07-25 Andreas Schwab <schwab@redhat.com>
36908 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36909 __n bigger than INT_MAX+1.
36910 (__strncmp_g): Likewise.
36912 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36914 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36915 * libio/stido.h: Likewise.
36917 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36922 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36925 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36929 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36934 (_dl_x86_64_save_sse): Likewise.
36936 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36940 (_dl_x86_64_save_sse): Likewise.
36942 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36944 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36946 2011-07-21 Andreas Schwab <schwab@redhat.com>
36948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36950 (_dl_x86_64_save_sse): Use correct AVX check.
36952 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36955 bug in strncpy/strncat.
36956 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36958 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36960 * string/tester.c (test_strcat): Add tests for different alignments
36961 of source and destination.
36962 (test_strncat): Likewise.
36964 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36967 * posix/glob.c (glob): Check passed in values before using them in
36968 expressions to avoid some overflows.
36969 (glob_in_dir): Likewise.
36972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36973 check for AVX enablement so that we don't crash with old kernels and
36975 * elf/tst-audit4.c: Add same checks here.
36976 * elf/tst-audit6.c: Likewise.
36978 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36980 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36982 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36984 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36986 * po/cs.po: Update from translation team.
36987 * po/bg.po: Likewise.
36989 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36991 * misc/sys/cdefs.h: Add support for const attribute.
36992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36993 to gnu_dev_{major,minor,makedev} functions.
36995 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36997 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36999 2011-07-20 Andreas Schwab <schwab@redhat.com>
37001 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37004 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37007 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37008 register in order to avoid conflicts with the soft frame pointer
37009 being held in r11 when necessary.
37010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37011 (INTERNAL_VSYSCALL_NCS): Likewise.
37013 2011-07-14 Marek Polacek <mpolacek@redhat.com>
37015 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37016 * elf/dl-fini.c (_dl_fini): Adjust caller.
37017 * elf/dl-close.c (_dl_close_worker): Likewise.
37018 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37020 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37022 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37023 "aux_cache->nlibs < 0".
37025 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37026 in the reload-count case.
37028 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37031 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37032 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37033 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37034 * sysdeps/x86_64/multiarch/strcat.S: New file.
37035 * sysdeps/x86_64/multiarch/strncat.S: New file.
37036 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37037 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37038 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37039 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37041 (USE_AS_STRCAT): Define.
37042 Add strcat and strncat support.
37043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37044 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37045 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37046 * string/strncat.c: Update.
37047 (USE_AS_STRNCAT): Define.
37048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37049 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37051 * sysdeps/x86_64/multiarch/init-arch.h
37052 (bit_Prefer_PMINUB_for_stringop): New.
37053 (index_Prefer_PMINUB_for_stringop): Likewise.
37054 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37055 bit_Prefer_PMINUB_for_stringop.
37057 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37059 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37061 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37062 of casting of buffer.
37063 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37064 buffer32 and buffer64.
37065 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37066 writes instead of casting of buffer.
37067 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37069 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37072 2011-07-19 Andreas Schwab <schwab@redhat.com>
37074 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37076 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37078 * nscd/nscd.c (termination_handler): Don't do anything for a database
37079 if it has not yet been initialized.
37081 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37083 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37085 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37087 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37089 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37091 * po/nl.po: Update from translation team.
37092 * po/sv.po: Likewise.
37094 2011-07-16 Roland McGrath <roland@hack.frob.com>
37096 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37097 now disallowed by GCC.
37099 * configure.in (use-default-link): Default to yes if a test -shared
37100 link meets our qualifications.
37101 * configure: Regenerated.
37103 * config.make.in (output-format): New variable.
37104 * configure.in: Check for ld --print-output-format support.
37105 * configure: Regenerated.
37106 * Makerules ($(common-objpfx)format.lds)
37107 [$(output-format) != unknown]: Just use $(output-format),
37108 instead of the linker-script munging.
37110 2011-07-14 Roland McGrath <roland@hack.frob.com>
37112 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37113 of $(common-objpfx)shlib.lds.
37114 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37116 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37117 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37119 * configure.in (-z relro check): Adjust test code to add a large
37120 writable data section after it.
37121 * configure: Regenerated.
37123 2011-07-11 Roland McGrath <roland@hack.frob.com>
37125 * configure.in (-z relro check): Fix test code to make the variable
37127 * configure: Regenerated.
37129 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37131 * nscd/nscd.h (struct traced_file): Define.
37132 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37133 elements. Add traced_files.
37134 (inotify_fd): Declare.
37135 (register_traced_file): Declare.
37136 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37137 (inotify_fd): Export.
37138 (resolv_conf_descr): Remove.
37139 (nscd_init): Move inotify descriptor creation to main.
37140 Don't register files for notification here.
37141 (register_traced_file): New function.
37142 (invalidate_cache): Don't use reset_res to determine whether to call
37143 res_init, go through the list of registered files.
37144 (main_loop_poll): The inotify descriptors are now stored in the
37145 structures for the traced files.
37146 (main_loop_epoll): Likewise
37147 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37148 to __nss_disable_nscd.
37149 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37150 for a database anymore. Check the records for all the registered
37152 * nss/Makefile (libnss_files-routines): Add files-init.
37153 (libnss_db-routines): Add db-init.
37154 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37155 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37156 * nss/nss_db/db-init.c: New file.
37157 * nss/nss_files/files-init.c: New file.
37158 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37159 __nss_lookup_function.
37160 (__nss_lookup_function): Call nss_load_library.
37161 (nss_load_all_libraries): New function.
37162 (__nss_disable_nscd): Take parameter with callback function for files
37163 to register. Set is_nscd. Load all the DSOs for the NSS modules
37164 used for the cached services.
37165 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37166 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37167 options for features to all the files in nscd.
37169 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37171 2011-07-10 Roland McGrath <roland@hack.frob.com>
37173 * csu/elf-init.c (__libc_csu_init): Comment typo.
37175 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37177 * po/pl.po: Update from translation team.
37178 * po/ja.po: Likewise.
37179 * po/ru.po: Likewise.
37180 * po/ko.po: Likewise.
37181 * po/fr.po: Likewise.
37183 2011-07-09 Roland McGrath <roland@hack.frob.com>
37185 * configure.in (.ctors/.dtors header and trailer check):
37186 Use an empirical test on a built program.
37187 * configure: Regenerated.
37189 * configure.in (-z relro check): Use an empirical test on a built DSO.
37190 Detect, but do not require, on ia64.
37191 * configure: Regenerated.
37193 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37194 Update tests that use readelf to use $READELF instead.
37195 * configure: Regenerated.
37197 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37199 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37200 if the result is not used.
37202 2011-07-05 Andreas Jaeger <aj@suse.de>
37205 * stdlib/tst-strtod.c: Add testcase.
37207 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37209 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37210 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37211 The latter has a higher limit. Take additional parameter to pass to
37213 (__pathconf): Pass file to __statfs_link_max.
37214 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37216 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37220 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37224 (__statfs_filesize_max): Likewise.
37225 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37227 2011-07-05 Andreas Jaeger <aj@suse.de>
37229 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37231 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37233 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37235 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37238 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37240 * Makefile (strop-tests): Add strncat.
37241 * string/test-strncat.c: New file.
37243 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37245 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37247 2011-06-21 Andreas Jaeger <aj@suse.de>
37249 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37250 Copy rule from iconvdata/Makefile.
37252 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37255 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37256 but no long options are defined, just return 'W'.
37258 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37261 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37263 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37265 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37267 (innetgr): Likewise.
37269 2011-07-05 Roland McGrath <roland@hack.frob.com>
37271 * config.make.in (install_root): Default to $(DESTDIR).
37273 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37275 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37277 2011-07-02 Roland McGrath <roland@hack.frob.com>
37279 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37281 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37282 containing directory rather than embedding absolute directory names.
37284 * scripts/check-local-headers.sh: Rewritten using awk.
37285 Match by word, not by line. Print error messages for matches.
37286 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37288 * Makerules [shlib-lds-flags empty]:
37289 ($(common-objpfx)libc_pic.opts): New target.
37290 ($(common-objpfx)libc_pic.os.clean): New target.
37291 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37293 * config.make.in (OBJCOPY): New variable.
37294 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37295 * configure: Regenerated.
37297 * config.make.in (use-default-link): New variable.
37298 * configure.in (use_default_link): Grok --with-default-link to set it.
37299 * configure: Regenerated.
37300 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37301 (shlib-lds, shlib-lds-flags): Define to empty.
37303 * Makerules (shlib-lds): New variable.
37304 (shlib-lds-flags): New variable.
37305 (build-shlib, build-moduile, build-module-asneeded): Use it.
37306 ($(common-objpfx)libc.so): Use $(shlib-lds).
37307 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37308 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37310 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37311 DT_FLAGS/DT_FLAGS_1 with zero flags.
37313 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37314 linker script munging.
37316 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37318 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37320 * crypt/sha512.c (sha512_process_block): Perform total addition using
37321 128-bit if possible.
37322 (__sha512_finish_ctx): Likewise.
37323 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37325 * crypt/sha256.c (SWAP64): Define.
37326 (sha256_process_block): Perform total addition using 64-bit if
37328 (__sha256_finish_ctx): Likewise.
37330 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37332 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37334 * nscd/hstcache.c (cache_addhst): Likewise.
37335 * nscd/grpcache.c (cache_addgr): Likewise.
37336 * nscd/aicache.c (addhstaiX): Likewise
37337 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37339 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37341 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37343 * nscd/hstcache.c (cache_addhst): Likewise.
37344 * nscd/grpcache.c (cache_addgr): Likewise.
37345 * nscd/aicache.c (addhstaiX): Likewise
37347 2011-07-01 Andreas Schwab <schwab@redhat.com>
37349 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37350 domain only when needed.
37352 2011-06-30 Andreas Schwab <schwab@redhat.com>
37354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37355 is always restored.
37357 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37359 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37360 are re-adding the entry.
37361 * nscd/servicescache.c (cache_addserv): Likewise.
37363 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37365 * sysdeps/generic/dl-irel.h: fix protection against multiple
37367 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37369 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37372 * malloc/memusage.sh: Fix quoting in message.
37373 * debug/xtrace.sh: Likewise.
37375 * configure.in: Remove support for --experimental-malloc option, make
37377 * config.make.in: Likewise.
37378 * malloc/Makefile: Likewise.
37380 2011-06-27 Andreas Schwab <schwab@redhat.com>
37382 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37383 two-byte characters.
37385 2011-06-27 Roland McGrath <roland@hack.frob.com>
37387 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37388 AC_CACHE_CHECK invocation.
37389 * configure: Regenerated.
37391 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37393 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37396 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37397 bit from old_res_options.
37399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37401 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37402 value type for setfct.
37404 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37407 __gettimeofday instead of gettimeofday.
37409 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37411 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37413 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37417 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37420 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37423 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37424 strcpy-sse2-unaligned strncpy-sse2-unaligned
37425 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37426 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37427 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37428 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37429 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37432 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37433 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37434 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37435 (STRCPY): Support SSE2 and SSSE3 versions.
37437 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37440 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37441 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37442 kernels which artificially limit size of requests.
37444 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37447 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37448 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37449 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37450 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37451 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37452 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37453 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37456 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37457 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37458 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37459 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37460 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37462 Enable unaligned load optimization for Intel Core i3, i5 and i7
37464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37466 (index_Fast_Unaligned_Load): Define.
37467 (HAS_FAST_UNALIGNED_LOAD): Define.
37469 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37471 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37473 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37477 until it is clear that the information is realy needed.
37478 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37480 2011-06-22 Andreas Schwab <schwab@redhat.com>
37482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37484 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37487 /sys/devices/system/cpu/online if it is usable.
37489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37490 reading the information from the /proc filesystem to once a second.
37492 2011-06-21 Andreas Jaeger <aj@suse.de>
37494 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37495 NULL after inclusion of kernel headers.
37497 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37499 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37500 calls to internal_setent.
37503 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37504 addresses using gethostbyname4_r ignore IPv4 addresses.
37506 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37507 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37509 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37511 2011-06-20 David S. Miller <davem@davemloft.net>
37513 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37515 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37517 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37518 (elf_irel): Use it.
37519 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37520 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37521 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37522 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37523 * sysdeps/x86_64/dl-irel.h: Likewise.
37525 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37526 * elf/dl-sym.c: Likewise.
37528 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37530 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37531 need to dereference resplen2.
37533 2011-06-14 Andreas Schwab <schwab@redhat.com>
37535 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37537 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37539 * Makeconfig: Define vardbdir and inst_vardbdir.
37540 * nss/Makefile: Add rules to install db-Makefile.
37542 * nss/nss_db/db-XXX.c: Cleanup.
37544 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37545 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37547 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37548 * nss/makedb.c: Implement -g option to specify that value strings
37549 are generated and should not be added to table iterated over for
37551 * nss/nss_db/db-initgroups.c: New file.
37553 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37556 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37557 (internal_getgrouplist): Adjust to name change.
37558 Update use_initgroups_entry if this is not the first call.
37559 * nss/databases.def: Add initgroups entry.
37561 * nss/makedb.c (compute_tables): Check result of multiple hash table
37562 sizes to minimize maximum chain length.
37564 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37566 * Versions.def: Add entry for libnss_db.
37567 * shlib-versions: Likewise.
37568 * nss/Makefile: Add rules to build libnss_db.
37569 * nss/Versions: Add libnss_db information. Organize libnss_files
37571 * nss/db-Makefile: Add gshadow support. Change rules for the new
37572 makedb progra. Some minor improvements to generate smaller files.
37573 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37575 * nss/makedb.c: ...here.
37576 Improve database format to be smaller and require less memory at
37578 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37580 * nss/nss_db/db-netgrp.c: Likewise.
37581 * nss/nss_db/db-open.c: Likewise.
37582 * nss/nss_files/flies-XXX.x: Adjust comments.
37583 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37584 * nss/nss_files/files-grp.c: Likewise.
37585 * nss/nss_files/files-hosts.c: Likewise.
37586 * nss/nss_files/files-network.c: Likewise.
37587 * nss/nss_files/files-proto.c: Likewise.
37588 * nss/nss_files/files-pwd.c: Likewise.
37589 * nss/nss_files/files-rpc.c: Likewise.
37590 * nss/nss_files/files-service.c: Likewise.
37591 * nss/nss_files/files-sgrp.c: Likewise.
37592 * nss/nss_files/files-spwd.c: Likewise.
37593 * nss/nss_db/db-alias.c: Removed.
37594 * nss/nss_db/dummy-db.h: Removed.
37596 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37598 * nss/makedb.c: Rewritten to not use database library.
37599 * nss/Makefile: Update to build new makedb program.
37601 2011-06-14 Andreas Jaeger <aj@suse.de>
37603 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37604 memset declaration.
37606 2011-06-10 Andreas Schwab <schwab@redhat.com>
37608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37611 2011-06-10 Roland McGrath <roland@hack.frob.com>
37613 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37614 * elf/Makefile ($(objpfx)ld.so): Likewise.
37616 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37617 Don't list ld.so twice in dependencies.
37619 * posix/bug-regex31.c: Include <stdlib.h>.
37621 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37623 * nis/nss_compat/compat-spwd.c
37624 (getspent_next_nss_netgr): Remove unused variable.
37625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37627 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37628 nonmembers" output to use the right array.
37630 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37632 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37634 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37635 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37636 * catgets/gencat.c (read_input_file): Likewise.
37637 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37639 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37640 variable definition inside #if's controlling its use.
37642 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37644 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37646 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37648 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37651 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37653 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37654 * configure: Regenerated.
37656 * Makerules: Revert last change.
37657 * elf/Makefile: Likewise.
37659 2011-06-09 Roland McGrath <roland@hack.frob.com>
37661 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37662 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37663 (reloc-link): Likewise.
37665 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37667 * elf/Makefile: Add rules to build pldd.
37668 * elf/pldd.c: New file.
37669 * elf/pldd-xx.c: New file.
37671 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37673 * version.h: Update for 2.15 development version.
37675 2011-06-07 David S. Miller <davem@davemloft.net>
37677 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37680 elf_machine_lazy_rel): Likewise.
37681 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37683 elf_machine_lazy_rel): Likewise.
37684 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37685 dl_hwcap via passed in argument.
37686 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37689 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37691 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37693 2011-06-06 Roland McGrath <roland@hack.frob.com>
37696 * manual/fdl-1.1.texi: New file, verbatim from:
37697 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37698 * manual/lgpl-2.1.texi: New file, verbatim from:
37699 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37700 * manual/Makefile (licenses): New variable, list those new file names.
37702 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37704 * manual/fdl.texi: File removed.
37705 * manual/lesser.texi: File removed.
37706 * manual/libc.texinfo (Copying, Documentation License):
37707 Use new @include file names, put @appendix directive before @include.
37709 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37712 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37713 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37714 (mq_open): Add __NTH.
37716 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37719 Assume Intel Core i3/i5/i7 processor if AVX is available.
37721 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37726 2011-05-31 Andreas Schwab <schwab@redhat.com>
37728 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37729 memory. Use alloca_account. Fix memory leak when retrying.
37731 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37733 * version.h (RELEASE): Bump for 2.14 release.
37734 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37736 * config.make.in (RANLIB): Remove entry.
37738 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37740 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37741 (libc.pot): Work around missing support for .ksh extension in xgettext.
37744 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37745 if both request failed.
37746 (send_dg): In case of server errors clear resplen or *resplen2.
37749 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37750 when there are multiple maps.
37751 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37752 (_dl_fini): Remove test here.
37754 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37756 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37759 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37760 bit from old_res_options.
37761 (gaih_inet): Likewise.
37764 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37767 * resolv/res_init.c (res_setoptions): Make the code more compact.
37770 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37774 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37776 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37779 * malloc/malloc.h: Declare malloc hook variables as volatile.
37781 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37785 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37786 raise in the comment.
37787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37789 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37791 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37794 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37795 grow the buffers more if it already has to be sufficient.
37796 (build_wcs_upper_buffer): Likewise.
37797 * posix/regexec.c (check_matching): Likewise.
37798 (clean_state_log_if_needed): Likewise.
37799 (extend_buffers): Don't enlarge buffers beyond size of the input
37801 Patches mostly by Emil Wojak <emil@wojak.eu>.
37802 * posix/bug-regex32.c: New file.
37803 * posix/Makefile (tests): Add bug-regex32.
37805 * locale/findlocale.c (_nl_find_locale): Return right away if
37806 _nl_explode_name failed.
37807 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37809 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37811 * debug/xtrace.sh: Unify messages.
37812 * malloc/memusage.sh: Likewise.
37815 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37816 time symbol from vDSO. Substitute with vsyscall if not available.
37817 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37820 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37821 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37822 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37823 Add sendmmsg and internal_sendmmsg.
37824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37825 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37828 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37829 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37832 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37836 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37842 * iconvdata/Makefile (tests): Add bug-iconv9.
37843 * iconvdata/bug-iconv9.c: New file.
37845 2011-05-27 Andreas Schwab <schwab@redhat.com>
37848 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37850 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37853 (struct user_regs_struct): Change intcs field back to cs.
37855 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37857 * po/ja.po: Update from translation team.
37859 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37862 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37863 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37865 2011-05-20 Andreas Schwab <schwab@redhat.com>
37867 * stdlib/longlong.h: Update from GCC.
37869 2011-05-23 Andreas Schwab <schwab@redhat.com>
37871 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37873 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37874 Add parameter name.
37875 (__sysconf): Pass it down.
37877 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37880 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37883 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37884 add in in __libc_use_alloca calls. Adjust callers.
37885 (glob): Use malloc in some situations.
37887 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37888 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37891 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37893 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37894 and CLOCK_BOOTTIME_ALARM.
37897 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37900 * string/_strerror.c (__strerror_r): Print negative errors as signed
37904 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37905 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37906 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37908 * configure.in: Fix typo in redirection and correct removal of test
37909 files in two cases.
37912 * locale/setlocale.c (new_composite_name): Fix test to check for
37913 identical name of all categories.
37916 * libio/filedoalloc.c (local_isatty): New function.
37917 (_IO_file_doallocate): Use local_isatty.
37918 * stdio-common/perror.c (perror): In case a new stream is used
37919 forward the stream error.
37920 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37923 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37928 * include/alloca.h (extend_alloca_account): Define.
37931 * posix/regex.h: Fix comments with documentation of user-accessible
37932 fields after compilation and describe correct free'ing of pattern
37933 after re_compile_pattern.
37934 Patch by Reuben Thomas <rrt@sc3d.org>.
37936 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37938 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37939 and -mno-altivec to prevent the compiler from using Altivec and/or
37940 VSX instructions when the corresponding registers are not available.
37942 2011-05-19 Andreas Schwab <schwab@redhat.com>
37944 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37946 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37948 * libio/freopen.c (freopen): Use __dup2, not dup2.
37949 * libio/freopen64.c (freopen64): Likewise.
37951 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37954 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37955 * math/Makefile (tests): Add test-powl.
37956 (CFLAGS-test-powl.c): Define.
37957 * math/test-powl.c: New file.
37959 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37961 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37963 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37966 * iconvdata/gb18030.c: Update to GB18020-2005.
37968 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37970 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37971 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37972 Patch by Aharon Robbins <arnold@skeeve.com>.
37975 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37979 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37980 through underflows.
37983 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37984 point to strings before performing equality test for error_one_per_line
37988 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37992 (struct user_fpregs_struct): Avoid __uint*_t types.
37995 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37996 symbol info. Use it instead of calling _dl_addr locally.
37997 (lock_and_info): New function.
37998 (tr_freehook): Call lock_and_info and pass symbol info as additional
37999 parameter to tr_where.
38000 (tr_mallochook): Likewise.
38001 (tr_reallochook): Likewise.
38002 (tr_memalignhook): Likewise.
38004 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38005 used and couldn't be at all thread-safe.
38007 2011-05-15 Ulrich Drepper <drepper@gmail.com>
38009 * libio/freopen.c (freopen): Don't close old file descriptor
38010 before the new one is opened. Instead dup the new file descriptor
38011 to the old one after the new stream is created.
38012 * libio/freopen64.c (freopen64): Likewise.
38013 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38014 * libio/fileops.c (_IO_new_file_close_it): Handle new
38015 _IO_FLAGS2_NOCLOSE flag.
38016 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38017 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38018 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38019 _IO_FLAGS2_NOCLOSE flag.
38020 * include/unistd.h: Add hidden_proto for dup3.
38021 Define __have_dup3.
38022 * io/dup3.c: Define hidden symbol.
38023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38026 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38027 when an incomplete long option is used.
38028 * posix/tst-getopt_long1.c: New file.
38029 * posix/Makefile (tests): Add tst-getopt_long1.
38032 * scripts/config.guess: Update from autoconf-2.68.
38033 * scripts/config.sub: Likewise.
38036 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38038 (has_cpuclock): ...this. New function.
38039 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38040 macro here based on has_cpuclock code.
38043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38044 First byte (not low byte) is now always NUL.
38045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38048 Use non-cancelable interfaces.
38051 * locale/iso-639.def: Add entry for Sorani.
38054 * include/stdlib.h: Move include protection to the right place.
38055 Define abort_msg_s. Declare __abort_msg with it.
38056 * stdlib/abort.c (__abort_msg): Adjust type.
38057 * assert/assert.c (__assert_fail_base): New function. Majority
38058 of code from __assert_fail. Allocate memory for __abort_msg with
38060 (__assert_fail): Now call __assert_fail_base.
38061 * assert/assert-perr.c: Remove bulk of implementation. Use
38062 __assert_fail_base.
38063 * include/assert.hL Declare __assert_fail_base.
38064 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38066 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38068 2011-05-14 Ulrich Drepper <drepper@gmail.com>
38072 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38073 until all modules are registered in the DTV.
38074 * elf/Makefile: Add rules to build and run tst-tls19.
38075 * elf/tst-tls19.c: New file.
38076 * elf/tst-tls19mod1.c: New file.
38077 * elf/tst-tls19mod2.c: New file.
38078 * elf/tst-tls19mod3.c: New file.
38079 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38082 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38086 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38087 two-byte sequence errors.
38088 * iconvdata/Makefile (tests): Add bug-iconv8.
38089 * iconvdata/bug-iconv8.c: New file.
38092 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38095 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38098 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38099 (dummy_getcfa): New function.
38100 (init): Get _Unwind_GetCFA address, use dummy if not found.
38101 (backtrace_helper): In recursion check, also check whether CFA changes.
38102 (__backtrace): Completely initialize arg.
38104 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38105 storing incomplete byte sequence in state object. Avoid testing for
38106 guaranteed too small input if we know there is enough data available.
38108 2011-05-11 Andreas Schwab <schwab@redhat.com>
38110 * Makeconfig (+link-pie): Indent.
38111 * Rules (binaries-pie): Define if $(have-fpie) and
38113 (binaries-shared): Also filter out $(binaries-pie).
38114 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38115 * nscd/Makefile (others-pie): Add nscd.
38116 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38117 ($(objpfx)nscd): Remove command override.
38118 * login/Makefile (others-pie): Add pt_chown.
38119 ($(objpfx)pt_chown): Remove command override.
38120 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38121 remove command overrides.
38123 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38125 * libio/tst_putwc.c: Fix error messages.
38128 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38129 currently writing and seek to current position when not.
38130 * libio/Makefile (tests): Add bug-fclose1.
38131 * libio/bug-fclose1.c: New file.
38133 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38136 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38137 don't set DF_1_NODELETE here.
38138 (do_lookup_x): When entering new entry test for copy relocation
38139 and if necessary set DF_1_NODELETE flag.
38140 * elf/tst-unique4.cc: New file.
38141 * elf/tst-unique4.h: New file.
38142 * elf/tst-unique4lib.cc: New file.
38143 * elf/Makefile: Add rules to build and run tst-unique4.
38144 Patch by Piotr Bury <pbury@goahead.com>.
38146 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38149 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38152 * misc/mntent_r.c (addmntent): Flush the stream after the output
38155 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38156 (is_trusted_path_normalize): Skip initial colon. Append slash
38157 to empty buffer. Duplicate is_trusted_path code but allow
38158 constructed patch to be prefix.
38159 (is_dst): Allow $ORIGIN followed by /.
38160 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38161 Correct testing of result of is_trusted_path_normalize
38162 (decompose_rpath): Fix warning.
38164 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38167 * grp/initgroups.c (internal_getgrouplist): When we found the service
38168 list through the initgroups entry in nsswitch.conf do not always
38169 continue on a successful lookup. Don't always use the
38170 __nss_group_database value if it is set.
38171 * nss/nsswitch.conf (initgroups): Change action for successful db
38172 lookup to continue for compatibility.
38174 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38177 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38179 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38181 * iconvdata/tst-tables.sh: Likewise.
38182 * iconvdata/cp770.c: New file.
38183 * iconvdata/cp771.c: New file.
38184 * iconvdata/cp772.c: New file.
38185 * iconvdata/cp773.c: New file.
38186 * iconvdata/cp774.c: New file.
38187 * iconvdata/testdata/CP770: New file.
38188 * iconvdata/testdata/CP770..UTF8: New file.
38189 * iconvdata/testdata/CP771: New file.
38190 * iconvdata/testdata/CP771..UTF8: New file.
38191 * iconvdata/testdata/CP772: New file.
38192 * iconvdata/testdata/CP772..UTF8: New file.
38193 * iconvdata/testdata/CP773: New file.
38194 * iconvdata/testdata/CP773..UTF8: New file.
38195 * iconvdata/testdata/CP774: New file.
38196 * iconvdata/testdata/CP774..UTF8: New file.
38198 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38200 * iconvdata/gen-8bit-gap.sh: Likewise.
38201 * iconvdata/gen-8bit.sh: Likewise.
38203 * locale/iso-639.def: Add ary entry.
38206 * locale/C-translit.h.in: Add U20A1 transliteration.
38209 * locale/iso-639.def: Add wae entry.
38210 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38213 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38217 * locale/C-translit.h.in: Add entry for U20B9.
38218 Patch by pravin.d.s@gmail.com.
38220 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38223 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38224 ENAMETOOLONG use generic getcwd.
38225 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38226 in rtld. Use *stat64.
38227 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38228 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38229 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38230 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38231 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38232 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38233 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38234 __fstatat64 macros.
38235 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38236 * dirent/rewinddir.c: Add libc_hidden_def.
38237 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38238 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38240 * include/dirent.h (__alloc_dir): Add flags parameter.
38241 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38242 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38244 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38245 from fdopendir if O_CLOEXEC is already set.
38247 2011-03-15 Alan Modra <amodra@gmail.com>
38249 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38250 l_tls_firstbyte_offset non-zero. Save padding offset in
38251 l_tls_firstbyte_offset for later use.
38252 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38253 freeing static tls block.
38255 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38257 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38258 where #ifdef was intended. The intent is to prevent ARG_MAX from
38259 being defined by the kernel headers.
38261 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38264 * resolv/resolv.h: Define RES_NOTLDQUERY.
38265 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38266 no-tld-query and set RES_NOTLDQUERY.
38267 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38268 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38269 modern BIND to search name as TLD unless forbidden.
38271 2011-05-07 Petr Baudis <pasky@suse.cz>
38272 Ulrich Drepper <drepper@gmail.com>
38275 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38276 (is_trusted_path): ...to here.
38277 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38278 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38279 using is_trusted_path_normalize() in setuid scripts.
38281 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38283 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38284 __BEGIN/__END_DECLS.
38286 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38289 NSS_STATUS_NOTFOUND if no record was found.
38291 2011-05-05 Andreas Schwab <schwab@redhat.com>
38293 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38294 (headers-not-in-tirpc): Remove rpc/netdb.h
38295 * resolv/netdb.h: Revert last change.
38297 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38299 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38300 circular dependency between libgcc.a and libc.a.
38302 2011-05-05 Andreas Schwab <schwab@redhat.com>
38304 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38305 * nis/Makefile: Don't install rpcsvc/*.
38306 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38307 instead of <rpc/types.h>.
38308 (MAXHOSTNAMELEN): Define.
38310 2011-05-03 Andreas Schwab <schwab@redhat.com>
38312 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38314 2011-04-28 Maciej Babinski <mbabinski@google.com>
38317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38318 gethostbyname4_r when IPv6 results are possible.
38320 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38323 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38324 _PC_PIPE_BUF handling.
38326 2011-04-30 Bruno Haible <bruno@clisp.org>
38329 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38330 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38332 * inet/getnameinfo.c (getnameinfo): Likewise.
38334 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38336 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38337 to groups setting in database lookup.
38338 * nss/nsswitch.conf: Add initgroups entry.
38340 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38343 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38345 Patch by Eric Blake <eblake@redhat.com>.
38347 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38349 * sunrpc/Makefile (need-export-routines): Add svc_run.
38350 (routines): Remove svc_run.
38351 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38352 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38353 * sunrpc/svc_run.c (svc_run): Likewise.
38354 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38356 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38358 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38359 problem in reallocation in last patch.
38361 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38363 * sunrpc/Makefile: Move inclusion of Rules.
38365 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38367 * nss/nss_files/files-initgroups.c: New file.
38368 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38369 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38370 _nss_files_initgroups_dyn.
38372 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38374 * elf/elf.h (R_ARM_IRELATIVE): Define.
38376 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38378 * po/ru.po: Update from translation team.
38380 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38382 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38385 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38388 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38389 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38394 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38396 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38398 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38402 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38405 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38407 * stdlib/bug-getcontext.c: New file.
38408 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38410 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38412 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38413 instructions into .machine "z9-109".
38414 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38415 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38417 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38419 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38420 between environment variables and auxiliary vector.
38422 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38424 * Makefile: Add rules to build linkobj/libc.so.
38425 * include/libc-symbols.h: Define libc_hidden_nolink.
38426 * include/rpc/auth.h: Mark functions which are to be hidden.
38427 * include/rpc/auth_des.h: Likewise.
38428 * include/rpc/auth_unix.h: Likewise.
38429 * include/rpc/clnt.h: Likewise.
38430 * include/rpc/des_crypt.h: Likewise.
38431 * include/rpc/key_prot.h: Likewise.
38432 * include/rpc/pmap_clnt.h: Likewise.
38433 * include/rpc/pmap_prot.h: Likewise.
38434 * include/rpc/pmap_rmt.h: Likewise.
38435 * include/rpc/rpc_msg.h: Likewise.
38436 * include/rpc/svc.h: Likewise.
38437 * include/rpc/svc_auth.h: Likewise.
38438 * include/rpc/xdr.h: Likewise.
38439 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38440 * nss/Makefile: Likewise.
38441 * sunrpc/Makefile: Don't install headers. Build library with normal
38442 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38443 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38444 for the compat linking library. Remove use of INTDEF/INTUSE.
38445 * sunrpc/auth_none.c: Likewise.
38446 * sunrpc/auth_unix.c: Likewise.
38447 * sunrpc/authdes_prot.c: Likewise.
38448 * sunrpc/authuxprot.c: Likewise.
38449 * sunrpc/clnt_gen.c: Likewise.
38450 * sunrpc/clnt_perr.c: Likewise.
38451 * sunrpc/clnt_raw.c: Likewise.
38452 * sunrpc/clnt_simp.c: Likewise.
38453 * sunrpc/clnt_tcp.c: Likewise.
38454 * sunrpc/clnt_udp.c: Likewise.
38455 * sunrpc/clnt_unix.c: Likewise.
38456 * sunrpc/des_crypt.c: Likewise.
38457 * sunrpc/des_soft.c: Likewise.
38458 * sunrpc/get_myaddr.c: Likewise.
38459 * sunrpc/key_call.c: Likewise.
38460 * sunrpc/key_prot.c: Likewise.
38461 * sunrpc/netname.c: Likewise.
38462 * sunrpc/pm_getmaps.c: Likewise.
38463 * sunrpc/pm_getport.c: Likewise.
38464 * sunrpc/pmap_clnt.c: Likewise.
38465 * sunrpc/pmap_prot.c: Likewise.
38466 * sunrpc/pmap_prot2.c: Likewise.
38467 * sunrpc/pmap_rmt.c: Likewise.
38468 * sunrpc/publickey.c: Likewise.
38469 * sunrpc/rpc_cmsg.c: Likewise.
38470 * sunrpc/rpc_common.c: Likewise.
38471 * sunrpc/rpc_dtable.c: Likewise.
38472 * sunrpc/rpc_prot.c: Likewise.
38473 * sunrpc/rpc_thread.c: Likewise.
38474 * sunrpc/rtime.c: Likewise.
38475 * sunrpc/svc.c: Likewise.
38476 * sunrpc/svc_auth.c: Likewise.
38477 * sunrpc/svc_authux.c: Likewise.
38478 * sunrpc/svc_raw.c: Likewise.
38479 * sunrpc/svc_run.c: Likewise.
38480 * sunrpc/svc_simple.c: Likewise.
38481 * sunrpc/svc_tcp.c: Likewise.
38482 * sunrpc/svc_udp.c: Likewise.
38483 * sunrpc/svc_unix.c: Likewise.
38484 * sunrpc/svcauth_des.c: Likewise.
38485 * sunrpc/xcrypt.c: Likewise.
38486 * sunrpc/xdr.c: Likewise.
38487 * sunrpc/xdr_array.c: Likewise.
38488 * sunrpc/xdr_float.c: Likewise.
38489 * sunrpc/xdr_intXX_t.c: Likewise.
38490 * sunrpc/xdr_mem.c: Likewise.
38491 * sunrpc/xdr_rec.c: Likewise.
38492 * sunrpc/xdr_ref.c: Likewise.
38493 * sunrpc/xdr_sizeof.c: Likewise.
38494 * sunrpc/xdr_stdio.c: Likewise.
38496 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38499 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38500 * sysdeps/ia64/dl-tls.h: Likewise.
38501 * sysdeps/powerpc/dl-tls.h: Likewise.
38502 * sysdeps/s390/dl-tls.h: Likewise.
38503 * sysdeps/sh/dl-tls.h: Likewise.
38504 * sysdeps/sparc/dl-tls.h: Likewise.
38505 * sysdeps/x86_64/dl-tls.h: Likewise.
38506 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38508 2011-03-14 Andreas Schwab <schwab@redhat.com>
38510 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38511 rpath element also skip the following colon.
38512 (expand_dynamic_string_token): Add is_path parameter and pass
38513 down to DL_DST_REQUIRED and _dl_dst_substitute.
38514 (decompose_rpath): Call expand_dynamic_string_token with
38515 non-zero is_path. Ignore empty rpaths.
38516 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38519 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38524 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38527 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38528 Patch by Filipe David Manana <fdmanana@apache.org>.
38530 2011-04-07 Andreas Schwab <schwab@redhat.com>
38532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38533 Maintain aligned stack.
38534 (CHECK_RSP): Remove unused macro.
38536 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38538 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38539 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38541 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38543 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38545 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38547 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38550 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38551 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38552 * sysdeps/x86_64/memmove.c: New file.
38553 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38554 (memcpy): Renamed to ...
38555 (__new_memcpy): This.
38556 (memcpy): Provide GLIBC_2_14 memcpy.
38557 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38558 (memcpy): Provide GLIBC_2_2_5 memcpy.
38560 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38563 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38565 2011-03-30 Andreas Schwab <schwab@redhat.com>
38567 * misc/syncfs.c: New file.
38568 * misc/Makefile (routines): Add syncfs.
38569 * posix/unistd.h: Declare syncfs.
38570 * sysdeps/unix/syscalls.list: Add syncfs.
38572 2011-04-01 Andreas Schwab <schwab@redhat.com>
38574 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38579 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38580 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38581 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38584 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38594 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38595 sync_file_range.c with -fexceptions.
38596 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38597 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38598 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38599 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38600 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38601 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38603 sync_file_range as cancellation point
38604 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38605 now a wrapper around __call_sync_file_range with cancellation handling.
38606 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38607 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38608 function name to __call_sync_file_range.
38609 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38610 Add call_sync_file_range.
38612 2011-04-01 Andreas Schwab <schwab@redhat.com>
38614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38617 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38619 * iconv/iconv.h: Fix typo in comment.
38620 * io/fcntl.h: Likewise.
38621 * libio/stdio.h: Likewise.
38622 * posix/spawn.h: Likewise.
38623 * posix/unistd.h: Likewise.
38624 * stdlib/stdlib.h: Likewise.
38625 * time/time.h: Likewise.
38626 * wcsmbs/wchar.h: Likewise.
38628 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38629 open_by_handle): Add.
38630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38631 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38632 Augment a few comments.
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/x86_64/bits/fcntl.h: Likewise.
38638 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38641 * io/fcntl.h (AT_EMPTY_PATH): Define.
38643 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38645 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38646 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38647 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38649 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38650 * Versions.def: Add GLIBC_2.14.
38651 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38654 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38656 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38658 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38660 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38663 * string/test-strncmp.c (do_page_test): New function.
38664 (check2): Likewise.
38665 (test_main): Call check2.
38666 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38668 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38671 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38672 Handle cache information in CPU leaf 4.
38673 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38675 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38678 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38679 character representation.
38680 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38682 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38684 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38685 END(__isnan) to END(__isnanf) to match function entry point/label
38686 EALIGN(__isnanf,...).
38688 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38690 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38692 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38695 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38696 copy from the symbol referenced in the relocation to initialize the
38698 Patch by Piotr Bury <pbury@goahead.com>.
38699 * elf/Makefile: Add rules to build and tst-unique3.
38700 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38701 * elf/tst-unique3.cc: New file.
38702 * elf/tst-unique3.h: New file.
38703 * elf/tst-unique3lib.cc: New file.
38704 * elf/tst-unique3lib2.cc: New file.
38706 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38708 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38710 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38711 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38714 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38716 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38717 to-be-loaded object along a path to loader is ld.so.
38719 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38720 Ulrich Drepper <drepper@gmail.com>
38722 * sysdeps/x86_64/memset.S: After aligning destination, code
38723 branches to different locations depending on the value of
38724 misalignment, when multiarch is enabled. Fix this.
38726 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38728 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38729 Set _x86_64_preferred_memory_instruction for AMD processsors.
38730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38731 Set bit_Prefer_SSE_for_memop for AMD processors.
38733 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38735 * libio/fmemopen.c (fmemopen): Optimize a bit.
38737 2011-03-03 Andreas Schwab <schwab@redhat.com>
38739 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38741 2011-03-03 Roland McGrath <roland@redhat.com>
38743 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38745 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38747 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38748 __bzero_ultra1 instead of __memset_ultra1.
38750 2011-02-23 Andreas Schwab <schwab@redhat.com>
38751 Ulrich Drepper <drepper@gmail.com>
38754 * include/link.h (struct link_map): Add l_orig_initfini.
38755 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38756 returning unsuccessfully.
38757 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38758 close of a file loaded at startup, restore the original l_initfini
38760 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38761 list, store the pointer.
38762 * elf/Makefile ($(objpfx)noload-mem): New rule.
38763 (noload-ENV): Define.
38764 (tests): Add $(objpfx)noload-mem.
38765 * elf/noload.c: Include <memcheck.h>.
38766 (main): Call mtrace. Close all opened handles.
38768 2011-02-17 Andreas Schwab <schwab@redhat.com>
38771 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38772 dependencies are missing.
38774 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38776 Fix __if_freereq crash: Unlike the generic version which uses free,
38778 * sysdeps/mach/hurd/ifreq.h: New file.
38780 2011-01-27 Petr Baudis <pasky@suse.cz>
38781 Ulrich Drepper <drepper@gmail.com>
38784 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38785 to extend_alloca().
38786 * stdio-common/bug23.c: New file.
38787 * stdio-common/Makefile (tests): Add bug23.
38789 2010-09-28 Andreas Schwab <schwab@redhat.com>
38790 Ulrich Drepper <drepper@gmail.com>
38793 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38794 before performing relro protection. At old place add assertion
38795 to make sure nothing changed.
38797 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38798 Glauber de Oliveira Costa <glommer@gmail.com>
38800 * elf/elf.h: Add new ARM TLS relocs.
38802 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38805 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38807 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38809 * sysdeps/wordsize-64/tst-writev.c: New file.
38811 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38813 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38814 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38815 insns in _dl_start to prevent a TOC reference before relocs are
38818 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38821 * Makeconfig: Remove RANLIB definition.
38822 * Makerules: Don't use RANLIB.
38823 * aclocal.m4: Remove ranlib test.
38824 * configure.in: No need to check for ranlib.
38825 * elf/rtld-Rules: Don't use RANLIB.
38827 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38829 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38831 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38832 inclusion protection macro.
38834 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38835 SIGRTMIN and SIGRTMAX and print information in that case only when
38836 SIGRTMIN is defined.
38838 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38840 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38841 arginfo fn returning -1.
38843 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38844 and thousands string is zero terminated.
38846 2011-02-03 Andreas Schwab <schwab@redhat.com>
38848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38849 sysdeps/unix/sysv/linux/bits/socket.h.
38851 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38853 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38854 (__CPU_COUNT): Remove old macros.
38855 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38856 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38857 (__CPU_ALLOC, __CPU_FREE): Add macros.
38858 (__sched_cpualloc, __sched_cpufree): Add declarations.
38860 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38862 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38863 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38864 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38865 (readdhstai): Return value of addhstaiX call.
38866 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38867 (addgrbyX): Return value returned by cache_addgr.
38868 (readdgrbyname): Return value returned by addgrbyX.
38869 (readdgrbygid): Likewise.
38870 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38871 (addpwbyX): Return value returned by cache_addpw.
38872 (readdpwbyname): Return value returned by addhstbyX.
38873 (readdpwbyuid): Likewise.
38874 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38875 (addservbyX): Return value returned by cache_addserv.
38876 (readdservbyname): Return value returned by addservbyX:
38877 (readdservbyport): Likewise.
38878 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38879 (addhstbyX): Return value returned by cache_addhst.
38880 (readdhstbyname): Return value returned by addhstbyX.
38881 (readdhstbyaddr): Likewise.
38882 (readdhstbynamev6): Likewise.
38883 (readdhstbyaddrv6): Likewise.
38884 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38885 (readdinitgroups): Return value returned by addinitgroupsX.
38886 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38887 (prune_cache): Keep track of timeout value of re-added entries.
38888 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38889 * nscd/nscd.h: Adjust prototypes of readd* functions.
38891 2011-02-04 Roland McGrath <roland@redhat.com>
38893 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38894 (nis_stats): Likewise.
38895 * nis/nis_modify.c (nis_modify): Likewise.
38896 * nis/nis_remove.c (nis_remove): Likewise.
38897 * nis/nis_add.c (nis_add): Likewise.
38899 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38901 * posix/fnmatch_loop.c: Add some consts.
38903 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38905 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38908 * config.make.in (config-cflags-novzeroupper): Define.
38909 * configure.in: Substitute libc_cv_cc_novzeroupper.
38910 * elf/Makefile (AVX-CFLAGS): Define.
38911 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38912 (CFLAGS-tst-auditmod4a.c): Likewise.
38913 (CFLAGS-tst-auditmod4b.c): Likewise.
38914 (CFLAGS-tst-auditmod6b.c): Likewise.
38915 (CFLAGS-tst-auditmod6c.c): Likewise.
38916 (CFLAGS-tst-auditmod7b.c): Likewise.
38917 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38919 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38921 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38922 function to the callback.
38923 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38925 2011-02-02 Andreas Schwab <schwab@redhat.com>
38927 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38930 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38933 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38935 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38937 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38940 * elf/Makefile: Add rules to build and run new test.
38941 * elf/tst-initorder.c: New file.
38942 * elf/tst-initorder.exp: New file.
38943 * elf/tst-initordera1.c: New file.
38944 * elf/tst-initordera2.c: New file.
38945 * elf/tst-initordera3.c: New file.
38946 * elf/tst-initordera4.c: New file.
38947 * elf/tst-initorderb1.c: New file.
38948 * elf/tst-initorderb2.c: New file.
38949 * elf/tst-order-a1.c: New file.
38950 * elf/tst-order-a2.c: New file.
38951 * elf/tst-order-a3.c: New file.
38952 * elf/tst-order-a4.c: New file.
38953 * elf/tst-order-b1.c: New file.
38954 * elf/tst-order-b2.c: New file.
38955 * elf/tst-order-main.c: New file.
38956 New test case by George Gensure <werkt0@gmail.com>.
38958 2010-10-01 Andreas Schwab <schwab@redhat.com>
38960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38961 decoding ACE if AI_CANONIDN.
38963 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38965 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38967 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38969 * version.h (RELEASE): Bump for 2.13 release.
38970 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38972 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38974 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38976 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38977 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38978 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38980 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38983 * posix/getconf.c: Update copyright year.
38984 * catgets/gencat.c: Likewise.
38985 * csu/version.c: Likewise.
38986 * debug/catchsegv.sh: Likewise.
38987 * debug/xtrace.sh: Likewise.
38988 * elf/ldconfig.c: Likewise.
38989 * elf/ldd.bash.in: Likewise.
38990 * elf/sprof.c (print_version): Likewise.
38991 * iconv/iconv_prog.c: Likewise.
38992 * iconv/iconvconfig.c: Likewise.
38993 * locale/programs/locale.c: Likewise.
38994 * locale/programs/localedef.c: Likewise.
38995 * malloc/memusage.sh: Likewise.
38996 * malloc/mtrace.pl: Likewise.
38997 * nscd/nscd.c (print_version): Likewise.
38998 * nss/getent.c: Likewise.
39000 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39001 PF_CAIF, and PF_ALG.
39002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39004 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39006 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39007 (modules-names): Use them.
39008 (ifunc-test-modules, ifunc-pie-tests): Define.
39009 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39010 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39011 (test-extras): Likewise.
39012 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39013 $(compile-command.c).
39014 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39015 (all-built-dso): Define.
39016 (check-textrel.out, check-execstack.out): Depend on it.
39018 * configure.in: Don't override --enable-multi-arch.
39020 2011-01-15 Ulrich Drepper <drepper@gmail.com>
39023 * nscd/hstcache.c (tryagain): Define.
39024 (cache_addhst): Return tryagain not notfound for temporary errors.
39025 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39028 2011-01-14 Ulrich Drepper <drepper@gmail.com>
39031 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39032 to make the syscall.
39033 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39036 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39037 and fall back to matching as normal character if the string ends before
39038 the matching ']' is found. This is what POSIX requires.
39039 * posix/testfnm.c: Adjust test result.
39040 * posix/globtest.sh: Adjust test result. Add new test.
39041 * posix/tst-fnmatch.input: Likewise.
39042 * posix/tst-fnmatch2.c: Add new test.
39044 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39046 * elf/Makefile (check-execstack): Revert last change. Depend on
39048 (check-execstack.h): New target.
39049 (generated): Add check-execstack.h.
39050 * elf/check-execstack.c: Include "check-execstack.h".
39051 (main): Revert last change.
39052 (handle_file): Return zero if GNU_STACK is absent and
39053 DEFAULT_STACK_PERMS doesn't include PF_X.
39055 2011-01-13 Ulrich Drepper <drepper@gmail.com>
39057 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39058 in child fails because the descriptor is already closed.
39059 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39060 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39061 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39064 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39068 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39069 temporary buffer used to handle multi lookups locally.
39070 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39072 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39074 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39077 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39079 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39080 alignment for SSE2.
39082 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39085 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39086 characters. When rounding increased number of integer digits recompute
39088 * stdio-common/tst-grouping.c: New file.
39089 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39091 2011-01-09 Ulrich Drepper <drepper@gmail.com>
39093 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39094 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39096 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39098 * bits/select.h: Likewise.
39100 2011-01-08 Ulrich Drepper <drepper@gmail.com>
39102 * po/ja.po: Update from translation team.
39104 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39107 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39108 implementation just like for lxstat, fxstatat, et al.
39110 2010-12-27 Jim Meyering <meyering@redhat.com>
39113 * posix/regexec.c (build_trtable): Return failure indication upon
39114 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39116 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39119 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39120 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39121 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39122 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39125 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39128 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39129 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39131 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39133 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39134 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39135 script has SORT_BY_INIT_PRIORITY.
39136 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39137 NO_CTORS_DTORS_SECTIONS is defined.
39138 * elf/soinit.c: Likewise.
39139 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39140 NO_CTORS_DTORS_SECTIONS is defined.
39141 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39142 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39143 * sysdeps/sh/init-first.c: Likewise.
39144 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39146 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39148 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39149 always use the slow path.
39151 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39153 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39154 similar rule which adds the sysdep directories to the header search in
39155 order to pick up the correct platform stackinfo.h.
39156 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39157 perform test if it is, otherwise return successfully without testing.
39158 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39159 DEFAULT_STACK_PERMS define in stackinfo.h.
39160 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39161 defined in stackinfo.h.
39162 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39163 DEFAULT_STACK_PERMS defined in stackinfo.h.
39164 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39165 * sysdeps/ia64/stackinfo.h: Likewise.
39166 * sysdeps/s390/stackinfo.h: Likewise.
39167 * sysdeps/sh/stackinfo.h: Likewise.
39168 * sysdeps/sparc/stackinfo.h: Likewise.
39169 * sysdeps/x86_64/stackinfo.h: Likewise.
39170 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39171 PF_X for powerpc64. Retain PF_X for powerpc32.
39173 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39175 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39177 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39178 GETDENTS_64BIT_ALIGNED.
39180 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39182 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39184 2010-12-10 Andreas Schwab <schwab@redhat.com>
39186 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39189 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39190 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39192 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39193 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39195 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39198 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39201 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39203 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39205 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39207 * po/it.po: Update from translation team.
39209 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39214 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39216 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39218 2010-11-24 Andreas Schwab <schwab@redhat.com>
39220 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39222 (gaih_getanswer_slice): Likewise.
39224 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39228 2010-05-31 Petr Baudis <pasky@suse.cz>
39231 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39232 silently even in the chroot mode.
39234 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39237 last patch a bit. Pretty printing
39239 2010-05-31 Petr Baudis <pasky@suse.cz>
39242 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39243 initialization of skip_initgroups_dyn.
39245 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39248 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39250 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39252 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39254 2010-11-11 Andreas Schwab <schwab@redhat.com>
39256 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39257 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39258 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39259 ($(objpfx)tst-fnmatch-mem): New rule.
39260 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39261 * posix/tst-fnmatch.c (main): Call mtrace.
39263 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39266 Support Intel processor model 6 and model 0x2c.
39268 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39270 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39273 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39276 * string/test-strncasecmp.c (check_result): New function.
39277 (do_one_test): Use it.
39278 (check1): New function.
39279 (test_main): Use it.
39280 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39281 Support strcasecmp and strncasecmp.
39283 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39286 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39289 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39291 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39295 * sysdeps/x86_64/multiarch/bzero.S: New file.
39296 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39297 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39298 * sysdeps/x86_64/multiarch/memset.S: New file.
39299 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39301 Set bit_Prefer_SSE_for_memop for Intel processors.
39302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39304 (index_Prefer_SSE_for_memop): Define.
39305 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39307 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39309 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39310 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39312 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39315 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39316 (__x86_64_raw_data_cache_size_half): Likewise.
39317 (__x86_64_raw_shared_cache_size): Likewise.
39318 (__x86_64_raw_shared_cache_size_half): Likewise.
39320 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39321 (__x86_64_raw_data_cache_size_half): Likewise.
39322 (__x86_64_raw_shared_cache_size): Likewise.
39323 (__x86_64_raw_shared_cache_size_half): Likewise.
39324 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39325 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39326 and __x86_64_raw_shared_cache_size_half. Round
39327 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39328 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39329 to multiple of 256 bytes.
39331 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39334 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39335 of inacessible symlinks. Verify result of symlink before returning it.
39336 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39337 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39339 2010-10-28 Erich Ritz <erichritz@gmail.com>
39341 * math/math.h (isinf): Fix typo in comment.
39343 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39345 * po/da.po: Update from translation team.
39347 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39349 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39350 is added to the list.
39352 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39353 Ulrich Drepper <drepper@gmail.com>
39355 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39356 the global list here. Move code to...
39357 (_dl_add_to_namespace_list): ...here. New function.
39358 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39359 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39360 * elf/dl-load.c (lose): Don't remove the element from the list.
39361 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39362 (_dl_map_object): Likewise.
39364 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39367 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39368 into all bytes of SSE register.
39369 Patch by Richard Li <richardpku@gmail.com>.
39371 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39374 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39377 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39379 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39380 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39381 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39382 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39387 2010-10-22 Andreas Schwab <schwab@redhat.com>
39389 * include/dlfcn.h (__RTLD_SECURE): Define.
39390 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39391 mode & __RTLD_SECURE instead.
39392 (open_path): Rename preloaded parameter to secure.
39393 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39394 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39395 * elf/dl-deps.c (openaux): Likewise.
39396 * elf/rtld.c (struct map_args): Remove is_preloaded.
39397 (map_doit): Don't use it.
39398 (dl_main): Likewise.
39399 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39400 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39402 2010-09-09 Andreas Schwab <schwab@redhat.com>
39404 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39405 (sysd-rules-targets): Remove duplicates.
39406 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39407 rtld-%.$o dependency.
39409 2010-10-18 Andreas Schwab <schwab@redhat.com>
39411 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39412 _dl_map_object do it.
39414 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39416 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39417 fast fma builtins, define the macros in the C99 standard.
39418 (FP_FAST_FMAF): Likewise.
39419 (FP_FAST_FMAL): Likewise.
39420 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39422 * bits/mathdef.h: Update copyright year.
39423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39425 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39427 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39428 builtins, define the macros in the C99 standard.
39429 (FP_FAST_FMAF): Likewise.
39430 (FP_FAST_FMAL): Likewise.
39431 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39433 (FP_FAST_FMAF): Likewise.
39435 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39438 * math/libm-test.inc (fma_test): Some new testcases.
39439 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39440 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39441 y and infinite z. Do multiplication by C already in long double.
39442 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39444 y and infinite z. Do bitwise or of inexact bit into u.d.
39445 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39446 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39447 * sysdeps/i386/fpu/s_fma.S: Removed.
39448 * sysdeps/i386/fpu/s_fmal.S: Removed.
39450 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39453 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39455 computation is not scheduled after fetestexcept. Fix value
39456 of minimum denormal long double.
39458 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39461 * math/libm-test.inc (fma_test): Add some more tests.
39462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39465 2010-10-15 Andreas Schwab <schwab@redhat.com>
39467 * scripts/data/localplt-s390-linux-gnu.data: New file.
39468 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39470 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39473 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39474 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39476 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39478 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39480 if one of x and y is very large and the other is subnormal.
39481 * sysdeps/s390/fpu/s_fmaf.c: New file.
39482 * sysdeps/s390/fpu/s_fma.c: New file.
39483 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39484 * sysdeps/powerpc/fpu/s_fma.S: New file.
39485 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39486 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39487 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39489 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39492 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39494 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39495 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39496 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39497 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39498 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39499 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39500 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39502 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39505 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39506 * posix/bug-regex31.input: Add test case.
39508 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39510 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39511 * posix/bug-regex31.input: New file.
39514 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39515 (parse_sub_exp): Fix last change, use postorder.
39517 * posix/bug-regex31.c: New file.
39518 * posix/Makefile: Add rules to build and run bug-regex31.
39520 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39523 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39526 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39527 to have entries in sys_siglist.
39530 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39533 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39536 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39537 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39538 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39539 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39540 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39541 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39542 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39543 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39544 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39545 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39546 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39547 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39548 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39549 * math/ftestexcept.c (fetestexcept): Likewise.
39550 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39551 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39552 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39553 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39554 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39555 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39556 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39558 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39561 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39564 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39566 * string/bug-strstr1.c: New file.
39567 * string/Makefile: Add rules to build and run bug-strstr1.
39569 2010-10-05 Eric Blake <eblake@redhat.com>
39572 * string/str-two-way.h (two_way_long_needle): Always clear memory
39573 when skipping input due to the shift table.
39575 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39578 * malloc/mcheck.c: Handle large requests.
39581 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39582 for strncmp and strncasecmp.
39583 * string/stratcliff.c: Add tests for strcmp and strncmp.
39584 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39586 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39588 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39591 2010-09-30 Andreas Jaeger <aj@suse.de>
39593 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39594 (CGROUP_SUPER_MAGIC): Define.
39595 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39596 Handle btrfs and cgroup file systems.
39597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39600 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39602 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39603 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39605 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39608 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39609 trying to locate the ELF header.
39611 2010-09-27 Andreas Schwab <schwab@redhat.com>
39614 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39615 Mask out sign-bit copies when constructing f_fsid.
39617 2010-09-24 Petr Baudis <pasky@suse.cz>
39619 * debug/stack_chk_fail_local.c: Add missing licence exception.
39620 * debug/warning-nop.c: Likewise.
39622 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39624 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39625 implementing getdents64 using getdents syscall, set d_type if
39626 __ASSUME_GETDENTS32_D_TYPE.
39628 2010-09-16 Andreas Schwab <schwab@redhat.com>
39630 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39631 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39633 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39636 * posix/unistd.h: Undo change of feature selection for ftruncate from
39639 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39641 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39644 2010-09-20 Andreas Schwab <schwab@redhat.com>
39646 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39648 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39650 2010-09-14 Andreas Schwab <schwab@redhat.com>
39652 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39653 variables after CHECK_SP call.
39654 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39656 2010-09-13 Andreas Schwab <schwab@redhat.com>
39657 Ulrich Drepper <drepper@redhat.com>
39659 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39660 re-relocationg ld.so.
39661 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39662 _dl_init_paths call.
39663 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39666 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39668 * resolv/res_init.c (__res_vinit): Count the default server we added.
39670 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39671 Ulrich Drepper <drepper@redhat.com>
39674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39675 (____longjmp_chk): Use %ebx for saving value across system call.
39678 2010-09-06 Andreas Schwab <schwab@redhat.com>
39680 * manual/Makefile: Don't mix pattern rules with normal rules.
39682 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39684 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39686 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39687 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39688 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39689 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39693 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39696 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39697 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39699 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39701 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39702 * sysdeps/x86_64/addmul_1.S: Likewise.
39703 * sysdeps/x86_64/lshift.S: Likewise.
39704 * sysdeps/x86_64/mul_1.S: Likewise.
39705 * sysdeps/x86_64/rshift.S: Likewise.
39706 * sysdeps/x86_64/sub_n.S: Likewise.
39707 * sysdeps/x86_64/submul_1.S: Likewise.
39709 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39711 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39712 Define __sched_param instead of SCHED_* and sched_param when
39713 <bits/sched.h> is included with __need_schedparam defined.
39714 * bits/sched.h [__need_schedparam]
39715 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39716 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39717 (__defined_schedparam): Define to 1.
39718 (__sched_param): New structure, identical to sched_param.
39719 (__need_schedparam): Undefine.
39721 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39724 (epoll_create1): Declare.
39726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39728 2010-08-31 Andreas Schwab <schwab@redhat.com>
39731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39732 shifting retval into place.
39734 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39736 * nis/rpcsvc/nis.h: Update copyright notice.
39737 * nis/rpcsvc/nis.x: Likewise.
39738 * nis/rpcsvc/nis_callback.h: Likewise.
39739 * nis/rpcsvc/nis_callback.x: Likewise.
39740 * nis/rpcsvc/nis_object.x: Likewise.
39741 * nis/rpcsvc/nis_tags.h: Likewise.
39742 * nis/rpcsvc/yp.h: Likewise.
39743 * nis/rpcsvc/yp.x: Likewise.
39744 * nis/rpcsvc/ypupd.h: Likewise.
39745 * nis/yp_xdr.c: Likewise.
39746 * nis/ypupdate_xdr.c: Likewise.
39748 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39749 mainly the body of pmap_getport. Add parameters to specify timeouts.
39750 (pmap_getport): Use __libc_rpc_getport.
39751 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39752 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39753 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39755 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39760 2010-08-27 Roland McGrath <roland@redhat.com>
39762 * sysdeps/i386/i686/multiarch/Makefile
39763 (CFLAGS-varshift.c): New variable.
39765 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39767 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39768 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39770 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39772 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39774 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39776 * sysdeps/x86_64/strlen.S: Unroll the loop.
39777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39778 strlen-sse2 strlen-sse2-bsf.
39779 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39780 __strlen_no_bsf if bit_Slow_BSF is set.
39781 (__strlen_sse42): Removed.
39782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39783 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39785 2010-08-25 Roland McGrath <roland@redhat.com>
39787 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39788 * sysdeps/x86_64/multiarch/varshift.c: New file.
39789 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39790 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39791 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39792 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39794 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39797 strlen-sse2 strlen-sse2-bsf.
39798 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39799 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39800 (__strlen_sse2): Removed.
39801 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39802 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39804 bit_Slow_BSF for Atom.
39805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39806 (index_Slow_BSF): Define.
39807 (HAS_SLOW_BSF): Define.
39809 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39812 * resolv/res_init.c (__res_vinit): When no server address at all
39813 is given default to loopback.
39815 2010-08-24 Roland McGrath <roland@redhat.com>
39817 * configure.in: Remove config-name.h generation.
39818 * configure: Regenerated.
39819 * config-name.in: File removed.
39820 * scripts/config-uname.sh: New file.
39821 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39822 ($(objdir)config-name.h): New target.
39824 * sunrpc/rpc_parse.h: Avoid nested comment.
39826 2010-08-24 Richard Henderson <rth@redhat.com>
39827 Ulrich Drepper <drepper@redhat.com>
39828 H.J. Lu <hongjiu.lu@intel.com>
39830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39832 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39833 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39834 _mm_alignr_epi8 with _mm_loadu_si128.
39835 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39836 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39837 (__m128i_shift_right): Removed.
39838 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39839 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39840 * sysdeps/x86_64/multiarch/varshift.h: New file.
39841 * sysdeps/x86_64/multiarch/varshift.S: New file.
39843 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39845 * configure.in: Move assembler checks to before sysdep dir checking.
39847 2010-08-20 Petr Baudis <pasky@suse.cz>
39849 * LICENSES: Sync the sunrpc license.
39851 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39853 * sunrpc/auth_des.c: Update copyright notice once again.
39854 * sunrpc/auth_none.c: Likewise.
39855 * sunrpc/auth_unix.c: Likewise.
39856 * sunrpc/authdes_prot.c: Likewise.
39857 * sunrpc/authuxprot.c: Likewise.
39858 * sunrpc/bindrsvprt.c: Likewise.
39859 * sunrpc/clnt_gen.c: Likewise.
39860 * sunrpc/clnt_perr.c: Likewise.
39861 * sunrpc/clnt_raw.c: Likewise.
39862 * sunrpc/clnt_simp.c: Likewise.
39863 * sunrpc/clnt_tcp.c: Likewise.
39864 * sunrpc/clnt_udp.c: Likewise.
39865 * sunrpc/clnt_unix.c: Likewise.
39866 * sunrpc/des_crypt.c: Likewise.
39867 * sunrpc/des_soft.c: Likewise.
39868 * sunrpc/get_myaddr.c: Likewise.
39869 * sunrpc/getrpcport.c: Likewise.
39870 * sunrpc/key_call.c: Likewise.
39871 * sunrpc/key_prot.c: Likewise.
39872 * sunrpc/openchild.c: Likewise.
39873 * sunrpc/pm_getmaps.c: Likewise.
39874 * sunrpc/pm_getport.c: Likewise.
39875 * sunrpc/pmap_clnt.c: Likewise.
39876 * sunrpc/pmap_prot.c: Likewise.
39877 * sunrpc/pmap_prot2.c: Likewise.
39878 * sunrpc/pmap_rmt.c: Likewise.
39879 * sunrpc/rpc/auth.h: Likewise.
39880 * sunrpc/rpc/auth_unix.h: Likewise.
39881 * sunrpc/rpc/clnt.h: Likewise.
39882 * sunrpc/rpc/des_crypt.h: Likewise.
39883 * sunrpc/rpc/key_prot.h: Likewise.
39884 * sunrpc/rpc/netdb.h: Likewise.
39885 * sunrpc/rpc/pmap_clnt.h: Likewise.
39886 * sunrpc/rpc/pmap_prot.h: Likewise.
39887 * sunrpc/rpc/pmap_rmt.h: Likewise.
39888 * sunrpc/rpc/rpc.h: Likewise.
39889 * sunrpc/rpc/rpc_des.h: Likewise.
39890 * sunrpc/rpc/rpc_msg.h: Likewise.
39891 * sunrpc/rpc/svc.h: Likewise.
39892 * sunrpc/rpc/svc_auth.h: Likewise.
39893 * sunrpc/rpc/types.h: Likewise.
39894 * sunrpc/rpc/xdr.h: Likewise.
39895 * sunrpc/rpc_clntout.c: Likewise.
39896 * sunrpc/rpc_cmsg.c: Likewise.
39897 * sunrpc/rpc_common.c: Likewise.
39898 * sunrpc/rpc_cout.c: Likewise.
39899 * sunrpc/rpc_dtable.c: Likewise.
39900 * sunrpc/rpc_hout.c: Likewise.
39901 * sunrpc/rpc_main.c: Likewise.
39902 * sunrpc/rpc_parse.c: Likewise.
39903 * sunrpc/rpc_parse.h: Likewise.
39904 * sunrpc/rpc_prot.c: Likewise.
39905 * sunrpc/rpc_sample.c: Likewise.
39906 * sunrpc/rpc_scan.c: Likewise.
39907 * sunrpc/rpc_scan.h: Likewise.
39908 * sunrpc/rpc_svcout.c: Likewise.
39909 * sunrpc/rpc_tblout.c: Likewise.
39910 * sunrpc/rpc_util.c: Likewise.
39911 * sunrpc/rpc_util.h: Likewise.
39912 * sunrpc/rpcinfo.c: Likewise.
39913 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39914 * sunrpc/rpcsvc/key_prot.x: Likewise.
39915 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39916 * sunrpc/rpcsvc/mount.x: Likewise.
39917 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39918 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39919 * sunrpc/rpcsvc/rex.x: Likewise.
39920 * sunrpc/rpcsvc/rstat.x: Likewise.
39921 * sunrpc/rpcsvc/rusers.x: Likewise.
39922 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39923 * sunrpc/rpcsvc/spray.x: Likewise.
39924 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39925 * sunrpc/rtime.c: Likewise.
39926 * sunrpc/svc.c: Likewise.
39927 * sunrpc/svc_auth.c: Likewise.
39928 * sunrpc/svc_authux.c: Likewise.
39929 * sunrpc/svc_raw.c: Likewise.
39930 * sunrpc/svc_run.c: Likewise.
39931 * sunrpc/svc_simple.c: Likewise.
39932 * sunrpc/svc_tcp.c: Likewise.
39933 * sunrpc/svc_udp.c: Likewise.
39934 * sunrpc/svc_unix.c: Likewise.
39935 * sunrpc/svcauth_des.c: Likewise.
39936 * sunrpc/xcrypt.c: Likewise.
39937 * sunrpc/xdr.c: Likewise.
39938 * sunrpc/xdr_array.c: Likewise.
39939 * sunrpc/xdr_float.c: Likewise.
39940 * sunrpc/xdr_mem.c: Likewise.
39941 * sunrpc/xdr_rec.c: Likewise.
39942 * sunrpc/xdr_ref.c: Likewise.
39943 * sunrpc/xdr_sizeof.c: Likewise.
39944 * sunrpc/xdr_stdio.c: Likewise.
39946 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39949 2010-08-19 Andreas Schwab <schwab@redhat.com>
39951 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39953 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39955 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39956 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39958 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39959 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39960 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39961 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39962 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39963 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39964 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39965 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39966 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39967 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39968 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39970 2010-07-26 Anton Blanchard <anton@samba.org>
39972 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39973 * malloc/arena.c (heap_trim): Likewise.
39975 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39977 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39980 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39982 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39984 * sysdeps/i386/elf/Makefile: New file.
39986 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39988 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39989 from fanotify_init.
39990 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39991 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39993 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39995 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39997 * sysdeps/multiarch/strcmp.S: Likewise.
39999 2010-08-14 Ulrich Drepper <drepper@redhat.com>
40001 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40002 strncase_l-nonascii.
40003 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40004 Add strncase_l-ssse3.
40005 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40006 * sysdeps/x86_64/strcmp.S: Likewise.
40007 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40008 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40009 * sysdeps/x86_64/strncase.S: New file.
40010 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40011 * sysdeps/x86_64/strncase_l.S: New file.
40012 * string/Makefile (strop-tests): Add strncasecmp.
40013 * string/test-strncasecmp.c: New file.
40015 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40018 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40019 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40021 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40023 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40025 2010-08-12 Ulrich Drepper <drepper@redhat.com>
40027 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40028 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40029 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40031 2010-05-01 Alan Modra <amodra@gmail.com>
40033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40034 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40035 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40036 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40037 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40038 tidying. Don't tail-call __sigjmp_save for static lib.
40039 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40041 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40042 (CALL_MCOUNT): Add eh info, and nop after bl.
40043 (TAIL_CALL_SYSCALL_ERROR): New macro.
40044 (PSEUDO_RET): Use it.
40045 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40046 Correct save location of integer regs and cr.
40047 (_dl_profile_resolve): Correct cr save location. Delete nops
40048 after bl when SHARED. Reduce cfi size a little by better
40049 placement of cfi directives.
40050 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40051 make a stack frame. Instead use parm save area as a temp.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40053 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40055 Don't make a stack frame for parent, use parm save area.
40056 Increase child stack frame to 112 bytes. Don't save unused reg,
40057 and adjust reg usage. Set up cfi on error recovery and
40058 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40060 (__makecontext): Add dummy nop after jump to exit.
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40062 Use correct parm save area and cr save, reduce stack frame.
40063 Correct cfi for possible PSEUDO_RET frame setup.
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40065 Branch to local label emitted by PSEUDO_RET rather than
40068 2010-08-12 Andreas Schwab <schwab@redhat.com>
40071 * locale/programs/locale.c (print_assignment): New function.
40072 (show_locale_vars): Use it.
40074 2010-08-11 Ulrich Drepper <drepper@redhat.com>
40076 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40078 (struct statfs64): Likewise.
40079 (_STATFS_F_FLAGS): Define.
40080 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40082 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40083 (ST_VALID): Define locally.
40084 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40085 __statvfs_getflags, use the provided value.
40086 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40087 __ASSUME_STATFS_F_FLAGS.
40089 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40092 Add sys/fanotify.h.
40093 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40094 fanotify_mask for GLIBC_2.13.
40095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40096 fanotify_init and fanotify_mark.
40097 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40098 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40100 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40102 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40103 prlimit64 for GLIBC_2.13.
40104 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40110 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40111 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40114 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40117 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40118 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40120 * nss/Makefile: Add rules to build and run tst-nss-test1.
40121 * shlib-versions: Add entry for libnss_test1.
40122 * nss/nss_test1.c: New file.
40123 * nss/tst-nss-test1.c: New file.
40125 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40126 (__nss_configure_lookup): Set appropriate entry in
40127 __nss_configure_lookup to true.
40128 * nss/nsswitch.h: Define enum with indeces of databases in
40129 databases and __nss_database_custom arrays. Declare
40130 __nss_database_custom.
40131 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40132 to avoid using nscd when custom rules are installed.
40133 * nss/getXXbyYY_r.c: Likewise.
40134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40136 * nss/nss_files/files-parse.c: Whitespace fixes.
40138 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40141 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40142 * posix/fnmatch_loop.c: Likewise.
40144 2010-07-17 Andi Kleen <ak@linux.intel.com>
40146 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40147 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40148 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40149 * Versions.def [GLIBC_2.13]: Add.
40151 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40154 Also fail if tpwd after pwuid call is NULL.
40156 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40158 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40159 when converting to ms.
40161 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40163 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40164 EOPNOTSUPP errors with ENOTTY.
40165 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40166 EOPNOTSUPP errors with ENOTTY.
40168 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40170 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40171 Add strcasecmp_l-ssse3.
40172 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40174 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40175 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40176 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40178 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40180 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40182 * string/Makefile (strop-tests): Add strcasecmp.
40183 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40184 strcasecmp_l-nonascii.
40185 (gen-as-const-headers): Add locale-defines.sym.
40186 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40187 * sysdeps/x86_64/strcasecmp.S: New file.
40188 * sysdeps/x86_64/strcasecmp_l.S: New file.
40189 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40190 * sysdeps/x86_64/locale-defines.sym: New file.
40191 * string/test-strcasecmp.c: New file.
40193 * string/test-strcasestr.c: Test both ends of the range of characters.
40194 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40196 2010-07-29 Roland McGrath <roland@redhat.com>
40199 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40201 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40203 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40206 2010-07-27 Andreas Schwab <schwab@redhat.com>
40208 * manual/memory.texi (Malloc Tunable Parameters): Document
40211 2010-07-26 Roland McGrath <roland@redhat.com>
40214 * configure.in (-fgnu89-inline check): Set and substitute
40215 gnu89_inline, not libc_cv_gnu89_inline.
40216 * configure: Regenerated.
40217 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40219 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40221 * string/test-strnlen.c: New file.
40222 * string/Makefile (strop-tests): Add strnlen.
40223 * string/tester.c (test_strnlen): Add a few more test cases.
40224 * string/tst-strlen.c: Better error reporting.
40226 * sysdeps/x86_64/strnlen.S: New file.
40228 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40230 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40231 lower-latency instructions.
40233 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40235 * string/test-strcasestr.c: New file.
40236 * string/test-strstr.c: New file.
40237 * string/Makefile (strop-tests): Add strstr and strcasestr.
40238 * string/str-two-way.h: Don't undefine MAX.
40239 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40241 2010-07-21 Andreas Schwab <schwab@redhat.com>
40243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40244 strcasestr-nonascii.
40245 (CFLAGS-strcasestr-nonascii.c): Define.
40246 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40248 Remove unused attribute.
40250 2010-07-20 Roland McGrath <roland@redhat.com>
40252 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40253 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40254 ld.so.cache was broken. With it, there is no way to disable dsocaps
40255 like LD_HWCAP_MASK can disable hwcaps.
40257 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40259 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40261 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40263 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40264 call in strcasestr.
40265 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40266 __strcasestr_sse42_nonascii.
40267 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40268 strcasestr-nonascii.c.
40269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40271 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40274 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40276 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40278 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40280 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40283 2010-07-06 Andreas Schwab <schwab@redhat.com>
40286 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40289 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40292 _PC_PIPE_BUF using F_GETPIPE_SZ.
40294 2010-07-05 Roland McGrath <roland@redhat.com>
40296 * manual/arith.texi (Rounding Functions): Fix rint description
40297 implicit in round description.
40299 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40301 * elf/Makefile: Fix linking for a few tests to make recent linker
40304 2010-06-30 Andreas Schwab <schwab@redhat.com>
40306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40307 $(common-objpfx)libc_nonshared.a.
40309 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40311 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40312 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40313 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40314 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40315 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40316 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40317 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40318 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40333 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40334 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40335 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40336 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40337 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40338 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40339 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40340 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40341 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40342 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40343 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40344 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40360 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40362 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40363 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40364 * string/memmove.c (memmove): Renamed to ...
40365 (MEMMOVE): ...this. Default to memmove.
40366 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40367 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40370 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40371 mempcpy-ssse3-back memmove-ssse3-back.
40372 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40374 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40375 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40376 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40377 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40378 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40379 * sysdeps/x86_64/multiarch/memmove.c: New file.
40380 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40381 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40382 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40383 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40384 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40387 (index_Fast_Copy_Backward): Define.
40388 (HAS_ARCH_FEATURE): Define.
40389 (HAS_FAST_REP_STRING): Define.
40390 (HAS_FAST_COPY_BACKWARD): Define.
40392 2010-06-21 Andreas Schwab <schwab@redhat.com>
40394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40395 Restore proper fallback handling.
40397 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40400 * posix/group_member.c (__group_member): Correct checking loop.
40402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40403 OOM in getpwuid_r correctly. Return error number when the caller
40404 should return, otherwise -1.
40405 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40406 call returning > 0 value.
40407 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40409 2010-06-07 Andreas Schwab <schwab@redhat.com>
40411 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40412 libc_nonshared.a from targets in modules-names.
40414 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40416 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40419 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40421 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40422 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40423 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40426 2010-06-02 Andreas Schwab <schwab@redhat.com>
40428 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40430 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40434 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40439 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40441 2010-06-14 Roland McGrath <roland@redhat.com>
40443 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40445 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40447 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40448 __REDIRECT followed by __THROW.
40449 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40450 * posix/getopt.h (getopt): Likewise.
40452 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40454 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40455 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40456 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40458 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40459 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40461 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40463 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40465 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40469 Properly check family and model.
40471 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40473 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40475 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40477 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40479 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40481 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40484 2010-05-19 Andreas Schwab <schwab@redhat.com>
40486 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40489 2010-05-21 Andreas Schwab <schwab@redhat.com>
40491 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40492 and internal_recvmmsg.
40493 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40494 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40495 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40496 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40498 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40499 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40500 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40502 2010-05-20 Andreas Schwab <schwab@redhat.com>
40504 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40506 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40508 POWER7 optimizations.
40509 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40510 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40512 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40514 * version.h: Update for 2.13 development version.
40516 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40518 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40519 exceptions. Return 0.
40521 2010-05-07 Roland McGrath <roland@redhat.com>
40523 * elf/ldconfig.c (main): Add a const.
40525 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40527 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40528 (args_options): Add no-idn option.
40529 (ahosts_keys_int): Add idn_flags to ai_flags.
40530 (parse_option): Handle 'i' option to clear idn_flags.
40532 * malloc/malloc.c (_int_free): Possible race in the most recently
40533 added check. Only act on the data if no current modification
40536 See ChangeLog.17 for earlier changes.