1 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5 FE_TONEAREST before applying Dekker multiplication and Knuth
6 addition. Clear inexact exceptions and check for exact zero
8 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11 * math/libm-test.inc (fma_test): Add more tests.
12 (fma_test_towardzero): Likewise.
13 (fma_test_downward): Likewise.
14 (fma_test_upward): Likewise.
15 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17 (libc_fesetround): New macro.
18 (libc_fesetroundf): Likewise.
19 (libc_fesetroundl): Likewise.
20 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22 (libc_fesetround_387): Likewise.
23 (libc_fesetroundf): New macro.
24 (libc_fesetround): Likewise.
25 (libc_fesetroundl): Likewise.
26 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28 (libc_fesetroundf): New macro.
29 (libc_fesetround): Likewise.
30 (libc_fesetroundl): Likewise.
31 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
46 integer constant usable in #if and use that to give value to enum
48 (FE_DIVBYZERO): Likewise.
49 (FE_UNDERFLOW): Likewise.
50 (FE_OVERFLOW): Likewise.
51 (FE_INVALID): Likewise.
52 (FE_INVALID_SNAN): Likewise.
53 (FE_INVALID_ISI): Likewise.
54 (FE_INVALID_IDI): Likewise.
55 (FE_INVALID_ZDZ): Likewise.
56 (FE_INVALID_IMZ): Likewise.
57 (FE_INVALID_COMPARE): Likewise.
58 (FE_INVALID_SOFTWARE): Likewise.
59 (FE_INVALID_SQRT): Likewise.
60 (FE_INVALID_INTEGER_CONVERSION): Likewise.
61 (FE_TONEAREST): Likewise.
62 (FE_TOWARDZERO): Likewise.
63 (FE_UPWARD): Likewise.
64 (FE_DOWNWARD): Likewise.
65 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66 (FE_DIVBYZERO): Likewise.
67 (FE_OVERFLOW): Likewise.
68 (FE_UNDERFLOW): Likewise.
69 (FE_INEXACT): Likewise.
70 (FE_TONEAREST): Likewise.
71 (FE_DOWNWARD): Likewise.
72 (FE_UPWARD): Likewise.
73 (FE_TOWARDZERO): Likewise.
74 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75 (FE_UNDERFLOW): Likewise.
76 (FE_OVERFLOW): Likewise.
77 (FE_DIVBYZERO): Likewise.
78 (FE_INVALID): Likewise.
79 (FE_TONEAREST): Likewise.
80 (FE_TOWARDZERO): Likewise.
81 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
82 (FE_OVERFLOW): Likewise.
83 (FE_UNDERFLOW): Likewise.
84 (FE_DIVBYZERO): Likewise.
85 (FE_INEXACT): Likewise.
86 (FE_TONEAREST): Likewise.
87 (FE_TOWARDZERO): Likewise.
88 (FE_UPWARD): Likewise.
89 (FE_DOWNWARD): Likewise.
90 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
91 (FE_DIVBYZERO): Likewise.
92 (FE_OVERFLOW): Likewise.
93 (FE_UNDERFLOW): Likewise.
94 (FE_INEXACT): Likewise.
95 (FE_TONEAREST): Likewise.
96 (FE_DOWNWARD): Likewise.
97 (FE_UPWARD): Likewise.
98 (FE_TOWARDZERO): Likewise.
100 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
102 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
104 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
106 * scripts/cross-test-ssh.sh (command): Use newlines to separate
107 commands. Quote $PWD.
108 (blacklist_exports): Don't use remove_newlines. Replace "declare
110 (remove_newlines): Remove.
112 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
114 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
115 * stdlib/stdlib.h (atof): Moved to ...
116 * include/bits/stdlib-float.h: Here. New file.
117 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
118 * stdlib/bits/stdlib-float.h: New file.
119 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
124 2012-11-02 Joseph Myers <joseph@codesourcery.com>
126 * conform/conformtest.pl (@headers): Add fenv.h.
127 * conform/data/fenv.h-data: New file.
128 * include/fenv.h [_ISOMAC]: Disable all contents of file except
129 include of <math/fenv.h>.
131 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
132 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
133 && !UNIX98]. Enables tests for XOPEN2K8.
134 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
135 POSIX2008]: Likewise.
137 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
138 (struct rusage): Do not expect type or its members.
141 * math/math.h (FP_NAN): Define macro to integer constant usable in
142 #if and use that to give value to enum constant.
143 (FP_INFINITE): Likewise.
145 (FP_SUBNORMAL): Likewise.
146 (FP_NORMAL): Likewise.
148 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
150 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
151 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
154 2012-11-02 Roland McGrath <roland@hack.frob.com>
156 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
157 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
158 autoconf-time if not.
159 * configure.in: Remove AC_PREREQ.
161 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
163 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
164 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
165 of the internal implementation.
167 2012-11-02 Joseph Myers <joseph@codesourcery.com>
169 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
170 except include of <misc/sys/syslog.h>.
172 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
175 function returns with a NULL context exit with zero.
177 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
179 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
181 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
183 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
184 (run_program_cmd): This.
185 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
186 (tst_langinfo): New variable. Use it.
188 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
190 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
191 floating point opcodes.
193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
195 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
198 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
200 * sysdeps/mach/hurd/powerpc: Remove directory.
201 * sysdeps/mach/powerpc: Likewise.
203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
205 * scripts/check-local-headers.sh: Ignore c++ headers.
207 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
209 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
210 __libc_cleanup_region_start argument.
212 2012-11-01 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
217 x * y using scaling, not as x * y + z.
218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
220 * math/libm-test.inc (fma_test): Add more tests.
221 (fma_test_towardzero): Likewise.
222 (fma_test_downward): Likewise.
223 (fma_test_upward): Likewise.
225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
227 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
229 2012-10-31 Joseph Myers <joseph@codesourcery.com>
231 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
234 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
236 * rt/tst-shm.c (worker): Correct checking for mmap failure.
238 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
245 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
248 Fix the order of the list for glibc 2.17.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
252 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
256 2012-10-31 Joseph Myers <joseph@codesourcery.com>
259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
260 for low part of x being zero before using __atanl (y).
261 * math/libm-test.inc (atan2_test): Add another test.
263 * manual/install.texi (Configuring and compiling): Document
264 general use of test-wrapper and test-wrapper-env.
265 * INSTALL: Regenerated.
267 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
268 (__fma): Do not extract and scale down low bits on after-rounding
269 systems when result rounded to normal precision would have normal
271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
272 (__fmal): Do not extract and scale down low bits on after-rounding
273 systems when result rounded to normal precision would have normal
275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
276 (__fmal): Do not extract and scale down low bits on after-rounding
277 systems when result rounded to normal precision would have normal
279 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
281 (fma_test): Add more tests.
282 (fma_test_towardzero): Likewise.
283 (fma_test_downward): Likewise.
284 (fma_test_upward): Likewise.
286 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
288 * sysdeps/i386/tininess.h: Renamed to ...
289 * sysdeps/x86/tininess.h: This.
290 * sysdeps/x86_64/tininess.h: Removed.
292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
294 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
295 input. Use $(build-program-cmd).
296 ($(objpfx)tst-array1-static.out): Likewise.
297 ($(objpfx)tst-array2.out): Likewise.
298 ($(objpfx)tst-array3.out): Likewise.
299 ($(objpfx)tst-array4.out): Likewise.
300 ($(objpfx)tst-array5.out): Likewise.
301 ($(objpfx)tst-array5-static.out): Likewise.
303 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
305 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
308 * nss/nsswitch.h (nss_interface_function): Provide new
309 macro for use with NSS functions.
310 * grp/initgroups.c: Use new macro.
311 * nss/getXXbyYY.c: Likewise.
312 * nss/getXXbyYY_r.c: Likewise.
313 * nss/getXXent.c: Likewise.
314 * nss/getXXent_r.c: Likewise.
315 * sysdeps/posix/getaddrinfo.c: Likewise.
317 2012-10-30 Andreas Jaeger <aj@suse.de>
319 * po/ru.po: Update Russion translation from translation project.
321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
326 result and shift together with sticky bit instead of replicating
327 round-to-nearest rounding.
328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
330 * math/libm-test.inc (fma_test): Add more tests. Do not permit
331 missing underflow exceptions.
332 (fma_test_towardzero): Add more tests.
333 (fma_test_downward): Likewise.
334 (fma_test_upward): Likewise.
337 * sysdeps/generic/tininess.h: New file.
338 * sysdeps/i386/tininess.h: Likewise.
339 * sysdeps/sh/tininess.h: Likewise.
340 * sysdeps/x86_64/tininess.h: Likewise.
341 * stdlib/tst-strtod-underflow.c: Likewise.
342 * stdlib/tst-tininess.c: Likewise.
343 * stdlib/strtod_l.c: Include <tininess.h>.
344 (round_and_return): Do not set errno for exact underflow cases.
345 Force an underflow exception when setting errno for underflow.
346 Determine underflow based on rounding to normal precision if
347 TININESS_AFTER_ROUNDING.
348 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
349 ERANGE for exact underflow cases.
350 * stdlib/Makefile (tests): Add tst-tininess and
351 tst-strtod-underflow.
352 ($(objpfx)tst-tininess): Use $(link-libm).
353 ($(objpfx)tst-strtod-underflow): Likewise.
355 2012-10-30 Andreas Jaeger <aj@suse.de>
358 * elf/Makefile (tests): Remove conditional for have-initfini-array
359 since this is now always required and the variable does not exist
361 (tests-static): Likewise.
362 (modules-names): Likewise.
364 * po/eo.po: Add Esperanto translation from translation project.
366 * elf/tst-array1.c (fini_array): Make writeable so that it can be
367 merged with constructor/destructor.
368 (init_array): Likewise.
369 * elf/tst-array2dep.c (fini_array): Likewise.
370 (init_array): Likewise.
372 2012-10-29 Mike Frysinger <vapier@gentoo.org>
374 * manual/message.texi: Delete @cartouche tags.
376 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
378 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
380 * sysdeps/mach/hurd/fsync.c: Likewise.
382 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
383 [_POSIX_REALTIME_SIGNALS]: Change condition to
384 [_POSIX_REALTIME_SIGNALS > 0].
386 2012-10-27 Andreas Jaeger <aj@suse.de>
388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
389 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
391 [__WORDSIZE != 64]: Likewise.
393 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
395 * iconvdata/tst-table.sh: Remove ${SHELL}.
396 * iconvdata/tst-tables.sh: Likewise.
398 2012-10-25 David S. Miller <davem@davemloft.net>
400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
401 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
407 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
408 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
411 2012-10-25 Roland McGrath <roland@hack.frob.com>
413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
414 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
417 2012-10-25 Joseph Myers <joseph@codesourcery.com>
418 Jim Blandy <jimb@codesourcery.com>
420 * scripts/cross-test-ssh.sh: New file.
421 * manual/install.texi (Configuring and compiling): Document use of
423 * INSTALL: Regenerated.
425 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
427 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
432 * Makeconfig (run-program-prefix): Fix comment.
434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
435 Jim Blandy <jimb@codesourcery.com>
437 * Makeconfig (test-wrapper): New variable,
438 (test-wrapper-env): Likewise.
439 [$(cross-compiling) = yes && $(test-wrapper) != ""]
440 (run-built-tests): Define to yes.
441 (run-program-prefix): Use $(test-wrapper).
442 (built-program-cmd): Likewise.
443 * Rules (make-test-out): Use $(test-wrapper-env) and
444 $(host-built-program-cmd).
445 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
446 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
448 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
449 $(test-wrapper-env) to tst-rtld-load-self.sh.
450 ($(objpfx)order2.out): Use $(test-wrapper).
451 ($(objpfx)tst-initorder.out): Likewise.
452 ($(objpfx)tst-initorder2.out): Likewise.
453 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
454 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
455 (test_wrapper_env): New variable. Use it to run ld.so.
456 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
458 (test_wrapper_env): Likewise.
459 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
460 $(test-wrapper) to run-iconv-test.sh.
461 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
462 (ICONV): Use $test_wrapper.
463 * posix/Makefile ($(objpfx)globtest.out): Pass
464 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
465 globtest.sh, not $(run-program-prefix).
466 * posix/globtest.sh (run_via_rtld_prefix): New variable.
467 (test_wrapper): Likewise.
468 (test_wrapper_env): Likewise. Use it to run globtest with HOME
469 set together with run_via_rtld_prefix.
470 (run_program_prefix): Define in terms of test_wrapper and
473 2012-10-24 Roland McGrath <roland@hack.frob.com>
475 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
476 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
480 * include/time.h: Remove librt_hidden_proto (clock_gettime).
481 Declare __clock_getres, __clock_gettime, __clock_settime,
482 __clock_nanosleep, and __clock_getcpuclockid.
483 * rt/clock_gettime.c: Define __clock_gettime as an alias.
484 Remove librt_hidden_def (clock_gettime).
485 * sysdeps/unix/clock_gettime.c: Likewise.
486 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
488 * rt/clock_getres.c: Define __clock_getres as an alias.
489 * sysdeps/posix/clock_getres.c: Likewise.
490 * rt/clock_settime.c: Define __clock_settime as an alias.
491 * sysdeps/unix/clock_settime.c: Likewise.
492 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
493 * sysdeps/unix/clock_nanosleep.c: Likewise.
494 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
495 * rt/clock-compat.c: New file.
496 * rt/Makefile (librt-routines): Add clock-compat and move
497 $(clock-routines) to ...
498 (routines): ... here, new variable.
499 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
500 Don't add get_clockfreq here.
501 * rt/Versions (libc: GLIBC_2.17): New version set.
502 Add clock_* symbols here.
503 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
505 (GLIBC_2.17): Add clock_* symbols.
506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
517 * NEWS: Mention the move.
519 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
520 Use __open, __read, __close rather than their public counterparts.
521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
522 (__get_clockfreq_via_cpuinfo): Likewise.
523 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
524 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
526 * config.h.in (HAVE_IFUNC): New #undef.
527 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
529 * configure: Regenerated.
531 2012-10-24 Mike Frysinger <vapier@gentoo.org>
533 * configure.in: Move READELF check to start of file.
534 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
535 libc_cv_asm_gnu_indirect_function in the process.
536 * configure: Regenerated.
538 2012-10-24 Mike Frysinger <vapier@gentoo.org>
540 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
541 send the output to /dev/null.
542 (libc_cv_cc_with_libunwind): Likewise.
543 (libc_cv_as_noexecstack): Likewise.
544 * configure: Regenerate.
546 2012-10-24 Joseph Myers <joseph@codesourcery.com>
548 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
550 * posix/globtest.sh (TMPDIR): Do not set.
551 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
554 2012-10-24 Andreas Jaeger <aj@suse.de>
556 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
557 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
558 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
559 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
560 posix_fadvise64, posix_fallocate64.
562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
563 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
564 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
566 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
568 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
571 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
572 <bits/fcntl-linux.h>.
573 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
576 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
577 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
578 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
579 [__WORDSIZE != 64]: Likewise.
581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
583 * Makeconfig (run-built-tests): New variable.
584 * Rules [$(cross-compiling) = yes]: Change condition to
585 [$(run-built-tests) = no].
586 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
587 to [$(run-built-tests) = yes].
588 * elf/Makefile [$(cross-compiling) = no]: Likewise
589 * grp/Makefile [$(cross-compiling) = no]: Likewise.
590 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
591 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
592 * intl/Makefile [$(cross-compiling) = no]: Likewise.
593 * io/Makefile [$(cross-compiling) = no]: Likewise.
594 * libio/Makefile [$(cross-compiling) = no]: Likewise.
595 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
596 * misc/Makefile [$(cross-compiling) = no]: Likewise.
597 * posix/Makefile [$(cross-compiling) = no]: Likewise.
598 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
599 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
600 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
601 * string/Makefile [$(cross-compiling) = no]: Likewise.
603 * posix/Makefile ($(objpfx)globtest.out): Pass
604 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
605 $(rtld-installed-name).
606 * posix/globtest.sh (elf_objpfx): Remove variable.
607 (rtld_installed_name): Likewise.
608 (library_path): Likewise.
609 (run_program_prefix): New variable. Use for running globtest
612 2012-10-23 Jim Blandy <jimb@codesourcery.com>
613 Joseph Myers <joseph@codesourcery.com>
615 * Makeconfig (host-built-program-cmd): New variable.
616 * elf/Makefile (tst-stackguard1-ARGS): Use
617 $(host-built-program-cmd).
618 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
619 (tst-spawn-ARGS): Likewise.
620 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
622 2012-10-23 Joseph Myers <joseph@codesourcery.com>
623 Jim Blandy <jimb@codesourcery.com>
625 * Makeconfig (run-via-rtld-prefix): New variable.
626 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
627 (built-program-cmd): Likewise.
629 2012-10-22 Andreas Jaeger <aj@suse.de>
631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
632 __O_RSYNC if it exists, otherwise to O_SYNC.
634 2012-10-22 Jim Blandy <jimb@codesourcery.com>
635 Joseph Myers <joseph@codesourcery.com>
637 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
639 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
641 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
644 2012-10-22 Andreas Jaeger <aj@suse.de>
646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
654 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
661 2012-10-21 Jim Blandy <jimb@codesourcery.com>
662 Joseph Myers <joseph@codesourcery.com>
664 * config.make.in (NM): New variable.
666 2012-10-21 Andreas Jaeger <aj@suse.de>
668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
669 definitions and declarations that are provided by
670 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
672 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
675 * elf/Makefile (tests-static): Add tst-leaks1-static.
676 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
677 ($(objpfx)tst-leaks1-static): New rule.
678 ($(objpfx)tst-leaks1-static-mem): Likewise.
679 (tst-leaks1-static-ENV): New macro.
680 * elf/dl-open.c (dl_open_worker): Check the main application
681 only if SHARED is defined.
682 * elf/tst-leaks1-static.c: New file.
684 2012-10-20 Andreas Jaeger <aj@suse.de>
686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
687 generic values for Linux.
688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
689 and declarations that are provided by <bits/fcntl-linux.h> and
690 include <bits/fcntl-linux.h>.
691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
694 2012-10-20 Roland McGrath <roland@hack.frob.com>
696 * io/fcntl.h: Move include of <bits/types.h> to the top and
697 include it unconditionally.
699 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
701 * wcsmbs/Makefile (tests-ifunc): New variable.
702 (tests): Add $(tests-ifunc).
703 * wcsmbs/test-wcschr-ifunc.c: New file.
704 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
705 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
706 * wcsmbs/test-wcslen-ifunc.c: Likewise.
707 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
708 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
710 * string/Makefile (tests-ifunc): New variable.
711 (tests): Add $(tests-ifunc).
712 * string/test-memccpy.c (TEST_NAME): New macro.
713 * string/test-memchr.c (TEST_NAME): Likewise.
714 * string/test-memcmp.c (TEST_NAME): Likewise.
715 * string/test-memcpy.c (TEST_NAME): Likewise.
716 * string/test-memmem.c (TEST_NAME): Likewise.
717 * string/test-memmove.c (TEST_NAME): Likewise.
718 * string/test-memset.c (TEST_NAME): Likewise.
719 * string/test-rawmemchr.c (TEST_NAME): Likewise.
720 * string/test-stpcpy.c (TEST_NAME): Likewise.
721 * string/test-stpncpy.c (TEST_NAME): Likewise.
722 * string/test-strcasecmp.c (TEST_NAME): Likewise.
723 * string/test-strcasestr.c (TEST_NAME): Likewise.
724 * string/test-strcat.c (TEST_NAME): Likewise.
725 * string/test-strchr.c (TEST_NAME): Likewise.
726 * string/test-strcmp.c(TEST_NAME): Likewise.
727 * string/test-strcpy.c (TEST_NAME): Likewise.
728 * string/test-strcspn.c (TEST_NAME): Likewise.
729 * string/test-strlen.c (TEST_NAME): Likewise.
730 * string/test-strncasecmp.c (TEST_NAME): Likewise.
731 * string/test-strncmp.c (TEST_NAME): Likewise.
732 * string/test-strncpy.c (TEST_NAME): Likewise.
733 * string/test-strnlen.c (TEST_NAME): Likewise.
734 * string/test-strpbrk.c (TEST_NAME): Likewise.
735 * string/test-strrchr.c (TEST_NAME): Likewise.
736 * string/test-strspn.c (TEST_NAME): Likewise.
737 * string/test-strstr.c (TEST_NAME): Likewise.
738 * string/test-bcopy-ifunc.c: New file.
739 * string/test-bzero-ifunc.c: Likewise.
740 * string/test-memccpy-ifunc.c: Likewise.
741 * string/test-memchr-ifunc.c: Likewise.
742 * string/test-memcmp-ifunc.c: Likewise.
743 * string/test-memcpy-ifunc.c: Likewise.
744 * string/test-memmem-ifunc.c: Likewise.
745 * string/test-memmove-ifunc.c: Likewise.
746 * string/test-mempcpy-ifunc.c: Likewise.
747 * string/test-memset-ifunc.c: Likewise.
748 * string/test-rawmemchr-ifunc.c: Likewise.
749 * string/test-stpcpy-ifunc.c: Likewise.
750 * string/test-stpncpy-ifunc.c: Likewise.
751 * string/test-strcasecmp-ifunc.c: Likewise.
752 * string/test-strcasestr-ifunc.c: Likewise.
753 * string/test-strcat-ifunc.c: Likewise.
754 * string/test-strchr-ifunc.c: Likewise.
755 * string/test-strchrnul-ifunc.c: Likewise.
756 * string/test-strcmp-ifunc.c: Likewise.
757 * string/test-strcpy-ifunc.c: Likewise.
758 * string/test-strcspn-ifunc.c: Likewise.
759 * string/test-strlen-ifunc.c: Likewise.
760 * string/test-strncasecmp-ifunc.c: Likewise.
761 * string/test-strncat-ifunc.c: Likewise.
762 * string/test-strncmp-ifunc.c: Likewise.
763 * string/test-strncpy-ifunc.c: Likewise.
764 * string/test-strnlen-ifunc.c: Likewise.
765 * string/test-strpbrk-ifunc.c: Likewise.
766 * string/test-strrchr-ifunc.c: Likewise.
767 * string/test-strspn-ifunc.c: Likewise.
768 * string/test-strstr-ifunc.c: Likewise.
770 * debug/Makefile (tests-ifunc): New variable.
771 (tests): Add $(tests-ifunc).
772 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
773 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
774 * debug/test-stpcpy_chk-ifunc.c: New file.
775 * debug/test-strcpy_chk-ifunc.c: Likewise.
777 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
780 * elf/dl-load.c (open_verify): Retry read if the entire ELF
781 header is not read in.
783 2012-10-19 Joseph Myers <joseph@codesourcery.com>
785 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
786 script to $(SHELL) as $<. Pass $(common-objpfx) to script
787 directly. Pass built executable to script as
788 $(built-program-cmd).
789 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
790 $testprogram without using LD_LIBRARY_PATH and $ldso.
792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
793 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
794 $(rtld-installed-name).
795 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
796 (rtld_installed_name): Likewise.
797 (library_path): Likewise.
798 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
800 $(run-program-prefix) to tst-tables.sh.
801 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
802 it to run tst-table-from and tst-table-to.
803 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
804 Pass it to tst-table.sh.
805 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
806 $(run-program-prefix) to tst-gettext.sh.
807 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
809 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
811 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
813 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
815 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
818 $(run-program-prefix) to tst-mtrace.sh.
819 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
821 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
822 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
823 $(rtld-installed-name).
824 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
825 (rtld_installed_name): Likewise.
826 (run_program_prefix): New variable. Use it to run wordexp-test.
828 * Makeconfig (ARCH): Remove all definitions.
830 [ARCH]: Remove conditional code.
831 [!objdir]: Give error.
832 [!objdir] (objpfx): Remove.
833 [!objdir] (common-objpfx): Likewise.
834 [!objdir] (common-objdir): Likewise.
835 * configure.in (config_makefile): Remove. Hardcode Makefile in
836 AC_CONFIG_FILES call.
837 * configure: Regenerated.
840 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
844 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
845 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
846 $(rtld-installed-name).
847 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
848 (rtld_installed_name): Likwise.
849 (runit): Remove function.
850 (run_getconf): New variable, Use it for running getconf binary.
852 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
855 * string/test-memmem.c (check_result): New function.
856 (do_one_test): Use it.
857 (check1): New function.
860 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
862 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
864 2012-10-18 Joseph Myers <joseph@codesourcery.com>
866 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
867 (_G_LSEEK64): Likewise.
868 (_G_MMAP64): Likewise.
869 (_G_FSTAT64): Likewise.
870 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
871 (_G_LSEEK64): Likewise.
872 (_G_MMAP64): Likewise.
873 (_G_FSTAT64): Likewise.
874 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
875 unconditional. Call __mmap64 directly.
876 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
877 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
879 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
880 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
882 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
883 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
885 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
886 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
888 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
889 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
891 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
892 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
894 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
895 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
897 (freopen64) [!_G_OPEN64]: Remove conditional code.
898 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
900 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
901 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
903 (ftello64) [!_G_LSEEK64]: Remove conditional code.
904 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
906 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
907 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
909 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
910 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
912 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
913 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
915 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
916 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
918 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
920 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
923 * manual/memory.texi (Malloc Tunable Parameters): Add note
924 about free list pointers overwriting some perturb bytes.
925 Wording suggested by Roland McGrath.
927 2012-10-17 Joseph Myers <joseph@codesourcery.com>
929 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
930 (lgamma_test): Likewise.
931 (tgamma_test): Likewise.
933 2012-10-16 Florian Weimer <fweimer@redhat.com>
936 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
937 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
939 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
941 * NEWS: Mention BZ #14716.
942 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
943 when removing AVAILABLE1_USES_J macro.
945 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
947 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
948 (__bswap_64): __uint64_t for unsigned 64-bit int.
950 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
952 * include/string.h (memmem): Declare libc hidden alias.
953 * string/memmem.c (memmem): Define libc hidden alias.
954 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
955 __read, __close instead of open, read, close.
957 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
960 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
962 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
963 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
964 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
966 (__rawmemchr_sse2): Likewise.
967 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
968 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
969 (__strchr_sse2): Likewise.
970 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
971 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
972 (__strcasecmp_sse2): Likewise.
973 (__strncasecmp_sse2): Likewise.
974 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
975 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
976 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
977 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
978 (__strrchr_sse2): Likewise.
979 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
981 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
982 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
983 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
984 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
985 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
987 * sysdeps/x86_64/multiarch/memset.S: Likewise.
988 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
989 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
990 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
991 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
993 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
994 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
995 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
997 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
998 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
999 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1000 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1001 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1002 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1003 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1004 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1005 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1007 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1009 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1010 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1012 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1014 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1015 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1016 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1017 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1019 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1021 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1022 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1023 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1024 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1039 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1040 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1042 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1043 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1051 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1052 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1053 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1054 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1055 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1056 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1059 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1068 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1069 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1070 * include/ifunc-impl-list.h: New file.
1071 * misc/ifunc-impl-list.c: Likewise.
1072 * misc/Makefile (routines): Add ifunc-impl-list.
1073 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1074 * string/test-string.h: Include <ifunc-impl-list.h>.
1075 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1076 impl_array): New variables.
1077 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1079 (test_init): Call __libc_ifunc_impl_list to initialize
1080 func_list if TEST_IFUNC and TEST_NAME are defined.
1082 * string/Makefile (strop-tests): Add bcopy and bzero.
1083 * string/test-bcopy.c: New file.
1084 * string/test-bzero.c: Likewise.
1085 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1087 * string/test-memset.c: Support bzero test if TEST_BZERO is
1089 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1091 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1093 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1096 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1098 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1099 * configure: Regenerated.
1101 * Makeconfig (+link-static-before-libc): Don't include
1102 $(link-static-libc).
1104 * libio/libio.h (_IO_pos_t): Remove.
1106 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1108 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1111 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1113 * crypt/crypt-entry.c: Include fips-private.h.
1114 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1115 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1116 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1117 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1121 * crypt/crypt-private.h: Include stdbool.h.
1122 (_ufc_setup_salt_r): Return bool.
1123 * crypt/crypt-entry.c: Include errno.h.
1124 (__crypt_r): Return NULL with EINVAL for bad salt.
1125 * crypt/crypt_util.c (bad_for_salt): New.
1126 (_ufc_setup_salt_r): Check that salt is long enough and within
1127 the specified alphabet.
1128 * crypt/badsalttest.c: New file.
1129 * crypt/Makefile (tests): Add it.
1130 ($(objpfx)badsalttest): New.
1132 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1134 * NEWS: Add entry for BZ #14602.
1136 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1138 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1140 * math/libm-test.inc: Update comment listing what functions and
1142 (isgreater_test): New function.
1143 (isgreaterequal_test): Likewise.
1144 (isless_test): Likewise.
1145 (islessequal_test): Likewise.
1146 (islessgreater_test): Likewise.
1147 (isunordered_test): Likewise.
1148 (main): Call the new functions.
1150 2012-10-09 Roland McGrath <roland@hack.frob.com>
1152 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1153 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1154 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1155 * sysdeps/i386/configure: Regenerated.
1156 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1157 * sysdeps/mach/configure: Regenerated.
1158 * sysdeps/mach/hurd/configure: Regenerated.
1159 * sysdeps/powerpc/configure: Regenerated.
1160 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1161 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1162 * sysdeps/s390/s390-32/configure: Regenerated.
1163 * sysdeps/s390/s390-64/configure: Regenerated.
1164 * sysdeps/sh/configure: Regenerated.
1165 * sysdeps/sparc/configure: Regenerated.
1166 * sysdeps/unix/sysv/linux/configure: Regenerated.
1167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1168 * sysdeps/x86_64/configure: Regenerated.
1170 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1171 defined. Don't check if MAP is NULL.
1173 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1175 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1176 (_G_stat64): Likewise.
1177 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1178 (_G_stat64): Likewise.
1179 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1180 instead of struct _G_stat64.
1181 * libio/fileops.c (mmap_remap_check): Likewise.
1182 (decide_maybe_mmap): Likewise.
1183 (_IO_new_file_seekoff): Likewise.
1184 (_IO_file_stat): Likewise.
1185 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1187 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1188 instead of struct _G_stat64.
1189 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1191 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1196 (CHECK_EOL): New macro.
1197 (two_way_short_needle): Check beginning of haystack for EOL. Use
1199 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1200 Replace with CHECK_EOL.
1201 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1202 Replace with CHECK_EOL.
1204 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1206 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1208 * math/libm-test.inc: Update comment listing what functions and
1210 (finite_test): New function.
1211 (isinf_test): Likewise.
1212 (isnan_test): Likewise.
1213 (fpclassify_test): Test subnormal input.
1214 (isfinite_test): Likewise.
1215 (isnormal_test): Likewise.
1216 (main): Call the new functions.
1218 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1221 * Makerules (%.dynsym): Force C locale when running
1222 $(OBJDUMP) --dynamic-syms.
1224 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1229 2012-10-06 David S. Miller <davem@davemloft.net>
1231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1232 upper 32-bits of the length value in %o2 since we use branch-on-register
1233 tests which consider the entire 64-bit register.
1235 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1237 * string/test-strstr.c (check2): Add a test for page boundary.
1239 2012-10-05 David S. Miller <davem@davemloft.net>
1241 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1244 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1246 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1247 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1248 and bzero when HWCAP_SPARC_CRYPTO is present.
1250 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1253 * string/test-strstr.c (check2): New function.
1254 (test_main): Call check2.
1256 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1258 * string/bug-strcasestr1.c (do_test): Moved to ...
1259 * string/test-strcasestr.c (check1): Here. New function.
1260 (do_one_test): Break out result checking code into ...
1261 (check_result): This. New function.
1262 (do_one_test): Call check_result.
1263 (test_main): Call check1.
1264 * string/bug-strchr1.c (do_test): Moved to ...
1265 * string/test-strchr.c (check1): Here. New function.
1266 (do_one_test): Break out result checking code into ...
1267 (check_result): This. New function.
1268 (do_one_test): Call check_result.
1269 (test_main): Call check1.
1270 * string/bug-strstr1.c (main): Moved to ...
1271 * string/test-strchr.c (check1): Here. New function.
1272 (do_one_test): Break out result checking code into ...
1273 (check_result): This. New function.
1274 (do_one_test): Call check_result.
1275 (test_main): Call check1.
1276 * string/bug-strcasestr1.c: Removed.
1277 * string/bug-strchr1.c: Likewise.
1278 * string/bug-strstr1.c: Likewise.
1280 * elf/Makefile (dl-routines): Add hwcaps.
1281 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1282 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1283 (_dl_important_hwcaps): Moved to ...
1284 * elf/dl-hwcaps.c: Here. New file.
1285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1288 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1289 if IS_IN_rtld isn't defined.
1291 * elf/dl-support.c (_dl_sysinfo_map): New.
1292 Include "get-dynamic-info.h" and "setup-vdso.h".
1293 (_dl_non_dynamic_init): Call setup_vdso.
1294 * elf/dynamic-link.h: Don't include <assert.h>.
1295 (elf_get_dynamic_info): Moved to ...
1296 * elf/get-dynamic-info.h: Here. New file.
1297 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1298 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1299 * elf/setup-vdso.h: Here. New file.
1300 * elf/rtld.c: Include "setup-vdso.h".
1301 (dl_main): Call setup_vdso.
1303 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1305 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1306 creal in comment listing functions tested. List finite, isinf,
1307 isnan, isless, islessequal, isgreater, isgreaterequal,
1308 islessgreater, isunordered, lgamma_r and pow10 as functions and
1309 macros not tested. Mention which functions not tested are aliases
1310 for other functions. Fix typo. Note that signs of NaNs are not
1313 * scripts/config.guess: Update from config.git.
1314 * scripts/config.sub: Likewise.
1316 2012-10-04 Roland McGrath <roland@hack.frob.com>
1318 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1319 * misc/madvise.c (madvise): Renamed to __madvise.
1320 Make madvise a weak alias.
1321 * include/sys/mman.h: Declare __madvise.
1322 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1323 * sysdeps/unix/syscalls.list
1324 (madvise): Make __madvise the strong name, and madvise a weak alias.
1325 * sysdeps/unix/sysv/linux/syscalls.list
1326 (madvise, mmap): Remove redundant entries.
1327 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1328 * malloc/malloc.c (mtrim): Likewise.
1329 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1331 2012-10-03 Roland McGrath <roland@hack.frob.com>
1333 * sysdeps/mach/hurd/dl-cache.c: File removed.
1334 * config.h.in (USE_LDCONFIG): New #undef.
1335 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1336 * configure: Regenerated.
1337 * elf/Makefile (dl-routines): Add dl-cache only under
1338 [$(use-ldconfig) = yes].
1339 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1340 cache on [USE_LDCONFIG].
1341 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1343 * elf/rtld.c (dl_main): Likewise.
1345 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1347 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1348 _SC_LEVEL4_CACHE_LINESIZE.
1350 2012-10-03 Roland McGrath <roland@hack.frob.com>
1352 * sysdeps/unix/bsd/confstr.h: File removed.
1354 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1356 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1359 2012-10-02 Roland McGrath <roland@hack.frob.com>
1361 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1362 Make 'mapoff' field ElfW(Off) rather than off_t.
1364 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1366 * nscd/Makefile: Remove nscd-cflags and all its users.
1367 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1368 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1371 * malloc.c (malloc_printerr): Clarify error message.
1373 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1377 Set bit_FMA_Usable if FMA is supported.
1378 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1380 (bit_FMA4_Usable): Updated.
1381 (index_FMA_Usable): New macro.
1382 (CPUID_FMA): Likewise
1383 (HAS_FMA): Defined with bit_FMA_Usable.
1385 2012-10-01 Roland McGrath <roland@hack.frob.com>
1387 * bits/types.h (__swblk_t): Type removed.
1388 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1389 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1391 (__SWBLK_T_TYPE): Likewise.
1392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1393 (__SWBLK_T_TYPE): Likewise.
1394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1395 (__SWBLK_T_TYPE): Likewise.
1396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1397 (__SWBLK_T_TYPE): Likewise.
1399 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1400 Honza Horak <hhorak@redhat.com>
1402 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1403 (xdr_mapname): Use YPMAXMAP as maxsize.
1404 (xdr_peername): Use YPMAXPEER as maxsize.
1405 (xdr_keydat): Use YPAXRECORD as maxsize.
1406 (xdr_valdat): Use YPMAXRECORD as maxsize.
1408 2012-10-01 Roland McGrath <roland@hack.frob.com>
1410 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1412 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1413 * csu/init-first.c: ... here.
1414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1415 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1418 * sysdeps/i386/init-first.c: File removed.
1419 * sysdeps/sh/init-first.c: File removed.
1421 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1425 if x * y might underflow to zero and z is zero.
1426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1428 * math/libm-test.inc (min_subnorm_value): New variable.
1429 (fma_test): Add more tests.
1430 (fma_test_towardzero): Likewise.
1431 (fma_test_downward): Likewise
1432 (fma_test_upward): Likewise.
1433 (initialize): Set min_subnorm_value.
1435 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1441 mode for addition resulting in exact zero.
1442 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1447 * math/libm-test.inc (fma_test): Add more tests.
1448 (fma_test_towardzero): New function.
1449 (fma_test_downward): Likewise.
1450 (fma_test_upward): Likewise.
1451 (main): Call the new functions.
1453 2012-09-28 David S. Miller <davem@davemloft.net>
1455 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1457 2012-09-28 Roland McGrath <roland@hack.frob.com>
1459 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1462 * sysdeps/gnu/_G_config.h: Moved to ...
1463 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1464 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1465 * sysdeps/generic/_G_config.h: ... here.
1467 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1469 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1471 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1472 Conditionalize target on [libnss_test1.so-version].
1474 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1476 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1477 (elfobjdir): Move out of conditionals.
1479 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1480 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1481 (__nss_lookup_function): Conditionalize label remove_from_tree on
1482 [!DO_STATIC_NSS || SHARED], matching its only use.
1484 2012-09-28 David S. Miller <davem@davemloft.net>
1486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1487 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1489 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1491 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1493 when HWCAP_SPARC_CRYPTO is present.
1495 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1497 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1499 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1502 * stdio-common/vfprintf.c (process_string_arg): Revert
1505 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1507 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1509 * stdio-common/tst-sprintf.c: Include <locale.h>
1510 (main): Test sprintf's handling of incomplete multibyte
1513 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1515 * elf/dl-runtime.c (VERSYMIDX): Removed.
1516 * elf/dl-version.c (VERSYMIDX): Likewise.
1517 * elf/do-rel.h (VERSYMIDX): Likewise.
1519 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1520 * elf/rtld.c (VALIDX): Likewise.
1521 (ADDRIDX): Likewise.
1522 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1523 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1524 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1525 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1527 (ADDRIDX): Likewise.
1529 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1531 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1533 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1536 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1538 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1539 addresses are in the same scope as 192.0.2/24.
1540 * posix/gai.conf: Document new scope table defaults.
1542 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1545 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1546 for ftell. Compute offsets from write pointers instead.
1547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1549 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 * libio/Makefile (tests): New test case tst-fseek.
1553 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1554 combination works in wide mode.
1555 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1556 state when the external buffer state changes.
1558 2012-09-27 David S. Miller <davem@davemloft.net>
1561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1562 pass reloc->r_addend in as the 'high' argument to
1563 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1569 * rt/tst-aio2.c: Include <pthread.h>.
1570 * rt/tst-aio3.c: Likewise.
1572 2012-09-27 Steve Ellcey <sellcey@mips.com>
1574 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1576 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1578 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1579 contents on [SHARED].
1581 2012-09-26 Marek Polacek <polacek@redhat.com>
1585 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1586 for C++ and GCC <4.3 as well as for non GCC compilers.
1588 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1592 2012-09-25 Roland McGrath <roland@hack.frob.com>
1594 * Makefile.in (all, install): Declare with .PHONY.
1595 Reported by Michael Hope <michael.hope@linaro.org>.
1597 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1599 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1600 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1604 (sydep_routines): Add the new and the internal functions.
1605 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1606 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1608 (GLIBC_2.17): Add the new function.
1609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1610 (GLIBC_2.17): Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1612 (GLIBC_2.17): Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1614 (GLIBC_2.17): Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1617 2012-09-25 Alan Modra <amodra@gmail.com>
1619 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1620 Add release barrier before setting once_control to say
1621 initialisation is done. Add hints on lwarx. Use macro in
1623 (clear_once_control): Add release barrier.
1625 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1628 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1630 * math/s_clog10.c (__clog10): Likewise.
1631 * math/s_clog10f.c (__clog10f): Likewise.
1632 * math/s_clog10l.c (__clog10l): Likewise.
1633 * math/s_clogf.c (__clogf): Likewise.
1634 * math/s_clogl.c (__clogl): Likewise.
1635 * math/Makefile (libm-calls): Add x2y2m1.
1636 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1637 (__x2y2m1): Likewise.
1638 (__x2y2m1l): Likewise.
1639 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1640 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1645 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1646 * sysdeps/i386/fpu/libm-test-ulps: Update.
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1650 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1651 int as type of variable DEPTH.
1652 (glob): Use size_t instead of int as type of variables NEWCOUNT
1655 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1659 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1661 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1662 macros for using routine as __sincosf_ia32.
1663 Use macro for function declaration and weak_alias.
1664 * sysdeps/i386/fpu/libm-test-ulps: Update.
1666 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1669 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1671 * math/s_cexpf.c (__cexpf): Likewise.
1672 * math/s_csinf.c (__csinf): Likewise.
1673 * math/s_csinhf.c (__csinhf): Likewise.
1674 * math/s_ctanf.c (__ctanf): Likewise.
1675 * math/s_ctanhf.c (__ctanhf): Likewise.
1676 * math/s_ccosh.c (__ccoshf): Likewise.
1677 * math/s_cexp.c (__cexpl): Likewise.
1678 * math/s_csin.c (__csin): Likewise.
1679 * math/s_csinh.c (__csinh): Likewise.
1680 * math/s_ctan.c (__ctan): Likewise.
1681 * math/s_ctanh.c (ctanh): Likewise.
1682 * math/s_ccoshl.c (__ccoshl): Likewise.
1683 * math/s_cexpl.c (__cexpl): Likewise.
1684 * math/s_csinl.c (__csinl): Likewise.
1685 * math/s_csinhl.c (__csinhl): Likewise.
1686 * math/s_ctanl.c (__ctanl): Likewise.
1687 * math/s_ctanhl.c (__ctanhl): Likewise.
1689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1691 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1692 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1693 (_IO_off_t): Define to __off_t, not _G_off_t.
1694 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1695 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1696 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1697 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1698 type of __dummy and __dummy2 fields.
1699 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1700 (_G_ssize_t): Likewise.
1701 (_G_off_t): Likewise.
1702 (_G_pid_t): Likewise.
1703 (_G_uid_t): Likewise.
1704 (_G_wchar_t): Likewise.
1705 (_G_wint_t): Likewise.
1706 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1707 (_G_ssize_t): Likewise.
1708 (_G_off_t): Likewise.
1709 (_G_pid_t): Likewise.
1710 (_G_uid_t): Likewise.
1711 (_G_wchar_t): Likewise.
1712 (_G_wint_t): Likewise.
1713 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1714 (_G_ssize_t): Likewise.
1715 (_G_off_t): Likewise.
1716 (_G_pid_t): Likewise.
1717 (_G_uid_t): Likewise.
1718 (_G_wchar_t): Likewise.
1719 (_G_wint_t): Likewise.
1721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1723 * malloc/arena.c: Include malloc-sysdep.h.
1724 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1725 is sufficient to shrink the heap or an unmap is needed.
1726 * sysdeps/generic/malloc-sysdep.h: New file. Define
1727 new function check_may_shrink_heap.
1728 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1729 new function check_may_shrink_heap.
1731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1733 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1736 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1738 * catgets/test-gencat.sh: Add "set -e".
1739 * elf/tst-pathopt.sh: Likewise.
1740 * grp/tst_fgetgrent.sh: Likewise.
1741 * iconvdata/run-iconv-test.sh: Likewise.
1742 * intl/tst-gettext.sh: Likewise.
1743 * intl/tst-gettext2.sh: Likewise.
1744 * intl/tst-gettext4.sh: Likewise.
1745 * intl/tst-gettext6.sh: Likewise.
1746 * intl/tst-translit.sh: Likewise.
1747 * io/ftwtest-sh: Likewise.
1748 * libio/test-freopen.sh: Likewise.
1749 * malloc/tst-mtrace.sh: Likewise.
1750 * posix/globtest.sh: Likewise.
1751 * posix/tst-getconf.sh: Likewise.
1752 * posix/wordexp-tst.sh: Likewise.
1753 * stdio-common/tst-printf.sh: Likewise.
1754 * stdio-common/tst-unbputc.sh: Likewise.
1755 * stdlib/tst-fmtmsg.sh: Likewise.
1756 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1757 * catgets/Makefile: Do not specify -e option when running
1758 testsuite shell scripts.
1759 * elf/Makefile: Likewise.
1760 * grp/Makefile: Likewise.
1761 * iconvdata/Makefile: Likewise.
1762 * intl/Makefile: Likewise.
1763 * io/Makefile: Likewise.
1764 * libio/Makefile: Likewise.
1765 * malloc/Makefile: Likewise.
1766 * posix/Makefile: Likewise.
1767 * stdio-common/Makefile: Likewise.
1768 * stdlib/Makefile: Likewise.
1769 * sysdeps/x86_64/Makefile: Likewise.
1771 * io/ftwtest-sh: Add copyright header.
1772 * posix/globtest.sh: Likewise.
1773 * posix/tst-getconf.sh: Likewise.
1774 * posix/wordexp-tst.sh: Likewise.
1775 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1777 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1780 * Makeconfig (+link): Defined as $(+link-static) if
1781 $(build-shared) isn't yes.
1782 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1784 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1786 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1789 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1790 new chunk size with MALLOC_ALIGN_MASK.
1792 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1795 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1797 (__printf_fphex): Determine rounding using get_rounding_mode and
1799 * stdio-common/tst-printf-round.c (struct hex_test): New
1801 (hex_tests): New variable.
1802 (test_hex_in_one_mode): New function.
1803 (do_test): Also run tests for hex float output.
1805 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1807 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1808 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1809 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1810 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1811 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1812 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1813 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1814 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1816 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1818 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1819 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1820 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1821 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1823 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1826 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1828 * elf/tst-rtld-load-self.sh: New test.
1829 * elf/Makefile: Run it.
1831 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1834 (tst-writev-ENV): Remove.
1835 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1837 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1839 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1841 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1843 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1845 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1847 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1848 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1849 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1852 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1855 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1856 * config.make.in (have-cpp-asm-debuginfo): Removed.
1857 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1858 * configure: Regenerated.
1860 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1863 * stdio-common/printf_fp.c: Include <stdbool.h> and
1865 (___printf_fp): Determine rounding using get_rounding_mode and
1867 * stdio-common/tst-printf-round.c: New file.
1868 * stdio-common/Makefile (tests): Add tst-printf-round.
1869 (link-libm): New variable.
1870 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1872 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1875 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1876 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1878 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1881 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1883 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1884 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1885 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1888 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1891 * include/rounding-mode.h: New file.
1892 * sysdeps/generic/get-rounding-mode.h: Likewise.
1893 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1894 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1895 (MAX_VALUE): New macro.
1896 (MIN_VALUE): Likewise.
1897 (overflow_value): New function.
1898 (underflow_value): Likewise.
1899 (round_and_return): Use overflow_value and underflow_value to
1900 determine return values in overflow and underflow cases. Use
1901 round_away to determine rounding depending on rounding mode.
1902 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1903 determine return values in overflow and underflow cases.
1904 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1905 (struct test_results): New structure.
1906 (struct test): Use struct test_results to store expected results
1907 for all rounding modes.
1908 (TEST): Include expected results for all rounding modes.
1909 (test_in_one_mode): New function.
1910 (do_test): Use test_in_one_mode to compute and check results.
1911 Check results for all rounding modes.
1912 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1915 2012-12-09 Allan McRae <allan@archlinux.org>
1917 * sysdeps/i386/fpu/libm-test-ulps: Update
1919 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1921 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1922 (_G_int32_t): Likewise.
1923 (_G_uint16_t): Likewise.
1924 (_G_uint32_t): Likewise.
1925 (_G_HAVE_BOOL): Likewise.
1926 (_G_HAVE_ATEXIT): Likewise.
1927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1928 (_G_HAVE_IO_FILE_OPEN): Likewise.
1929 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1930 (_G_int32_t): Likewise.
1931 (_G_uint16_t): Likewise.
1932 (_G_uint32_t): Likewise.
1933 (_G_HAVE_BOOL): Likewise.
1934 (_G_HAVE_ATEXIT): Likewise.
1935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1936 (_G_HAVE_IO_FILE_OPEN): Likewise.
1937 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1938 (_G_int32_t): Likewise.
1939 (_G_uint16_t): Likewise.
1940 (_G_uint32_t): Likewise.
1941 (_G_HAVE_BOOL): Likewise.
1942 (_G_HAVE_ATEXIT): Likewise.
1943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1944 (_G_HAVE_IO_FILE_OPEN): Likewise.
1946 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1948 * csu/libc-tls.c: Update copyright years.
1950 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1952 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1953 [!_G_USING_THUNKS]: Remove conditional code.
1954 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1955 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1957 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1958 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1959 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1960 (_G_VTABLE_LABEL_PREFIX): Likewise.
1961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1962 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1964 (_G_VTABLE_LABEL_PREFIX): Likewise.
1965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1966 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1968 (_G_VTABLE_LABEL_PREFIX): Likewise.
1969 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1971 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1973 * libio/Makefile: Include ../Makeconfig before tests.
1974 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1975 only if $(build-shared) is yes.
1977 * iconv/gconv_db.c: Update copyright years.
1979 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1981 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1982 unwind info if defined PIC. Fix special cases description.
1983 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1985 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1987 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1989 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1991 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1993 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1996 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1997 (LDLIBS-tst-chk4): This.
1998 (LDFLAGS-tst-chk5): Renamed to ...
1999 (LDLIBS-tst-chk5): This.
2000 (LDFLAGS-tst-chk6): Renamed to ...
2001 (LDLIBS-tst-chk6): This.
2002 (LDFLAGS-tst-lfschk4): Renamed to ...
2003 (LDLIBS-tst-lfschk4): This.
2004 (LDFLAGS-tst-lfschk5): Renamed to ...
2005 (LDLIBS-tst-lfschk5): This.
2006 (LDFLAGS-tst-lfschk6): Renamed to ...
2007 (LDLIBS-tst-lfschk6): This.
2009 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2010 on $(common-objpfx)soversions.mk.
2012 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2015 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2018 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2020 * malloc/arena.c (arena_get_retry): New function that gets
2021 another arena for the caller to try its request on.
2022 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2023 current arena cannot fulfill the request.
2024 (__libc_memalign): Likewise.
2025 (__libc_memalign): Likewise.
2026 (__libc_pvalloc): Likewise.
2027 (__libc_calloc): Likewise.
2029 2012-09-05 John Tobey <john.tobey@gmail.com>
2032 * manual/arith.texi (Operations on Complex): Fix description
2035 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2038 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2042 * manual/memory.texi (Memory): Make order of menu items match
2045 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2047 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2048 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2049 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2053 * csu/libc-tls.c (static_dtv): Renamed to ...
2054 (_dl_static_dtv): This. Make it global.
2055 (_dl_initial_dtv): Removed.
2056 (__libc_setup_tls): Updated.
2057 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2058 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2061 2012-09-06 Petr Machata <pmachata@redhat.com>
2063 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2064 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2065 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2066 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2068 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2071 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2072 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2078 * Makeconfig (link-static-before-libc): Replace $(+prector)
2080 (link-static-after-libc): Replace $(+postctor) with
2082 (link-bounded): Replace $(+prector)/$(+postctor) with
2083 $(+prectorT)/$(+postctorT).
2084 (+prectorT): New macro.
2085 (+postctorT): Likewise.
2087 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2089 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2090 (round_str): Handle values above the maximum for IBM long double
2092 * stdlib/tst-strtod-round.c (tests): Regenerated.
2094 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2096 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2098 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2099 zarch_nohighgprs around the zarch optimized routines.
2100 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2101 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2105 2012-09-05 David S. Miller <davem@davemloft.net>
2107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2109 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2110 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2111 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2112 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2117 * malloc/arena.c: Fold copyright years.
2118 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2122 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2126 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2131 change internal state upon failure.
2133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2135 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2136 * malloc/memusage.c (mmap): Likewise.
2137 (mmap64, mremap): Likewise. Adjust name in comment.
2139 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2141 * libio/fileops.c: Fix typos in comments.
2142 * libio/oldfileops.c: Likewise.
2143 * libio/wfileops.c: Likewise.
2145 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2148 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2149 (tst-malloc-usable-ENV): Set environment for test case.
2150 * malloc/hooks.c (malloc_check_get_size): New function to get
2152 * malloc/malloc.c (musable): Use malloc_check_get_size.
2153 * malloc/tst-malloc-usable.c: New test case.
2155 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2157 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2159 2012-09-05 Allan McRae <allan@archlinux.org>
2162 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2163 determine header location.
2164 * configure: Regenerated.
2166 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2168 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2170 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2171 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2175 2012-09-04 David S. Miller <davem@davemloft.net>
2177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2181 2012-09-04 Florian Weimer <fweimer@redhat.com>
2183 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2186 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2188 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2191 * libio/iogetdelim.c: Include <limits.h>.
2192 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2193 + len + 1 would overflow.
2195 2012-09-03 Andreas Jaeger <aj@suse.de>
2197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2198 * sysdeps/i386/fpu/libm-test-ulps: Update.
2200 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2202 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2203 Add s_sinf-sse2, s_conf-sse2.
2205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2206 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2207 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2208 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2210 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2211 for using routine as __sinf_ia32.
2212 Use macro for function declaration and weak_alias.
2213 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2214 for using routine as __cosf_ia32.
2215 Use macro for function declaration and weak_alias.
2217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2218 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2220 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2221 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2224 * math/libm-test.inc (cos_test): Add more test cases.
2225 (sin_test): Likewise.
2226 (sincos_test): Likewise.
2228 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2231 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2235 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2238 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2239 first element of the GOT.
2240 (elf_machine_load_address): Return the difference between
2241 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2243 2012-09-01 Allan McRae <allan@archlinux.org>
2246 * configure.in (AWK): Require gawk version 3.0 or later.
2247 * configure: Regenerated.
2249 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2251 * sysdeps/unix/sysv/linux/kernel-features.h
2252 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2254 [__NR_clock_getres]: Make code unconditional.
2255 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2256 (clock_getcpuclockid): Remove code left unreachable by removal of
2258 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2262 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2263 Make code unconditional.
2264 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2265 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2266 * sysdeps/unix/sysv/linux/clock_settime.c
2267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2269 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2272 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2275 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2276 scripts/test-installation.pl.
2278 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2279 and $ld_so_version if it is set.
2281 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2285 failure if reading from procfs failed.
2286 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2288 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2290 * sysdeps/unix/sysv/linux/kernel-features.h
2291 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2292 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2293 Remove conditional code.
2294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2295 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2296 Remove conditional code.
2297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2298 * sysdeps/unix/sysv/linux/i386/fxstat.c
2299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2301 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2302 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2304 * sysdeps/unix/sysv/linux/i386/lxstat.c
2305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2307 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2308 Remove conditional code.
2309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2310 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2311 Remove conditional code.
2312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2314 <kernel-features.h>.
2315 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2317 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2318 Remove conditional code.
2319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2320 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2323 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2326 * NEWS: Add fixed bug number.
2328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2331 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2332 underflowing exponent in case of negative sign.
2333 * stdlib/tst-strtod-round-data: Add more tests.
2334 * stdlib/tst-strtod-round.c (tests): Regenerated.
2337 * stdlib/strtod_l.c (NDIG): Remove.
2338 (HEXNDIG): Likewise.
2339 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2340 smallest representable value.
2341 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2342 lie within an exact representation of 1/2 ulp of the result.
2343 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2345 (TENS_P9_IDX): Define unconditionally.
2346 (TENS_P9_SIZE): Likewise.
2347 (TENS_P10_IDX): Likewise.
2348 (TENS_P10_SIZE): Likewise.
2349 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2350 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2351 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2352 entries for 10^2^13 and 10^2^14.
2353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2354 (TENS_P13_IDX): Define.
2355 (TENS_P13_SIZE): Likewise.
2356 (TENS_P14_IDX): Likewise.
2357 (TENS_P14_SIZE): Likewise.
2358 (_fpioconst_pow10): Change array size to
2359 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2361 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2362 1024]: Add entries for 10^2^13 and 10^2^14.
2363 [LAST_POW10 > _LAST_POW10]: Remove #error.
2364 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2365 (_fpioconst_pow10): Change array size to
2366 FPIOCONST_POW10_ARRAY_SIZE.
2367 * stdlib/gen-fpioconst.c: New file.
2368 * stdlib/gen-tst-strtod-round.c: Likewise.
2369 * stdlib/tst-strtod-round-data: Likewise.
2370 * stdlib/tst-strtod-round.c: Likewise.
2371 * stdlib/Makefile (tests): Add tst-strtod-round.
2374 * stdlib/strtod_l.c: Include <stdint.h>.
2375 (NDEBUG): Do not define.
2376 (round_and_return): Change EXPONENT parameter to type intmax_t.
2377 Rearrange calculations to avoid internal overflow possibilities.
2378 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2379 Rearrange calculations to avoid internal overflow possibilities.
2380 Assert that number fits inside MPNSIZE limbs.
2381 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2382 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2383 calculations and add assertions to avoid internal overflow
2384 possibilities. Add casts to avoid signed/unsigned operations.
2385 * stdlib/tst-strtod-overflow.c: New file.
2386 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2388 2012-08-25 Marek Polacek <polacek@redhat.com>
2390 * time/time.h: Fix some typos in comments.
2392 2012-08-23 Roland McGrath <roland@hack.frob.com>
2394 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2395 * posix/tst-rfc3484-2.c: Likewise.
2396 * posix/tst-rfc3484-3.c: Likewise.
2398 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2400 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2401 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2403 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2406 #include of fxstatat64.c.
2408 2012-08-22 Roland McGrath <roland@hack.frob.com>
2410 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2411 * shadow/getspent_r.c: Likewise.
2412 * shadow/getspnam.c: Likewise.
2413 * shadow/getspnam_r.c: Likewise.
2414 * gshadow/getsgent.c: Likewise.
2415 * gshadow/getsgent_r.c: Likewise.
2416 * gshadow/getsgnam.c: Likewise.
2417 * gshadow/getsgnam_r.c: Likewise.
2418 * inet/getnetbyad.c: Likewise.
2419 * inet/getnetbyad_r.c: Likewise.
2420 * inet/getnetbynm.c: Likewise.
2421 * inet/getnetbynm_r.c: Likewise.
2422 * inet/getnetent.c: Likewise.
2423 * inet/getnetent_r.c: Likewise.
2424 * inet/getproto.c: Likewise.
2425 * inet/getproto_r.c: Likewise.
2426 * inet/getprtent.c: Likewise.
2427 * inet/getprtent_r.c: Likewise.
2428 * inet/getprtname.c: Likewise.
2429 * inet/getprtname_r.c: Likewise.
2430 * inet/getrpcbyname.c: Likewise.
2431 * inet/getrpcbyname_r.c: Likewise.
2432 * inet/getrpcbynumber.c: Likewise.
2433 * inet/getrpcbynumber_r.c: Likewise.
2434 * inet/getrpcent.c: Likewise.
2435 * inet/getrpcent_r.c: Likewise.
2436 * inet/getaliasent.c: Likewise.
2437 * inet/getaliasent_r.c: Likewise.
2438 * inet/getaliasname.c: Likewise.
2439 * inet/getaliasname_r.c: Likewise.
2440 * nscd/getgrgid_r.c: Likewise.
2441 * nscd/getgrnam_r.c: Likewise.
2442 * nscd/gethstbyad_r.c: Likewise.
2443 * nscd/gethstbynm3_r.c: Likewise.
2444 * nscd/getpwnam_r.c: Likewise.
2445 * nscd/getpwuid_r.c: Likewise.
2446 * nscd/getsrvbynm_r.c: Likewise.
2447 * nscd/getsrvbypt_r.c: Likewise.
2448 * nscd/gai.c: Likewise.
2450 * configure.in (build_nscd): New substituted variable, set
2451 by --disable-build-nscd and defaults to $use_nscd.
2452 * configure: Regenerated.
2453 * config.make.in (build-nscd): New substituted variable.
2454 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2455 Change conditional to require [$(build-nscd) = yes] as well.
2456 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2459 * configure.in (use_nscd): New substituted variable, set by
2460 --disable-nscd. If enabled, define USE_NSCD.
2461 * configure: Regenerated.
2462 * config.h.in: Add USE_NSCD.
2463 * config.make.in (use-nscd): New substituted variable.
2464 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2465 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2466 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2467 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2468 (CFLAGS-getgrnam_r.c): Likewise.
2469 (CFLAGS-initgroups.c): Likewise.
2470 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2471 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2473 * inet/getnetgrent_r.c
2474 (nscd_setnetgrent): New function, broken out of ...
2475 (setnetgrent): ... here. Call it.
2476 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2477 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2478 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2479 * nscd/Makefile (routines, aux): Move definitions after include of
2480 Makeconfig. Conditionalize on [$(use-nscd) != no].
2481 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2482 Conditionalize on [USE_NSCD].
2483 (is_nscd, nscd_init_cb): Likewise.
2484 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2485 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2486 * nss/nss_db/db-init.c: Likewise.
2487 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2489 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2490 (make_request): Use it.
2491 (cache_valid_p): New function.
2492 (__check_pf): Use it.
2493 * NEWS: Add item for --disable-nscd.
2495 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2497 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2498 to support sed >= 4.2.1-20-ga9bf076.
2499 * configure: Regenerated.
2501 2012-08-22 Roland McGrath <roland@hack.frob.com>
2503 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2504 Conditionalize whole body on [IREL].
2506 2012-08-22 Jeff Law <law@redhat.com>
2509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2510 if the family is PF_UNSPEC.
2512 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2514 * Makerules (lib-version): Rename from V.
2515 (install-lib-nosubdir): Change V to lib-version.
2517 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2520 * powerpc32/power6/wcschr.c: New file.
2521 * powerpc32/power6/wcscpy.c: New file.
2522 * powerpc32/power6/wcsrchr.c: New file.
2523 * powerpc64/power6/wcschr.c: New file.
2524 * powerpc64/power6/wcscpy.c: New file.
2525 * powerpc64/power6/wcsrchr.c: New file.
2527 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2529 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2530 (two_way_short_needle): Use it.
2531 * string/strstr.c (AVAILABLE1_USES_J): Define.
2532 * string/strcasestr.c: Likewise.
2534 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2536 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2539 * NEWS: Add an entry.
2540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2541 define their defaults.
2542 (two_way_short_needle): Detect end-of-string on-the-fly.
2543 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2544 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2545 * string/bug-strcasestr1.c: New test.
2546 * string/Makefile: Run it.
2548 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2551 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2552 the first character.
2554 2012-08-21 Roland McGrath <roland@hack.frob.com>
2556 * csu/elf-init.c (__libc_csu_irel): Function removed.
2557 * csu/libc-start.c (apply_irel): New function.
2558 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2560 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2562 * sysdeps/unix/sysv/linux/kernel-features.h
2563 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2564 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2565 <kernel-features.h>.
2566 [__NR_fadvise64_64]: Make code unconditional.
2567 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2568 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2569 !__NR_fadvise64_64)]: Likewise.
2570 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2571 !__NR_fadvise64_64))]: Likewise.
2572 [__NR_fadvise64]: Make code unconditional.
2573 [!__NR_fadvise64]: Remove conditional code.
2574 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2575 <kernel-features.h>.
2576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2581 not include <kernel-features.h>.
2582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2586 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2587 include <kernel-features.h>.
2588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2593 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2596 slight instruction rearrangements per scrollpipe analysis.
2597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2599 2012-08-20 Roland McGrath <roland@hack.frob.com>
2601 * manual/syslog.texi (syslog; vsyslog, closelog):
2602 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2603 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2605 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2606 DSOCAPS to match condition on defining it.
2608 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/unix/sysv/linux/kernel-features.h
2611 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2616 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2617 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2623 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2625 * sysdeps/unix/sysv/linux/kernel-features.h
2626 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2627 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2629 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2630 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2631 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2632 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2633 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2634 Make code unconditional.
2635 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2636 (__mmap64) [!__NR_mmap2]: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2641 [__NR_mmap2]: Make code unconditional.
2642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2643 (__mmap64) [!__NR_mmap2]: Likewise.
2645 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2647 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2649 2012-08-18 Andreas Jaeger <aj@suse.de>
2651 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2653 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2655 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2656 * include/unistd.h (__have_sock_cloexec): Likewise.
2657 (__have_pipe2): Likewise.
2658 (__have_dup3): Likewise.
2660 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2663 * include/unistd.h (__have_pipe2): Change define into an extern int.
2664 (__have_dup3): Likewise.
2665 * socket/have_sock_cloexec.c: Include fcntl.h.
2666 (__have_pipe2): New variable.
2667 (__have_dup3): Likewise.
2669 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2671 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2673 2012-08-17 Marek Polacek <polacek@redhat.com>
2675 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2676 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2678 2012-08-17 Roland McGrath <roland@hack.frob.com>
2680 * configure.in: Add AC_SUBST for sysheaders.
2681 * configure: Regenerated.
2682 * config.make.in (sysheaders): New substituted variable.
2684 * sysdeps/unix/mkfifo.c: Moved ...
2685 * sysdeps/posix/mkfifo.c: ... here.
2686 * sysdeps/unix/mkfifoat.c: Moved ...
2687 * sysdeps/posix/mkfifoat.c: ... here.
2689 * sysdeps/unix/utime.c: Moved ...
2690 * sysdeps/posix/utime.c: ... here.
2692 * sysdeps/unix/time.c: Moved ...
2693 * sysdeps/posix/time.c: ... here.
2694 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2695 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2697 * sysdeps/unix/nice.c: Moved ...
2698 * sysdeps/posix/nice.c: ... here.
2700 * sysdeps/unix/alarm.c: Moved ...
2701 * sysdeps/posix/alarm.c: ... here.
2703 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2705 2012-08-17 Jeff Law <law@redhat.com>
2707 * intl/Makefile (codeset_mo): New variable.
2708 ($(codeset_mo)): New target.
2709 (tst-codeset.out): Depend on that. Remove explicit rule.
2710 (tst-gettext3.out, tst-gettext5.out): Likewise.
2711 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2712 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2713 * intl/tst-codeset.sh: Remove.
2714 * intl/tst-gettext3.sh: Likewise.
2715 * intl/tst-gettext5.sh: Likewise.
2717 2012-08-17 Roland McGrath <roland@hack.frob.com>
2719 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2720 * sysdeps/unix/syscalls.list: ... here.
2722 * sysdeps/posix/getaddrinfo.c
2723 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2724 (gaiconf_init, gaiconf_reload): Use them.
2726 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2727 Define using time_t rather than struct timespec.
2729 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2730 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2732 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2734 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2735 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2739 __libc_cleanup_push argument.
2741 * bits/param.h: New file.
2742 * misc/sys/param.h: New file.
2743 * include/sys/param.h: New file.
2744 * misc/Makefile (headers): Add bits/param.h.
2745 * sysdeps/generic/sys/param.h: File removed.
2746 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2747 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2748 * sysdeps/mach/hurd/bits/param.h: New file.
2749 * sysdeps/mach/hurd/sys/param.h: File removed.
2751 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2754 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2756 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2757 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2760 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2761 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2762 rather than -D_IO_MTSAFE_IO conditionally.
2763 * stdio-common/Makefile (CPPFLAGS): Likewise.
2764 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2765 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2766 Use $(libio-mtsafe).
2767 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2769 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2770 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2771 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2772 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2773 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2774 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2775 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2776 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2777 (CFLAGS-fread_u_chk.c): Likewise.
2778 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2779 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2780 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2781 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2782 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2783 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2784 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2785 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2786 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2788 * libio/Makefile: Test [$(libc-reentrant) = yes]
2789 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2792 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2793 * sysdeps/pthread/configure: File removed.
2794 * sysdeps/pthread/Makeconfig: New file.
2795 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2796 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2798 2012-08-16 Gary Benson <gbenson@redhat.com>
2800 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2801 unmapping the first object in a namespace.
2803 2012-08-16 Roland McGrath <roland@hack.frob.com>
2805 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2806 (__internal_setnetgrent): ... this. Add internal_function to
2807 definition. Add libc_hidden_def.
2808 (setnetgrent): Update caller.
2809 (internal_endnetgrent): Renamed to ...
2810 (__internal_endnetgrent): ... this. Add internal_function to
2811 definition. Add libc_hidden_def.
2812 (endnetgrent): Update caller.
2813 (internal_getnetgrent_r): Renamed to ...
2814 (__internal_getnetgrent_r): ... this. Add internal_function to
2815 definition. Add libc_hidden_def.
2816 (__getnetgrent_r): Update caller.
2817 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2819 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2821 * stdlib/longlong.h: Update from GCC.
2823 2012-08-16 Roland McGrath <roland@hack.frob.com>
2825 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2826 on _QL, which is set by umul_ppmm but never used.
2827 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2828 variables, which are set by GMP macros but never used.
2829 * stdio-common/_itowa.c (_itowa): Likewise.
2830 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2831 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2833 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2835 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2836 struct La_sh_regs is not constant.
2837 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2838 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2839 and struct La_sparc64_regs are not constant.
2841 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2843 * sysdeps/unix/sysv/linux/kernel-features.h
2844 (__ASSUME_POSIX_TIMERS): Remove.
2845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2847 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2848 Make code unconditional.
2849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2850 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2851 Make code unconditional.
2852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2853 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2854 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2856 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2857 Make code unconditional.
2858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2859 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2860 (__libc_missing_posix_timers): Remove.
2862 2012-08-15 Roland McGrath <roland@hack.frob.com>
2864 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2865 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2867 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2869 * elf/dl-sym.c: Include <stdlib.h>.
2871 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2872 constants, which avoids warnings in 32-bit builds.
2874 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2875 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2877 * misc/lseek.c: File moved to ...
2878 * io/lseek.c: ... here.
2880 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2882 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2883 shifting LEN more than 31 bits at once.
2885 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2888 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2889 segmentation fault for a case of two empty input strings.
2890 * string/test-strncasecmp.c (check1): Renamed to...
2892 (bz14195): Add new testcase for two empty input strings and N > 0.
2893 (test_main): Call new testcase, adapt for renamed function.
2895 2012-08-15 Andreas Jaeger <aj@suse.de>
2898 * crypt/md5test2.c: New test, based on test supplied by Serge
2899 Belyshev <belyshev@depni.sinp.msu.ru>.
2900 * crypt/Makefile (xtests): Add md5test-giant..
2901 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2903 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2906 * crypt/md5.c (md5_process_block): Don't assume the buffer
2907 length is less than 2**32.
2908 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2909 length is less than 2**64.
2911 2012-08-15 Roland McGrath <roland@hack.frob.com>
2913 * string/str-two-way.h: Include <sys/param.h>.
2914 (MAX): Macro removed.
2916 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2917 Move #define and #undef of memmove to just before and after
2918 including <string.h>.
2920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2921 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2922 and after including <string.h>. Move declarations of
2923 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2924 to before #include "string/memmove.c".
2926 * include/dirent.h: Declare __getdirentries.
2928 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2929 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2931 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2933 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2934 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2935 * sysdeps/i386/configure: Regenerated.
2936 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2937 STABS_CURRENT_FILE, and STABS_FUN.
2938 (END): Remove call to STABS_FUN_END.
2939 (STABS_CURRENT_FILE1): Delete.
2940 (STABS_CURRENT_FILE): Likewise.
2941 (STABS_FUN): Likewise.
2942 (STABS_FUN_END): Likewise.
2943 (STABS_FUN2): Likewise.
2944 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2945 * sysdeps/x86_64/configure: Regenerated.
2947 2012-08-14 Roland McGrath <roland@hack.frob.com>
2949 * elf/dl-open.c: Include <atomic.h>.
2950 * elf/dl-lookup.c: Likewise.
2952 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2954 * sysdeps/unix/sysv/linux/kernel-features.h
2955 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2956 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2958 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2960 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2961 condition on __ASSUME_CLONE_THREAD_FLAGS.
2963 2012-08-14 Andreas Jaeger <aj@suse.de>
2965 * sysdeps/i386/fpu/libm-test-ulps: Update.
2967 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2969 * include/atomic.h (atomic_exchange_and_add): Split into ...
2970 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2973 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2977 2012-08-13 Jeff Law <law@redhat.com>
2979 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2980 null byte in the output string.
2982 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2984 * sysdeps/unix/sysv/linux/kernel-features.h
2985 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2986 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2987 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2989 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2990 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2991 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2993 2012-08-09 Jeff Law <law@redhat.com>
2996 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2997 When avoid_arena is set, don't retry in the that arena. Pick the
2998 next one, whatever it might be.
2999 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3000 (arena_lock): Pass in new parameter to arena_get2.
3001 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3003 (__libc_malloc): Unify retrying after main arena failure with
3004 __libc_memalign version.
3005 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3007 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3011 to __redirect_strstr.
3012 (__strstr_sse42): Use typeof __redirect_strstr.
3013 (__strstr_ia32): Likewise.
3014 (__libc_strstr): New prototype.
3015 (strstr): Renamed to ...
3016 (__libc_strstr): This.
3017 (strstr): New strong alias of __libc_strstr.
3018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3019 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3022 (__libc_time): New prototype.
3023 (time_ifunc): Replace time with __libc_time.
3024 (time): New strong alias and hidden definition of __libc_time.
3025 (__GI_time): Remove strong alias.
3026 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3028 (memmove): Redefined to __redirect_memmove.
3029 (__memmove_sse2): Use typeof __redirect_memmove.
3030 (__memmove_ssse3): Likewise.
3031 (__memmove_ssse3_back): Likewise.
3032 (__libc_memmove): New prototype.
3033 (memmove): Renamed to ...
3034 (__libc_memmove): This.
3035 (memmove): New strong alias of __libc_memmove.
3037 2012-08-08 Mark Salter <msalter@redhat.com>
3040 (R_MN10300_TLS_GD): Define.
3041 (R_MN10300_TLS_LD): Likewise.
3042 (R_MN10300_TLS_LDO): Likewise.
3043 (R_MN10300_TLS_GOTIE): Likewise.
3044 (R_MN10300_TLS_IE): Likewise.
3045 (R_MN10300_TLS_LE): Likewise.
3046 (R_MN10300_TLS_DTPMOD): Likewise.
3047 (R_MN10300_TLS_DTPOFF): Likewise.
3048 (R_MN10300_TLS_TPOFF): Likewise.
3049 (R_MN10300_SYM_DIFF): Likewise.
3050 (R_MN10300_ALIGN): Likewise.
3051 (R_MN10300_NUM): Update.
3053 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3058 2012-08-08 Roland McGrath <roland@hack.frob.com>
3060 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3062 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3063 sysdeps/unix -> sysdeps/posix move.
3064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3066 2012-08-07 Allan McRae <allan@archlinux.org>
3069 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3070 (SUNOS_CPP): Likewise.
3071 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3073 (open_input): Call CPP using execvp.
3075 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3077 * sysdeps/unix/sysv/linux/kernel-features.h
3078 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3079 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3080 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3081 (__ASSUME_WAITID_SYSCALL): Likewise.
3082 * sysdeps/unix/sysv/linux/dl-execstack.c
3083 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3085 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3088 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3089 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3091 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3093 [__ASSUME_WAITID_SYSCALL]: Likewise.
3094 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3096 2012-08-07 Roland McGrath <roland@hack.frob.com>
3098 * sysdeps/unix/closedir.c: Renamed to ...
3099 * sysdeps/posix/closedir.c: ... here.
3100 * sysdeps/unix/dirfd.c: Renamed to ...
3101 * sysdeps/posix/dirfd.c: ... here.
3102 * sysdeps/unix/dirstream.h: Renamed to ...
3103 * sysdeps/posix/dirstream.h: ... here.
3104 * sysdeps/unix/fdopendir.c: Renamed to ...
3105 * sysdeps/posix/fdopendir.c: ... here.
3106 * sysdeps/unix/opendir.c: Renamed to ...
3107 * sysdeps/posix/opendir.c: ... here.
3108 * sysdeps/unix/readdir.c: Renamed to ...
3109 * sysdeps/posix/readdir.c: ... here.
3110 * sysdeps/unix/readdir_r.c: Renamed to ...
3111 * sysdeps/posix/readdir_r.c: ... here.
3112 * sysdeps/unix/rewinddir.c: Renamed to ...
3113 * sysdeps/posix/rewinddir.c: ... here.
3114 * sysdeps/unix/seekdir.c: Renamed to ...
3115 * sysdeps/posix/seekdir.c: ... here.
3116 * sysdeps/unix/telldir.c: Renamed to ...
3117 * sysdeps/posix/telldir.c: ... here.
3118 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3119 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3120 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3121 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3123 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3124 * bits/fcntl.h: ... here.
3126 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3128 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3129 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3130 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3131 (struct flock): Move l_start, l_len to the beginning.
3132 Use __pid_t for l_pid.
3133 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3134 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3135 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3136 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3137 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3138 [__USE_LARGEFILE64] (struct flock64): New type.
3139 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3141 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3142 * bits/dirent.h: ... here.
3144 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3145 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3147 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3150 Change from 2.6.0 to 2.6.16.
3151 * sysdeps/unix/sysv/linux/configure: Regenerated.
3152 * sysdeps/unix/sysv/linux/kernel-features.h
3153 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3154 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3156 (__ASSUME_UTIMES): Likewise.
3157 (__ASSUME_CLONE_STOPPED): Remove.
3158 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3159 architectures, not kernel version.
3160 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3163 (__ASSUME_WAITID_SYSCALL): Likewise.
3164 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3165 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3166 * README: State 2.6.16 as minimum Linux kernel version. Do not
3167 refer to older versions.
3169 2012-08-06 Roland McGrath <roland@hack.frob.com>
3171 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3172 Define alphasort64 as an alias.
3173 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3174 Define versionsort64 as an alias.
3175 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3176 Define scandir64 as an alias.
3177 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3178 Define scandirat64 as an alias.
3179 * dirent/alphasort64.c (alphasort64):
3180 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3181 * dirent/versionsort64.c: Likewise.
3182 * dirent/scandir64.c: Likewise.
3183 * dirent/scandirat64.c: Likewise.
3184 * sysdeps/wordsize-64/alphasort.c: File removed.
3185 * sysdeps/wordsize-64/alphasort64.c: File removed.
3186 * sysdeps/wordsize-64/scandir.c: File removed.
3187 * sysdeps/wordsize-64/scandir64.c: File removed.
3188 * sysdeps/wordsize-64/scandirat.c: File removed.
3189 * sysdeps/wordsize-64/scandirat64.c: File removed.
3190 * sysdeps/wordsize-64/versionsort.c: File removed.
3191 * sysdeps/wordsize-64/versionsort64.c: File removed.
3192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3201 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3203 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3205 [defined __arch64__ || defined __sparcv9]
3206 (__INO_T_MATCHES_INO64_T): New macro.
3207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3208 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3209 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3210 * sysdeps/unix/sysv/linux/bits/dirent.h
3211 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3212 (_DIRENT_MATCHES_DIRENT64): New macro.
3214 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3215 Define lockf64 as an alias.
3216 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3217 Define fseeko64 as an alias.
3218 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3219 Define ftello64 as an alias.
3220 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3221 Define _IO_fgetpos64 and fgetpos64 as aliases.
3222 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3223 Define _IO_fsetpos64 and fsetpos64 as aliases.
3224 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3225 Conditionalize body on this.
3226 * libio/fseeko64.c: Likewise.
3227 * libio/ftello64.c: Likewise.
3228 * libio/iofgetpos64.c: Likewise.
3229 * libio/iofsetpos64.c: Likewise.
3230 * sysdeps/wordsize-64/lockf.c: File removed.
3231 * sysdeps/wordsize-64/lockf64.c: File removed.
3232 * sysdeps/wordsize-64/fseeko.c: File removed.
3233 * sysdeps/wordsize-64/fseeko64.c: File removed.
3234 * sysdeps/wordsize-64/ftello.c: File removed.
3235 * sysdeps/wordsize-64/ftello64.c: File removed.
3236 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3237 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3238 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3239 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3248 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3251 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3253 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3255 [defined __arch64__ || defined __sparcv9]
3256 (__OFF_T_MATCHES_OFF64_T): New macro.
3257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3258 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3260 (__OFF_T_MATCHES_OFF64_T): New macro.
3262 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3264 * stdlib/secure-getenv.c (__secure_getenv): Replace
3265 GLIBC_2_16 with GLIBC_2_17.
3267 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3272 2012-08-03 David S. Miller <davem@davemloft.net>
3274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3276 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3280 (__ASSUME_CORRECT_SI_PID): Likewise.
3281 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3282 (__ASSUME_TMPFS_NAME): Likewise.
3283 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3284 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3285 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3286 (HAVE_AUX_SECURE): Make definition unconditional.
3287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3288 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3290 2012-08-03 Roland McGrath <roland@hack.frob.com>
3292 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3293 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3294 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3295 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3296 __eloop_threshold instead of SYMLOOP_MAX.
3298 * sysdeps/generic/eloop-threshold.h: New file.
3299 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3301 * elf/chroot_canon.c (chroot_canon): Likewise.
3303 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3307 Change to 2.6.0 everywhere.
3308 * sysdeps/unix/sysv/linux/configure: Regenerated.
3309 * sysdeps/unix/sysv/linux/kernel-features.h
3310 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3311 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3313 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3314 (__ASSUME_FUTEX_REQUEUE): Remove.
3315 (__ASSUME_STATFS64): Define unconditionally.
3316 (__ASSUME_AT_SECURE): Likewise.
3317 (__ASSUME_CORRECT_SI_PID): Likewise.
3318 (__ASSUME_TGKILL): Define without depending on kernel version for
3320 (__ASSUME_UTIMES): Likewise.
3321 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3323 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3324 (__ASSUME_TMPFS_NAME): Likewise.
3325 * README: Update reference to Linux kernel versions.
3327 2012-08-02 Marek Polacek <polacek@redhat.com>
3330 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3331 libc_cv_asm_type_prefix with %.
3332 * configure: Regenerated.
3333 * include/libc-symbols.h: Remove comment about
3334 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3335 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3336 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3337 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3338 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3339 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3340 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3342 * elf/tst-unique2mod1.c: Likewise.
3343 * elf/tst-unique1mod2.c: Likewise.
3344 * elf/tst-unique1mod1.c: Likewise.
3345 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3346 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3347 Replace ASM_TYPE_DIRECTIVE with .type.
3348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3349 * sysdeps/i386/sysdep.h: Likewise.
3350 * sysdeps/x86_64/sysdep.h: Likewise.
3351 * sysdeps/sh/sysdep.h: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3353 Do not define ASM_TYPE_DIRECTIVE.
3354 * sysdeps/powerpc/sysdep.h: Likewise.
3355 * sysdeps/powerpc/powerpc32/sysdep.h:
3356 Replace ASM_TYPE_DIRECTIVE with .type.
3357 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3359 * sysdeps/i386/fpu/e_powf.S: Likewise.
3360 * sysdeps/i386/fpu/e_expl.S: Likewise.
3361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3362 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3363 * sysdeps/i386/fpu/e_pow.S: Likewise.
3364 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3366 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3367 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3368 * sysdeps/i386/fpu/e_log2.S: Likewise.
3369 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3371 * sysdeps/i386/fpu/e_powl.S: Likewise.
3372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3373 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3374 * sysdeps/i386/fpu/e_logl.S: Likewise.
3375 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3376 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3377 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3378 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3379 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3380 * sysdeps/i386/fpu/e_log.S: Likewise.
3381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3382 * sysdeps/i386/fpu/e_logf.S: Likewise.
3383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3386 * sysdeps/i386/fpu/e_log10.S: Likewise.
3387 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3388 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3389 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3390 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3394 * sysdeps/i386/i686/strtok.S: Likewise.
3395 * sysdeps/i386/i386-mcount.S: Likewise.
3396 * sysdeps/i386/strtok.S: Likewise.
3397 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3406 * sysdeps/x86_64/_mcount.S: Likewise.
3407 * sysdeps/x86_64/strtok.S: Likewise.
3408 * sysdeps/sh/_mcount.S: Likewise.
3410 2012-08-01 Roland McGrath <roland@hack.frob.com>
3412 * libio/iofopen.c: Include <fcntl.h>.
3413 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3414 (_IO_fopen64, fopen64): Define as aliases.
3415 * libio/iofopen64.c: Include <fcntl.h>.
3416 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3417 Conditionalize body on this.
3418 * sysdeps/wordsize-64/iofopen.c: File removed.
3419 * sysdeps/wordsize-64/iofopen64.c: File removed.
3421 2012-08-01 Marek Polacek <polacek@redhat.com>
3423 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3424 Use dlfcn directly instead of a variable.
3425 (binfmt-subdir): Do not define.
3428 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3431 Remove all definitions.
3432 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3433 <kernel-features.h>.
3434 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3435 (miss_F_GETOWN_EX): Remove all definitions.
3436 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3438 [!__ASSUME_FCNTL64]: Remove conditional code.
3439 [__ASSUME_FCNTL64]: Make code unconditional.
3440 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3441 <kernel-features.h>.
3442 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3443 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3444 (lockf64) [__NR_fcntl64]: Make code unconditional.
3445 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3447 * sysdeps/unix/sysv/linux/kernel-features.h
3448 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3449 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3450 Make code unconditional.
3451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3454 [__NR_vfork]: Make code unconditional.
3455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3458 [__NR_vfork]: Make code unconditional.
3459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3462 2012-08-01 Roland McGrath <roland@hack.frob.com>
3464 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3465 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3467 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3468 Define mkstemp64 as an alias.
3469 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3470 Define mkstemps64 as an alias.
3471 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3472 Define mkostemp64 as an alias.
3473 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3474 Define mkostemps64 as an alias.
3475 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3476 Conditionalize body on this.
3477 * misc/mkostemp64.c: Likewise.
3478 * misc/mkostemps64.c: Likewise.
3479 * misc/mkstemps64.c: Likewise.
3480 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3481 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3482 * sysdeps/wordsize-64/mkostemp.c: File removed.
3483 * sysdeps/wordsize-64/mkstemp.c: File removed.
3484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3490 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3491 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3492 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3493 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3495 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3496 compat_symbol macros from <shlib-compat.h> rather than the underlying
3497 default_symbol_version and symbol_version macros, so that DEFAULT
3498 lines in shlib-versions are respected.
3499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3501 2012-08-01 Florian Weimer <fweimer@redhat.com>
3503 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3504 Declare with warn_unused_result.
3505 (setgid, setregid, setegid, setresgid): Likewise.
3506 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3508 * WUR-REPORT: Remove set*id functions.
3510 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3512 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3514 2012-07-31 Roland McGrath <roland@hack.frob.com>
3516 * include/sys/socket.h (__libc_accept, __libc_accept4):
3517 Add attribute_hidden.
3518 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3522 * inet/getnetgrent_r.c (setup): Likewise.
3524 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3526 2012-07-31 David S. Miller <davem@davemloft.net>
3528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3530 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3533 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3534 value between 1.0 and 2.0 and smaller part has absolute value less
3536 * math/s_clog10.c (__clog10): Likewise.
3537 * math/s_clog10f.c (__clog10f): Likewise.
3538 * math/s_clog10l.c (__clog10l): Likewise.
3539 * math/s_clogf.c (__clogf): Likewise.
3540 * math/s_clogl.c (__clogl): Likewise.
3541 * math/libm-test.inc (clog_test): Add more tests.
3542 (clog10_test): Likewise.
3543 * sysdeps/i386/fpu/libm-test-ulps: Update.
3544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3546 2012-07-31 Florian Weimer <fweimer@redhat.com>
3548 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3549 Exit with zero in case no suitable GID is found, and write a
3550 message to standard error.
3552 2012-07-30 Roland McGrath <roland@hack.frob.com>
3554 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3556 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3557 (MAXPATHLEN): Removed.
3558 (NOGROUP, NODEV): New macros.
3559 (setbit, clrbit, isset, isclr): New macros.
3560 (howmany, roundup, powerof2): New macros.
3561 (DEV_BSIZE): New macro.
3563 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3564 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3566 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3567 definition on [!__NO_LONG_DOUBLE_MATH].
3569 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3570 PTR_MANGLE and PTR_DEMANGLE.
3572 * socket/accept4.c (accept4): Rename to __libc_accept4.
3573 Define accept4 as a weak alias.
3575 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3576 on [_DIRENT_HAVE_D_TYPE].
3577 * io/ftw.c (ftw_dir): Likewise.
3579 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3581 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3583 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3584 Use the BSD numbers rather than the arbitrary ones we had.
3585 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3586 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3587 (SIGXCPU, SIGXFSZ): New macros.
3590 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3591 initializer on [_LIBC_REENTRANT].
3593 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3594 definitions inside [_POSIX_MAPPED_FILES].
3596 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3598 * dirent/opendir.c: Include <fcntl.h>.
3600 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3601 (__libc_getspecific): Likewise.
3602 (__libc_key_create): Likewise.
3604 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3605 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3606 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3607 (tmpfile64): Define as alias.
3608 * sysdeps/wordsize-64/tmpfile.c: File removed.
3609 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3613 * stdio-common/vfscanf.c: Include <stdbool.h>.
3614 * nss/makedb.c: Likewise.
3615 * stdio-common/_i18n_number.h: Likewise.
3616 * argp/argp-help.c: Likewise.
3617 * posix/wordexp.c: Likewise.
3618 * sysdeps/posix/spawni.c: Likewise.
3619 * nss/nss_files/files-initgroups.c: Likewise.
3620 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3621 * nss/nss_files/files-initgroups.c: Likewise.
3622 * nss/nss_db/db-netgrp.c: Likewise.
3623 * nss/nss_db/db-initgroups.c: Likewise.
3624 * io/fchmodat.c: Include <sys/stat.h>.
3626 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3627 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3629 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3632 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3633 Add multiple inclusion protection.
3635 2012-07-27 David S. Miller <davem@davemloft.net>
3637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3639 2012-07-27 Gary Benson <gbenson@redhat.com>
3642 * elf/rtld.c: Include <stap-probe.h>.
3643 (dl_main): Added static probes "init_start" and "init_complete".
3644 * elf/dl-load.c: Include <stap-probe.h>.
3645 (lose): Take new parameter "nsid".
3646 Added static probe "map_failed".
3647 (_dl_map_object_from_fd): Pass namespace id to lose.
3648 Added static probe "map_start".
3649 (open_verify): Pass namespace id to lose.
3650 * elf/dl-open.c: Include <stap-probe.h>.
3651 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3652 and "reloc_complete".
3653 * elf/dl-close.c: Include <stap-probe.h>.
3654 (_dl_close_worker): Added static probes "unmap_start" and
3656 * elf/rtld-debugger-interface.txt: New file documenting the above.
3658 2012-07-26 Roland McGrath <roland@hack.frob.com>
3660 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3661 rather than a string variable.
3662 * sunrpc/rpc_main.c (h_output): Likewise.
3663 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3665 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3667 * inet/check_native.c: New file.
3669 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3672 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3673 if larger part has absolute value 1.0.
3674 * math/s_clog10.c (__clog10): Likewise.
3675 * math/s_clog10f.c (__clog10f): Likewise.
3676 * math/s_clog10l.c (__clog10l): Likewise.
3677 * math/s_clogf.c (__clogf): Likewise.
3678 * math/s_clogl.c (__clogl): Likewise.
3679 * math/libm-test.inc (clog_test): Add more tests.
3680 (clog10_test): Likewise.
3681 * sysdeps/i386/fpu/libm-test-ulps: Update.
3682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3684 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3685 (pltexit): Likewise.
3686 (La_regs): Likewise.
3687 (La_retval): Likewise.
3688 (int_retval): Likewise.
3689 Update #error for removed macros to refer only to definitions in
3691 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3693 (pltexit): Likewise.
3694 (La_regs): Likewise.
3695 (La_retval): Likewise.
3696 (int_retval): Likewise.
3697 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3699 (pltexit): Likewise.
3700 (La_regs): Likewise.
3701 (La_retval): Likewise.
3702 (int_retval): Likewise.
3703 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3705 (pltexit): Likewise.
3706 (La_regs): Likewise.
3707 (La_retval): Likewise.
3708 (int_retval): Likewise.
3709 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3711 (pltexit): Likewise.
3712 (La_regs): Likewise.
3713 (La_retval): Likewise.
3714 (int_retval): Likewise.
3715 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3717 (pltexit): Likewise.
3718 (La_regs): Likewise.
3719 (La_retval): Likewise.
3720 (int_retval): Likewise.
3721 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3723 (pltexit): Likewise.
3724 (La_regs): Likewise.
3725 (La_retval): Likewise.
3726 (int_retval): Likewise.
3727 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3728 macro definitions in tst-audit.h.
3729 * sysdeps/i386/tst-audit.h: New file.
3730 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3731 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3732 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3733 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3734 * sysdeps/sh/tst-audit.h: Likewise.
3735 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3736 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3737 * sysdeps/x86_64/tst-audit.h: Likewise.
3739 2012-07-26 Andreas Jaeger <aj@suse.de>
3741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3744 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3745 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3746 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3748 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3750 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3755 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3757 (si_call_addr, si_syscall, si_arch): Define new macro.
3758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3760 (si_call_addr, si_syscall, si_arch): Define new marcro.
3761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3763 (si_call_addr, si_syscall, si_arch): Define new macro.
3764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3766 (si_call_addr, si_syscall, si_arch): Define new macro.
3768 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3772 Change to 2.4.21 where previously 2.4.1.
3773 * sysdeps/unix/sysv/linux/configure: Regenerated.
3774 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3775 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3776 Linux kernel version.
3777 (__ASSUME_STD_AUXV): Remove.
3778 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3780 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3781 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3782 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3783 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3784 (__ASSUME_NETLINK_SUPPORT): Likewise.
3785 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3786 (__no_netlink_support): Remove conditional definition.
3787 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3789 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3790 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3791 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3792 (if_nameindex_ioctl): Remove.
3793 (if_nameindex_netlink): Do not handle __no_netlink_support.
3794 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3796 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3797 Remove conditional code.
3798 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3800 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3802 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3803 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3804 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3806 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3807 [!__ASSUME_STD_AUXV]: Remove conditional code.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3809 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3810 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3812 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3815 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3817 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3818 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3820 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3825 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3828 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3830 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3832 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3834 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3837 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3839 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3842 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3844 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3846 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3848 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3851 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3853 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3855 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3857 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3860 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3862 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3863 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3864 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3865 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3866 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3867 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3868 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3869 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3870 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3871 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3872 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3873 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3875 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3880 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3882 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3886 2012-07-25 Florian Weimer <fweimer@redhat.com>
3888 * Versions.def: Add GLIBC_2.17.
3889 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3890 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3891 Introduce __libc_secure_getenv.
3892 * stdlib/Versions (2.17): Add secure_getenv
3893 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3894 * stdlib/secure-getenv.c: Rename __secure_getenv to
3895 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3896 symbol __secure_getenv for GLIBC_2.0.
3897 * stdlib/tst-secure-getenv.c: New.
3898 * stdlib/Makefile (tests): Add testcase.
3899 * manual/startup.texi (Environment Access): Document
3901 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3902 __libc_secure_getenv.
3903 * inet/ruserpass.c (ruserpass): Likewise.
3904 * malloc/mtrace.c (mtrace): Likewise.
3905 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3906 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3907 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3908 * sysdeps/posix/tempname.c: Likewise. Evaluate
3910 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3911 __secure_getenv to __libc_secure_getenv.
3912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3925 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3927 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3928 (struct La_i86_retval): Likewise.
3929 (struct La_x86_64_regs): Likewise.
3930 (struct La_x86_64_retval): Likewise.
3931 (struct La_x32_regs): Likewise.
3932 (struct La_x32_retval): Likewise.
3933 (struct La_ppc32_regs): Likewise.
3934 (struct La_ppc32_retval): Likewise.
3935 (struct La_ppc64_regs): Likewise.
3936 (struct La_ppc64_retval): Likewise.
3937 (struct La_sh_regs): Likewise.
3938 (struct La_sh_retval): Likewise.
3939 (struct La_s390_32_regs): Likewise.
3940 (struct La_s390_32_retval): Likewise.
3941 (struct La_s390_64_regs): Likewise.
3942 (struct La_s390_64_retval): Likewise.
3943 (struct La_sparc32_regs): Likewise.
3944 (struct La_sparc32_retval): Likewise.
3945 (struct La_sparc64_regs): Likewise.
3946 (struct La_sparc64_retval): Likewise.
3947 (struct audit_ifaces): Remove architecture-specific pltenter and
3949 * sysdeps/i386/ldsodefs.h: New file.
3950 * sysdeps/powerpc/ldsodefs.h: Likewise.
3951 * sysdeps/s390/ldsodefs.h: Likewise.
3952 * sysdeps/sh/ldsodefs.h: Likewise.
3953 * sysdeps/sparc/ldsodefs.h: Likewise.
3954 * sysdeps/x86_64/ldsodefs.h: Likewise.
3956 2012-07-25 Marek Polacek <polacek@redhat.com>
3959 * math/libm-test.inc (yn_test): Add another test.
3960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3961 to ERANGE when the result is +-Inf.
3962 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3964 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3965 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3967 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3969 * conform/data/time.h-data (NULL): Use macro-constant. Require
3971 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3973 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3975 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3977 * configure.in <sysdeps resolving>: Correct printing
3979 * configure: Regenerate.
3981 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3983 * math/w_ilogb.c: Include <limits.h>.
3984 * math/w_ilogbl.c: Likewise.
3986 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3988 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3989 va_copy. Document allowing for unavailable va_copy only as
3990 pre-C99 compatibility.
3991 * manual/string.texi (Copying and Concatenation): Use va_copy
3992 instead of __va_copy in concat example.
3994 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3996 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3997 (__sendto): Use create_address_port. Initialize APORT and deallocate
4000 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4001 with O_NOLINK passed to __file_name_lookup.
4003 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4004 with O_NOLINK passed to __file_name_lookup.
4006 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4007 negative N or less than NGIDS.
4009 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4010 type to string_t. Set ERANGE as errno and return it if NAME is not big
4011 enough. Use memcpy instead of strncpy.
4013 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4015 * elf/Makefile (check-data): Remove.
4016 (localplt.data): New vpath directive.
4017 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4018 instead of $(check-data).
4019 * scripts/data/localplt-generic.data: Move to ...
4020 * sysdeps/generic/localplt.data: ... here.
4021 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4022 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4023 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4026 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4029 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4032 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4035 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4038 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4042 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4044 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4045 PPC32 and PPC64 files.
4046 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4047 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4049 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4051 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4052 __makecontext_ret to ...
4053 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4054 ... here and call exit if uc_link is NULL. New file.
4055 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4056 __makecontext_ret.S.
4057 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4058 __makecontext_ret to ...
4059 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4060 ... here and call exit if uc_link is NULL. New file.
4061 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4062 __makecontext_ret.S.
4064 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4066 * elf/elf.h (R_390_IRELATIVE): New definition.
4067 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4068 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4069 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4071 (elf_machine_lazy_rel): Likewise.
4072 * sysdeps/s390/dl-irel.h: New file.
4073 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4074 * sysdeps/s390/s390-64/memset.S: New asm code.
4075 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4076 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4078 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4079 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4080 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4082 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4083 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4084 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4085 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4086 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4087 * sysdeps/s390/s390-32/memset.S: New asm code.
4088 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4090 2012-07-17 Marek Polacek <polacek@redhat.com>
4093 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4094 * sysdeps/s390/s390-64/configure.in: Likewise.
4095 * sysdeps/sparc/configure.in: Likewise.
4096 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4097 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4098 * sysdeps/i386/configure.in: Likewise.
4099 * sysdeps/x86_64/configure.in: Likewise.
4100 * sysdeps/sh/configure.in: Likewise.
4101 * sysdeps/s390/s390-32/configure: Regenerated.
4102 * sysdeps/s390/s390-64/configure: Likewise.
4103 * sysdeps/x86_64/configure: Likewise.
4104 * sysdeps/sh/configure: Likewise.
4105 * sysdeps/powerpc/powerpc64/configure: Likewise.
4106 * sysdeps/powerpc/powerpc32/configure: Likewise.
4107 * sysdeps/sparc/configure: Likwise.
4108 * sysdeps/i386/configure: Likewise.
4110 * elf/dl-open.c: Comment fixes.
4112 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4114 * Makefile [CXX] (check-data): Remove.
4115 [CXX] (c++-types.data): New vpath directive.
4116 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4117 vpath. Do not allow for C++ type data being missing.
4118 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4119 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4120 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4121 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4122 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4123 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4124 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4127 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4130 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4133 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4136 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4139 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4142 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4145 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4148 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4149 definitions to architecture-specific files.
4153 * sysdeps/i386/tls-macros.h: New file.
4154 * sysdeps/powerpc/tls-macros.h: Likewise.
4155 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4156 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4157 * sysdeps/sh/tls-macros.h: Likewise.
4158 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4159 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4160 * sysdeps/x86_64/tls-macros.h: Likewise.
4162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4165 zero value for regular exit case.
4167 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4168 (__start_context): Preserve zero value for regular exit case.
4170 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4171 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4173 * manual/setjmp.texi (setcontext): Clarify normal process
4174 termination when uc_link is the null pointer.
4175 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4178 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4180 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4181 preprocessor. Test for each exception mask separately.
4183 2012-07-16 Andreas Jaeger <aj@suse.de>
4185 * po/ru.po: Update from translation team.
4187 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4189 * conform/data/string.h-data (NULL): Use macro-constant. Require
4191 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4192 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4193 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4194 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4197 2012-07-13 Andreas Jaeger <aj@suse.de>
4199 * po/fr.po: Update from translation team.
4201 2012-07-12 Marek Polacek <polacek@redhat.com>
4204 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4205 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4208 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4212 Change to 2.4.1 where previously 2.4.0.
4213 * sysdeps/unix/sysv/linux/configure: Regenerated.
4214 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4215 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4217 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4218 (__ASSUME_AT_CLKTCK): Remove.
4219 (__ASSUME_AT_PAGESIZE): Likewise.
4220 (__ASSUME_AT_XID): Likewise.
4221 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4222 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4223 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4225 (HAVE_AUX_PAGESIZE): Likewise.
4226 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4227 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4228 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4230 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4234 the temporary buffer used to invoke __gethostbyname2_r,
4235 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4236 host_data / struct gaih_addrtuple.
4237 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4238 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4239 header file nss/nsswitch.h.
4240 * nss/nsswitch.h (global scope): Add definition of implementation
4241 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4242 resolv/nss_dns/dns-host.c).
4244 2012-07-11 Andreas Jaeger <aj@suse.de>
4246 * po/fr.po: Update from translation team.
4248 * po/sv.po: Update from translation team
4249 * po/fr.po: Another update from translation team.
4251 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4254 for subnormals or multiply small sinh result by itself.
4255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4258 2012-07-11 David S. Miller <davem@davemloft.net>
4260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4262 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4265 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4266 (INTERNAL_MARK): Shift it here.
4268 2012-07-10 Marek Polacek <polacek@redhat.com>
4271 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4272 libc_cv_asm_global_directive with .globl.
4273 * configure: Regenerated.
4274 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4276 * sysdeps/i386/configure: Regenerated.
4277 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4279 * sysdeps/x86_64/configure: Regenerated.
4280 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4281 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4282 * elf/tst-unique2mod2.c: Likewise.
4283 * elf/tst-unique2mod1.c: Likewise.
4284 * elf/tst-unique1mod2.c: Likewise.
4285 * elf/tst-unique1mod1.c: Likewise.
4286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4287 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4288 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4289 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4290 * sysdeps/mach/sysdep.h: Likewise.
4291 * sysdeps/i386/sysdep.h: Likewise.
4292 * sysdeps/i386/i386-mcount.S: Likewise.
4293 * sysdeps/x86_64/_mcount.S: Likewise.
4294 * sysdeps/x86_64/sysdep.h: Likewise.
4295 * sysdeps/sh/_mcount.S: Likewise.
4296 * sysdeps/sh/sysdep.h: Likewise.
4297 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4298 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4299 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4300 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4301 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4302 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4303 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4304 * locale/localeinfo.h: Likewise.
4305 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4306 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4308 2012-07-09 Roland McGrath <roland@hack.frob.com>
4311 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4313 * manual/message.texi (The Uniforum approach): Likewise.
4314 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4315 (glibc iconv Implementation): Likewise.
4317 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4320 * math/s_clog.c (__clog): Avoid scaling a value down where that
4321 could result in underflow.
4322 * math/s_clog10.c (__clog10): Likewise.
4323 * math/s_clog10f.c (__clog10f): Likewise.
4324 * math/s_clog10l.c (__clog10l): Likewise.
4325 * math/s_clogf.c (__clogf): Likewise.
4326 * math/s_clogl.c (__clogl): Likewise.
4327 * math/libm-test.inc (clog_test): Add more tests.
4328 (clog10_test): Likewise.
4329 * sysdeps/i386/fpu/libm-test-ulps: Update.
4330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4332 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4335 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4336 by 7 not 8 to examine high bit of fractional part.
4339 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4340 for call to __mcount_internal.
4341 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4342 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4343 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4345 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4348 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4349 approximation for values within 0x1p-13f of an odd multiple of
4351 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4352 exception. Add more tests.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4356 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4357 inputs and return -1 for them. Do not check for +Inf in case not
4359 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4360 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4362 and return -1 for them. Do not check for +Inf in case not
4364 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4367 and return -1 for them. Do not check for +Inf in case not
4369 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4371 * sysdeps/i386/fpu/libm-test-ulps: Update.
4372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4374 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4376 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4378 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4382 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4383 could result in spurious underflow. Scale down values above
4384 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4385 * math/s_csqrtf.c (__csqrtf): Likewise.
4386 * math/s_csqrtl.c (__csqrtl): Likewise.
4387 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4389 * sysdeps/i386/fpu/libm-test-ulps: Update.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4392 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4394 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4396 * catgets/xopen-msg.awk: New file.
4397 * catgets/xopen-msg.sed: Removed.
4399 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4401 * intl/po2test.awk: New file.
4402 * intl/po2test.sed: Removed.
4404 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4407 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4408 or multiply small sinh result by itself.
4409 * math/s_ctanf.c (__ctanf): Likewise.
4410 * math/s_ctanh.c (__ctanh): Likewise.
4411 * math/s_ctanhf.c (__ctanhf): Likewise.
4412 * math/s_ctanhl.c (__ctanhl): Likewise.
4413 * math/s_ctanl.c (__ctanl): Likewise.
4414 * math/libm-test.inc (ctan_test_tonearest): New function.
4415 (ctan_test_towardzero): Likewise.
4416 (ctan_test_downward): Likewise.
4417 (ctan_test_upward): Likewise.
4418 (ctanh_test_tonearest): Likewise.
4419 (ctanh_test_towardzero): Likewise.
4420 (ctanh_test_downward): Likewise.
4421 (ctanh_test_upward): Likewise.
4422 (main): Call these new functions.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4426 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4428 * .gitignore: Delete /ports entry.
4430 2012-07-03 Andreas Jaeger <aj@suse.de>
4432 * po/bg.po: Update from translation team.
4433 * po/cs.po: Likewise.
4434 * po/de.po: Likewise.
4435 * po/hr.po: Likewise.
4436 * po/nl.pl: Likewise.
4437 * po/pl.po: Likewise.
4438 * po/vi.po: Likewise.
4440 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4442 * Makeconfig [!+link] (+link-before-libc): New variable.
4443 [!+link] (+link-after-libc): Likewise.
4444 [!+link] (+link-tests): Likewise.
4445 [!+link] (+link): Define in terms of $(+link-before-libc) and
4446 $(+link-after-libc).
4447 [!+link-static] (+link-static-before-libc): New variable.
4448 [!+link-static] (+link-static-after-libc): Likewise.
4449 [!+link-static] (+link-static-tests): Likewise.
4450 [!+link-static] (+link-static): Define in terms of
4451 $(+link-static-before-libc) and $(+link-static-after-libc).
4452 [build-shared] (link-libc-before-gnulib): New variable.
4453 [build-shared] (link-libc-tests): Likewise.
4454 [build-shared] (link-libc): Define in terms of
4455 $(link-libc-before-gnulib).
4456 [!build-shared] (link-libc-tests): New variable.
4457 (link-libc-static-tests): New variable.
4458 [!gnulib] (gnulib-arch): New variable.
4459 [!gnulib] (gnulib-tests): Likewise.
4460 [!gnulib] (static-gnulib-arch): Likewise.
4461 [!gnulib] (static-gnulib-tests): Likewise.
4462 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4463 Define with "=" instead of ":=".
4464 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4465 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4466 * Rules (binaries-all-notests): New variable.
4467 (binaries-all-tests): Likewise.
4468 (binaries-static-notests): Likewise.
4469 (binaries-static-tests): Likewise.
4470 (binaries-all): Define using $(binaries-all-notests) and
4471 $(binaries-all-tests).
4472 (binaries-static): Define using $(binaries-static-notests) and
4473 $(binaries-static-tests).
4474 (binaries-shared-tests): New variable.
4475 (binaries-shared-notests): Likewise.
4476 (binaries-shared): Remove variable.
4477 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4478 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4479 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4480 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4481 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4482 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4483 * elf/Makefile (sln-modules): New variable.
4484 (extra-objs): Add $(sln-modules:=.o).
4485 (ldconfig-modules): Add static-stubs.
4486 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4487 * elf/static-stubs.c: New file.
4490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4491 by 7 not 8 to examine high bit of fractional part. Use volatile
4492 variables when splitting into final array of floats if
4493 __FLT_EVAL_METHOD__ != 0.
4494 * math/libm-test.inc (cos_test): Add another test.
4495 (sin_test): Likewise.
4496 * sysdeps/i386/fpu/libm-test-ulps: Update.
4499 * math/libm-test.inc (cosh_test): Add more tests.
4501 * version.h (RELEASE): Set to "development".
4502 (VERSION): Set to "2.16.90".
4504 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4506 * NEWS: Update copyright. Remove last-updated date.
4507 Mention math library bug fixes and timezone data changes.
4508 * README: Mention GNU/Hurd, x32, and HPPA support status.
4510 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4512 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4514 2012-06-27 Andreas Jaeger <aj@suse.de>
4516 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4518 2012-06-25 Andreas Jaeger <aj@suse.de>
4520 * sysdeps/s390/fpu/libm-test-ulps: Update.
4522 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4523 Thomas Schwinge <thomas@codesourcery.com>
4525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4526 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4530 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4532 * sysdeps/mach/start.c: Remove file.
4533 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4534 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4535 * sysdeps/sh/init-first.c: Likewise.
4537 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4538 registers for frame unwinding purposes, add CFI directives.
4539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4540 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4541 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4545 __fortify_fail returning.
4546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4549 sysdeps/sh/____longjmp_chk.S.
4550 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4551 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4552 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4553 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4555 * sysdeps/sh/abort-instr.h: New file.
4556 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4557 process in case exit returns.
4559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4560 initialize the GOT register before use.
4562 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4563 calculation of ARGC > 4.
4565 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4566 meaningful names to some local labels.
4568 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4569 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4572 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4573 (__arch_compare_and_exchange_val_16_acq): Likewise.
4574 (__arch_compare_and_exchange_val_32_acq): Likewise.
4575 (atomic_exchange_and_add): Fix gUSA sequence.
4576 (atomic_add): Likewise.
4577 (atomic_add_negative): Likewise.
4578 (atomic_add_zero): Likewise.
4579 (atomic_bit_test_set): Likewise.
4581 2012-06-22 Andreas Schwab <schwab@redhat.com>
4584 * include/link.h (struct link_map): Add l_free_initfini.
4585 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4587 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4588 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4589 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4592 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4594 * configure.in: Use AC_LANG_SOURCE.
4595 * configure: Regenerate.
4597 2012-06-22 Roland McGrath <roland@hack.frob.com>
4599 * configure.in (libc_cv_localstatedir): New substituted variable.
4600 * configure: Regenerated.
4601 * config.make.in (localstatedir): New variable, substituted from
4602 libc_cv_localstatedir.
4603 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4604 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4605 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4606 * sysdeps/gnu/configure: Regenerated.
4608 2012-06-21 Jeff Law <law@redhat.com>
4611 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4612 free. Simplify list management for _LIBC case.
4614 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4618 Clear sign bit of 64-bit integer value before comparing against
4621 * sysdeps/mach/configure: Regenerated.
4623 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4626 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4628 2012-06-21 Jeff Law <law@redhat.com>
4631 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4632 uint16_t for elements in the "seen" array to avoid char overflows.
4633 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4634 * elf/dl-open.c (dl_open_worker): Likewise.
4636 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4638 * scripts/list-sources.sh: Scan PORTS for translations.
4639 * po/libc.pot: Regenerated.
4641 2012-06-21 Andreas Jaeger <aj@suse.de>
4644 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4646 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4647 * bits/byteswap-16.h (__bswap_16): Likewise.
4648 * bits/byteswap.h (__bswap_constant_16): Likewise.
4650 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4653 * sysdeps/i386/fpu_control.h: Removed.
4654 * sysdeps/x86_64/fpu_control.h: Moved to ...
4655 * sysdeps/x86/fpu_control.h: Here.
4657 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4658 (_FPU_SETCW): Likewise.
4660 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4663 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4664 * sysdeps/x86/fpu/bits/mathinline.h: This.
4665 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4669 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4670 functions if __x86_64__ is defined.
4672 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4674 * string/endian.h: Add !__ASSEMBLER__ condition for including
4675 conversion interfaces.
4677 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4681 of ABS(x) in calculating zero to negative powers other than odd
4683 * math/libm-test.inc (pow_test): Add more tests.
4685 2012-06-15 Andreas Jaeger <aj@suse.de>
4687 * manual/contrib.texi (Contributors): Update entry of Liubov
4688 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4691 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4693 * string/string.h: Add __wur to GNU version of strerror_r.
4695 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4698 * string/Makefile (tests): Add tst-strtok_r.
4699 * string/tst-strtok_r.c: New file.
4700 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4701 RAX_LP/RDX_LP on SAVE_PTR.
4703 2012-06-14 Roland McGrath <roland@hack.frob.com>
4705 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4707 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4709 * libm_test.inc (csqrt_test): Allow more spurious underflow
4711 (j0_test): Likewise.
4712 (j1_test): Likewise.
4713 (y0_test): Likewise.
4714 (y1_test): Likewise.
4716 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4718 * po/Makefile (libc.pot): Use UTF-8 charset.
4720 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4723 Suppress sign-conversion warning from FD_SET.
4724 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4725 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4726 not unsigned long int.
4727 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4729 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4733 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4734 __extern_always_inline instead of __extern_inline.
4735 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4736 (__signbit): Likewise.
4737 (__signbitl): Support C++ namespace.
4738 (lrintf): New inline function.
4740 (llrintf): Likewise.
4752 (nearbyint): Likewise.
4753 (nearbyintf): Likewise.
4755 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4757 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4758 non-default versions.
4760 2012-06-11 Roland McGrath <roland@hack.frob.com>
4763 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4765 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4767 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4768 (FE_UPWARD, FE_DOWNWARD): Don't define.
4769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4770 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4772 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4774 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4777 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4779 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4781 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4784 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4788 * sysdeps/i386/fpu/Implies: New file.
4789 * sysdeps/x86_64/fpu/Implies: Likewise.
4790 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4791 * sysdeps/x86/fpu/bits/fenv.h: This.
4793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4796 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4799 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4800 character 0xffff that matches the last element of the
4803 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4808 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4811 values higher than 25.6283.
4813 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4816 subnormal exponent extraction and add some __builtin_expect.
4817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4818 Fix for subnormal mantissa calculation.
4820 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4822 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4823 cpu2 is -1 and errno is not ENOSYS.
4825 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4828 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4829 * sysdeps/x86/bits/string.h: This.
4830 * sysdeps/x86_64/bits/string.h: Removed.
4832 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4833 if not compiling for x86-64, but compiling for >= i486.
4835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4836 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4839 New macro from Linux kernel 3.4.0.
4840 (FP_XSTATE_MAGIC2): Likewise.
4841 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4842 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4843 (struct _fpx_sw_bytes): New struct.
4844 (struct _xsave_hdr): Likewise.
4845 (struct _ymmh_state): Likewise.
4846 (struct _xstate): Likewise.
4848 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4849 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4851 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4852 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4853 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4855 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4856 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4857 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4858 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4859 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4860 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4862 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4865 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4866 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4867 (sysdep_headers): Include sys/platform/ppc.h.
4868 * sysdeps/powerpc/test-gettimebase.c: Test for
4869 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4870 * manual/Makefile (appendices): Include platform.texi.
4871 * manual/contrib.texi (Contributors): Update @node pointers.
4872 * manual/maint.texi (Maintenance): Likewise.
4873 (Platform): New node.
4874 * manual/platform.texi: New file. Document the new features.
4876 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4877 Jakub Jelinek <jakub@redhat.com>
4880 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4881 where __builtin_expect is unavailable.
4883 2012-06-03 David S. Miller <davem@davemloft.net>
4885 * stdlib/longlong.h: Updated from GCC.
4887 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4890 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4891 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4894 (GLIBC_2.16): Likewise.
4896 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4900 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4903 (default-abi): New variable.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4907 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4909 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4911 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4914 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4915 definition. Document in comment.
4917 2012-06-01 David S. Miller <davem@davemloft.net>
4919 * stdlib/longlong.h: Updated from GCC.
4921 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4924 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4925 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4926 sys/debugreg.h sys/io.h here.
4927 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4928 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4930 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4931 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4932 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4933 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4934 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4935 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4938 Define only if __x86_64__ is defined.
4940 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4944 Use int64_t for variable i.
4945 * math/libm-test.inc (fmod_test): Add more tests.
4947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4948 z computation is not scheduled after fetestexcept.
4949 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4950 Use math_force_eval instead of asm to ensure calculation scheduled
4951 before exception test.
4952 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4953 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4955 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4958 computation is not scheduled after fetestexcept.
4960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4963 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4964 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4966 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4968 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4971 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4974 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4976 (__WCHAR_MIN): Support __WORDSIZE == 64.
4977 (__WCHAR_MAX): Likewise.
4979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4984 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4987 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4988 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4990 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4991 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4994 Defined to 1 if __x86_64__ isn't defined.
4995 (_STAT_VER_LINUX_OLD): New.
4996 (st_atime): Remove duplicate.
4997 (st_mtime): Likewise.
4998 (st_ctime): Likewise.
5000 2012-05-31 David S. Miller <davem@davemloft.net>
5002 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5005 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5007 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5011 * elf/dl-reloc.c: Include <_itoa.h>.
5012 (_dl_reloc_bad_type): Remove use of INTUSE.
5013 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5014 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5015 * stdio-common/psiginfo.c (psiginfo): Likewise.
5016 * stdio-common/psignal.c (psignal): Likewise.
5017 * string/strsignal.c (strsignal): Likewise.
5018 * include/signal.h (_sys_siglist): Declare hidden proto.
5019 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5020 INTVARDEF with libc_hidden_data_def.
5021 * stdio-common/itoa-udigits.c: Likewise.
5022 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5023 (_itoa_lower_digits_internal): Remove declaration.
5024 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5025 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5026 (_sys_sigabbrev_internal): Remove aliases.
5027 (_sys_siglist): Define hidden alias.
5029 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5034 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5037 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5038 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5040 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5041 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5042 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5043 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5045 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5047 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5049 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5051 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5063 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5064 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5066 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5067 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5068 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5071 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5073 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5074 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5078 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5080 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5081 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5083 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5085 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5087 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5089 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5091 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5093 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5095 * math/math.h (M_El): Use two more decimal places.
5096 (M_LOG2El): Likewise.
5097 (M_LOG10El): Likewise.
5099 (M_LN10l): Likewise.
5101 (M_PI_2l): Likewise.
5102 (M_PI_4l): Likewise.
5103 (M_1_PIl): Likewise.
5104 (M_2_PIl): Likewise.
5105 (M_2_SQRTPIl): Likewise.
5106 (M_SQRT2l): Likewise.
5107 (M_SQRT1_2l): Likewise.
5109 2012-05-31 David S. Miller <davem@davemloft.net>
5111 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5112 values between float registers.
5113 * sysdeps/sparc/sparc64/memset.S: Likewise.
5114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5116 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5118 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5119 -D_FORTIFY_SOURCE=1.
5120 (CPPFLAGS-tst-longjmp_chk.c): Define.
5121 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5122 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5123 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5124 CFLAGS-tst-wchar-h.c.
5126 2012-05-31 Marek Polacek <polacek@redhat.com>
5129 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5130 __endmntent_internal): Remove declaration.
5131 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5132 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5133 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5135 2012-05-30 David S. Miller <davem@davemloft.net>
5137 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5138 (___Q_simulate_exceptions): Use real FP ops rather than writing
5140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5143 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5146 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5147 * sysdeps/x86/bits/xtitypes.h: This.
5149 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5150 * sysdeps/x86/bits/wordsize.h: This.
5152 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5153 * sysdeps/x86/bits/huge_vall.h: This.
5155 * sysdeps/i386/bits/select.h: Removed.
5156 * sysdeps/x86_64/bits/select.h: Renamed to ...
5157 * sysdeps/x86/bits/select.h: This.
5159 * sysdeps/i386/bits/setjmp.h: Removed.
5160 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5161 * sysdeps/x86/bits/setjmp.h: This.
5163 * sysdeps/i386/bits/mathdef.h: Removed.
5164 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5165 * sysdeps/x86/bits/mathdef.h: This.
5167 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5170 * include/sys/socket.h (__connect_internal)
5171 (__libc_sa_len_internal): Remove declaration.
5172 (__connect, __libc_sa_len): Declare hidden_proto.
5173 (SA_LEN): Remove use of INTUSE.
5174 * socket/connect.c: Add libc_hidden_def.
5175 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5176 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5177 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5179 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5180 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5181 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5182 of adding _internal alias.
5184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5187 * sysdeps/i386/bits/link.h: Removed.
5188 * sysdeps/i386/bits/linkmap.h: Likewise.
5189 * sysdeps/x86_64/bits/link.h: Renamed to ...
5190 * sysdeps/x86/bits/link.h: This.
5191 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5192 * sysdeps/x86/bits/linkmap.h: This.
5194 * sysdeps/i386/bits/endian.h: Removed.
5195 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5196 * sysdeps/x86/bits/endian.h: This.
5198 * sysdeps/i386/bits/byteswap.h: Removed.
5199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5200 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5201 * sysdeps/x86/bits/byteswap.h: This.
5202 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5203 * sysdeps/x86/bits/byteswap-16.h: This.
5204 * sysdeps/i386/Implies: Add x86.
5205 * sysdeps/x86_64/Implies: Likewise.
5207 2012-05-30 David S. Miller <davem@davemloft.net>
5209 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5210 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5212 (FP_TRAPPING_EXCEPTIONS): Define.
5213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5214 (FP_TRAPPING_EXCEPTIONS): Define.
5215 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5216 subnormals only when inexact has been signalled or underflow
5217 exceptions are enabled.
5218 (_FP_PACK_CANONICAL): Likewise.
5220 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5224 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5226 2012-05-30 Richard Henderson <rth@twiddle.net>
5228 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5229 with #ifndef NOT_IN_libc.
5231 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5232 marked to avoid plt entry.
5234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5237 * Makeconfig (default-abi): New macro.
5238 (abi-includes): Likewise.
5239 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5240 $(abi-$(default-abi)-lib-soname) for soname if defined.
5241 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5243 * Makefile (installed-stubs): Likewise.
5244 * include/stubs-biarch.h: Removed.
5245 * scripts/lib-names.awk: Only handle one library at a time.
5246 * scripts/soversions.awk: Remove WORDSIZE support.
5247 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5249 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5251 (syscall-list-default-condition): Likewise.
5252 (syscall-list-default-condition): Likewise.
5253 (syscall-list-includes): Likewise.
5254 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5255 syscall-list-* with abi-*. Handle undefined abi-variants.
5256 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5257 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5258 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5259 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5260 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5261 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5263 (syscall-list-32-options): Likewise.
5264 (syscall-list-32-condition): Likewise.
5265 (syscall-list-64-options): Likewise.
5266 (syscall-list-64-condition): Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5269 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5272 (abi-64-ld-soname): New macro.
5273 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5277 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5278 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5280 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/unix/sysv/linux/kernel-features.h
5283 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5284 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5285 include <kernel-features.h>.
5286 [!__NR_ftruncate64]: Remove conditional code.
5287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5288 [__NR_ftruncate64]: Make code unconditional.
5289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5290 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5291 include <kernel-features.h>.
5292 [!__NR_ftruncate64]: Remove conditional code.
5293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5294 [__NR_ftruncate64]: Make code unconditional.
5295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5297 include <kernel-features.h>.
5298 [!__NR_ftruncate64]: Remove conditional code.
5299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5300 [__NR_ftruncate64]: Make code unconditional.
5301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5303 include <kernel-features.h>.
5304 [!__NR_ftruncate64]: Remove conditional code.
5305 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5306 [__NR_ftruncate64]: Make code unconditional.
5307 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5309 * configure.in (libc_cv_fpie): Weaken to a compile test using
5311 * configure: Regenerated.
5313 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5328 2012-05-27 David S. Miller <davem@davemloft.net>
5330 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5332 (__Q_simulate_exceptions): Return void. Change to simulate
5333 exceptions by writing into the %fsr.
5334 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5335 (__Qp_handle_exceptions): Likewise.
5337 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5338 __Qp_handle_exceptions.
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5340 __Qp_handle_exceptions.
5341 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5342 as unused and give dummy FP_RND_NEAREST initializer.
5343 (FP_INHIBIT_RESULTS): Define.
5344 (___Q_simulate_exceptions): Update declaration.
5345 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5348 as unused and give dummy FP_RND_NEAREST initializer.
5349 (__Qp_handle_exceptions): Update declaration.
5350 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5353 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5356 the temporary FPU control word.
5357 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5358 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5359 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5360 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5361 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5362 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5363 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5365 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5366 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5367 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5369 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5371 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5374 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5376 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5377 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5378 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5379 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5381 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5382 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5385 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5387 * po/h.po: Update from translation team.
5389 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5391 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5393 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5394 handling of denormals.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5396 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5397 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5404 2012-05-26 Marek Polacek <polacek@redhat.com>
5407 * math/libm-test.inc (fma_test): Don't always expect underflow
5410 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5413 * elf/tst-execstack.c: Include stackinfo.h.
5414 (do_test): Adjust test case to ensure that pthread_getattr_np
5415 behaviour remains the same after marking stack executable.
5417 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5419 * sysdeps/unix/sysv/linux/kernel-features.h
5420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5421 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5425 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5427 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5428 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5430 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5432 * configure.in: Define the default includes to being none.
5433 * configure: Regenerated.
5435 2012-05-25 Roland McGrath <roland@hack.frob.com>
5437 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5438 * sysdeps/x86_64/setjmp.S: Likewise.
5439 * sysdeps/i386/bsd-setjmp.S: Likewise.
5440 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5441 * sysdeps/i386/setjmp.S: Likewise.
5442 * sysdeps/i386/__longjmp.S: Likewise.
5443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5444 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5446 * include/stap-probe.h: New file.
5447 * configure.in: Handle --enable-systemtap.
5448 * configure: Regenerated.
5449 * config.h.in (USE_STAP_PROBE): New #undef.
5450 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5451 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5452 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5454 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5458 to 2.4.0 where earlier.
5459 * sysdeps/unix/sysv/linux/configure: Regenerated.
5460 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5461 <kernel-features.h>.
5462 [__ASSUME_32BITUIDS]: Make code unconditional.
5463 [!__ASSUME_32BITUIDS]: Remove conditional code.
5464 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5465 <kernel-features.h>.
5466 [__ASSUME_32BITUIDS]: Make code unconditional.
5467 [!__ASSUME_32BITUIDS]: Remove conditional code.
5468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5469 [__ASSUME_32BITUIDS]: Make code unconditional.
5470 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5471 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5472 <kernel-features.h>.
5473 [__ASSUME_32BITUIDS]: Make code unconditional.
5474 [!__ASSUME_32BITUIDS]: Remove conditional code.
5475 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5476 <kernel-features.h>.
5477 [__ASSUME_32BITUIDS]: Make code unconditional.
5478 [!__ASSUME_32BITUIDS]: Remove conditional code.
5479 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5480 <kernel-features.h>.
5481 [__ASSUME_32BITUIDS]: Make code unconditional.
5482 [!__ASSUME_32BITUIDS]: Remove conditional code.
5483 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5484 <kernel-features.h>.
5485 [__ASSUME_32BITUIDS]: Make code unconditional.
5486 [!__ASSUME_32BITUIDS]: Remove conditional code.
5487 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5488 <kernel-features.h>.
5489 [__ASSUME_32BITUIDS]: Make code unconditional.
5490 [!__ASSUME_32BITUIDS]: Remove conditional code.
5491 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5492 <kernel-features.h>.
5493 [__ASSUME_32BITUIDS]: Make code unconditional.
5494 [!__ASSUME_32BITUIDS]: Remove conditional code.
5495 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5496 <kernel-features.h>.
5497 [__ASSUME_32BITUIDS]: Make code unconditional.
5498 [!__ASSUME_32BITUIDS]: Remove conditional code.
5499 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5500 <kernel-features.h>.
5501 [__ASSUME_32BITUIDS]: Make code unconditional.
5502 [!__ASSUME_32BITUIDS]: Remove conditional code.
5503 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5504 <kernel-features.h>.
5505 [__ASSUME_32BITUIDS]: Make code unconditional.
5506 [!__ASSUME_32BITUIDS]: Remove conditional code.
5507 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5508 <kernel-features.h>.
5509 [__ASSUME_32BITUIDS]: Make code unconditional.
5510 [!__ASSUME_32BITUIDS]: Remove conditional code.
5511 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5512 <kernel-features.h>.
5513 [__NR_setresgid] (__setresgid): Do not declare.
5514 [__ASSUME_32BITUIDS]: Make code unconditional.
5515 [!__ASSUME_32BITUIDS]: Remove conditional code.
5516 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5517 <kernel-features.h>.
5518 [__NR_setresuid] (__setresuid): Do not declare.
5519 [__ASSUME_32BITUIDS]: Make code unconditional.
5520 [!__ASSUME_32BITUIDS]: Remove conditional code.
5521 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5522 <kernel-features.h>.
5523 [__ASSUME_32BITUIDS]: Make code unconditional.
5524 [!__ASSUME_32BITUIDS]: Remove conditional code.
5525 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5526 <kernel-features.h>.
5527 [__ASSUME_32BITUIDS]: Make code unconditional.
5528 [!__ASSUME_32BITUIDS]: Remove conditional code.
5529 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5530 <kernel-features.h>.
5531 [__ASSUME_32BITUIDS]: Make code unconditional.
5532 [!__ASSUME_32BITUIDS]: Remove conditional code.
5533 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5534 <kernel-features.h>.
5535 [__ASSUME_32BITUIDS]: Make code unconditional.
5536 [!__ASSUME_32BITUIDS]: Remove conditional code.
5537 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5538 <kernel-features.h>.
5539 [__ASSUME_32BITUIDS]: Make code unconditional.
5540 [!__ASSUME_32BITUIDS]: Remove conditional code.
5541 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5542 <kernel-features.h>.
5543 [__ASSUME_32BITUIDS]: Make code unconditional.
5544 [!__ASSUME_32BITUIDS]: Remove conditional code.
5545 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5546 <kernel-features.h>.
5547 [__ASSUME_32BITUIDS]: Make code unconditional.
5548 [!__ASSUME_32BITUIDS]: Remove conditional code.
5549 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5550 <kernel-features.h>.
5551 [__ASSUME_32BITUIDS]: Make code unconditional.
5552 [!__ASSUME_32BITUIDS]: Remove conditional code.
5553 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5554 <kernel-features.h>.
5555 [__ASSUME_32BITUIDS]: Make code unconditional.
5556 [!__ASSUME_32BITUIDS]: Remove conditional code.
5557 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5558 <kernel-features.h>.
5559 [__ASSUME_32BITUIDS]: Make code unconditional.
5560 [!__ASSUME_32BITUIDS]: Remove conditional code.
5561 * sysdeps/unix/sysv/linux/kernel-features.h
5562 (__ASSUME_SETRESUID_SYSCALL): Remove.
5563 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5564 (__ASSUME_32BITUIDS): Likewise.
5565 (__ASSUME_LDT_WORKS): Likewise.
5566 (__ASSUME_O_DIRECTORY): Likewise.
5567 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5568 architecture but not kernel version.
5569 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5570 (__ASSUME_MMAP2_SYSCALL): Likewise.
5571 (__ASSUME_STAT64_SYSCALL): Likewise.
5572 (__ASSUME_IPC64): Likewise.
5573 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5574 <kernel-features.h>.
5575 [__ASSUME_32BITUIDS]: Make code unconditional.
5576 [!__ASSUME_32BITUIDS]: Remove conditional code.
5577 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5578 <kernel-features.h>.
5579 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5580 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5581 132096]: Remove conditional code.
5582 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5584 <kernel-features.h>.
5585 [__ASSUME_32BITUIDS]: Make code unconditional.
5586 [!__ASSUME_32BITUIDS]: Remove conditional code.
5587 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5588 <kernel-features.h>.
5589 [__ASSUME_32BITUIDS]: Make code unconditional.
5590 [!__ASSUME_32BITUIDS]: Remove conditional code.
5591 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5592 <kernel-features.h>.
5593 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5595 (__setresgid): Do not declare.
5596 [__ASSUME_32BITUIDS]: Make code unconditional.
5597 [!__ASSUME_32BITUIDS]: Remove conditional code.
5598 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5599 <kernel-features.h>.
5600 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5602 (__setresuid): Do not declare.
5603 [__ASSUME_32BITUIDS]: Make code unconditional.
5604 [!__ASSUME_32BITUIDS]: Remove conditional code.
5605 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5606 <kernel-features.h>.
5607 [__ASSUME_32BITUIDS]: Make code unconditional.
5608 [!__ASSUME_32BITUIDS]: Remove conditional code.
5609 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5610 <kernel-features.h>.
5611 [__ASSUME_32BITUIDS]: Make code unconditional.
5612 [!__ASSUME_32BITUIDS]: Remove conditional code.
5614 2012-05-25 Richard Henderson <rth@twiddle.net>
5616 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5617 dl_hwcap to ifunc resolver.
5618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5620 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5621 dl_hwcap to ifunc resolver.
5622 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5624 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5627 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5628 for |x| <= 2**-26, not 2**-57.
5629 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5632 2012-05-24 Jeff Law <law@redhat.com>
5634 * stdio-common/Makefile (tests): Add bug25.
5635 * stdio-common/bug25.c: New test.
5637 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5640 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5641 multiple of MALLOC_ALIGNMENT in size.
5642 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5644 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5646 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5648 (FILENAME_MAX): Use macro-int-constant.
5649 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5650 (_IOFBF): Use macro-int-constant.
5653 (SEEK_CUR): Likewise.
5654 (SEEK_END): Likewise.
5655 (SEEK_SET): Likewise.
5656 (TMP_MAX): Likewise.
5657 (EOF): Use macro-int-constant. Require < 0.
5658 (NULL): Use macro-constant. Require == 0.
5659 (stdin): Require type to be FILE *.
5662 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5664 (EXIT_SUCCESS): Likewise.
5665 (NULL): Use macro-constant. Require == 0.
5666 (RAND_MAX): Use macro-int-constant.
5667 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5668 [C99-based standards] (strtof): Require function.
5669 [C99-based standards] (strtold): Likewise.
5670 [C99-based standards] (strtoll): Likewise.
5671 [C99-based standards] (strtoull): Likewise.
5672 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5673 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5674 [ISO || ISO99 || ISO11] (math.h): Likewise.
5675 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5676 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5679 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5682 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5683 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5684 * intl/dgettext.c (DCGETTEXT): Likewise.
5685 * intl/gettext.c (DCGETTEXT): Likewise.
5686 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5687 * posix/regex_internal.h (gettext): Likewise.
5688 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5690 * include/argz.h (__argz_count_internal)
5691 (__argz_stringify_internal): Remove declaration.
5692 (__argz_count, __argz_stringify): Declare hidden proto.
5693 * intl/dcgettext.c: Remove use of INTDEF.
5694 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5695 * string/argz-stringify.c: Likewise.
5696 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5697 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5698 Declare hidden proto.
5699 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5700 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5701 Declare hidden proto.
5702 * include/stdio.h (__asprintf_internal): Don't declare.
5703 (__asprintf): Don't define as macro. Declare hidden proto.
5704 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5705 (__fsetlocking): Declare hidden proto.
5706 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5707 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5709 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5710 (_IO_setlinebuf): Remove use of INTUSE.
5711 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5712 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5713 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5715 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5716 (_IO_do_flush): Remove use of INTUSE.
5717 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5718 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5719 (_IO_adjust_column, _IO_least_wmarker)
5720 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5721 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5722 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5723 (_IO_default_doallocate, _IO_wdefault_doallocate)
5724 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5725 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5726 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5727 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5728 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5729 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5730 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5731 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5732 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5733 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5734 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5735 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5736 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5738 (_IO_flush_all_internal, _IO_adjust_column_internal)
5739 (_IO_default_uflow_internal, _IO_default_finish_internal)
5740 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5741 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5742 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5743 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5744 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5745 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5746 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5747 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5748 (_IO_file_close_internal, _IO_file_close_it_internal)
5749 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5750 (_IO_file_init_internal, _IO_file_attach_internal)
5751 (_IO_file_fopen_internal, _IO_file_read_internal)
5752 (_IO_file_sync_internal, _IO_file_seek_internal)
5753 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5754 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5755 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5756 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5757 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5758 (_IO_list_all_internal, _IO_link_in_internal)
5759 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5760 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5761 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5762 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5763 (_IO_do_write_internal, _IO_padn_internal)
5764 (_IO_getline_info_internal, _IO_getline_internal)
5765 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5766 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5767 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5768 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5769 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5770 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5771 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5772 with libc_hidden_ver, remove use of INTUSE.
5773 * libio/genops.c: Likewise.
5774 * libio/freopen.c: Likewise.
5775 * libio/freopen64.c: Likewise.
5776 * libio/iofclose.c: Likewise.
5777 * libio/iofdopen.c: Likewise.
5778 * libio/iofflush.c: Likewise.
5779 * libio/iofflush_u.c: Likewise.
5780 * libio/iofgets.c: Likewise.
5781 * libio/iofgets_u.c: Likewise.
5782 * libio/iofopen.c: Likewise.
5783 * libio/iofopncook.c: Likewise.
5784 * libio/iofread.c: Likewise.
5785 * libio/iofread_u.c: Likewise.
5786 * libio/ioftell.c: Likewise.
5787 * libio/iofwrite.c: Likewise.
5788 * libio/iogetline.c: Likewise.
5789 * libio/iogets.c: Likewise.
5790 * libio/iogetwline.c: Likewise.
5791 * libio/iopadn.c: Likewise.
5792 * libio/iopopen.c: Likewise.
5793 * libio/ioseekoff.c: Likewise.
5794 * libio/ioseekpos.c: Likewise.
5795 * libio/iosetbuffer.c: Likewise.
5796 * libio/iosetvbuf.c: Likewise.
5797 * libio/ioungetc.c: Likewise.
5798 * libio/ioungetwc.c: Likewise.
5799 * libio/iovdprintf.c: Likewise.
5800 * libio/iovsprintf.c: Likewise.
5801 * libio/iovsscanf.c: Likewise.
5802 * libio/memstream.c: Likewise.
5803 * libio/obprintf.c: Likewise.
5804 * libio/oldfileops.c: Likewise.
5805 * libio/oldiofclose.c: Likewise.
5806 * libio/oldiofdopen.c: Likewise.
5807 * libio/oldiofopen.c: Likewise.
5808 * libio/oldiopopen.c: Likewise.
5809 * libio/oldstdfiles.c: Likewise.
5810 * libio/putc.c: Likewise.
5811 * libio/setbuf.c: Likewise.
5812 * libio/setlinebuf.c: Likewise.
5813 * libio/stdfiles.c: Likewise.
5814 * libio/strops.c: Likewise.
5815 * libio/vasprintf.c: Likewise.
5816 * libio/vscanf.c: Likewise.
5817 * libio/vsnprintf.c: Likewise.
5818 * libio/vswprintf.c: Likewise.
5819 * libio/wfiledoalloc.c: Likewise.
5820 * libio/wfileops.c: Likewise.
5821 * libio/wgenops.c: Likewise.
5822 * libio/wmemstream.c: Likewise.
5823 * libio/wstrops.c: Likewise.
5824 * libio/__fpurge.c: Likewise.
5825 * libio/__fsetlocking.c: Likewise.
5826 * assert/assert.c: Likewise.
5827 * debug/fgets_chk.c: Likewise.
5828 * debug/fgets_u_chk.c: Likewise.
5829 * debug/fread_chk.c: Likewise.
5830 * debug/fread_u_chk.c: Likewise.
5831 * debug/gets_chk.c: Likewise.
5832 * debug/obprintf_chk.c: Likewise.
5833 * debug/vasprintf_chk.c: Likewise.
5834 * debug/vdprintf_chk.c: Likewise.
5835 * debug/vsnprintf_chk.c: Likewise.
5836 * debug/vsprintf_chk.c: Likewise.
5837 * malloc/mtrace.c: Likewise.
5838 * misc/error.c: Likewise.
5839 * misc/syslog.c: Likewise.
5840 * stdio-common/asprintf.c: Likewise.
5841 * stdio-common/fxprintf.c: Likewise.
5842 * stdio-common/getw.c: Likewise.
5843 * stdio-common/isoc99_fscanf.c: Likewise.
5844 * stdio-common/isoc99_scanf.c: Likewise.
5845 * stdio-common/isoc99_vfscanf.c: Likewise.
5846 * stdio-common/isoc99_vscanf.c: Likewise.
5847 * stdio-common/isoc99_vsscanf.c: Likewise.
5848 * stdio-common/printf-prs.c: Likewise.
5849 * stdio-common/printf_fp.c: Likewise.
5850 * stdio-common/printf_fphex.c: Likewise.
5851 * stdio-common/printf_size.c: Likewise.
5852 * stdio-common/putw.c: Likewise.
5853 * stdio-common/scanf.c: Likewise.
5854 * stdio-common/sprintf.c: Likewise.
5855 * stdio-common/tmpfile.c: Likewise.
5856 * stdio-common/vfprintf.c: Likewise.
5857 * stdio-common/vfscanf.c: Likewise.
5858 * stdlib/strfmon_l.c: Likewise.
5859 * sunrpc/openchild.c: Likewise.
5860 * sunrpc/xdr_stdio.c: Likewise.
5861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5862 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5864 2012-05-24 Roland McGrath <roland@hack.frob.com>
5866 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5868 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5869 in the third column, to generate for the shared library an IFUNC
5870 that uses _dl_vdso_vsym.
5871 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5872 * Makeconfig (object-suffixes-noshared): New variable.
5874 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5875 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5876 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5877 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5880 * include/sys/time.h (__gettimeofday): Remove macro.
5881 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5882 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5884 (__gettimeofday): Add libc_hidden_def.
5885 (gettimeofday): Add libc_hidden_weak.
5886 * sysdeps/mach/gettimeofday.c: Likewise.
5887 * sysdeps/posix/gettimeofday.c: Likewise.
5888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5889 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5891 (__gettimeofday_internal): Remove strong_alias.
5892 (__gettimeofday): Add libc_hidden_def.
5893 (gettimeofday): Add libc_hidden_weak.
5894 * sysdeps/unix/syscalls.list (gettimeofday):
5895 Remove __gettimeofday_internal alias.
5897 2012-05-24 Daniel Jacobowitz <drow@false.org>
5898 H.J. Lu <hongjiu.lu@intel.com>
5901 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5902 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5903 (largebin_index_32_big): New.
5904 (largebin_index): Use it for 16-byte alignment.
5905 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5906 correction with front_misalign.
5908 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5936 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5937 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5939 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5943 * math/libm-test.inc (exp_test): Add test from bug 14036.
5944 (pow_test): Add test from bug 10846.
5946 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5948 (special_function): Do not include flags in test name.
5949 (parse_args): Likewise.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5952 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5958 * math/libm-test.inc ("Philosophy"): Update comment about
5960 (UNDERFLOW_EXCEPTION): New macro.
5961 (UNDERFLOW_EXCEPTION_OK): Likewise.
5962 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5963 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5964 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5965 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5966 (INVALID_EXCEPTION_OK): Update value.
5967 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5968 (OVERFLOW_EXCEPTION_OK): Likewise.
5969 (IGNORE_ZERO_INF_SIGN): Likewise.
5970 (test_exceptions): Handle underflow exceptions.
5971 (acos_test): Update for underflow exception expectations.
5972 (cexp_test): Likewise.
5973 (clog_test): Likewise.
5974 (clog10_test): Likewise.
5975 (csqrt_test): Likewise.
5976 (ctan_test): Likewise.
5977 (ctanh_test): Likewise.
5978 (exp_test): Likewise.
5979 (exp10_test): Likewise.
5980 (exp2_test): Likewise.
5981 (expm1_test): Likewise.
5982 (fma_test): Likewise.
5983 (j0_test): Likewise.
5984 (jn_test): Likewise.
5985 (nexttoward_test): Likewise.
5986 (pow_test): Likewise.
5987 (scalbn_test): Likewise.
5988 (scalbln_test): Likewise.
5989 (tan_test): Likewise.
5990 (y1_test): Likewise.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5994 2012-05-23 David S. Miller <davem@davemloft.net>
5996 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5997 (__libc_sigaction): Remove unused local variables.
5999 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6001 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6003 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6005 mktime: avoid signed integer overflow
6006 * time/mktime.c (__mktime_internal): Do not mishandle the case
6007 where diff == INT_MIN.
6009 mktime: simplify computation of average
6010 * time/mktime.c (ranged_convert): Use new time_t_avg function
6011 instead of rolling our own (probably-slower) code.
6013 mktime: do not assume signed right shift propagates sign bit
6014 * time/mktime.c (isdst_differ): New static function.
6015 (__mktime_internal): No need to normalize tm_isdst now.
6016 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6019 mktime: merge another wrapv change from gnulib
6020 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6021 from some compilers.
6023 mktime: remove incorrect attempt at unusual arithmetics
6024 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6025 The code didn't really work on such machines anyway.
6026 (TYPE_MINIMUM): Assume two's complement.
6027 (twos_complement_arithmetic): Verify that long_int and time_t
6028 are two's complement (or unsigned, in the latter case).
6030 mktime: check signed shifts on long_int and time_t, too
6031 * time/mktime.c (SHR): Check that shifts work as desired
6032 on the types long_int and time_t too, as SHR is used on
6035 mktime: do not assume 'long' is wide enough
6036 * time/mktime.c (verify): Move decl up.
6037 (long_int): New type.
6038 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6039 to remove assumption in the code that 'long' is wide enough to
6040 store year values. This assumption is not true on x32 and on
6041 some non-glibc platforms.
6043 mktime: merge wrapv change from gnulib
6044 * time/mktime.c (WRAPV): New macro.
6045 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6046 (guess_time_tm, __mktime_internal): Do not assume that signed
6047 integer overflow wraps around; modern compilers generate code
6048 where this assumption is no longer valid.
6050 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6053 Replace "jmp L(pseudo_end)" with "ret".
6054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6057 2012-05-23 Andreas Jaeger <aj@suse.de>
6059 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6060 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6062 2012-05-23 Andreas Jaeger <aj@suse.de>
6063 Maximilian Attems <max@stro.at>
6065 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6068 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6071 code so that pseudo_end is just ret and the stack pointer is
6072 correct also for static library in error case.
6074 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6076 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6077 move to syscalls.list.
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6083 * manual/install.texi (Running make install): Do not mention Linux
6084 kernel version for which pt_chown is not needed.
6085 (Linux): Do not mention problems with nscd with 2.0 kernels.
6086 * INSTALL: Regenerated.
6088 2012-05-23 Andreas Jaeger <aj@suse.de>
6090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6091 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6093 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6095 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6097 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6103 * sysdeps/unix/sysv/linux/bits/in.h
6104 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6106 2012-05-22 Roland McGrath <roland@hack.frob.com>
6108 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6109 (PREPARE_VERSION): Just use assert instead, it will be elided
6110 under [NDEBUG] anyway.
6112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6114 * sysdeps/unix/sysv/linux/Makefile: Include
6115 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6116 (sysdep_routines): Remove sysctl.
6117 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6118 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6120 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6121 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6123 2012-05-22 Andreas Jaeger <aj@suse.de>
6125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6126 that pseudo_end is just ret and the stack pointer is correct also
6127 for static library in error case.
6129 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6132 * nss/nsswitch.c (defconfig_entries): New variable.
6133 (__nss_database_lookup): Don't leak defconfig entries.
6134 (nss_parse_service_list): Don't leak on error paths.
6135 (free_database_entries): New function.
6136 (free_defconfig): New function.
6137 (free_mem): Move common code to free_database_entries.
6139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6141 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6143 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6145 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6146 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6149 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6150 (INTERNAL_SYSCALL_TYPES): Likewise.
6151 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6152 (LOAD_REGS_TYPES_[1-6]): Likewise.
6153 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6154 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6156 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6159 copysignl for GLIBC_2_0.
6160 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6161 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6163 logbl for GLIBC_2_0.
6164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6172 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6175 * time/mktime.c: Update copyright years.
6177 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6179 mktime: merge comment-quoting-style change from gnulib
6180 * time/mktime.c: Quote 'like this' in comments.
6181 The GNU coding standards suggest that we no longer quote `like this',
6182 as "`" and "'" are typically rendered asymmetrically nowadays.
6183 The typical gnulib style is to quote 'like this' when quoting
6184 code, and "like this" when quoting English.
6186 * time/mktime.c (compile-command): Add "-I.".
6188 mktime: merge mktime-internal.h change from gnulib
6189 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6191 mktime: merge time_r change from gnulib
6192 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6194 mktime: merge DEBUG change from gnulib
6195 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6196 case system <time.h> has a #define.
6198 mktime: merge <sys/types.h> change from gnulib
6199 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6200 since <time.t> is now guaranteed to define time_t.
6202 mktime: merge HAVE_CONFIG_H change from gnulib
6203 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6210 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6212 (struct rusage): Use anonymous union to pad each field to
6215 2012-05-21 David S. Miller <davem@davemloft.net>
6217 * Makefules (o-iterator): Remove .s cases.
6218 (compile-command.s): Delete.
6219 (COMPILE.s): Delete.
6220 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6222 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6224 * configure.in (libc_cv_predef_stack_protector): Only consider
6225 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6226 * configure: Regenerated.
6228 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6231 New macro. Use R*LP on int and pointer.
6232 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6233 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6234 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6235 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6237 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6238 [__WORDSIZE_TIME64_COMPAT32] instead of
6239 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6240 (struct utmp): Likewise.
6241 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6242 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6244 (__WORDSIZE_TIME64_COMPAT32): This.
6245 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6246 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6247 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6248 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6249 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6250 (__WORDSIZE_TIME64_COMPAT32): New macro.
6252 2012-05-21 Andreas Jaeger <aj@suse.de>
6254 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6255 only if [SHARED]. Add prototype for __wcschr_ia32.
6257 2012-05-21 Roland McGrath <roland@hack.frob.com>
6259 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6260 of %rbp unmolested in the jmp_buf while mangling the low bits.
6261 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6262 unmolested high bits of %rbp while demangling the low bits.
6263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6265 2012-05-21 Andreas Jaeger <aj@suse.de>
6267 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6268 * sunrpc/svc_simple.c: Use it for registerrpc.
6269 * sunrpc/xcrypt.c: Use it for passwd2des.
6271 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6273 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6275 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6276 Don't define if [__SYSCALL_WORDSIZE != 32].
6277 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6280 2012-05-21 Bruno Haible <bruno@clisp.org>
6281 Andreas Jaeger <aj@suse.de>
6283 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6284 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6285 inptr and inend for must_buffer_ch.
6286 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6287 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6288 * stdio-common/Makefile (tests): Remove bug15.
6289 (bug15-ENV): Remove macro.
6290 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6293 2012-05-19 Andreas Jaeger <aj@suse.de>
6294 Roland McGrath <roland@hack.frob.com>
6296 * manual/contrib.texi: Completely rewritten. It contains now an
6297 alphabetical list of contributors and their contributions.
6299 2012-05-21 Richard Henderson <rth@twiddle.net>
6301 * misc/getauxval.c (__getauxval): Use unsigned long int.
6302 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6303 (getauxval): Use unsigned long int.
6305 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6309 2012-05-21 Roland McGrath <roland@hack.frob.com>
6311 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6312 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6313 __alignof__ (long double).
6315 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6319 2012-05-20 Richard Henderson <rth@twiddle.net>
6321 * misc/getauxval.c: New file.
6322 * misc/sys/auxv.h: New file.
6323 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6324 (routines): Add getauxval.
6325 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6327 * elf/dl-sysdep.c (_dl_auxv): Remove.
6328 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6329 * elf/dl-support.c (_dl_auxv): New variable.
6330 (_dl_aux_init): Initialize it.
6331 * manual/startup.texi (Auxiliary Vector): New node.
6332 * sysdeps/generic/bits/hwcap.h: New file.
6333 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6334 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6335 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6336 * sysdeps/sparc/sysdep.h: ... here. Include it.
6337 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6350 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6354 2012-05-19 David S. Miller <davem@davemloft.net>
6356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6361 * math/s_ccosh.c: Include <float.h>
6362 (__ccosh): Avoid internal overflow calculating sinh and cosh
6363 values before multiplying by sin and cos values.
6364 * math/s_ccoshf.c: Likewise.
6365 * math/s_ccoshl.c: Likewise.
6366 * math/s_csin.c: Likewise.
6367 * math/s_csinf.c: Likewise.
6368 * math/s_csinl.c: Likewise.
6369 * math/s_csinh.c: Likewise.
6370 * math/s_csinhf.c: Likewise.
6371 * math/s_csinhl.c: Likewise.
6372 * math/libm-test.inc (ccos_test): Add more tests.
6373 (ccosh_test): Likewise.
6374 (csin_test): Likewise.
6375 (csinh_test): Likewise.
6376 * sysdeps/i386/fpu/libm-test-ulps: Update.
6377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6379 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6381 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6382 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6384 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6386 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6388 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6389 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6390 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6391 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6392 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6393 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6394 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6395 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6396 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6397 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6398 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6399 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6400 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6401 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6402 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6403 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6404 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6405 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6406 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6407 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6408 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6409 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6410 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6411 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6412 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6413 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6414 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6415 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6416 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6417 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6418 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6420 2012-05-18 Andreas Jaeger <aj@suse.de>
6422 * csu/.gitignore: Delete.
6424 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6426 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6427 (timex): Use __syscall_slong_t.
6429 2012-05-18 Andreas Jaeger <aj@suse.de>
6430 Carlos O'Donell <carlos_odonell@mentor.com>
6432 * manual/install.texi (Configuring and compiling): Update
6433 description about files modified in the source directory.
6434 * INSTALL: Regenerated.
6436 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6438 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6439 value. Use "or" to set return value to -1.
6440 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6441 negate return value.
6443 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6445 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6446 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6447 failure if the compiler has Graphite support disabled.
6448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6450 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6451 CFLAGS-memmove.c): Likewise.
6452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6457 * sysdeps/x86_64/x32/_itoa.h: New file.
6459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6460 getdents system call only if kernel and user dirents have the
6461 same d_ino and d_off.
6463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6464 LLONG_MAX != LONG_MAX.
6465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6466 (_fitoa_word): Likewise.
6468 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6472 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6475 include <bits/wordsize.h>. Check __x86_64__ instead of
6477 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6478 if __x86_64__ is defined. Use anonymous union on fpstate.
6480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6483 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6485 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6486 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6488 Refer to _rtld_local_ro instead of _rtld_global_ro.
6489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6491 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6493 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6495 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6496 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6497 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6499 * sysdeps/powerpc/powerpc32/dl-machine.c
6500 (__elf_machine_runtime_setup) [PROF]: Don't reference
6503 2012-05-18 Andreas Jaeger <aj@suse.de>
6505 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6506 function only available for GCCs before 3.4 since GCC 3.4
6507 introduced a builtin.
6509 (llrintf): Likewise.
6517 (nearbyint): Likewise.
6518 (nearbyintf): Likewise.
6524 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6526 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6527 on both fields and cast pointer to __syscall_ulong_t.
6529 * bits/types.h (__fsword_t): New type.
6530 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6531 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6533 (__FSWORD_T_TYPE): Likewise.
6534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6535 (__FSWORD_T_TYPE): Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6537 (__FSWORD_T_TYPE): Likewise.
6538 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6539 (__FSWORD_T_TYPE): Likewise.
6540 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6541 __SWORD_TYPE with __fsword_t.
6542 (statfs64): Likewise.
6544 2012-05-17 David S. Miller <davem@davemloft.net>
6546 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6548 2012-05-17 Andreas Jaeger <aj@suse.de>
6550 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6555 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6557 2012-05-17 Andreas Jaeger <aj@suse.de>
6559 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6562 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6564 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6566 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6568 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6569 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6571 2012-05-17 Andreas Jaeger <aj@suse.de>
6572 Carlos O'Donell <carlos_odonell@mentor.com>
6575 * sysdeps/x86_64/multiarch/init-arch.h
6576 (bit_YMM_Usable): Rename to...
6577 (bit_AVX_Usable): ... this.
6578 (bit_FMA4_Usable): New macro.
6579 (bit_XMM_state): New macro.
6580 (bit_YMM_state): New macro.
6581 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6582 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6583 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6584 (CPUID_OSXSAVE): New macro.
6585 (CPUID_AVX): New macro.
6586 (CPUID_FMA4): New macro.
6587 (index_YMM_Usable): Rename to...
6588 (index_AVX_Usable): ... this.
6589 (HAS_AVX): Use HAS_ARCH_FEATURE.
6590 (HAS_FMA4): Likewise.
6591 (HAS_YMM_USABLE): Remove.
6592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6593 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6595 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6596 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6597 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6598 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6599 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6601 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6603 * math/libm-test.c: Support platforms without multiple rounding modes.
6604 * math/bug-nextafter.c: Support platforms without FP exceptions.
6605 * math/bug-nexttoward.c: Likewise.
6606 * math/test-fenv.c: Likewise.
6607 * math/test-misc.c: Likewise.
6608 * stdlib/bug-getcontext.c: Likewise.
6610 2012-05-17 Andreas Jaeger <aj@suse.de>
6612 * manual/examples/search.c (critter_cmp): Change signature to
6614 * manual/string.texi (Collation Functions): Likewise.
6616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6618 * bits/types.h: Fold copyright years.
6619 * bits/typesizes.h: Likewise.
6620 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6624 * time/time.h: Likewise.
6626 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6629 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6630 in instead of returning them. Return void.
6631 (__libc_mallinfo): Accumulate over all arenas.
6632 (__malloc_stats): Adjust for change in int_mallinfo interface.
6634 2012-05-16 Roland McGrath <roland@hack.frob.com>
6637 * configure.in (NM): Add AC_CHECK_TOOL for it.
6638 (libc_extra_cflags): New substituted variable.
6639 Check for -fstack-protector being used implicitly.
6640 * configure: Regenerated.
6641 * config.make.in (config-extra-cflags): New variable,
6642 gets @libc_extra_cflags@.
6643 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6646 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6647 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6648 * configure: Regenerated.
6649 * config.make.in (CPPUNDEFS): New substituted variable.
6650 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6651 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6652 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6656 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6657 (mq_attr): Use __syscall_slong_t.
6659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6661 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6662 Check __x86_64__ instead of __WORDSIZE.
6663 (_STAT_VER_LINUX): Likewise.
6664 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6665 __syscall_ulong_t and __syscall_slong_t.
6668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6674 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6678 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6681 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6682 include <bits/wordsize.h>. Check __x86_64__ instead of
6684 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6686 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6689 include <bits/wordsize.h>. Check __x86_64__ instead of
6691 (user_regs_struct): Use "__extension__ unsigned long long"
6692 instead of "unsigned long" if __x86_64__ is defined.
6693 (user): Likewise. Pad after pointer field if __ILP32__ is
6696 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6698 * configure.in (makeinfo): Require version 4.5 or later. Allow
6700 * configure: Regenerated.
6701 * manual/install.texi (texinfo): Increase version requirement to
6703 * INSTALL: Regenerated.
6705 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6709 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6711 * sysdeps/x86_64/x32/ffs.c: New file.
6713 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6715 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6716 defined. Use __syscall_ulong_t.
6717 (shminfo): Use __syscall_ulong_t.
6718 (shm_info): Likewise.
6720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6723 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6725 (msgqnum_t): Use __syscall_ulong_t.
6726 (msglen_t): Likewise.
6727 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6730 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6731 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6733 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6735 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6736 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6738 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6742 include <bits/wordsize.h>. Check __x86_64__ instead of
6745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6746 "unsigned long long int" if __x86_64__ is defined.
6747 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6751 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6755 (GET_PC): Cast to uintptr_t first.
6756 (GET_FRAME): Likewise.
6757 (GET_STACK): Likewise.
6759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6761 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6763 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6765 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6767 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6789 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6791 * Makerules (+depfiles): Also collect depfiles from .oS in
6793 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6794 .oS, $(libnldbl-routines)).
6796 * Makerules (native-compile-mkdep-flags): Define.
6797 * sunrpc/Makefile (extra-objs): Add $(addprefix
6798 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6799 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6800 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6801 calling $(make-target-directory).
6803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6805 * bits/types.h (__snseconds_t): Removed.
6806 * time/time.h (struct timespec): Replace __snseconds_t with
6808 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6809 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6812 (__SNSECONDS_T_TYPE): Likewise.
6813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6814 (__SNSECONDS_T_TYPE): Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6816 (__SNSECONDS_T_TYPE): Likewise.
6818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6820 * sysdeps/mach/hurd/bits/typesizes.h
6821 (__SYSCALL_SLONG_TYPE): New macro.
6822 (__SYSCALL_ULONG_TYPE): Likewise.
6824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6826 * bits/types.h (__syscall_slong_t): New type.
6827 (__syscall_ulong_t): Likewise.
6829 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6830 (__SYSCALL_ULONG_TYPE): Likewise.
6831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6832 (__SYSCALL_SLONG_TYPE): Likewise.
6833 (__SYSCALL_ULONG_TYPE): Likewise.
6834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6835 (__SYSCALL_SLONG_TYPE): Likewise.
6836 (__SYSCALL_ULONG_TYPE): Likewise.
6837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6838 (__SYSCALL_SLONG_TYPE): Likewise.
6839 (__SYSCALL_ULONG_TYPE): Likewise.
6841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6843 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6844 Add sigaltstack-offsets.sym.
6845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6846 <sigaltstack-offsets.h>.
6847 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6848 longjmp_msg pointer.
6849 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6850 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6852 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6854 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6856 * elf/stackguard-macros.h: Remove file.
6857 * sysdeps/generic/stackguard-macros.h: New file.
6858 * sysdeps/i386/stackguard-macros.h: Likewise.
6859 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6860 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6861 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6862 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6863 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6864 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6865 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6866 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6867 <elf/stackguard-macros.h>.
6870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6871 __aligned__ in attribute.
6872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6873 (gregset_t): Likewise.
6875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6877 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6878 * sysdeps/x86_64/64/Implies-after: Here. New file.
6879 * sysdeps/x86_64/x32/Implies-after: New file.
6881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6883 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6884 and access return value for _dl_profile_fixup. Use R10_LP to
6887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6893 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6894 * sysdeps/x86_64/x32/sysdep.h: New file.
6896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6898 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6899 * sysdeps/x86_64/setjmp.S: Likewise.
6901 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6905 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6907 remove unused global constant.
6909 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6911 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6912 include of <not-cancel.h>.
6914 2012-05-15 Roland McGrath <roland@hack.frob.com>
6916 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6918 2012-05-15 Jeff Law <law@redhat.com>
6919 Andreas Jaeger <aj@suse.de>
6922 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6924 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6925 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6926 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6927 code changing __hst_map_handle.map.
6929 2012-05-15 Roland McGrath <roland@hack.frob.com>
6931 * configure.in (sysnames): Look for Implies-before and Implies-after
6933 * configure: Regenerated.
6935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6938 8-byte data alignment with LP_SIZE alignment.
6940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6947 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6952 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6959 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6960 (stackinfo_sub_sp): Likewise.
6962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6969 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6979 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6983 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6984 into R11_LP and load __x86_64_shared_cache_size_half into
6987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6992 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7001 powerpc32/power7/fpu/s_logb.c via #include.
7002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7003 powerpc32/power7/fpu/s_logbf.c via #include.
7004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7005 powerpc32/power7/fpu/s_logbl.c via #include.
7007 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7009 * README.libm: Remove file.
7011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7013 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7014 count for x32. Use R*_LP and omit operand-size suffix.
7016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7018 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7019 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7020 * sysdeps/x86_64/x32/shlib-versions: New file.
7022 2012-05-14 Roland McGrath <roland@hack.frob.com>
7024 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7025 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7026 Use _dl_fatal_printf instead.
7028 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7030 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7031 set if not set by the user. Do not allow for being unset.
7032 * sysdeps/unix/sysv/linux/configure: Regenerated.
7034 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7036 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7037 the `q' suffix from lea and replace .quad with ASM_ADDR.
7039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7042 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7044 (PTR_DEMANGLE): Likewise.
7046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7048 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7050 (ASM_ADDR): Likewise.
7068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7070 * sysdeps/x86_64/x32/dl-machine.h: New file.
7072 2012-05-14 Andreas Jaeger <aj@suse.de>
7074 * manual/Makefile (subdir): Remove export of subdir.
7075 (all): Remove target.
7076 (.PHONY): Remove all from list.
7077 (mkinstalldirs): Remove.
7078 (.PHONY): Remove installdirs from list.
7079 ($(inst_infodir)/libc.info): Use make-target-directory.
7080 (installdirs): Remove.
7082 (glibc-targets): Remove.
7085 ($(objpfx)stubs ../po/manual.pot): Remove.
7086 ($(objpfx)stamp%): Remove.
7087 (make-target-directory): Remove.
7088 (subdir_install): Remove.
7096 * manual/.gitignore: Remove, it's not needed anymore.
7097 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7099 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7101 (texis): Renamed to $(objpfx)texis.
7102 (texis-path): New, contains path to generated files.
7103 (chapters.%): Use texis-path for complete path, add extra argument
7105 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7106 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7107 (summary,texi, stamp-summary): Use complete path of
7108 files. Generate files in build dir.
7109 (dir-add.texi): Build in build dir.
7110 (libm-err.texi,stamp-libm-err): Likewise.
7111 (version.texi, stamp-version): Likewise.
7112 (.%c.texi): Likewise.
7113 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7114 (mostlyclean): Remove target.
7115 (realclean): Remove target.
7116 (generated): Add new variable with contents from mostlyclean and
7117 realclean, remove entries duplicated in common-mostlyclean, add
7118 stamp-libm-err and stamp-version.
7119 (generated-dirs): Add libc directory.
7120 ($(inst_infodir)/libc.info): Install files from build dir.
7122 * manual/install.texi (Configuring and compiling): Adjust since
7123 the info files are not part of the tar ball anymore.
7125 2012-05-14 Andreas Jaeger <aj@suse.de>
7127 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7130 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7134 to 2.2.0 where earlier.
7135 * sysdeps/unix/sysv/linux/configure: Regenerated.
7136 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7137 Remove conditional code.
7138 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7139 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7140 Remove conditional code.
7141 [!__NR_lchown]: Likewise.
7142 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7143 [__NR_lchown]: Likewise.
7144 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7145 comment referencing __ASSUME_LCHOWN_SYSCALL.
7146 * sysdeps/unix/sysv/linux/i386/sigaction.c
7147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7149 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7150 Remove conditional code.
7151 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7152 (__protocol_available): Remove #if 0 code.
7153 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7155 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7156 * sysdeps/unix/sysv/linux/kernel-features.h
7157 (__ASSUME_GETCWD_SYSCALL): Don't define.
7158 (__ASSUME_REALTIME_SIGNALS): Likewise.
7159 (__ASSUME_PREAD_SYSCALL): Likewise.
7160 (__ASSUME_PWRITE_SYSCALL): Likewise.
7161 (__ASSUME_POLL_SYSCALL): Likewise.
7162 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7163 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7165 (__ASSUME_SIOCGIFNAME): Don't define.
7166 (__ASSUME_MSG_NOSIGNAL): Likewise.
7167 (__ASSUME_SENDFILE): Define unconditionally.
7168 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7169 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7171 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7172 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7173 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7174 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7175 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7176 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7177 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7202 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7203 Remove conditional code.
7204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7205 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7206 Remove conditional code.
7207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7208 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7209 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7210 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7211 Remove conditional code.
7212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7213 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7214 Remove conditional code.
7215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7216 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7217 Remove conditional code.
7218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7219 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7220 Remove conditional code.
7221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7222 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7223 Remove conditional code.
7224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7225 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7228 * sysdeps/unix/sysv/linux/sigaction.c
7229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7231 * sysdeps/unix/sysv/linux/sigpending.c
7232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7234 * sysdeps/unix/sysv/linux/sigprocmask.c
7235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7237 * sysdeps/unix/sysv/linux/sigsuspend.c
7238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7240 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7241 (__libc_missing_rt_sigs): Remove.
7242 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7243 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7244 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7245 Remove conditional code.
7246 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7247 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7250 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7252 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7254 2012-05-14 Andreas Jaeger <aj@suse.de>
7256 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7257 it's not used in glibc.
7258 (__coshm1): Likewise.
7259 (__acosh1p): Likewise.
7262 * manual/string.texi (Copying and Concatenation): Add missing
7263 variable in concat example.
7264 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7270 __builtin_clzl with __builtin_clzll.
7272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7275 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7278 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7280 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7281 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7282 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7285 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7287 * NEWS: Update ia64 info.
7289 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7291 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7294 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7296 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7297 * sysdeps/unix/syscalls.list (dup3): Likewise.
7298 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7299 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7301 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7303 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7304 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7306 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7308 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7310 (TLS_IE): Use mov/add instead of movq/addq to load thread
7312 (TLS_GD_PREFIX): New.
7315 2012-05-11 David S. Miller <davem@davemloft.net>
7317 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7318 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7319 (_FPU_SETCW): Likewise.
7321 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7323 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7326 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7329 * iconvdata/gb18030.c: Update tables.
7330 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7331 characters specially.
7332 (BODY for TO_LOOP): Add encoding of missing ranges.
7334 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7337 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7338 * sysdeps/mach/hurd/dup3.c: Likewise.
7339 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7340 * sysdeps/powerpc/memmove.c:: Likewise.
7342 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7345 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7347 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7349 * elf/elf.h (R_X86_64_RELATIVE64): New.
7350 (R_X86_64_NUM): Updated.
7351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7352 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7353 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7354 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7355 tst-quad1pie tst-quad2pie
7356 (modules-names): Add tst-quadmod1 tst-quadmod2.
7357 ($(objpfx)tst-quad1): New dependency.
7358 ($(objpfx)tst-quad2): Likewise.
7359 ($(objpfx)tst-quad1pie): Likewise.
7360 ($(objpfx)tst-quad2pie): Likewise.
7361 * sysdeps/x86_64/tst-quad1.c: New file.
7362 * sysdeps/x86_64/tst-quad1pie.c: New file.
7363 * sysdeps/x86_64/tst-quad2.c: Likewise.
7364 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7365 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7366 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7367 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7368 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7372 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7373 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7374 * streams/stropts.h (t_scalar_t): Define type.
7376 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7377 (_PATH_PRESERVE): Set to "/var/lib".
7378 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7380 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7383 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7384 if __dir_mkfile succeeded.
7386 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7387 checking for _hurd_dtablesize. Unlock it right after having
7388 finished _hurd_dtable allocation.
7390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7392 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7393 * sysdeps/mach/hurd/configure: Regenerated.
7394 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7395 special-casing to...
7396 * sysdeps/gnu/configure.in: ... this new file.
7397 * sysdeps/unix/sysv/linux/configure: Regenerated.
7398 * sysdeps/gnu/configure: New generated file.
7400 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7401 for Linux: use nsec instead of usec, as well as:
7402 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7403 members of type struct timespec.
7404 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7406 (struct stat64): Likewise.
7407 (_STATBUF_ST_NSEC): New macro.
7408 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7411 __strtoul_internal rather than strtoul.
7413 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7415 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7420 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7421 which preserves existing values.
7422 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7426 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7427 TIMEOUT values. Return EINVAL for NFDS values either negative or
7428 greater than FD_SETSIZE.
7430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7432 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7433 allocated, call __vm_protect to finish enabling the existing space, and
7434 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7435 allocate the remainder.
7437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7439 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7440 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7444 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7445 sysdeps/mach/hurd/readlink.c.
7447 * posix/tst-sysconf.c (posix_options): Only use
7448 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7449 _POSIX_SYNCHRONIZED_IO when they are defined
7450 * sysdeps/mach/hurd/bits/posix_opt.h:
7451 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7452 (_XOPEN_REALTIME): Undefine macro.
7453 (_XOPEN_REALTIME_THREADS): Undefine macro.
7454 (_XOPEN_SHM): Undefine macro.
7455 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7457 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7459 (_POSIX_ASYNC_IO): Undefine macro.
7460 (_POSIX_PRIORITIZED_IO): Undefine macro.
7461 (_POSIX_SPIN_LOCKS): Define macro to -1.
7463 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7464 SA_NODEFER, SA_RESETHAND.
7465 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7466 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7471 * elf/Makefile (pldd-modules): Define unconditionally.
7473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7475 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7479 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7480 Return ENOENT when name is empty.
7481 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7485 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7487 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7491 Fix mlock in all cases except non-readable pages.
7492 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7493 instead of VM_PROT_ALL as parameter to __vm_wire function.
7495 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7496 (__mkdir): When path is `/', just fail with EEXIST.
7497 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7501 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7502 <sys/uio.h> (for writev).
7503 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7504 and <sys/param.h> (for MIN).
7506 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7508 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7509 REQUESTED_TIME. Properly set the remaining time and return EINTR
7512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7514 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7515 Depend on against $(link-rpcuserlibs).
7517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7519 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7520 (__libc_stack_end): Do not use attribute_relro.
7521 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7522 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7523 to libthread-provided value.
7524 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7530 * bits/libc-lock.h (__libc_once_get): New macro.
7531 * sysdeps/mach/bits/libc-lock.h: Likewise.
7532 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7534 instead of using implementation details.
7536 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7537 * libio/freopen.c: Likewise.
7538 * libio/freopen64.c: Likewise.
7539 * misc/syslog.c: Likewise.
7540 * nscd/connections.c: Likewise.
7541 * nscd/netgroupcache.c: Likewise.
7542 * sysdeps/posix/getcwd.c: Likewise.
7544 2012-05-10 Roland McGrath <roland@hack.frob.com>
7546 * math/w_ilogbf.c: Add #include <limits.h>.
7548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7550 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7551 path instead of returning without unlocking.
7553 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7554 immediate-write ioctls.
7555 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7559 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7560 __builtin_frame_address instead of making assumptions about the
7561 location of the return address relative to DATA. Force early load of
7563 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7564 __builtin_frame_address.
7567 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7568 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7569 implement dup3 and do some further code clean-ups.
7570 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7571 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7575 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7577 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7578 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7579 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7580 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7581 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7584 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7585 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7586 when handler == SIG_ERR, not when handler != SIG_ERR.
7588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7590 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7591 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7594 accept4 for GNU Hurd.
7595 * include/sys/socket.h (__libc_accept4): New prototype.
7596 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7597 to implement __libc_accept4.
7598 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7602 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7603 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7604 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7609 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7613 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7614 assertion on O_CLOEXEC flag.
7615 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7616 * hurd/intern-fd.c: Likewise.
7617 * hurd/port2fd.c: Likewise.
7619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7622 * bits/in.h (IPV6_PKTINFO): Define new macro.
7623 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7625 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7632 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7633 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7635 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7636 * math/libm-test.inc (logb_test) : Additional logb tests.
7638 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7639 Andreas Jaeger <aj@suse.de>
7641 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7642 * configure: Regenerated.
7643 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7644 * config.make.in (link-obsolete-rpc): New substituted variable.
7645 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7646 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7647 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7648 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7649 so that libc.a contains the symbols.
7650 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7651 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7652 * sunrpc/auth_none.c: Likewise.
7653 * sunrpc/auth_unix.c: Likewise.
7654 * sunrpc/authdes_prot.c: Likewise.
7655 * sunrpc/authuxprot.c: Likewise.
7656 * sunrpc/clnt_gen.c: Likewise.
7657 * sunrpc/clnt_perr.c: Likewise.
7658 * sunrpc/clnt_raw.c: Likewise.
7659 * sunrpc/clnt_simp.c: Likewise.
7660 * sunrpc/clnt_tcp.c: Likewise.
7661 * sunrpc/clnt_udp.c: Likewise.
7662 * sunrpc/clnt_unix.c: Likewise.
7663 * sunrpc/des_crypt.c: Likewise.
7664 * sunrpc/des_soft.c: Likewise.
7665 * sunrpc/get_myaddr.c: Likewise.
7666 * sunrpc/key_call.c: Likewise.
7667 * sunrpc/key_prot.c: Likewise.
7668 * sunrpc/netname.c: Likewise.
7669 * sunrpc/pm_getmaps.c: Likewise.
7670 * sunrpc/pm_getport.c: Likewise.
7671 * sunrpc/pmap_clnt.c: Likewise.
7672 * sunrpc/pmap_prot.c: Likewise.
7673 * sunrpc/pmap_prot2.c: Likewise.
7674 * sunrpc/pmap_rmt.c: Likewise.
7675 * sunrpc/publickey.c: Likewise.
7676 * sunrpc/rpc_cmsg.c: Likewise.
7677 * sunrpc/rpc_common.c: Likewise.
7678 * sunrpc/rpc_dtable.c: Likewise.
7679 * sunrpc/rpc_prot.c: Likewise.
7680 * sunrpc/rpc_thread.c: Likewise.
7681 * sunrpc/rtime.c: Likewise.
7682 * sunrpc/svc.c: Likewise.
7683 * sunrpc/svc_auth.c: Likewise.
7684 * sunrpc/svc_raw.c: Likewise.
7685 * sunrpc/svc_run.c: Likewise.
7686 * sunrpc/svc_tcp.c: Likewise.
7687 * sunrpc/svc_udp.c: Likewise.
7688 * sunrpc/svc_unix.c: Likewise.
7689 * sunrpc/svcauth_des.c: Likewise.
7690 * sunrpc/xcrypt.c: Likewise.
7691 * sunrpc/xdr.c: Likewise.
7692 * sunrpc/xdr_array.c: Likewise.
7693 * sunrpc/xdr_float.c: Likewise.
7694 * sunrpc/xdr_intXX_t.c: Likewise.
7695 * sunrpc/xdr_mem.c: Likewise.
7696 * sunrpc/xdr_rec.c: Likewise.
7697 * sunrpc/xdr_ref.c: Likewise.
7698 * sunrpc/xdr_sizeof.c: Likewise.
7699 * sunrpc/xdr_stdio.c: Likewise.
7701 2012-05-10 Roland McGrath <roland@hack.frob.com>
7703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7704 change. Update copyright years.
7706 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7708 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7710 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7711 Joseph Myers <joseph@codesourcery.com>
7712 Paul Pluzhnikov <ppluzhnikov@google.com>
7715 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7717 [cross-compiling] (extra-libs): Likewise.
7718 [cross-compiling] (extra-libs-others): Likewise.
7719 [cross-compiling] (librpcsvc-routines): Likewise.
7720 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7721 [cross-compiling] (omit-deps): Likewise.
7722 (sunrpc-CPPFLAGS): New variable.
7723 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7724 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7725 (cross-rpcgen-objs): New variable.
7726 (extra-objs): Append $(cross-rpcgen-objs).
7727 ($(cross-rpcgen-objs)): New rule.
7728 ($(objpfx)cross-rpcgen): Likewise.
7729 (rpcgen-cmd): Define to use $(built-program-file). Expand
7731 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7732 ($(objpfx)x%.stmp): Likewise.
7733 * sunrpc/proto.h [IS_IN_build] (_): Define.
7734 [IS_IN_build] (_libc_intl_domainname): Likewise.
7736 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7739 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7740 and R_X86_64_TPOFF64.
7742 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7744 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7745 sysdeps/unix/sysv/syscalls.list.
7748 * sysdeps/unix/sysv/syscalls.list: Remove file.
7750 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7753 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7754 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7755 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7756 (__LC_IDENTIFICATION): Make these macros useful in #if
7757 expressions, as required by C99.
7759 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7761 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7762 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7765 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7767 * stdlib/longlong.h: Updated from GCC.
7769 2012-05-09 Andreas Jaeger <aj@suse.de>
7771 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7772 default is first entry.
7773 (run_mode): Set type.
7774 (main): Remove informal message about syslog.
7775 (options): Fix typo.
7778 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7781 (llrintf): Likewise.
7785 (nearbyint): Likewise.
7786 (nearbyintf): Likewise.
7788 2012-05-09 Andreas Jaeger <aj@suse.de>
7789 Pedro Alves <palves@redhat.com>
7791 * nscd/nscd.c (run_mode): Use enum.
7792 (main): Cleanup coding style issue.
7794 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7795 Andreas Jaeger <aj@suse.de>
7797 * nscd/nscd.c (go_background): Replaced with...
7798 (run_mode): ... this.
7799 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7800 (options): Add -F --foreground.
7801 (main): Implement it.
7802 (parse_opt): Parse it.
7804 2012-05-09 Andreas Jaeger <aj@suse.de>
7807 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7808 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7809 -Wconversion warning.
7810 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7813 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7815 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7817 (LC_ALL): Use macro-int-constant.
7818 (LC_COLLATE): Likewise.
7819 (LC_CTYPE): Likewise.
7820 (LC_MESSAGES): Likewise.
7821 (LC_MONETARY): Likewise.
7822 (LC_NUMERIC): Likewise.
7823 (LC_TIME): Likewise.
7824 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7825 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7827 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7829 [C99-based standards] (float_t): Expect type.
7830 [C99-based standards] (double_t): Expect type.
7831 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7833 [C99-based standards] (HUGE_VALL): Likewise.
7834 [C99-based standards] (INFINITY): Likewise.
7835 [C99-based standards] (NAN): Likewise.
7836 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7837 [C99-based standards] (FP_NAN): Likewise.
7838 [C99-based standards] (FP_NORMAL): Likewise.
7839 [C99-based standards] (FP_SUBNORMAL): Likewise.
7840 [C99-based standards] (FP_ZERO): Likewise.
7841 [C99-based standards] (FP_FAST_FMA): Use
7842 optional-macro-int-constant. Specify type. Require == 1.
7843 [C99-based standards] (FP_FAST_FMAF): Likewise.
7844 [C99-based standards] (FP_FAST_FMAL): Likewise.
7845 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7846 [C99-based standards] (FP_ILOGBNAN): Likewise.
7847 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7849 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7850 [C99-based standards] (math_errhandling): Specify type.
7851 [ISO99 || ISO11] (signgam): Do not allow.
7852 [non-C99-based standards] (copysignf): Do not allow.
7853 [non-C99-based standards] (exp2f): Likewise.
7854 [non-C99-based standards] (log2f): Likewise.
7855 [non-C99-based standards] (modff): Allow.
7856 [non-C99-based standards] (erff): Do not allow.
7857 [non-C99-based standards] (erfcf): Likewise.
7858 [non-C99-based standards] (gammaf): Likewise.
7859 [non-C99-based standards] (hypotf): Likewise.
7860 [non-C99-based standards] (j0f): Likewise.
7861 [non-C99-based standards] (j1f): Likewise.
7862 [non-C99-based standards] (jnf): Likewise.
7863 [non-C99-based standards] (lgammaf): Likewise.
7864 [non-C99-based standards] (tgammaf): Likewise.
7865 [non-C99-based standards] (y0f): Likewise.
7866 [non-C99-based standards] (y1f): Likewise.
7867 [non-C99-based standards] (ynf): Likewise.
7868 [non-C99-based standards] (isnanf): Likewise.
7869 [non-C99-based standards] (acoshf): Likewise.
7870 [non-C99-based standards] (asinhf): Likewise.
7871 [non-C99-based standards] (atanhf): Likewise.
7872 [non-C99-based standards] (cbrtf): Likewise.
7873 [non-C99-based standards] (expm1f): Likewise.
7874 [non-C99-based standards] (ilogbf): Likewise.
7875 [non-C99-based standards] (log1pf): Likewise.
7876 [non-C99-based standards] (logbf): Likewise.
7877 [non-C99-based standards] (nextafterf): Likewise.
7878 [non-C99-based standards] (remainderf): Likewise.
7879 [non-C99-based standards] (rintf): Likewise.
7880 [non-C99-based standards] (scalbf): Likewise.
7881 [non-C99-based standards] (copysignl): Likewise.
7882 [non-C99-based standards] (exp2l): Likewise.
7883 [non-C99-based standards] (log2l): Likewise.
7884 [non-C99-based standards] (modfl): Allow.
7885 [non-C99-based standards] (erfl): Do not allow.
7886 [non-C99-based standards] (erfcl): Likewise.
7887 [non-C99-based standards] (gammal): Likewise.
7888 [non-C99-based standards] (hypotl): Likewise.
7889 [non-C99-based standards] (j0l): Likewise.
7890 [non-C99-based standards] (j1l): Likewise.
7891 [non-C99-based standards] (jnl): Likewise.
7892 [non-C99-based standards] (lgammal): Likewise.
7893 [non-C99-based standards] (tgammal): Likewise.
7894 [non-C99-based standards] (y0l): Likewise.
7895 [non-C99-based standards] (y1l): Likewise.
7896 [non-C99-based standards] (ynl): Likewise.
7897 [non-C99-based standards] (isnanl): Likewise.
7898 [non-C99-based standards] (acoshl): Likewise.
7899 [non-C99-based standards] (asinhl): Likewise.
7900 [non-C99-based standards] (atanhl): Likewise.
7901 [non-C99-based standards] (cbrtl): Likewise.
7902 [non-C99-based standards] (expm1l): Likewise.
7903 [non-C99-based standards] (ilogbl): Likewise.
7904 [non-C99-based standards] (log1pl): Likewise.
7905 [non-C99-based standards] (logbl): Likewise.
7906 [non-C99-based standards] (nextafterl): Likewise.
7907 [non-C99-based standards] (remainderl): Likewise.
7908 [non-C99-based standards] (rintl): Likewise.
7909 [non-C99-based standards] (scalbl): Likewise.
7910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7911 [non-C99-based standards] (FP_*): Do not allow.
7912 [C99-based standards] (FP_*): Change to
7913 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7914 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7916 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7917 (SIG_ERR): Likewise.
7918 [X/Open-based standards] (SIG_HOLD): Likewise.
7919 (SIG_IGN): Likewise.
7920 (SIGABRT): Use macro-int-constant. Specify type. Require
7925 (SIGSEGV): Likewise.
7927 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7928 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7929 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7930 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7931 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7932 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7933 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7934 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7935 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7936 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7937 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7938 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7939 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7940 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7941 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7942 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7943 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7944 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7945 [X/Open-based standards] (SIGTRAP): Likewise.
7946 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7947 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7948 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7949 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7950 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7953 2012-05-08 Ian Wienand <ianw@vmware.com>
7956 * time/tzset.c (__tzset_parse_tz): Update default rules for
7957 daylight time changes in the Energy Policy Act of 2005.
7959 2012-05-09 Andreas Jaeger <aj@suse.de>
7962 * elf/ldconfig.c (parse_conf): Change string to make clear that
7963 ldconfig only issued a warning if ld.so.conf does not exist.
7965 2012-05-08 David S. Miller <davem@davemloft.net>
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7968 movxtod instead of popping the value on the stack.
7970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7972 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7974 * config.h.in: Add HAVE_ARM_PCS_VFP.
7976 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7979 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7980 checking but the checks are disabled for any reason.
7982 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7984 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7985 and ELF64_R_TYPE with ELFW(R_TYPE).
7987 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7989 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7992 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7993 (settimeofday): Likewise.
7995 2012-05-08 Mike Frysinger <vapier@gentoo.org>
7997 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7998 a struct th_u2 inside the union, and move tu_block/tu_code into
7999 a new th_u3 union of tu_block/tu_code inside of that. Move
8000 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8001 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8002 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8003 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8004 (th_stuff): Change to th_u1.tu_stuff.
8006 (th_msg): Change to th_u1.th_u2.tu_data.
8008 2012-05-07 David S. Miller <davem@davemloft.net>
8010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8013 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8014 (SETUP_PIC_REG): Use it.
8015 (SETUP_PIC_REG_LEAF): Use it.
8017 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8023 (EXPL_FINITE): Likewise.
8025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8026 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8030 (EXPL_FINITE): Likewise.
8032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8033 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8035 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8036 test of -max_value argument for long double.
8037 * sysdeps/i386/fpu/libm-test-ulps: Update.
8038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040 2012-05-06 David S. Miller <davem@davemloft.net>
8042 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8043 quad soft-float symbols whose references which are compiler
8045 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8047 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8053 (EXPL_FINITE): Likewise.
8057 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8058 Adjust comments for base varying.
8059 (__expl_finite): Change alias to EXPL_FINITE.
8060 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8062 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8063 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8064 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8065 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8068 (EXPL_FINITE): Likewise.
8072 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8073 Adjust comments for base varying.
8074 (__expl_finite): Change alias to EXPL_FINITE.
8075 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8080 * math/libm-test.inc (check_float_internal): Correct ulp
8081 calculation for subnormal expected results.
8083 2012-05-06 Andreas Jaeger <aj@suse.de>
8085 * Makeconfig (+math-flags): New, set to -frounding-math.
8086 (+cflags): Add +math-flags so that all of glibc gets compiled with
8089 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8091 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8093 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8099 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8100 (__ieee754_expl): Allow for and saturate large arguments.
8101 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8102 (u_threshold): Likewise.
8103 (__exp): Call __ieee754_exp before checking for overflow and
8105 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8106 (u_threshold): Likewise.
8107 (__expf): Call __ieee754_expf before checking for overflow and
8109 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8110 (u_threshold): Likewise.
8111 (__expl): Call __ieee754_expl before checking for overflow and
8113 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8114 (__ieee754_expl): Allow for and saturate large arguments.
8115 * math/libm-test.inc (exp_test): Add another test. Do not allow
8116 missing overflow exception on overflow.
8117 (expm1_test): Do not allow missing overflow exception on overflow.
8119 * sysdeps/i386/fpu/e_expl.c: Move to ...
8120 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8121 rather than using inline asm.
8122 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8123 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8124 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8126 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8133 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8135 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8136 sysdeps/unix/common/syscalls.list.
8139 (ftruncate): Likewise.
8140 (getrusage): Likewise.
8141 (gettimeofday): Likewise.
8142 (setpgid): Likewise.
8143 (setregid): Likewise.
8144 (setreuid): Likewise.
8145 (sigaction): Likewise.
8146 (truncate): Likewise.
8147 (vhangup): Likewise.
8148 * sysdeps/unix/common/syscalls.list: Remove file.
8149 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8150 * sysdeps/unix/sysv/linux/Implies: Likewise.
8152 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8160 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8163 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8166 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8169 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8172 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8178 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8182 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8186 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8189 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8193 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8197 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8199 * sysdeps/unix/common/bits/dirent.h: Remove file.
8200 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8202 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8203 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8204 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8205 * sysdeps/unix/bsd/isatty.c: Likewise.
8206 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8207 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8208 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8210 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8214 long double comparison inaccuracies.
8215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8218 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8220 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8223 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8227 nonzero digits before rounding a hex value.
8228 * stdlib/tst-strtod.c (tests): Add another test.
8230 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8232 * sysdeps/s390/fpu/libm-test-ulps: Update.
8234 2012-05-03 Andreas Jaeger <aj@suse.de>
8236 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8237 does not get optimized out.
8238 (malloc_opt_barrier): New.
8240 2012-05-03 Andreas Jaeger <aj@suse.de>
8241 Roland McGrath <roland@hack.frob.com>
8243 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8244 intermediate file deletion.
8245 (generated): Add .symlist files.
8247 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8250 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8251 Redirect under this condition.
8252 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8253 [__USE_GNU] (__dprintf_chk): Not under this condition.
8254 [__USE_GNU] (__vdprintf_chk): Likewise.
8255 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8256 under this condition.
8257 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8258 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8259 [__USE_XOPEN2K8] (vdprintf): Likewise.
8260 [__USE_GNU] (__dprintf_chk): Not under this condition.
8261 [__USE_GNU] (__vdprintf_chk): Likewise.
8262 [__USE_GNU] (dprintf): Likewise.
8263 [__USE_GNU] (vdprintf): Likewise.
8265 2012-05-03 Roland McGrath <roland@hack.frob.com>
8267 * elf/Makefile (common-generated): Set this instead of generated for
8268 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8269 $(all-built-dso)-derived lists.
8271 2012-05-03 Andreas Jaeger <aj@suse.de>
8273 * sysdeps/i386/fpu/libm-test-ulps: Update.
8277 * scripts/gen-FAQ.pl: Likewise.
8278 * manual/install.texi (Installation): Point to online location of
8280 * Makefile (files-for-dist): Remove FAQ.
8283 2012-05-02 Allan McRae <allan@archlinux.org>
8285 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8286 (LDFLAGS-reldepmod5.so): Likewise.
8287 (LDFLAGS-reldep6mod1.so): Likewise.
8288 (LDFLAGS-reldep6mod4.so): Likewise.
8289 (LDFLAGS-reldep8mod3.so): Likewise.
8290 (LDFLAGS-unload4mod1.so): Likewise.
8291 (LDFLAGS-unload4mod2.so): Likewise.
8292 (LDFLAGS-tst-initorder): Likewise.
8293 (LDFLAGS-tst-initordera2.so): Likewise.
8294 (LDFLAGS-tst-initordera3.so): Likewise.
8295 (LDFLAGS-tst-initordera4.so): Likewise.
8296 (LDFLAGS-tst-initorderb2.so): Likewise.
8297 (LDFLAGS-noload): Likewise.
8298 (LDFLAGS-next): Likewise.
8299 (LDFLAGS-order2mod1.so): Likewise.
8300 (LDFLAGS-order2mod2.so): Likewise.
8301 (LDFLAGS-tst-initorder2): Likewise.
8302 (LDFLAGS-tst-initorder2a.so): Likewise.
8303 (LDFLAGS-tst-initorder2b.so): Likewise.
8304 (LDFLAGS-tst-initorder2c.so): Likewise.
8305 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8307 2012-05-02 David S. Miller <davem@davemloft.net>
8309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8311 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8314 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8316 2012-05-02 Andreas Jaeger <aj@suse.de>
8318 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8319 since we manipulate rounding mode.
8320 (CPPFLAGS-test-idouble.c): Likewise.
8321 (CPPFLAGS-test-ifloat.c): Likewise.
8322 (CFLAGS-test-ldouble.c): Likewise.
8323 (CFLAGS-test-double.c): Likewise.
8324 (CFLAGS-test-float.c): Likewise.
8325 (CFLAGS-test-misc.c): Likewise.
8326 (CFLAGS-test-test-fenv.c): Likewise.
8328 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8333 comparisons to determine direction to adjust input.
8335 2012-05-01 Roland McGrath <roland@hack.frob.com>
8337 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8338 output to the target.
8340 * scripts/localplt.awk: New file.
8341 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8342 (check-localplt-CFLAGS): Variable removed.
8343 ($(all-built-dso:=.jmprel)): New static pattern rule.
8344 (generated): Add those targets.
8345 (localplt-built-dso): New variable.
8346 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8348 * elf/check-localplt.c: File removed.
8350 * scripts/check-execstack.awk: New file.
8351 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8352 (check-execstack-CFLAGS): Variable removed.
8353 ($(objpfx)check-execstack.h): Target removed.
8354 ($(objpfx)execstack-default): New target.
8355 (generated): Add that instead of check-execstack.h.
8356 ($(all-built-dso:=.phdr)): New static pattern rule.
8357 (generated): Add those targets.
8358 * elf/check-execstack.c: File removed.
8360 * scripts/check-textrel.awk: New file.
8361 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8362 (check-textrel-CFLAGS): Variable removed.
8363 (all-built-dso): Use := to define.o
8364 ($(all-built-dso:=.dyn)): New static pattern rule.
8365 (generated): Add those targets.
8366 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8367 * config.make.in (READELF): New substituted variable.
8368 * elf/check-textrel.c: File removed.
8370 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8372 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8374 * conform/data/ctype.h-data [C99-based standards] (isblank):
8376 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8377 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8379 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8380 Specify type. Require positive value.
8383 [ISO || POSIX] (EILSEQ): Do not expect.
8384 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8385 Specify type. Require positive value.
8386 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8387 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8388 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8389 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8390 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8391 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8392 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8393 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8394 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8395 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8396 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8397 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8398 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8399 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8400 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8401 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8402 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8403 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8405 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8407 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8408 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8409 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8410 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8411 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8412 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8413 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8414 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8415 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8416 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8417 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8418 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8419 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8420 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8421 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8422 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8423 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8424 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8425 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8426 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8427 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8428 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8429 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8430 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8431 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8432 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8433 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8434 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8435 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8436 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8437 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8438 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8439 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8440 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8442 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8443 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8449 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8450 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8451 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8452 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8453 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8454 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8460 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8461 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8462 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8464 (FLT_ROUNDS): Expect as macro, not constant.
8465 (FLT_MANT_DIG): Use macro-int-constant.
8466 (DBL_MANT_DIG): Likewise.
8467 (LDBL_MANT_DIG): Likewise.
8468 (FLT_DIG): Likewise.
8469 (DBL_DIG): Likewise.
8470 (LDBL_DIG): Likewise.
8471 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8472 (DBL_MIN_EXP): Likewise.
8473 (LDBL_MIN_EXP): Likewise.
8474 (FLT_MAX_EXP): Use macro-int-constant.
8475 (DBL_MAX_EXP): Likewise.
8476 (LDBL_MAX_EXP): Likewise.
8477 (FLT_MAX_10_EXP): Likewise.
8478 (DBL_MAX_10_EXP): Likewise.
8479 (LDBL_MAX_10_EXP): Likewise.
8480 (FLT_MAX): Use macro-constant.
8481 (DBL_MAX): Likewise.
8482 (LDBL_MAX): Likewise.
8483 (FLT_EPSILON): Use macro-constant. Give upper bound.
8484 (DBL_EPSILON): Likewise.
8485 (LDBL_EPSILON): Likewise.
8486 (FLT_MIN): Likewise.
8487 (DBL_MIN): Likewise.
8488 (LDBL_MIN): Likewise.
8489 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8490 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8491 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8492 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8493 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8494 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8495 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8496 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8497 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8498 [ISO11] (FLT_TRUE_MIN): Likewise.
8499 [ISO11] (LDBL_TRUE_MIN): Likewise.
8500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8501 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8502 (SCHAR_MIN): Use macro-int-constant. Specify type.
8503 (SCHAR_MAX): Likewise.
8504 (UCHAR_MAX): Likewise.
8505 (CHAR_MIN): Likewise.
8506 (CHAR_MAX): Likewise.
8507 (MB_LEN_MAX): Use macro-int-constant.
8508 (SHRT_MIN): Use macro-int-constant. Specify type.
8509 (SHRT_MAX): Likewise.
8510 (USHRT_MAX): Likewise.
8511 (INT_MAX): Likewise.
8512 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8514 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8516 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8518 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8519 bound negative. Suffix upper bound with "L".
8520 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8522 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8524 [C99-based standards] (LLONG_MAX): Likewise.
8525 [C99-based standards] (ULLONG_MAX): Likewise.
8526 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8528 [ISO11] (max_align_t): Require type.
8529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8531 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8532 from $CFLAGS, without defining away __attribute__ calls.
8533 (checknamespace): Use $CFLAGS_namespace.
8535 * conform/conformtest.pl (@keywords): Only include C99 keywords
8536 for standards based on C99 or C11.
8538 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8540 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8543 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8544 usability of symbols in #if.
8546 * conform/conformtest.pl: If macro or constant types start
8547 "promoted:", expect the symbol to be of the following type
8548 promoted by the integer promotions.
8550 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8551 in one place. Also handle "macro-constant".
8553 * conform/conformtest.pl: Only accept expected macro values with
8554 "==". Parse all "macro" lines in one place.
8555 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8557 * conform/conformtest.pl: Handle braced types on "constant" lines
8558 instead of handling "typed-constant".
8559 * conform/data/signal.h-data: Use "constant" instead of
8562 * conform/conformtest.pl: Handle "optional-" at start of lines in
8563 one place rather than duplicating several cases. Handle each
8564 format of "macro" line with initial "optional-".
8566 * conform/conformtest.pl: Only accept expected constant or
8567 optional-constant values with "==". Parse all "constant" lines in
8568 one place. Parse all "optional-constant" lines in one place.
8569 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8570 * conform/data/fmtmsg.h-data: Likewise.
8571 * conform/data/netinet/in.h-data: Likewise.
8572 * conform/data/tar.h-data: Likewise.
8573 * conform/data/limits.h-data: Use "==" form on "constant" and
8574 "optional-constant" lines.
8576 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8577 Use -std=c99 for XOPEN2K.
8578 (@knownproblems): Remove.
8579 (newtoken): Don't check %isknown.
8581 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8582 Do not expect macro.
8583 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8584 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8585 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8586 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8587 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8588 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8589 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8590 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8591 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8592 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8595 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8596 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8613 [XPG3] (acosh): Likewise.
8614 [XPG3] (asinh): Likewise.
8615 [XPG3] (atanh): Likewise.
8616 [XPG3] (cbrt): Likewise.
8617 [XPG3] (expm1): Likewise.
8618 [XPG3] (ilogb): Likewise.
8619 [XPG3] (log1p): Likewise.
8620 [XPG3] (logb): Likewise.
8621 [XPG3] (nextafter): Likewise.
8622 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8623 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8624 [XPG3] (remainder): Likewise.
8625 [XPG3] (rint): Likewise.
8626 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8627 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8628 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8629 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8630 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8633 [UNIX98 || XOPEN2K] (scalb): Expect.
8634 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8635 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8642 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8643 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8644 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8648 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8649 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8650 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8651 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8652 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8653 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8654 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8655 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8656 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8657 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8658 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8659 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8660 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8661 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8662 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8663 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8664 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8665 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8666 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8667 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8668 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8669 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8670 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8671 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8672 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8673 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8674 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8675 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8676 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8677 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8678 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8679 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8680 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8681 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8682 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8683 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8684 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8685 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8686 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8687 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8688 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8689 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8690 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8691 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8692 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8693 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8694 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8695 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8696 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8697 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8698 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8699 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8700 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8701 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8702 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8703 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8704 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8705 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8706 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8707 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8708 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8709 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8710 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8711 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8712 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8713 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8714 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8715 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8716 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8717 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8718 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8719 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8720 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8721 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8722 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8723 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8724 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8725 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8726 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8727 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8728 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8729 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8730 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8731 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8732 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8733 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8734 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8735 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8736 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8737 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8738 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8739 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8740 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8741 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8742 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8743 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8744 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8745 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8746 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8747 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8748 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8749 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8750 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8751 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8752 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8753 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8754 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8755 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8756 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8757 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8758 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8759 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8760 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8761 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8762 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8763 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8764 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8765 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8766 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8767 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8768 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8769 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8770 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8772 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8773 _XOPEN_SOURCE_EXTENDED for XPG4.
8775 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8777 * Makeconfig (localtime): Remove variable.
8778 (inst_localtime-file): Likewise.
8780 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8801 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8805 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8806 comparisons to determine direction to adjust input.
8807 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8808 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8813 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8818 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8820 * math/libm-test.inc (nexttoward_test): Add more tests.
8822 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8826 in version GLIBC_2.1, not GLIBC_2.0.
8827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8830 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8833 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8835 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8836 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8837 * math/libm-test.inc (acos_test): Add more tests.
8838 (asin_test): Likewise.
8839 * sysdeps/i386/fpu/libm-test-ulps: Update.
8840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8843 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8845 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8846 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8847 * math/libm-test.inc (acos_test_tonearest): New function.
8848 (acos_test_towardzero): Likewise.
8849 (acos_test_downward): Likewise.
8850 (acos_test_upward): Likewise.
8851 (asin_test_tonearest): Likewise.
8852 (asin_test_towardzero): Likewise.
8853 (asin_test_downward): Likewise.
8854 (asin_test_upward): Likewise.
8855 (main): Call the new functions.
8856 * sysdeps/i386/fpu/libm-test-ulps: Update.
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8861 * math/e_exp10.c: Include <float.h>.
8862 (__ieee754_exp10): Handle underflow here rather than multiplying
8863 large negative argument by M_LN10.
8864 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8866 * math/e_exp10l.c: Include <float.h>.
8867 (__ieee754_exp10l): Handle underflow here rather than multiplying
8868 large negative argument by M_LN10l.
8869 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8870 spurious overflow exception on underflow.
8872 2012-04-29 Marek Polacek <polacek@redhat.com>
8874 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8875 (__fortify_function): New macro.
8876 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8877 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8878 __extern_always_inline.
8879 * libio/bits/stdio2.h: Likewise.
8880 * libio/bits/stdio.h: Likewise.
8881 * string/string.h: Likewise.
8882 * string/bits/string3.h: Likewise.
8883 * include/stdio.h: Likewise.
8884 * stdlib/bits/stdlib.h: Likewise.
8885 * stdlib/stdlib.h: Likewise.
8886 * rt/bits/mqueue2.h: Likewise.
8887 * rt/mqueue.h: Likewise.
8888 * posix/bits/unistd.h: Likewise.
8889 * posix/unistd.h: Likewise.
8890 * io/bits/poll2.h: Likewise.
8891 * io/bits/fcntl2.h: Likewise.
8892 * io/fcntl.h: Likewise.
8893 * io/sys/poll.h: Likewise.
8894 * misc/bits/syslog.h: Likewise.
8895 * misc/bits/syslog-ldbl.h: Likewise.
8896 * misc/sys/syslog.h: Likewise.
8897 * socket/bits/socket2.h: Likewise.
8898 * socket/sys/socket.h: Likewise.
8899 * debug/tst-chk1.c: Likewise.
8900 * wcsmbs/bits/wchar2.h: Likewise.
8901 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8902 * wcsmbs/wchar.h: Likewise.
8904 2012-04-29 Andreas Jaeger <aj@suse.de>
8906 * Makerules (tests): Remove enable-check-abi protection.
8907 (check-abi-warn): Remove.
8908 (check-abi-%): Remove check-abi-warn usage.
8910 * configure.in: Remove check-abi configure option.
8911 * configure: Regenerated.
8912 * config.make.in (enable-check-abi): Remove.
8914 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8917 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8918 double functions to double *_finite functions.
8921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8922 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8924 * stdio-common/Makefile (tests): Add tst-sprintf3.
8925 * stdio-common/tst-sprintf3.c: New file.
8927 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8928 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8930 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8932 * conform/conformtest.pl: Remove duplicate typed-constant
8935 2012-04-28 David S. Miller <davem@davemloft.net>
8937 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8938 (check-abi-%): Remove AWK script prerequisite and explicit
8940 (check-abi): Rewrite to just diff the symlist with the abilist.
8941 (config-tls, config-abi-config): Delete, no longer used.
8942 (update-abi-%): Remove AWK script and explicit abilist directory.
8943 (update-abi): Rewrite to simply compare and conditionally copy the
8944 symlist and the sysdep abilist file. Remove update-abi-config
8946 * abilist/ld.abilist: Remove.
8947 * abilist/libBrokenLocale.abilist: Remove.
8948 * abilist/libanl.abilist: Remove.
8949 * abilist/libcrypt.abilist: Remove.
8950 * abilist/libdl.abilist: Remove.
8951 * abilist/librt.abilist: Remove.
8952 * abilist/libthread_db.abilist: Remove.
8953 * abilist/libutil.abilist: Remove.
8954 * scripts/extract-abilist.awk: Remove.
8955 * scripts/merge-abilist.awk: Remove.
8956 * sysdeps/generic/libcidn.abilist: New file.
8957 * sysdeps/generic/libnss_compat.abilist: New file.
8958 * sysdeps/generic/libnss_db.abilist: New file.
8959 * sysdeps/generic/libnss_dns.abilist: New file.
8960 * sysdeps/generic/libnss_files.abilist: New file.
8961 * sysdeps/generic/libnss_hesiod.abilist: New file.
8962 * sysdeps/generic/libnss_nis.abilist: New file.
8963 * sysdeps/generic/libnss_nisplus.abilist: New file.
8964 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8965 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8966 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8969 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8970 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8971 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8972 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8973 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8974 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8975 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8976 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8978 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8979 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8980 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8981 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8983 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8985 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8990 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8991 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8992 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8994 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9098 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9099 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9102 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9103 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9104 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9105 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9106 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9108 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9109 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9110 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9162 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9164 * conform/conformtest.pl: Fix typo in handling typed-constant from
9167 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9169 * README: Cut down references to pre-2.6 Linux kernels and
9170 Linuxthreads. Update lists of configurations in libc and ports
9171 and sort alphabetically. Say "or newer" with Linux kernel version
9174 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9176 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9179 * math/libm-test.inc (logb_test_downward): New test to expose
9180 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9183 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9186 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9188 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9189 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9191 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9193 * sysdeps/unix/i386/brk.S: Remove file.
9194 * sysdeps/unix/i386/dl-brk.S: Likewise.
9195 * sysdeps/unix/i386/pipe.S: Likewise.
9196 * sysdeps/unix/i386/sigreturn.S: Likewise.
9197 * sysdeps/unix/i386/syscall.S: Likewise.
9198 * sysdeps/unix/i386/vfork.S: Likewise.
9199 * sysdeps/unix/i386/wait.S: Likewise.
9201 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9202 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9204 * configure.in (arm*-none*): Do not allow without
9205 --enable-hacker-mode.
9206 (netbsd*): Remove case setting base_os.
9207 (386bsd*): Likewise.
9208 (freebsd*): Likewise.
9212 (ultrix*): Likewise.
9213 (newsos*): Likewise.
9223 (solaris[2-9]*): Likewise.
9225 * configure: Regenerated.
9227 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9230 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9231 overflow or cancellation in calculating denominator.
9232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9234 down expression to avoid unexpected rounding in newer GCCs.
9235 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9237 2012-04-26 David S. Miller <davem@davemloft.net>
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9240 long-double compat symbols.
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9255 2012-04-25 David S. Miller <davem@davemloft.net>
9257 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9258 HWCAP_* values only after the memory barriers have been defined.
9259 (atomic_full_barrier): Define.
9260 (atomic_read_barrier): Define.
9261 (atomic_write_barrier): Define.
9263 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9265 * shlib-versions: Add libgcc_s version information.
9266 * sysdeps/generic/libgcc_s.h: Remove.
9267 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9269 * sysdeps/gnu/unwind-resume.c: Likewise.
9270 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9272 2012-04-25 David S. Miller <davem@davemloft.net>
9274 * sysdeps/unix/sparc/brk.S: Delete.
9275 * sysdeps/unix/sparc/dl-brk.S: Delete.
9276 * sysdeps/unix/sparc/pipe.S: Delete.
9277 * sysdeps/unix/sparc/sysdep.S: Delete.
9278 * sysdeps/unix/sparc/sysdep.h: Delete.
9279 * sysdeps/unix/sparc/vfork.S: Delete.
9280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9281 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9283 ret_ERRVAL, r0, r1, MOVE): Define.
9284 (JUMPTARGET): Remove.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9286 sysdeps/unix/sparc/sysdep.h
9287 (ENTRY, END): Remove.
9288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9290 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9292 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9293 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9296 * timezone/README: Update upstream location and email address for
9298 * timezone/zdump.c: Update from tzcode 2012b.
9299 * timezone/zic.c: Likewise.
9301 * configure.in (libc_cv_as_needed): Remove test.
9302 * configure: Regenerated.
9303 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9304 conditional definition.
9305 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9306 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9307 * config.make.in (have-as-needed): Remove variable.
9309 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9310 Paul Pluzhnikov <ppluzhnikov@google.com>
9312 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9315 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9317 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9318 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9319 * sysdeps/sh/strlen.S: Likewise.
9321 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9323 * sysdeps/unix/fork.S: Remove file.
9324 * sysdeps/unix/i386/fork.S: Likewise.
9325 * sysdeps/unix/sparc/fork.S: Likewise.
9327 * sysdeps/unix/system.c: Remove file.
9328 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9330 * sysdeps/unix/getegid.S: Remove file.
9331 * sysdeps/unix/geteuid.S: Likewise.
9333 2012-04-24 Roland McGrath <roland@hack.frob.com>
9335 * scripts/check-localplt.awk: New file.
9336 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9338 * scripts/data/localplt-generic.data: Add a comment.
9340 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9341 NODE when __dir_mkfile failed.
9342 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9343 Reported by Ludovic Courtès <ludo@gnu.org>.
9345 2012-04-24 Andreas Jaeger <aj@suse.de>
9347 * Makerules (common-clean): Also remove gen-as-const-headers
9350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9352 * Makerules (native-compile): Do not change working directory for
9353 build. Use $(OUTPUT_OPTION) in command.
9354 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9356 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9359 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9360 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9361 * math/libm-test.inc (floor_test): Add more tests.
9362 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9366 * sysdeps/unix/getdents.c: Remove file.
9367 * sysdeps/unix/sysv/getdents.c: Likewise.
9368 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9370 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9371 sysdeps/unix/mman/syscalls.list.
9373 (mprotect): Likewise.
9376 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9377 * sysdeps/unix/mman/syscalls.list: Remove.
9378 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9380 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9381 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9382 * configure: Regenerated.
9383 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9385 * config.make.in (libgcc_s_suffix): Remove variable.
9387 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9389 * sysdeps/unix/sysv/gethostname.c: Move to ...
9390 * sysdeps/posix/gethostname.c: ... here.
9392 * sysdeps/unix/execve.S: Remove file.
9394 * sysdeps/unix/_exit.S: Remove file.
9396 2012-04-23 Andreas Jaeger <aj@suse.de>
9399 * manual/Makefile: Remove make dist support, there's no
9400 need for a stand-alone documentation tar ball.
9401 (TEXI2DVI): Define always, it's not in Makeconfig.
9405 (glibc-doc-$(edition).tar): Removed
9409 (ETAGS): Remove, it's in Makeconfig.
9410 (move-if-change): Remove, it's in Makeconfig.
9412 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9415 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9416 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9417 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9418 (strtod_l, strtof_l, strtold_l): Remove __wur.
9419 It is not necessarily an error to ignore strtol's return value.
9420 One can reliably look at the stored endptr to decide whether
9421 the number had valid syntax.
9423 2012-04-21 Andreas Jaeger <aj@suse.de>
9426 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9428 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9430 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9431 * sysdeps/unix/sysv/Versions: Remove file.
9433 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9438 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9442 version from __vm86.
9444 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9446 * sysdeps/unix/common/lxstat.c: Remove file.
9447 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9449 * sysdeps/unix/sysv/Makefile: Remove file.
9451 * sysdeps/unix/sysv/direct.h: Remove file.
9453 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9454 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9455 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9456 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9457 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9458 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9459 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9461 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9463 * sysdeps/unix/xmknod.c: Remove file.
9464 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9466 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9468 * sysdeps/unix/sysv/i386/time.S: Remove file.
9470 * sysdeps/unix/fxstat.c: Remove file.
9471 * sysdeps/unix/xstat.c: Likewise.
9472 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9474 * sysdeps/unix/sysv/sigaction.c: Remove file.
9476 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9477 (sysdep_headers): Remove variable.
9478 [termio.h not in sysdep_headers] (generated): Likewise.
9479 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9480 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9481 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9482 * sysdeps/unix/sysv/tcflow.c: Likewise.
9483 * sysdeps/unix/sysv/tcflush.c: Likewise.
9484 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9485 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9486 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9487 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9488 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9490 * sysdeps/unix/siglist.c: Remove file.
9492 * sysdeps/unix/getppid.S: Remove file.
9494 * sysdeps/unix/mkdir.c: Remove file.
9495 * sysdeps/unix/rmdir.c: Likewise.
9497 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9499 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9501 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9502 errlist-compat value.
9504 2012-04-18 David S. Miller <davem@davemloft.net>
9506 * sysdeps/generic/memcopy.h (reg_char): Delete.
9507 * debug/strcat_chk.c: Use char, not reg_char.
9508 * debug/strcpy_chk.c: Likewise.
9509 * debug/strncat_chk.c: Likewise.
9510 * debug/strncpy_chk.c: Likewise.
9511 * string/memchr.c: Likewise.
9512 * string/memrchr.c: Likewise.
9513 * string/rawmemchr.c: Likewise.
9514 * string/strcat.c: Likewise.
9515 * string/strchr.c: Likewise.
9516 * string/strchrnul.c: Likewise.
9517 * string/strcmp.c: Likewise.
9518 * string/strcpy.c: Likewise.
9519 * string/strncat.c: Likewise.
9520 * string/strncmp.c: Likewise.
9521 * string/strncpy.c: Likewise.
9523 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9525 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9526 __builtin_memcopy is called when src and dest ranges are known to not
9529 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9532 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9533 fwd_align_merge macro call.
9534 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9535 bwd_align_merge macro call.
9536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9541 bwd_align_merge macros.
9542 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9543 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9546 2012-04-18 David S. Miller <davem@davemloft.net>
9548 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9550 2012-04-18 Andreas Jaeger <aj@suse.de>
9553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9554 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9557 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9558 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9561 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9562 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9563 Adjust for changed ldbl-128 files.
9565 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9566 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9567 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9569 2012-04-17 David S. Miller <davem@davemloft.net>
9571 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9573 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9575 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9576 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9577 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9578 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9580 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9582 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9585 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9586 * math/libm-test.inc: Add ilogb errno and exception tests.
9587 * math/w_ilogb.c: New file: ilogb wrapper.
9588 * math/w_ilogbf.c: New file: ilogbf wrapper.
9589 * math/w_ilogbl.c: New file: ilogbl wrapper.
9590 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9591 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9592 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9593 exception being thrown with 0.0 as argument.
9594 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9595 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9596 exception being thrown with 0.0 as argument.
9597 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9598 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9599 exception being thrown with 0.0 as argument.
9600 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9601 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9602 exception being thrown with 0.0 as argument.
9603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9604 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9605 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9606 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9608 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9609 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9610 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9611 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9613 2012-04-17 Petr Baudis <pasky@ucw.cz>
9615 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9618 2012-04-16 Marek Polacek <polacek@redhat.com>
9620 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9622 2012-04-16 Marek Polacek <polacek@redhat.com>
9624 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9625 operands of fdivp instruction.
9627 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9629 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9630 * elf/tst-auditmod3b.c: Likewise.
9631 * elf/tst-auditmod4b.c: Likewise.
9632 * elf/tst-auditmod5b.c: Likewise.
9633 * elf/tst-auditmod6b.c: Likewise.
9634 * elf/tst-auditmod6c.c: Likewise.
9635 * elf/tst-auditmod7b.c: Likewise.
9636 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9637 * sysdeps/x86_64/preconfigure.in: Likewise.
9638 * sysdeps/x86_64/preconfigure: Regenerated.
9640 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9642 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9645 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9648 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9650 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9653 * locale/iso-639.def: Fix gl language name. Spotted by
9656 2012-04-12 Roland McGrath <roland@hack.frob.com>
9659 * libio/libio.h (__io_write_fn): Update comment.
9661 2012-04-12 Petr Baudis <pasky@ucw.cz>
9664 * stdio.texi (Hook Functions): The user provided writer function
9665 is not allowed to return -1.
9667 2012-04-11 David S. Miller <davem@davemloft.net>
9669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9671 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9673 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9674 Add a leading slash to rtkaio.
9676 2012-04-11 Jim Meyering <meyering@redhat.com>
9679 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9680 It is not necessarily an error to ignore fwrite's return
9681 value. One can reliably use ferror to test for errors after
9684 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9686 * bits/types.h (__snseconds_t): New type.
9687 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9689 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9691 (__SNSECONDS_T_TYPE): Likewise.
9692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9693 (__SNSECONDS_T_TYPE): Likewise.
9694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9695 (__SNSECONDS_T_TYPE): Likewise.
9697 2012-04-10 Andreas Jaeger <aj@suse.de>
9700 * manual/time.texi (Processor Time): Return type of times is
9701 elapsed real time since an arbitrary point in the past.
9702 (CPU Time): Move CLK_TCK from here...
9703 (Processor Time): ...to here. Correct description.
9704 * manual/conf.texi (Constants for Sysconf): Correct description of
9707 2012-04-10 David S. Miller <davem@davemloft.net>
9710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9711 where the is a gap between DT_REL(A) and DT_JMPREL.
9713 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9715 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9716 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9717 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9719 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9721 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9722 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9723 (dl_main): Handle --inhibit-cache.
9724 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9726 * elf/dl-load.c (_dl_map_object): Use it.
9727 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9729 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9732 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9733 (__ieee754_powl): Saturate large exponents rather than testing for
9734 overflow of y*log2(x).
9735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9736 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9740 * math/s_ctan.c: Include <float.h>.
9741 (__ctan): Avoid internal overflow or cancellation in calculating
9743 * math/s_ctanf.c: Likewise.
9744 * math/s_ctanl.c: Likewise.
9745 * math/s_ctanh.c: Likewise.
9746 * math/s_ctanhf.c: Likewise.
9747 * math/s_ctanhl.c: Likewise.
9748 * math/libm-test.inc (ctan_test): Add more tests.
9749 (ctanh_test): Likewise.
9750 * sysdeps/i386/fpu/libm-test-ulps: Update.
9751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753 2012-04-09 Andreas Jaeger <aj@suse.de>
9756 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9757 is an optional BSD extension.
9760 * manual/stdio.texi (Opening Streams): Document additional fopen
9763 2012-04-09 Roland McGrath <roland@hack.frob.com>
9765 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9766 %eax without telling the compiler.
9768 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9771 * manual/install.texi: Use sourceware.org.
9773 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9776 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9777 (__ieee754_pow): Generate overflow and underflow using huge*huge
9778 and tiny*tiny rather than just returning constant infinity or zero
9779 for large exponents.
9780 * math/libm-test.inc (pow_test): Require overflow exceptions for
9781 applicable cases of large exponents.
9784 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9785 (__ieee754_pow): Use iterative multiplication algorithm only for
9786 integer exponents with absolute value below 1024. Check for odd
9787 integer exponents when using algorithm for real exponents.
9788 * math/libm-test.inc (pow_test): Add more tests.
9789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9791 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9794 * math/libm-test.inc (exp_test): Do not allow overflow exception
9797 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9800 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9801 instead of __kernel_standard_f.
9803 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9805 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9806 * sysdeps/x86_64/memset_chk.S: Likewise.
9808 2012-04-08 Andreas Jaeger <aj@suse.de>
9811 * manual/startup.texi (Environment Access): Describe return value
9812 for putenv and setenv.
9815 * manual/filesys.texi (Directory Entries): Add description for
9819 * manual/filesys.texi (Directory Entries): Clarify that it's file
9820 system not operating system in the description of DT_UNKNOWN.
9823 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9825 2012-04-08 Stephen Compall <s11@member.fsf.org>
9828 * manual/llio.texi (Opening and Closing Files): Add cross
9829 reference to explain mode argument.
9831 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9833 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9834 * sysdeps/x86_64/memset_chk.S: Likewise.
9836 2012-04-07 David S. Miller <davem@davemloft.net>
9838 * elf/elf.h (R_SPARC_WDISP10): Define.
9839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9842 R_SPARC_SIZE64 and R_SPARC_H34.
9844 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9847 conditions and remove no longer applicable assertion.
9849 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9851 * bits/byteswap.h: Include <features.h>.
9852 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9853 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9855 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9857 * bits/byteswap.h (__bswap_16): Removed.
9858 Include <bits/byteswap-16.h> to get __bswap_16.
9859 * sysdeps/i386/bits/byteswap.h: Likewise.
9860 * sysdeps/s390/bits/byteswap.h: Likewise.
9861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9862 * bits/byteswap-16.h: New file.
9863 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9864 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9865 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9866 * string/Makefile (headers): Add bits/byteswap-16.h.
9868 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9871 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9873 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9874 * nss/tst-nss-static.c: New.
9876 2012-04-06 Robert Millan <rmh@gnu.org>
9879 * manual/llio.texi (File Position Primitive): lseek
9880 refers to WHENCE when it really means OFFSET.
9882 2012-04-06 Andreas Jaeger <aj@suse.de>
9884 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9885 strncmp declarations.
9887 * abilist/libc.abilist: Add __poll and __ppoll.
9889 2012-04-05 David S. Miller <davem@davemloft.net>
9891 * scripts/check-local-headers.sh: Accept a host triplet in the
9892 path matched by the exclude regexp.
9894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9896 * sysdeps/powerpc/powerpc32/dl-machine.h
9897 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9898 * sysdeps/s390/s390-32/dl-machine.h
9899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9900 * sysdeps/sparc/sparc32/dl-machine.h
9901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9902 * sysdeps/sparc/sparc64/dl-machine.h
9903 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9905 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9907 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9908 undefined symbol errors.
9910 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9913 2012-04-05 Michael Matz <matz@suse.de>
9916 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9918 2012-04-05 Andreas Jaeger <aj@suse.de>
9921 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9924 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9926 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9927 which ROUND is no valid rounding mode.
9929 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9931 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9933 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9935 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9938 an exception using FPU order intentionally.
9940 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9942 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9943 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9944 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9945 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9947 2012-04-05 Simon Josefsson <simon@josefsson.org>
9950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9951 EINVAL when BUFLEN is too smal.
9953 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9956 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9957 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9959 2012-04-03 Andreas Jaeger <aj@suse.de>
9962 * manual/setjmp.texi (System V contexts): Fix sentence.
9965 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9966 New macro for this case.
9967 [!__GNUC__] (__bswap_64): New inline function for this case.
9968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9969 * bits/byteswap.h: Likewise.
9970 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9971 ull, guard with __GLIBC_HAVE_LONG_LONG.
9973 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9974 __GLIBC_HAVE_LONG_LONG.
9976 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9977 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9979 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9982 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9983 inptr and inend, rather than using last_ch.
9985 2012-04-02 David S. Miller <davem@davemloft.net>
9987 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9988 * stdio-common/printf-parse.h (read_int): Change return type to
9989 'int', return -1 on INT_MAX overflow.
9990 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9991 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9992 overflows INT_MAX. Check for overflow of in-format-string precision
9993 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9994 SIZE_MAX not INT_MAX for integer overflow test.
9995 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9996 skip the construct in the format string but do not record anything.
9997 * stdio-common/bug22.c: Adjust to test both width/prevision
9998 INT_MAX overflow as well as total length INT_MAX overflow. Check
9999 explicitly for proper errno values.
10001 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10003 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10005 * string/test-strcmp.c [! WIDE]: Likewise.
10006 * time/tst-mktime2.c: Likewise for INT_MAX.
10007 * string/test-string.h: #include <sys/param.h> for MIN.
10009 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10010 * sysdeps/i386/init-first.c (init): Likewise.
10011 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10012 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10013 * sysdeps/sh/init-first.c (init): Likewise.
10015 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10017 * po/ru.po: Update from translation team.
10018 * po/vi.po: Likewise.
10020 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10022 * resolv/nss_dns/dns-host.c: Merge copyright years.
10024 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10027 Optimize memcpy with prefetch if
10028 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10029 src, dst pointers have unequal 16 byte alignments.
10031 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10034 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10035 from a CNAME entry and return the minimum ttl for the query.
10036 (gaih_getanswer_slice): Likewise.
10038 2012-03-30 Jeff Law <law@redhat.com>
10040 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10042 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10043 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10045 * resolv/nss_dns/dns-host.c: Update copyright year.
10047 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10049 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10050 requests to save a system call. Fix check that all bytes are sent.
10052 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10053 comments for sendmmsg.
10055 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10058 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10059 with only 1 character between 0x0041 and 0x01b0.
10060 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10061 * wcsmbs/tst-mbsnrtowcs.c: New file.
10063 2012-03-29 David S. Miller <davem@davemloft.net>
10065 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10066 small copies by hand.
10068 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10071 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10072 _nss_compat_initgroups_dyn): Fall back to malloc/free
10073 for large group memberships.
10075 2012-03-28 David S. Miller <davem@davemloft.net>
10077 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10078 that branches into memcpy.
10079 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10082 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10085 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10086 implementation too.
10087 * sysdeps/sparc/mempcpy.S: New file.
10089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10090 the IFUNC routine in the libc case.
10091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10093 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10095 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10096 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10097 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10098 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10099 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10100 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10102 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10103 loop to 256 bytes instead of 64 bytes and fix test signedness.
10105 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10106 * sysdeps/sparc/sparc32/Makefile: rather than here...
10107 * sysdeps/sparc/sparc64/Makefile: and here.
10109 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10111 * malloc/mallocbug.c: Avoid warnings about unused variables.
10113 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10116 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10117 in the right place. Discard and retry query if response is
10118 larger than input buffer size.
10120 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10125 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10126 x for large integer exponent.
10127 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10128 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10129 sign of result as needed afterwards.
10130 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10132 result for underflowing pow the same as for overflow.
10133 (__kernel_standard_l): Handle powl overflow and underflow here
10134 rather than calling __kernel_standard.
10135 * math/libm-test.inc (pow_test): Add more tests.
10150 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10151 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10152 (__kernel_standard_l): New function.
10153 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10155 * math/w_acosl.c (__acosl): Likewise.
10156 * math/w_asinl.c (__asinl): Likewise.
10157 * math/w_atan2l.c (__atan2l): Likewise.
10158 * math/w_atanhl.c (__atanhl): Likewise.
10159 * math/w_coshl.c (__coshl): Likewise.
10160 * math/w_exp10l.c (__exp10l): Likewise.
10161 * math/w_exp2l.c (__exp2l): Likewise.
10162 * math/w_fmodl.c (__fmodl): Likewise.
10163 * math/w_hypotl.c (__hypotl): Likewise.
10164 * math/w_j0l.c (__j0l, __y0l): Likewise.
10165 * math/w_j1l.c (__j1l, __y1l): Likewise.
10166 * math/w_jnl.c (__jnl, __ynl): Likewise.
10167 * math/w_lgammal.c (__lgammal): Likewise.
10168 * math/w_log10l.c (__log10l): Likewise.
10169 * math/w_log2l.c (__log2l): Likewise.
10170 * math/w_logl.c (__logl): Likewise.
10171 * math/w_powl.c (__powl): Likewise.
10172 * math/w_remainderl.c (__remainderl): Likewise.
10173 * math/w_scalbl.c (sysv_scalbl): Likewise.
10174 * math/w_sinhl.c (__sinhl): Likewise.
10175 * math/w_sqrtl.c (__sqrtl): Likewise.
10176 * math/w_tgammal.c (__tgammal): Likewise.
10177 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10178 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10179 * math/libm-test.inc (acos_test): Add more tests.
10180 (acosh_test): Likewise.
10181 (asin_test): Likewise.
10182 (atanh_test): Likewise.
10183 (exp_test): Likewise.
10184 (exp10_test): Likewise.
10185 (exp2_test): Likewise.
10186 (expm1_test): Likewise.
10187 (lgamma_test): Likewise.
10188 (log_test): Likewise.
10189 (log10_test): Likewise.
10190 (log1p_test): Likewise.
10191 (log2_test): Likewise.
10192 (pow_test): Do not allow some spurious overflow exceptions.
10193 (sqrt_test): Add more tests.
10194 (tgamma_test): Likewise.
10195 (y0_test): Likewise.
10196 (y1_test): Likewise.
10197 (yn_test): Likewise.
10199 2012-03-27 Anton Blanchard <anton@samba.org>
10201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10207 2012-03-27 David S. Miller <davem@davemloft.net>
10209 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10211 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10212 have-as-vis3 check.
10214 2012-03-27 Andreas Jaeger <aj@suse.de>
10216 * sysdeps/x86_64/elf/configure.in: Moved to ...
10217 * sysdeps/x86_64/configure.in: ... here.
10218 * sysdeps/x86_64/elf/start.S: Moved to ...
10219 * sysdeps/x86_64/start.S: ... here.
10220 * sysdeps/x86_64/elf/configure: Delete.
10222 * sysdeps/x86_64/configure.in: Merge contents from
10223 sysdeps/i386/configure.in (without i686 check).
10225 * sysdeps/i386/elf/Versions: Merge into ...
10226 * sysdeps/i386/Versions: ... this.
10227 * sysdeps/i386/elf/Versions: Delete file.
10228 * sysdeps/i386/elf/start.S: Moved to ...
10229 * sysdeps/i386/start.S: ...here.
10230 * sysdeps/i386/elf/configure.in: Merge into...
10231 * sysdeps/i386/configure.in: ...here.
10232 * sysdeps/i386/elf/configure.in: Delete file.
10233 * sysdeps/i386/elf/configure: Delete file.
10235 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10236 * debug/backtracesyms.c: ... here.
10237 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10238 * debug/backtracesymsfd.c: ... here.
10239 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10240 * sysdeps/generic/ifunc-sel.h: ... here.
10242 * sysdeps/unix/i386/start.c: Delete file.
10243 * sysdeps/unix/sparc/start.c: Delete file.
10244 * sysdeps/unix/start.c: Delete file.
10246 * sysdeps/sh/elf/configure.in: Moved to ...
10247 * sysdeps/sh/configure.in: ... here.
10248 * sysdeps/sh/elf/start.S: Moved to ...
10249 * sysdeps/sh/start.S: ... here.
10250 * sysdeps/sh/elf/configure: Delete file.
10252 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10253 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10254 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10255 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10256 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10257 * sysdeps/powerpc/powerpc64/start.S: here.
10258 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10259 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10260 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10261 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10262 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10264 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10265 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10266 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10267 * sysdeps/powerpc/powerpc32/start.S: ... here.
10268 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10269 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10270 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10272 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10273 * sysdeps/powerpc/ifunc-sel.h: ... here.
10274 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10275 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10277 * sysdeps/sparc/elf/configure.in: Moved to ...
10278 * sysdeps/sparc/configure.in: ... here.
10279 * sysdeps/sparc/elf/configure: Delete file.
10280 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10281 * sysdeps/sparc/sparc32/start.S: ... here.
10282 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10283 * sysdeps/sparc/sparc64/start.S: ... here.
10284 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10285 * sysdeps/sparc/sparc32/Makefile: ... this.
10286 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10287 * sysdeps/sparc/sparc64/Makefile: ... this.
10289 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10290 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10291 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10292 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10293 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10294 * sysdeps/s390/s390-32/setjmp.S: ... here.
10295 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10296 * sysdeps/s390/s390-32/configure.in: ... here.
10297 * sysdeps/s390/s390-32/elf/configure: Delete file.
10298 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10299 * sysdeps/s390/s390-32/start.S: ... here.
10301 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10302 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10303 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10304 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10305 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10306 * sysdeps/s390/s390-64/setjmp.S: ... here.
10307 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10308 * sysdeps/s390/s390-64/configure.in: ... here
10309 * sysdeps/s390/s390-64/elf/configure: Delete file.
10310 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10311 * sysdeps/s390/s390-64/start.S: ... here.
10312 * sysdeps/s390/s390-64/elf/configure: Delete.
10314 * configure.in: Remove support for elf directories in sysdeps.
10316 * configure: Regenerated.
10317 * sysdeps/i386/configure: Regenerated.
10318 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10319 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10320 * sysdeps/s390/s390-32/configure: Regenerated.
10321 * sysdeps/s390/s390-64/configure: Regenerated.
10322 * sysdeps/sh/configure: Regenerated.
10323 * sysdeps/sparc/configure: Regenerated.
10324 * sysdeps/x86_64/configure: Regenerated.
10326 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10331 denormal result into account.
10333 2012-03-25 Roland McGrath <roland@hack.frob.com>
10335 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10336 Reported by Allan McRae <allan@archlinux.org>.
10338 2012-03-23 Jeff Law <law@redhat.com>
10340 * nss/getnssent.c (__nss_getent): Fix typo.
10342 2012-03-23 David S. Miller <davem@davemloft.net>
10344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10346 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10348 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10349 to pad to uint64_t for each field.
10350 (dl_tls_index): Replace unsigned long with uint64_t.
10352 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10353 Paul Pluzhnikov <ppluzhnikov@google.com>
10356 * grp/Makefile (otherlibs): Don't set it.
10357 * inet/Makefile (otherlibs): Likewise.
10358 * login/Makefile (otherlibs): Likewise.
10359 * nscd/Makefile (otherlibs): Likewise.
10360 * posix/Makefile (otherlibs): Likewise.
10361 * pwd/Makefile (otherlibs): Likewise.
10362 * rt/Makefile (otherlibs): Likewise.
10363 * sunrpc/Makefile (otherlibs): Likewise.
10364 * nss/Makefile (otherlibs): Likewise.
10365 Add libnss_files to routines and static-only-routines.
10366 ($(objpfx)getent): Remove rule.
10367 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10368 static-only-routines.
10370 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10373 * math/s_cexp.c: Include <float.h>.
10374 (__cexp): Handle exp result overflowing not necessarily
10375 overflowing both real and imaginary parts of result.
10376 * math/s_cexpf.c: Likewise.
10377 * math/s_cexpl.c: Likewise.
10378 * math/libm-test.inc (cexp_test): Add more tests.
10379 * sysdeps/i386/fpu/libm-test-ulps: Update.
10380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10384 * include/link.h (ELFW): New macro.
10385 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10386 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10388 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10390 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10393 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10395 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10397 (struct La_x32_retval): Likewise.
10399 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10401 * sysdeps/x86_64/preconfigure.in: New file.
10402 * sysdeps/x86_64/preconfigure: New generated file.
10404 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10407 * math/e_exp2l.c: Include <float.h>.
10408 (__ieee754_exp2l): Handle overflow and underflow cases
10409 separately. Only pass fractional part of argument to
10411 * math/libm-test.inc (exp2_test): Add more tests.
10413 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10414 negating x to take absolute value.
10415 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10417 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10420 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10421 computing low part if x was negated.
10422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10424 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10426 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10427 la_x32_gnu_pltexit.
10428 (pltexit): Cast int_retval to ptrdiff_t.
10429 * elf/tst-auditmod3b.c: Likewise.
10430 * elf/tst-auditmod4b.c: Likewise.
10431 * elf/tst-auditmod5b.c: Likewise.
10432 * elf/tst-auditmod6b.c: Likewise.
10433 * elf/tst-auditmod6c.c: Likewise.
10434 * elf/tst-auditmod7b.c: Likewise.
10436 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10437 and x32_gnu_pltexit.
10439 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10440 __ELF_NATIVE_CLASS.
10441 (La_x32_regs): New macro.
10442 (La_x32_retval): Likewise.
10443 (la_x32_gnu_pltenter): New function prototype.
10444 (la_x32_gnu_pltexit): Likewise.
10446 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10453 * configure.in (libc_cv_cc_nofma): Check for option to disable
10454 generation of FMA instructions.
10455 * configure: Regenerate.
10456 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10457 * sysdeps/ieee754/dbl-64/Makefile: New file.
10458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10459 Remove brandred-fma4.
10460 (CFLAGS-brandred-fma4.c): Remove.
10461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10462 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10464 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10467 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10469 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10470 LLONG_MAX != LONG_MAX.
10471 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10472 (_fitoa_word): Likewise.
10473 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10474 LLONG_MAX != LONG_MAX.
10475 * stdio-common/_itowa.h: Include <_itoa.h>.
10476 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10477 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10478 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10479 only if not defined.
10480 (_ITOA_WORD_TYPE): Likewise.
10481 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10482 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10484 2012-03-21 David S. Miller <davem@davemloft.net>
10486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10488 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10490 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10491 of x86_64 when setting libc_cv_slibdir, libdir and
10493 * sysdeps/unix/sysv/linux/configure: Regenerated.
10495 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10497 * manual/lang.texi (Old Varargs): Remove section.
10498 (How Variadic): Update menu.
10499 (va_start): Do not mention varargs.h.
10501 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10502 Joseph Myers <joseph@codesourcery.com>
10504 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10506 * configure: Regenerated.
10508 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10510 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10511 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10517 * Makefile (files-for-dist): Remove NOTES.
10518 (NOTES): Remove rule.
10519 * README: Don't refer to NOTES.
10520 * manual/creature.texi: Don't include macros.texi.
10521 * manual/intro.texi (creature.texi): Remove comment referring to
10524 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10525 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10526 * configure: Regenerated.
10527 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10528 LIBC_TRY_CC_OPTION.
10529 (libc_cv_as_i686): Likewise.
10530 (libc_cv_cc_avx): Likewise.
10531 (libc_cv_cc_sse2avx): Likewise.
10532 (libc_cv_cc_fma4): Likewise.
10533 (libc_cv_cc_novzeroupper): Likewise.
10534 * sysdeps/i386/configure: Regenerated.
10537 * sysdeps/i386/fpu/s_cexp.S: Remove.
10538 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10540 * math/libm-test.inc (cexp_test): Add more tests.
10541 * sysdeps/i386/fpu/libm-test-ulps: Update.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10544 2012-03-21 Allan McRae <allan@archlinux.org>
10546 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10551 * math/w_exp2.c: Do not include <float.h>.
10552 (o_threshold, u_threshold): Remove.
10553 (__exp2): Calculate result before checking finiteness and calling
10555 * math/w_exp2f.c: Likewise.
10556 * math/w_exp2l.c: Likewise.
10557 * math/libm-test.inc (exp2_test): Require overflow exception for
10561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10562 range of signed 64-bit integers before using fistpll. Remove
10563 checks for whether integers fit in mantissa bits.
10564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10565 the range of signed 32-bit integers before using fistpl. Remove
10566 checks for whether integers fit in mantissa bits.
10567 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10568 (__ieee754_powl): Test for y outside the range of signed 64-bit
10569 integers before using fistpll. Reduce 64-bit values to 63-bit
10571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10572 divide-by-zero is raised for zero to large negative powers.
10573 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10574 (__ieee754_powl): Test for y outside the range of signed 64-bit
10575 integers before using fistpll. Reduce 64-bit values to 63-bit
10577 * math/libm-test.inc (pow_test): Add more tests.
10579 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10581 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10582 <stdio-common/_itoa.h>.
10583 * debug/segfault.c: Likewise.
10584 * elf/dl-cache.c: Likewise.
10585 * elf/dl-minimal.c: Likewise.
10586 * elf/dl-misc.c: Likewise.
10587 * elf/dl-sysdep.c: Likewise.
10588 * elf/dl-version.c: Likewise.
10589 * elf/rtld.c: Likewise.
10590 * hurd/hurdsock.c: Likewise.
10591 * hurd/lookup-retry.c: Likewise.
10592 * malloc/malloc.c: Likewise.
10593 * malloc/mtrace.c: Likewise.
10594 * nscd/nscd_getgr_r.c: Likewise.
10595 * nscd/nscd_getpw_r.c: Likewise.
10596 * nscd/nscd_getserv_r.c: Likewise.
10597 * posix/getopt_init.c: Likewise.
10598 * posix/wordexp.c: Likewise.
10599 * stdio-common/_itoa.c: Likewise.
10600 * stdio-common/printf_fphex.c: Likewise.
10601 * stdio-common/vfprintf.c: Likewise.
10602 * string/_strerror.c: Likewise.
10603 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10604 * sysdeps/i386/i686/hp-timing.h: Likewise.
10605 * sysdeps/mach/_strerror.c: Likewise.
10606 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10607 * sysdeps/mach/hurd/sethostid.c: Likewise.
10608 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10609 * sysdeps/mach/xpg-strerror.c: Likewise.
10610 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10612 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10613 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10614 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10615 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10616 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10617 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10618 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10619 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10620 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10621 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10622 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10624 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10625 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10626 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10627 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10628 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10629 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10630 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10632 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10634 * stdio-common/_itoa.h: Moved to ...
10635 * sysdeps/generic/_itoa.h: Here.
10637 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10639 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10640 instead of "_itoa.h" and "_itowa.h".
10641 * stdio-common/vfprintf.: Likewise.
10643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10645 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10647 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10648 (__signbit): Likwise.
10649 (llrintf): Likwise.
10652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10654 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10657 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10659 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10660 OVERFLOW_EXCEPTION_OK.
10661 * math/libm-test.inc ("Philosophy"): Update comment about
10663 (OVERFLOW_EXCEPTION): Define.
10664 (OVERFLOW_EXCEPTION_OK): Likewise.
10665 (INVALID_EXCEPTION_OK): Renumber.
10666 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10667 (IGNORE_ZERO_INF_SIGN): Likewise.
10668 (test_exceptions): Handle FE_OVERFLOW.
10669 (exp10_test): Expect overflow exceptions.
10670 (exp2_test): Likewise.
10671 (expm1_test): Likewise.
10672 (nextafter_test): Likewise.
10673 (pow_test): Likewise.
10674 (scalbn_test): Likewise.
10675 (scalbln_test): Likewise.
10677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10679 * sysdeps/x86_64/bits/atomic.h
10680 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10682 (atomic_exchange_acq): Likewise.
10683 (__arch_exchange_and_add_body): Likewise.
10684 (__arch_add_body): Likewise.
10685 (atomic_add_negative): Likewise.
10686 (atomic_add_zero): Likewise.
10688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10690 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10691 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10695 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10696 Check __x86_64__ instead of __WORDSIZE.
10698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10700 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10702 2012-03-19 David S. Miller <davem@davemloft.net>
10704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10706 * sysdeps/sparc/fpu/fenv_private.h: New file.
10707 * sysdeps/sparc/fpu/math_private.h: Use it.
10708 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10711 (libc_feholdexcept_setroundl): Remove.
10712 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10719 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10720 int64_t instead of long int.
10721 (INSERT_WORDS64): Likwise.
10723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10725 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10726 _Unwind_GetCFA return to _Unwind_Ptr first.
10728 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10731 * math/s_clog.c: Include <float.h>.
10732 (__clog): Scale large or subnormal inputs.
10733 * math/s_clogf.c: Likewise.
10734 * math/s_clogl.c: Likewise.
10735 * math/s_clog10.c: Include <float.h>.
10736 (M_LOG10_2): Define.
10737 (__clog10): Scale large or subnormal inputs.
10738 * math/s_clog10f.c: Likewise.
10739 * math/s_clog10l.c: Likewise.
10740 * math/libm-test.inc (clog_test): Add more tests.
10741 (clog10_test): Likewise.
10742 * sysdeps/i386/fpu/libm-test-ulps: Update.
10743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10748 * math/libm-test.inc (atan2_test): Add another test.
10750 * Makerules (common-objdir-compile): Remove.
10751 * sysdeps/unix/Makefile (config-generated): Do not add
10752 $(unix-generated) to variable.
10753 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10754 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10756 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10758 [generic bits/local_lim.h] (before-compile): Do not append to
10760 [generic bits/local_lim.h] (common-generated): Likewise.
10761 [generic sys/param.h] (before-compile): Do not append to variable.
10762 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10763 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10764 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10767 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10768 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10769 [generic sys/param.h] ($(addprefix
10770 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10771 [generic sys/param.h] (common-generated): Do not append to
10773 [generic sys/param.h] (sysdep_headers): Likewise.
10774 [generic bits/errno.h] (before-compile): Do not append to
10776 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10778 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10779 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10780 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10781 [generic bits/errno.h] (common-generated): Do not append to
10783 [generic bits/ioctls.h] (before-compile): Do not append to
10785 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10787 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10788 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10789 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10791 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10792 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10793 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10794 [generic bits/ioctls.h] (common-generated): Do not append to
10796 [generic sys/syscall.h] (syscall.h): Remove variable.
10797 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10799 [generic sys/syscall.h] (before-compile): Do not append to
10801 [generic sys/syscall.h] (common-generated): Likewise.
10802 * sysdeps/unix/errnos-tmpl.c: Remove file.
10803 * sysdeps/unix/errnos.awk: Likewise.
10804 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10805 * sysdeps/unix/ioctls.awk: Likewise.
10806 * sysdeps/unix/mk-local_lim.c: Likewise.
10807 * sysdeps/unix/snarf-ioctls: Likewise.
10809 2012-03-19 Richard Henderson <rth@twiddle.net>
10811 * sysdeps/i386/fpu/fenv_private.h: New file.
10812 * sysdeps/i386/fpu/math_private.h: Use it.
10813 (math_opt_barrier, math_force_eval): Remove.
10814 (libc_feholdexcept_setround_53bit): Remove.
10815 (libc_feupdateenv_53bit): Remove.
10816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10817 (math_opt_barrier, math_force_eval): Remove.
10818 (libc_feholdexcept): Remove.
10819 (libc_feholdexcept_setround): Remove.
10820 (libc_fetestexcept, libc_fesetenv): Remove.
10821 (libc_feupdateenv_test): Remove.
10822 (libc_feupdateenv, libc_feholdsetround): Remove.
10823 (libc_feresetround): Remove.
10825 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10826 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10828 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10829 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10830 (libc_feupdateenv_testl): New.
10831 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10832 (libc_feupdateenv_testf): New.
10833 (libc_feupdateenv): Use libc_feupdateenv_test.
10834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10837 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10838 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10839 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10840 (libc_feresetround_noex): New.
10841 (libc_feresetround_noexf): New.
10842 (libc_feresetround_noexl): New.
10843 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10844 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10845 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10846 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10851 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10853 SET_RESTORE_ROUND_NOEX.
10854 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10855 SET_RESTORE_ROUND_NOEXF.
10856 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10857 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10858 (libc_feholdsetroundf): New.
10859 (libc_feresetround, libc_feresetroundf): New.
10861 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10862 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10863 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10865 * sysdeps/generic/math_private.h: Include <fenv.h>.
10866 (default_libc_feholdexcept): New.
10867 (default_libc_feholdexcept_setround): New.
10868 (default_libc_fesetenv, default_libc_feupdateenv): New.
10869 (libc_feholdexcept): Only define if undefined.
10870 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10871 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10872 (libc_feholdexcept_setroundl): Likewise.
10873 (libc_feholdexcept_setround_53bit): Likewise.
10874 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10875 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10876 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10877 (libc_feupdateenv_53bit): Likewise.
10878 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10879 (libc_feholdexcept): Convert from macro to inline function.
10880 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10881 (libc_fesetenv, libc_feupdateenv): Likewise.
10883 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10884 not previously defined.
10885 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10886 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10887 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10888 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10889 * sysdeps/ieee754/flt-32/math_private.h: New file.
10890 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10891 math_private.h below SET_FLOAT_WORD.
10892 (__isnan, __isinf_ns, __finite): Remove.
10893 (__isnanf, __isinf_nsf, __finitef): Remove.
10895 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10899 2012-03-17 David S. Miller <davem@davemloft.net>
10902 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10905 2012-03-16 David S. Miller <davem@davemloft.net>
10907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10911 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10913 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10914 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10915 sysdep_routines when subdir is sysvipc.
10916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10917 __getshmlba helper.
10919 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10923 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10926 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10928 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10929 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10930 (__lround): Renamed to ...
10931 (__llround): This. Replace long int with long long int.
10932 Define lround functions as aliases of llround functions.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10937 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10938 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10939 adresses to uintptr_t. Replace "long int" and "unsigned long
10940 int" with "greg_t" on va_arg.
10942 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10944 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10945 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10947 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10948 Move e_machine check before EI_CLASS check. Handle x32
10949 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10950 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10951 SKIP_EM_IA_64 and include
10952 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10954 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10955 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10956 (add_system_dir): New macro.
10958 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10959 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10961 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10972 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10974 * math/w_j0f.c (j0f): Likewise.
10976 * math/w_j0l.c (__j0l): Likewise.
10978 * math/w_j1.c (j1): Likewise.
10980 * math/w_j1f.c (j1f): Likewise.
10982 * math/w_j1l.c (__j1l): Likewise.
10984 * math/w_jn.c (jn): Likewise.
10986 * math/w_jnf.c (jnf): Likewise.
10988 * math/w_jnl.c (__jnl): Likewise.
10990 * math/libm-test.inc (j0_test): Add more tests.
10991 (j1_test): Likewise.
10992 (jn_test): Likewise. Add trailing semicolon to existing test.
10993 (y0_test): Likewise.
10994 (y1_test): Likewise.
10995 * sysdeps/i386/fpu/libm-test-ulps: Update.
10996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11001 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11002 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11004 (__tanl): Set errno for infinite argument.
11005 * sysdeps/i386/fpu/mptan.c: Remove.
11006 * sysdeps/i386/fpu/s_tan.S: Likewise.
11007 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11008 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11009 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11010 * math/libm-test.inc (tan_test): Add more tests and enable more
11011 tests for double and long double.
11012 * sysdeps/i386/fpu/libm-test-ulps: Update.
11013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11015 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11017 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11018 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11020 2012-03-16 Roland McGrath <roland@hack.frob.com>
11022 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11023 * configure.in: Use it for both main tree and add-ons.
11024 * configure: Regenerated.
11026 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11028 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11030 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11032 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11036 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11037 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11042 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11044 != 0 for prec == 2.
11045 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11046 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11047 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11048 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11049 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11050 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11051 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11052 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11053 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11054 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11055 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11056 * math/libm-test.inc (cos_test): Add more tests and enable more
11057 tests for long double.
11058 (sin_test): Likewise.
11059 (sincos_test): Likewise.
11060 * sysdeps/i386/fpu/libm-test-ulps: Update.
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063 2012-03-16 David S. Miller <davem@davemloft.net>
11065 * sysdeps/sparc/fpu/math_private.h: New file.
11067 2012-03-15 David S. Miller <davem@davemloft.net>
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11083 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11084 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11086 * sysdeps/sparc/sparc-ifunc.h: New file.
11087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11132 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11134 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11138 2012-03-15 Andreas Jaeger <aj@suse.de>
11141 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11142 ieee754/flt-32 implementation for sin, cos and sincos.
11143 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11144 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11145 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11146 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11147 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11148 ieee754/flt-32 implementation for tan.
11150 * math/libm-test.inc (cos_test): Enable some large input tests for
11152 (sin_test): Likewise.
11153 (sincos_test): Likewise.
11154 (tan_test): Add tests for large input.
11156 * sysdeps/i386/fpu/libm-test-ulps: Update.
11158 2012-03-15 Andreas Jaeger <aj@suse.de>
11161 * math/libm-test.inc (cos_test): Add more test cases.
11162 (sin_test): Likewise.
11163 (sincos_test): Likewise.
11165 2012-03-15 Andreas Jaeger <aj@suse.de>
11168 * math/libm-test.inc (cos_test): Add a test case for large input
11170 (sin_test): Likewise.
11171 (sincos_test): Likewise.
11173 2012-03-15 Andreas Jaeger <aj@suse.de>,
11174 Joseph Myers <joseph@codesourcery.com>
11177 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11178 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11179 * sysdeps/i386/fpu/branred.c: Likewise.
11180 * sysdeps/i386/fpu/dosincos.c: Likewise.
11181 * sysdeps/i386/fpu/mpa.c: Likewise.
11182 * sysdeps/i386/fpu/s_cos.S: Likewise.
11183 * sysdeps/i386/fpu/s_sin.S: Likewise.
11184 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11185 * sysdeps/i386/fpu/sincos32.c: Likewise.
11187 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11189 (libc_feupdateenv_53bit): Define.
11190 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11192 (libc_feupdateenv_53bit): Define.
11194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11195 53 bit (without extend i386 double precision).
11197 * math/libm-test.inc (sincos_test): Add tests for large input.
11201 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11203 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11207 2012-03-15 David S. Miller <davem@davemloft.net>
11209 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11211 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11212 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11237 fmin/fmax sysdep routines.
11238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11240 2012-03-14 David S. Miller <davem@davemloft.net>
11242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11319 * sysdeps/sparc/configure.in: New file.
11320 * sysdeps/sparc/configure: Generate.
11321 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11322 * configure: Regenerate.
11323 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11324 * config.make.in (have-as-vis3): New.
11325 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11326 available use -Av9d instead of -Av9a.
11327 * sysdeps/sparc/sparc64/Makefile: Likewise.
11328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11343 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11344 fzeros/fnegs to load 0x80000000 into a float register instead of
11346 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11348 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11352 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11353 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11354 ($(inst_includedir)/bits/syscall.h): Remove rule.
11355 ($(objpfx)bits/syscall.d): Include instead of
11356 $(objpfx)syscall-list.d.
11357 (generated): Change syscall-list.h and syscall-list.d to
11358 bits/syscall.h and bits/syscall.d.
11360 2012-03-14 Roland McGrath <roland@hack.frob.com>
11363 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11365 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11368 * math/s_csqrt.c: Include <float.h>.
11369 (__csqrt): Scale large or subnormal inputs.
11370 * math/s_csqrtf.c: Likewise.
11371 * math/s_csqrtl.c: Likewise.
11372 * math/libm-test.inc (csqrt_test): Add more tests.
11373 * sysdeps/i386/fpu/libm-test-ulps: Update.
11374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11377 * math/libm-test.inc (hypot_test): Add more tests.
11379 2012-03-13 David S. Miller <davem@davemloft.net>
11382 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11383 double-precision for the calculation instead of scaling.
11385 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11387 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11388 manipulate bits before adding and subtracting TWO52[sx].
11389 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11394 2012-03-13 David S. Miller <davem@davemloft.net>
11396 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11397 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11399 rtld-global-offsets.h
11400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11402 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11405 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11407 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11408 'err' in the ifdef scope in which it is actually used.
11410 * nss/nss_db/db-init.c: Include string.h
11412 2012-03-12 David S. Miller <davem@davemloft.net>
11414 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11415 masking out of the most significant byte of random value used.
11416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11417 Fix coding style in previous change.
11419 * sysdeps/unix/sysv/linux/kernel-features.h
11420 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11421 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11423 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11426 2012-03-11 David S. Miller <davem@davemloft.net>
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11429 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11431 for 'resultvar' otherwise things get truncated on 64-bit.
11433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11434 Fix masking out of the most significant byte of random value used.
11436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11438 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11442 2012-03-09 David S. Miller <davem@davemloft.net>
11444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11445 variables with appropriate CPP guards.
11446 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11447 frame pointer, not the stack pointer. Correct layout comments. Fix test
11448 on resulting framesize and the management of the outregs buffer for pltexit.
11449 Preserve floating point return values across _dl_call_pltexit call.
11450 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11451 framesize and the management of the outregs buffer for pltexit.
11452 Preserve floating point return values across _dl_call_pltexit
11454 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11455 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11456 (print_exit): Fix format string for return register value.
11458 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11460 * sunrpc/Makefile (others): Add rpcgen.
11461 ($(objpfx)rpcgen): Remove special build rule and dependency on
11463 * sunrpc/rpcgen.c: New file.
11465 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11468 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11469 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11470 * sysdeps/i386/crti.S: Likewise.
11471 * sysdeps/i386/crtn.S: Likewise.
11472 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11473 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11474 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11475 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11476 * sysdeps/sh/crti.S: Likewise.
11477 * sysdeps/sh/crtn.S: Likewise.
11478 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11481 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11483 * locale/programs/locfile-kw.gperf: Likewise.
11484 * locale/programs/charmap-kw.h: Regenerated.
11485 * locale/programs/locfile-kw.h: Likewise.
11488 * intl/plural.y: Replace FSF snail mail address with URL.
11489 * intl/plural.c: Regenerated.
11491 2012-03-09 Richard Henderson <rth@twiddle.net>
11493 * include/math_private.h: Remove file.
11494 * math/math_private.h: Move file ...
11495 * sysdeps/generic/math_private.h: ... here.
11497 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11498 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11499 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11501 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11502 and <math_private.h>.
11503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11508 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11509 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11514 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11591 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11594 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11596 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11597 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11598 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11599 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11600 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11601 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11602 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11611 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11614 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11617 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11618 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11622 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11627 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11631 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11637 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11639 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11642 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11643 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11644 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11645 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11646 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11647 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11648 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11649 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11650 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11651 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11652 * sysdeps/ieee754/k_standard.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11802 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11803 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11813 * sysdeps/ieee754/s_lib_version.c: Likewise.
11814 * sysdeps/ieee754/s_matherr.c: Likewise.
11815 * sysdeps/ieee754/s_signgam.c: Likewise.
11816 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11817 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11818 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11819 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11820 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11821 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11822 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11823 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11824 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11825 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11826 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11827 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11830 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11831 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11833 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11834 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11838 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11840 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11841 * sunrpc/rpc_main.c: Likewise.
11842 * sunrpc/rpc_svcout.c: Likewise.
11844 2012-03-09 David S. Miller <davem@davemloft.net>
11846 * include/math_private.h: New file.
11848 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11850 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11851 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11852 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11853 from <bits/socket_type.h>.
11854 (enum __socket_type): Don't define here.
11855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11857 bits/socket_type.h.
11860 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11861 checking __USE_GNU.
11863 * Makerules ($(inst_includedir)/%.h): New rule.
11864 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11865 (install-others): Remove variable setting.
11866 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11868 2012-03-08 Richard Henderson <rth@twiddle.net>
11870 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11871 from macro to inline function; merge with the
11872 !__LIBC_INTERNAL_MATH_INLINES version.
11873 (__ieee754_sqrtf): Likewise.
11875 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11876 to inline function.
11877 (__rintf, __floor, __floorf): Likewise.
11879 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11880 macro to inline function.
11881 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11884 not <math/math_private.h>.
11886 2012-03-08 David S. Miller <davem@davemloft.net>
11888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11890 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11892 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11894 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11896 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11897 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11899 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11901 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11902 be defined individually, they must be defined as a block. Define
11903 S for printing a string instead of hidint the different by using a
11904 macro for adding the 'l'.
11905 * stdio-common/tst-fphex-wide.c: Adjust.
11907 2012-03-07 Marek Polacek <polacek@redhat.com>
11909 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11911 2012-03-08 Marek Polacek <polacek@redhat.com>
11914 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11915 * stdio-common/tst-fphex.c: Define a few macros to make the
11916 test reusable. Use them.
11917 * stdio-common/tst-fphex-wide.c: New file.
11919 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11922 * manual/macros.texi (gnusystems): New macro.
11923 (nongnusystems): Likewise.
11924 (gnulinuxhurdsystems): Likewise.
11925 (gnuhurdsystems): Likewise..
11926 (gnulinuxsystems): Likewise.
11927 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11928 variants of the GNU system, not "GNU system".
11929 * manual/conf.texi: Likewise.
11930 * manual/errno.texi: Likewise. Update example of errno macro
11932 * manual/filesys.texi: Likewise.
11933 (getumask): Document as specific to GNU/Hurd.
11934 * manual/install.texi: Likewise. Reword some references to
11936 * manual/intro.texi: Likewise.
11937 * manual/io.texi: Likewise.
11938 (File Name Portability): Detail which constraints are inapplicable
11939 to all GNU systems and which are only inapplicable to GNU/Hurd.
11940 * manual/job.texi: Likewise.
11941 * manual/llio.texi: Likewise.
11942 (O_NOCTTY): Document as present on GNU/Linux.
11943 * manual/maint.texi: Likewise.
11944 * manual/memory.texi: Likewise.
11945 * manual/pattern.texi: Likewise.
11946 * manual/pipe.texi: Likewise.
11947 * manual/process.texi: Likewise.
11948 * manual/resource.texi: Likewise.
11949 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11951 * manual/setjmp.texi: Likewise.
11952 * manual/signal.texi: Likewise.
11953 * manual/startup.texi: Likewise.
11954 * manual/stdio.texi: Likewise.
11955 * manual/terminal.texi: Likewise.
11956 (ONLCR): Document as POSIX.
11957 (OXTABS): Document availability on GNU/Linux as XTABS.
11958 (ONOEOT): Document availability separately from other bits.
11959 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11960 * manual/time.texi: Likewise.
11961 * manual/users.texi: Likewise.
11962 * INSTALL: Regenerated.
11963 * sysdeps/gnu/errlist.c: Regenerated.
11965 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11966 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11967 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11969 * configure: Regenerated.
11971 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11974 default includes instead of AC_HEADER_CHECK.
11975 * sysdeps/i386/configure: Regenerated.
11978 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11979 * math/s_cacoshf.c (__cacoshf): Likewise.
11980 * math/s_cacoshl.c (__cacoshl): Likewise.
11981 * math/s_casinh.c (__casinh): Set signs of result from argument.
11982 * math/s_casinhf.c (__casinhf): Likewise.
11983 * math/s_casinhl.c (__casinhl): Likewise.
11984 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11985 (casinh_test): Add more tests.
11986 * sysdeps/i386/fpu/libm-test-ulps: Update.
11987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989 2012-03-07 Ulrich Drepper <drepper@gmail.com>
11991 * po/zh_TW.po: Update from translation team.
11993 * login/Makefile (distribute): Remove variable.
11994 * catgets/Makefile: Likewise.
11995 * mach/Makefile: Likewise.
11996 * malloc/Makefile: Likewise.
11997 * misc/Makefile: Likewise.
11998 * iconv/Makefile: Likewise.
11999 * nscd/Makefile: Likewise.
12000 * hurd/Makefile: Likewise.
12001 * manual/Makefile: Likewise.
12002 * locale/Makefile: Likewise.
12003 * intl/Makefile: Likewise.
12004 * conform/Makefile: Likewise.
12005 * nss/Makefile: Likewise.
12006 * time/Makefile: Likewise.
12007 * soft-fp/Makefile: Likewise.
12008 * dirent/Makefile: Likewise.
12009 * gmon/Makefile: Likewise.
12010 * po/Makefile: Likewise.
12011 * rt/Makefile: Likewise.
12012 * socket/Makefile: Likewise.
12013 * math/Makefile: Likewise.
12014 * signal/Makefile: Likewise.
12015 * debug/Makefile: Likewise.
12016 * elf/Makefile: Likewise.
12017 * timezone/Makefile: Likewise.
12018 * stdlib/Makefile: Likewise.
12019 * iconvdata/Makefile: Likewise.
12020 * sunrpc/Makefile: Likewise.
12021 * io/Makefile: Likewise.
12022 * argp/Makefile: Likewise.
12023 * inet/Makefile: Likewise.
12024 * hesiod/Makefile: Likewise.
12025 * grp/Makefile: Likewise.
12026 * csu/Makefile: Likewise.
12027 * wctype/Makefile: Likewise.
12028 * crypt/Makefile: Likewise.
12029 * libio/Makefile: Likewise.
12030 * string/Makefile: Likewise.
12031 * nis/Makefile: Likewise.
12032 * resolv/Makefile: Likewise.
12033 * stdio-common/Makefile: Likewise.
12034 * wcsmbs/Makefile: Likewise.
12035 * dlfcn/Makefile: Likewise.
12036 * posix/Makefile: Likewise.
12039 * timezone/Makefile: Don't install timezone files, just the programs
12042 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12044 * nss/databases.def: Add missing gshadow entry.
12046 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12048 2012-03-06 Marek Polacek <polacek@redhat.com>
12051 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12052 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12053 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12054 * stdio-common/tst-long-dbl-fphex.c: New file.
12056 2012-03-06 David S. Miller <davem@davemloft.net>
12058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12059 (set_obp_int): New function.
12060 (get_obp_int): New function.
12061 (__get_clockfreq_via_dev_openprom): Likewise.
12062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12063 Avoid unused variable warnings on 'val' and use builtin_expect.
12064 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12066 (INLINE_CLONE_SYSCALL): Likewise.
12068 2012-03-05 David S. Miller <davem@davemloft.net>
12070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12072 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12077 only for |x| >= 40.
12078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12080 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12083 Replace gettimeofday with __vdso_gettimeofday.
12085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12086 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12087 __vdso_clock_gettime and __vdso_getcpu.
12089 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12090 time with __vdso_time.
12092 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12094 * manual/lang.texi (size_t): Note types to which size_t may be
12095 equivalent with the GNU C Library, but do not describe when
12096 differences between them are significant.
12098 2012-03-05 Andreas Jaeger <aj@suse.de>
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12102 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12105 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12106 (__ieee754_pow): Save and restore rounding mode and use
12107 round-to-nearest for main computations.
12108 * math/libm-test.inc (pow_test_tonearest): New function.
12109 (pow_test_towardzero): Likewise.
12110 (pow_test_downward): Likewise.
12111 (pow_test_upward): Likewise.
12112 (main): Call the new functions.
12113 * sysdeps/i386/fpu/libm-test-ulps: Update.
12114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12117 * math/libm-test.inc (cosh_test_tonearest): New function.
12118 (cosh_test_towardzero): Likewise.
12119 (cosh_test_downward): Likewise.
12120 (cosh_test_upward): Likewise.
12121 (sinh_test_tonearest): Likewise.
12122 (sinh_test_towardzero): Likewise.
12123 (sinh_test_downward): Likewise.
12124 (sinh_test_upward): Likewise.
12125 (main): Call the new functions.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129 2012-03-05 Tom de Vries <tom@codesourcery.com>
12131 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12132 default stack guard is set in last bytes.
12133 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12135 2012-03-05 Kees Cook <keescook@chromium.org>
12137 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12140 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12141 possibly allocate from heap instead of stack.
12142 * stdio-common/bug-vfprintf-nargs.c: New file.
12143 * stdio-common/Makefile (tests): Add nargs overflow test.
12145 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12149 2012-03-03 Marek Polacek <polacek@redhat.com>
12151 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12152 * math/math_private.h: Likewise.
12153 * stdlib/tst-strtod.c: Likewise.
12154 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12155 * sysdeps/x86_64/bits/atomic.h: Likewise.
12157 2012-03-02 David S. Miller <davem@davemloft.net>
12159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12163 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12164 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12165 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12166 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12168 2012-03-02 Roland McGrath <roland@hack.frob.com>
12171 * manual/examples/README: New file, says the example source files
12172 can be used under GPL>=2.
12173 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12174 line containing just "*/".
12175 * manual/examples/add.c: Add copyright header (GPL>=2).
12176 * manual/examples/argp-ex1.c: Likewise.
12177 * manual/examples/argp-ex2.c: Likewise.
12178 * manual/examples/argp-ex3.c: Likewise.
12179 * manual/examples/argp-ex4.c: Likewise.
12180 * manual/examples/atexit.c: Likewise.
12181 * manual/examples/db.c: Likewise.
12182 * manual/examples/dir.c: Likewise.
12183 * manual/examples/dir2.c: Likewise.
12184 * manual/examples/execinfo.c: Likewise.
12185 * manual/examples/filecli.c: Likewise.
12186 * manual/examples/filesrv.c: Likewise.
12187 * manual/examples/fmtmsgexpl.c: Likewise.
12188 * manual/examples/genpass.c: Likewise.
12189 * manual/examples/inetcli.c: Likewise.
12190 * manual/examples/inetsrv.c: Likewise.
12191 * manual/examples/isockad.c: Likewise.
12192 * manual/examples/longopt.c: Likewise.
12193 * manual/examples/memopen.c: Likewise.
12194 * manual/examples/memstrm.c: Likewise.
12195 * manual/examples/mkfsock.c: Likewise.
12196 * manual/examples/mkisock.c: Likewise.
12197 * manual/examples/mygetpass.c: Likewise.
12198 * manual/examples/pipe.c: Likewise.
12199 * manual/examples/popen.c: Likewise.
12200 * manual/examples/rprintf.c: Likewise.
12201 * manual/examples/search.c: Likewise.
12202 * manual/examples/select.c: Likewise.
12203 * manual/examples/setjmp.c: Likewise.
12204 * manual/examples/sigh1.c: Likewise.
12205 * manual/examples/sigusr.c: Likewise.
12206 * manual/examples/stpcpy.c: Likewise.
12207 * manual/examples/strdupa.c: Likewise.
12208 * manual/examples/strftim.c: Likewise.
12209 * manual/examples/strncat.c: Likewise.
12210 * manual/examples/subopt.c: Likewise.
12211 * manual/examples/swapcontext.c: Likewise.
12212 * manual/examples/termios.c: Likewise.
12213 * manual/examples/testopt.c: Likewise.
12214 * manual/examples/testpass.c: Likewise.
12215 * manual/examples/timeval_subtract.c: Likewise.
12218 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12220 * manual/timeval_subtract.c.texi: ... here, new file.
12222 2012-03-02 David S. Miller <davem@davemloft.net>
12224 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12226 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12229 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12230 (__sin): Save and restore rounding mode and use round-to-nearest
12231 for all computations.
12232 (__cos): Save and restore rounding mode and use round-to-nearest
12233 for all computations.
12234 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12236 (tan): Save and restore rounding mode and use round-to-nearest for
12238 * math/libm-test.inc (cos_test_tonearest): New function.
12239 (cos_test_towardzero): Likewise.
12240 (cos_test_downward): Likewise.
12241 (cos_test_upward): Likewise.
12242 (sin_test_tonearest): Likewise.
12243 (sin_test_towardzero): Likewise.
12244 (sin_test_downward): Likewise.
12245 (sin_test_upward): Likewise.
12246 (tan_test_tonearest): Likewise.
12247 (tan_test_towardzero): Likewise.
12248 (tan_test_downward): Likewise.
12249 (tan_test_upward): Likewise.
12250 (main): Call the new functions.
12251 * sysdeps/i386/fpu/libm-test-ulps: Update.
12252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12256 small n, then large n, before computing and testing k+n.
12257 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12262 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12263 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12270 * math/libm-test.inc (scalbn_test): Add more tests.
12271 (scalbln_test): Likewise.
12273 * manual/filesys.texi (mode_t): Describe constraints on size and
12274 signedness, not exact equivalence to a particular type.
12276 (ino64_t): Likewise.
12278 (nlink_t): Likewise.
12279 (blkcnt_t): Likewise.
12280 (blkcnt64_t): Likewise.
12281 * manual/llio.texi (off_t): Likewise.
12284 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12285 (__ieee754_exp): Save and restore rounding mode and use
12286 round-to-nearest for all computations.
12287 * math/libm-test.inc (exp_test_tonearest): New function.
12288 (exp_test_towardzero): Likewise.
12289 (exp_test_downward): Likewise.
12290 (exp_test_upward): Likewise.
12291 (main): Call the new functions.
12292 * sysdeps/i386/fpu/libm-test-ulps: Update.
12293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12295 2012-03-01 Chris Demetriou <cgd@google.com>
12297 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12298 have predictable order.
12300 2012-03-01 David S. Miller <davem@davemloft.net>
12302 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12304 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12305 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12306 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12307 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12309 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12310 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12311 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12313 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12317 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12322 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12325 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12326 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12327 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12328 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12329 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12332 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12333 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12334 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12335 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12341 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12342 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12343 * sysdeps/sparc/elf/configure: Regenerated.
12345 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12347 * configure.in (AS, LD): Require binutils 2.20 or later.
12348 * configure: Regenerated.
12349 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12350 as required minimum version.
12351 * INSTALL: Regenerated.
12355 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12356 before squaring exponent.
12357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12358 bottom long double and 27 bits of top long double before squaring
12360 * math/libm-test.inc (erfc_test): Add more tests.
12361 * sysdeps/i386/fpu/libm-test-ulps: Update.
12362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12365 2012-03-01 Kai Tietz <ktietz@redhat.com>
12367 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12368 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12369 containing bit-fields.
12370 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12371 * soft-fp/single.h (_FP_UNION_S): Likewise.
12372 * soft-fp/double.h (_FP_UNION_D): Likewise.
12374 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12377 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12378 not include ../strcmp.S.
12379 [USE_AS_STRNCASECMP_L]: Likewise.
12380 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12381 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12382 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12383 (__strncasecmp_l_ia32): Define as alias to
12384 __strncasecmp_l_nonascii.
12387 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12388 * sysdeps/i386/fpu/libm-test-ulps: Update.
12389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12391 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12394 2012-02-29 Jeff Law <law@redhat.com>
12396 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12397 out of bounds read.
12399 2012-02-29 Marek Polacek <polacek@redhat.com>
12402 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12403 * elf/Makefile: Add rules to run tst-unused-dep.out.
12405 2012-02-28 David S. Miller <davem@davemloft.net>
12407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12411 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12412 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12414 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12416 * math/libm-test.inc (llround_test): Move one test from
12417 lround_test. Use TEST_f_L in moved test.
12418 (lround_test): Move misplaced test to llround_test. Add testcase
12421 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12423 * sysdeps/x86_64/fpu/e_expf.S: New file.
12424 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12426 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12429 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12430 of remain_len that may cause incomplete multi-byte character and
12432 * posix/bug-regex33.c: New file.
12433 * posix/Makefile (tests): Add bug-regex33.
12435 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12437 * manual/macros.texi: New file.
12438 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12439 * manual/libc.texinfo: Include macros.texi.
12440 * manual/creatute.texi: Likewise.
12441 * manual/install.texi: Likewise.
12442 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12443 @glibcadj{} in references to the GNU C Library.
12444 * manual/charset.texi: Likewise.
12445 * manual/conf.texi: Likewise.
12446 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12447 when not using those macros.
12448 * manual/creature.texi: Likewise.
12449 * manual/crypt.texi: Likewise.
12450 * manual/errno.texi: Likewise.
12451 * manual/filesys.texi: Likewise.
12452 * manual/header.texi: Likewise.
12453 * manual/install.texi: Likewise.
12454 * manual/intro.texi: Likewise.
12455 * manual/io.texi: Likewise.
12456 * manual/job.texi: Likewise.
12457 * manual/lang.texi: Likewise.
12458 * manual/libc.texiinfo: Likewise.
12459 * manual/llio.texi: Likewise.
12460 * manual/locale.texi: Likewise.
12461 * manual/maint.texi: Likewise.
12462 * manual/math.texi: Likewise.
12463 * manual/memory.texi: Likewise.
12464 * manual/message.texi: Likewise.
12465 * manual/nss.texi: Likewise.
12466 * manual/pattern.texi: Likewise.
12467 * manual/process.texi: Likewise.
12468 * manual/resource.texi: Likewise.
12469 * manual/search.texi: Likewise.
12470 * manual/setjmp.texi: Likewise.
12471 * manual/signal.texi: Likewise.
12472 * manual/socket.texi: Likewise.
12473 * manual/startup.texi: Likewise.
12474 * manual/stdio.texi: Likewise.
12475 * manual/string.texi: Likewise.
12476 * manual/sysinfo.texi: Likewise.
12477 * manual/syslog.texi: Likewise.
12478 * manual/terminal.texi: Likewise.
12479 * manual/time.texi: Likewise.
12480 * manual/users.texi: Likewise.
12481 * INSTALL: Regenerated.
12482 * NOTES: Regenerated.
12483 * sysdeps/gnu/errlist.c: Regenerated.
12485 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12487 * include/dirent.h: Include <dirstream.h> before
12490 2012-02-28 David S. Miller <davem@davemloft.net>
12492 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12493 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12494 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12495 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12497 2012-02-27 David S. Miller <davem@davemloft.net>
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12501 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12502 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12505 frame pointer instead of stack pointer relative arg slot.
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12510 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12513 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12515 2012-02-27 David S. Miller <davem@davemloft.net>
12517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12523 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12526 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12528 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12529 later. Allow versions 5-9.
12530 * configure: Regenerated.
12531 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12532 required minimum version and 4.6 as recommended version. Do not
12533 mention bugs in GCC 2.7 and 2.8.
12534 * INSTALL: Regenerated.
12536 2012-02-27 David S. Miller <davem@davemloft.net>
12538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12544 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12545 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12548 manipulate bits before adding and subtracting TWO112[sx].
12549 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12551 2012-02-27 Roland McGrath <roland@hack.frob.com>
12554 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12555 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12556 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12557 being in POSIX, because they are in 1003.1-2008.
12559 * rt/tst-aio.c: Include <fcntl.h>.
12560 * rt/tst-aio7.c: Likewise.
12561 * rt/tst-aio64.c: Likewise.
12563 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12565 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12567 * manual/install.texi (--with-headers): Describe headers as
12568 interface headers, not private headers.
12569 (Specific advice for GNU/Linux systems): Describe use of headers
12570 from "make headers_install", not private headers from older
12572 * INSTALL: Regenerated.
12573 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12575 * sysdeps/unix/sysv/linux/configure: Regenerated.
12577 * manual/llio.texi (fclean): Remove documentation.
12579 * manual/Makefile (libc-texi-generated): New variable. Include
12581 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12582 $(libc-texi-generated), not duplicated list of files.
12583 (version.texi, stamp-version): New rules.
12584 (realclean): Remove $(libc-texi-generated), not individual files
12585 from that list. Do not remove dir-add.texinfo.
12586 * manual/libc.texinfo: Comment out uses of edition numbers and
12587 references to printed manual. Remove last-updated dates.
12588 (EDITION): Comment out.
12590 (VERSION, UPDATED): Remove.
12591 (version.texi): Include.
12593 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12595 * sysdeps/posix/spawni.c: Include <signal.h>.
12596 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12597 * sysdeps/pthread/aio_fsync.c: Likewise.
12599 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12601 * conform/Makefile (tests): Run only when not cross-compiling and
12602 when fast-check is not defined.
12604 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12605 * conform/data/limits.h-data: Fixes for POSIX2008.
12606 * conform/run-conformtest.sh: Run all tests.
12607 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12609 * include/bits/dlfcn.h: Likewise.
12610 * include/langinfo.h: Likewise.
12611 * include/monetary.h: Likewise.
12612 * include/sys/poll.h: Likewise.
12614 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12616 * posix/spawn.h: Define __need_sigset_t.
12617 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12618 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12619 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12620 to get sigevent_t only.
12621 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12622 only for __USE_GNU.
12623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12624 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12625 process_vm_writev only for __USE_GNU.
12626 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12628 * conform/Makefile: For now ignore errors from run-conformtest.
12629 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12630 POSIX to avoid namespace pollution. Don't prepend headers.
12631 * conform/data/aio.h-data: Fixes for POSIX testing.
12632 * conform/data/fcntl.h-data: Likewise.
12633 * conform/data/glob.h-data: Likewise.
12634 * conform/data/grp.h-data: Likewise.
12635 * conform/data/pthread.h-data: Likewise.
12636 * conform/data/pwd.h-data: Likewise.
12637 * conform/data/signal.h-data: Likewise.
12638 * conform/data/spawn.h-data: Likewise.
12639 * conform/data/stdio.h-data: Likewise.
12640 * conform/data/stdlib.h-data: Likewise.
12641 * conform/data/stropts.h-data: Likewise.
12642 * conform/data/sys/mman.h-data: Likewise.
12643 * conform/data/sys/stat.h-data: Likewise.
12644 * conform/data/sys/types.h-data: Likewise.
12645 * conform/data/sys/wait.h-data: Likewise.
12646 * conform/data/time.h-data: Likewise.
12647 * conform/data/unistd.h-data: Likewise.
12648 * conform/data/utime.h-data: Likewise.
12650 * io/sys/stat.h: fchmod was always in POSIX.
12651 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12652 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12653 * rt/aio.h: Define __need_timespec before including <time.h>.
12654 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12655 struct. Add forward declaration of pthread_attr_t and use it in
12657 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12659 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12660 always remove CLK_TCK definition.
12662 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12664 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12666 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12668 * conform/run-conformtest.sh: New file.
12669 * conform/Makefile: Run run-conformtest for tests.
12670 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12673 * conform/data/uchar.h-data: New file.
12674 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12675 * conform/data/arpa/inet.h-data: Likewise.
12676 * conform/data/assert.h-data: Likewise.
12677 * conform/data/complex.h-data: Likewise.
12678 * conform/data/cpio.h-data: Likewise.
12679 * conform/data/ctype.h-data: Likewise.
12680 * conform/data/dirent.h-data: Likewise.
12681 * conform/data/dlfcn.h-data: Likewise.
12682 * conform/data/errno.h-data: Likewise.
12683 * conform/data/fcntl.h-data: Likewise.
12684 * conform/data/float.h-data: Likewise.
12685 * conform/data/fmtmsg.h-data: Likewise.
12686 * conform/data/fnmatch.h-data: Likewise.
12687 * conform/data/ftw.h-data: Likewise.
12688 * conform/data/glob.h-data: Likewise.
12689 * conform/data/grp.h-data: Likewise.
12690 * conform/data/iconv.h-data: Likewise.
12691 * conform/data/inttypes.h-data: Likewise.
12692 * conform/data/langinfo.h-data: Likewise.
12693 * conform/data/libgen.h-data: Likewise.
12694 * conform/data/limits.h-data: Likewise.
12695 * conform/data/locale.h-data: Likewise.
12696 * conform/data/math.h-data: Likewise.
12697 * conform/data/monetary.h-data: Likewise.
12698 * conform/data/mqueue.h-data: Likewise.
12699 * conform/data/ndbm.h-data: Likewise.
12700 * conform/data/net/if.h-data: Likewise.
12701 * conform/data/netdb.h-data: Likewise.
12702 * conform/data/netinet/in.h-data: Likewise.
12703 * conform/data/nl_types.h-data: Likewise.
12704 * conform/data/poll.h-data: Likewise.
12705 * conform/data/pthread.h-data: Likewise.
12706 * conform/data/pwd.h-data: Likewise.
12707 * conform/data/regex.h-data: Likewise.
12708 * conform/data/sched.h-data: Likewise.
12709 * conform/data/search.h-data: Likewise.
12710 * conform/data/semaphore.h-data: Likewise.
12711 * conform/data/setjmp.h-data: Likewise.
12712 * conform/data/signal.h-data: Likewise.
12713 * conform/data/spawn.h-data: Likewise.
12714 * conform/data/stdarg.h-data: Likewise.
12715 * conform/data/stdio.h-data: Likewise.
12716 * conform/data/stdlib.h-data: Likewise.
12717 * conform/data/string.h-data: Likewise.
12718 * conform/data/strings.h-data: Likewise.
12719 * conform/data/stropts.h-data: Likewise.
12720 * conform/data/sys/ipc.h-data: Likewise.
12721 * conform/data/sys/mman.h-data: Likewise.
12722 * conform/data/sys/msg.h-data: Likewise.
12723 * conform/data/sys/resource.h-data: Likewise.
12724 * conform/data/sys/select.h-data: Likewise.
12725 * conform/data/sys/sem.h-data: Likewise.
12726 * conform/data/sys/shm.h-data: Likewise.
12727 * conform/data/sys/socket.h-data: Likewise.
12728 * conform/data/sys/stat.h-data: Likewise.
12729 * conform/data/sys/statvfs.h-data: Likewise.
12730 * conform/data/sys/time.h-data: Likewise.
12731 * conform/data/sys/timeb.h-data: Likewise.
12732 * conform/data/sys/times.h-data: Likewise.
12733 * conform/data/sys/types.h-data: Likewise.
12734 * conform/data/sys/uio.h-data: Likewise.
12735 * conform/data/sys/un.h-data: Likewise.
12736 * conform/data/sys/utsname.h-data: Likewise.
12737 * conform/data/sys/wait.h-data: Likewise.
12738 * conform/data/syslog.h-data: Likewise.
12739 * conform/data/tar.h-data: Likewise.
12740 * conform/data/termios.h-data: Likewise.
12741 * conform/data/utime.h-data: Likewise.
12742 * conform/data/utmpx.h-data: Likewise.
12743 * conform/data/varargs.h-data: Likewise.
12744 * conform/data/wchar.h-data: Likewise.
12745 * conform/data/wctype.h-data: Likewise.
12746 * conform/data/wordexp.h-data: Likewise.
12748 * include/stropts.h: New file.
12749 * include/uchar.h: New file.
12750 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12751 * include/assert.h: Likewise.
12752 * include/ctype.h: Likewise.
12753 * include/dirent.h: Likewise.
12754 * include/dlfcn.h: Likewise.
12755 * include/fcntl.h: Likewise.
12756 * include/fnmatch.h: Likewise.
12757 * include/glob.h: Likewise.
12758 * include/grp.h: Likewise.
12759 * include/libio.h: Likewise.
12760 * include/locale.h: Likewise.
12761 * include/math.h: Likewise.
12762 * include/net/if.h: Likewise.
12763 * include/netdb.h: Likewise.
12764 * include/netinet/in.h: Likewise.
12765 * include/pthread.h: Likewise.
12766 * include/pwd.h: Likewise.
12767 * include/regex.h: Likewise.
12768 * include/sched.h: Likewise.
12769 * include/search.h: Likewise.
12770 * include/setjmp.h: Likewise.
12771 * include/signal.h: Likewise.
12772 * include/stdio.h: Likewise.
12773 * include/stdlib.h: Likewise.
12774 * include/string.h: Likewise.
12775 * include/sys/cdefs.h: Likewise.
12776 * include/sys/mman.h: Likewise.
12777 * include/sys/msg.h: Likewise.
12778 * include/sys/resource.h: Likewise.
12779 * include/sys/select.h: Likewise.
12780 * include/sys/socket.h: Likewise.
12781 * include/sys/stat.h: Likewise.
12782 * include/sys/statvfs.h: Likewise.
12783 * include/sys/time.h: Likewise.
12784 * include/sys/times.h: Likewise.
12785 * include/sys/uio.h: Likewise.
12786 * include/sys/utsname.h: Likewise.
12787 * include/sys/wait.h: Likewise.
12788 * include/termios.h: Likewise.
12789 * include/time.h: Likewise.
12790 * include/ulimit.h: Likewise.
12791 * include/unistd.h: Likewise.
12792 * include/utime.h: Likewise.
12793 * include/wchar.h: Likewise.
12794 * include/wctype.h: Likewise.
12795 * include/wordexp.h: Likewise.
12797 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12799 * time/time.h: TIME_UTC must be a macro.
12800 Make timespec_get available for ISO C11 only as well.
12802 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12804 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12805 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12807 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12809 * configure.in: Use -o not -a in test for unsupported multi-arch.
12811 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12813 * manual/texinfo.tex: Update to version 2012-01-19.16.
12815 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12817 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12819 2012-02-24 Roland McGrath <roland@hack.frob.com>
12822 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12823 * manual/fdl-1.3.texi: New file.
12824 * manual/fdl-1.1.texi: File removed.
12827 * manual/libc.texinfo (FDL_VERSION): New @set.
12828 Use it for mention of FDL in cover text.
12829 (Documentation License): Use it in @include file name.
12831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12832 Roland McGrath <roland@hack.frob.com>
12835 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12836 not LONG_LONG_MAX and LONG_LONG_MIN.
12837 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12838 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12840 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12847 manipulate bits before adding and subtracting TWO23[sx].
12848 * math/libm-test.inc (nearbyint_test): Add more tests.
12850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12853 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12854 bits before adding and subtracting TWO23[sx].
12855 * math/libm-test.inc (rint_test): Add more tests.
12856 (rint_test_tonearest): Likewise.
12857 (rint_test_towardzero): Likewise.
12858 (rint_test_downward): Likewise.
12859 (rint_test_upward: Likewise.
12861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12864 * include/stdc-predef.h: New file. Extracted from features.h.
12865 * include/features.h: Include stdc-predef.h.
12866 * Makefile (headers): Add stdc-predef.h.
12867 * CONFORMANCE (Compiler limitations): Update.
12869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12871 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12873 2012-02-21 David S. Miller <davem@davemloft.net>
12875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12878 2012-02-20 David S. Miller <davem@davemloft.net>
12880 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12881 using a normal save/restore sequence, rather than allocating a
12882 dummy stack frame just to store a frame pointer and restore.
12883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12885 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12887 * manual/install.texi: Fix stray word in line-wrapped comment.
12889 2012-02-20 David S. Miller <davem@davemloft.net>
12891 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12892 both binutils and gcc support GOTDATA.
12894 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12895 "rd %pc" in the PIC register setup sequences.
12897 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12898 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12899 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12900 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12901 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12906 (SYSCALL_ERROR_HANDLER): Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12908 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12910 (SYSCALL_ERROR_HANDLER): Likewise.
12912 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12913 (HAVE_GCC_GOTDATA): New.
12914 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12915 relocation support in both binutils and gcc.
12916 * sysdeps/sparc/elf/configure: Regenerate.
12918 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12919 * sysdeps/sparc/sparc32/elf/configure: Delete.
12920 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12921 * sysdeps/sparc/sparc64/elf/configure: Delete.
12922 * sysdeps/sparc/elf/configure.in: New file.
12923 * sysdeps/sparc/elf/configure: Generate.
12925 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12926 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12927 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12928 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12929 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12931 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12933 * manual/install.texi: Do not mention specific glibc version
12935 * manual/libc.texinfo (VERSION, UPDATED): Update.
12936 (@copying): Use @copyright{} and range of years.
12938 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12941 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12942 [crti.S not in sysdirs] (generated): Do not append.
12943 [crti.S not in sysdirs] (omit-deps): Likewise.
12944 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12945 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12946 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12947 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12948 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12950 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12951 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12952 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12953 * csu/defs.awk: Remove file.
12954 * sysdeps/generic/initfini.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12957 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12960 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12962 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12963 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12964 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12967 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12969 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12970 (__EPOLL_PACKED): Define to empty if not defined by
12972 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12976 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12978 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12979 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12981 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12983 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12987 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12989 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12992 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12996 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12998 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12999 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13001 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13003 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13004 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13006 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13008 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13011 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13013 * math/w_acos.c: Use non-signaling floating-point comparisons.
13014 * math/w_acosf.c: Likewise.
13015 * math/w_acosh.c: Likewise.
13016 * math/w_acoshf.c: Likewise.
13017 * math/w_acoshl.c: Likewise.
13018 * math/w_acosl.c: Likewise.
13019 * math/w_asin.c: Likewise.
13020 * math/w_asinf.c: Likewise.
13021 * math/w_asinl.c: Likewise.
13022 * math/w_atanh.c: Likewise.
13023 * math/w_atanhf.c: Likewise.
13024 * math/w_atanhl.c: Likewise.
13025 * math/w_exp2.c: Likewise.
13026 * math/w_exp2f.c: Likewise.
13027 * math/w_exp2l.c: Likewise.
13028 * math/w_j0.c: Likewise.
13029 * math/w_j0f.c: Likewise.
13030 * math/w_j0l.c: Likewise.
13031 * math/w_j1.c: Likewise.
13032 * math/w_j1f.c: Likewise.
13033 * math/w_j1l.c: Likewise.
13034 * math/w_jn.c: Likewise.
13035 * math/w_jnf.c: Likewise.
13036 * math/w_log.c: Likewise.
13037 * math/w_log10.c: Likewise.
13038 * math/w_log10f.c: Likewise.
13039 * math/w_log10l.c: Likewise.
13040 * math/w_log2.c: Likewise.
13041 * math/w_log2f.c: Likewise.
13042 * math/w_log2l.c: Likewise.
13043 * math/w_logf.c: Likewise.
13044 * math/w_logl.c: Likewise.
13045 * math/w_sqrt.c: Likewise.
13046 * math/w_sqrtf.c: Likewise.
13047 * math/w_sqrtl.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13051 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13052 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13054 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13057 * manual/string.texi (strnlen): Use correct parameter name in
13058 equivalent expression.
13060 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13063 * manual/users.texi (seteuid): Consistently use neweuid for
13066 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13069 * manual/nss.texi (Services in the NSS configuration): Correct
13070 list of services in example configuration file.
13072 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13075 * manual/arith.texi: Remove statements about negative zero
13076 behaving identically to zero.
13078 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13081 * manual/install.texi: Do not document upgrading from libc5.
13083 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13086 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13088 2012-02-18 David S. Miller <davem@davemloft.net>
13090 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13091 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13092 %o7 across the call.
13093 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13096 SETUP_PIC_REG_LEAF.
13097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13098 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13099 * sysdeps/sparc/crtn.S: Likewise.
13101 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13103 * aout/Makefile: Remove.
13105 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13108 * manual/examples/argp-ex1.c (main): Format definition in GNU
13110 * manual/examples/argp-ex2.c (main): Likewise.
13111 * manual/examples/argp-ex3.c (main): Likewise.
13112 * manual/examples/argp-ex4.c (main): Likewise.
13113 * manual/examples/longopt.c (main): Use new-style prototype
13115 * manual/examples/strncat.c (main): Specify return type and use
13116 (void) for arguments.
13117 * manual/examples/subopt.c (main): Use char **argv argument.
13119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13122 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13125 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13128 * manual/string.texi (strchr): Change when strchrnul is
13131 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13134 * manual/locale.texi (setlocale): Document LOCPATH.
13136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13139 * manual/process.texi (execle): Move @dots{} before last argument.
13141 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13144 * manual/charset.texi (Generic Charset Conversion): Fix typo
13145 (LC_TYPE -> LC_CTYPE).
13147 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13150 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13151 (scalbnf): Likewise.
13152 (scalbnl): Likewise.
13153 (scalbln): Likewise.
13154 (scalblnf): Likewise.
13155 (scalblnl): Likewise.
13156 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13157 (vwarnx): Likewise.
13160 * manual/filesys.texi (telldir): Use braces around return type.
13161 * manual/llio.texi (mmap): Add space after comma.
13162 (mmap64): Likewise.
13163 * manual/math.texi (jn): Use @var{} on parameter names.
13169 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13171 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13173 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13174 (sched_get_priority_max): Likewise.
13175 * manual/signal.texi (sigvec): Add space after comma.
13176 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13178 (if_indextoname): Likewise.
13179 (if_freenameindex): Likewise.
13180 (sendto): Use ',' instead of '.' in prototype.
13181 * manual/startup.texi (syscall): Use @dots{} instead of literal
13183 * manual/stdio.texi (__fpending): Separate initial words of
13184 paragraph from @deftypefun line.
13185 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13187 (vsyslog): Use @var{} on parameter names.
13188 * manual/terminal.texi (stty): Use @var{} on parameter names.
13189 * manual/users.texi (getutmp): Use @var{} on parameter names.
13190 (getutmpx): Likewise.
13192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13195 * manual/stdio.texi (fopen): Fix typos in description of
13198 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13201 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13202 get clock_id definition.
13204 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13207 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13208 (madvise): Cast every argument to void on its own.
13210 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13213 * manual/startup.texi (Exit Status): Fix typo.
13215 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13218 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13219 * manual/examples/argp-ex2.c: Likewise.
13220 * manual/examples/argp-ex3.c: Likewise.
13222 2012-02-16 Richard Henderson <rth@redhat.com>
13224 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13225 * sysdeps/s390/s390-32/initfini.c: Remove.
13226 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13227 * sysdeps/s390/s390-64/initfini.c: Remove.
13229 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13231 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13232 compiler output for sysdeps/generic/initfini.c.
13233 * sysdeps/sh/elf/initfini.c: Remove file.
13235 2012-02-16 David S. Miller <davem@davemloft.net>
13238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13240 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13241 * sysdeps/sparc/crti.S: New file.
13242 * sysdeps/sparc/crtn.S: New file.
13243 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13244 * sysdeps/sparc/sparc64/Makefile: Likewise.
13246 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13249 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13251 2012-02-15 Roland McGrath <roland@hack.frob.com>
13254 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13256 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13257 (write, read, close): Likewise.
13258 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13260 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13262 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13263 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13265 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13267 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13271 2012-02-14 Marek Polacek <polacek@redhat.com>
13273 * sysdeps/x86_64/crti.S: New file.
13274 * sysdeps/x86_64/crtn.S: New file.
13275 * sysdeps/x86_64/elf/initfini.c: Remove file.
13277 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13279 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13280 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13282 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13284 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13288 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13290 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13291 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13292 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13293 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13295 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13299 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13301 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13302 __feraiseexcept instead of feraiseexcept.
13304 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13305 nanosleep invocations.
13306 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13307 strings, and add error checking for a nanosleep invocations.
13309 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13311 Replace FSF snail mail address with URLs, as per GNU coding standards.
13312 Most of the snail mail addresses were wrong anyway, and omitting
13313 them makes the source code easier to maintain. Almost all of the
13314 changes are to license notices and to locale LC_IDENTIFICATION
13315 addresses, except for this one:
13316 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13317 not its snail mail address.
13319 2012-02-09 Richard Henderson <rth@twiddle.net>
13321 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13322 of kernel-features.h.
13324 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13326 2012-02-08 Marek Polacek <polacek@redhat.com>
13328 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13329 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13330 * sysdeps/gnu/_G_config.h: Likewise.
13331 * sysdeps/generic/_G_config.h: Likewise.
13333 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13335 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13339 * sysdeps/powerpc/powerpc32/crti.S: New file.
13340 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13341 * sysdeps/powerpc/powerpc64/crti.S: New file.
13342 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13344 * Makeconfig (have-initfini): Don't set.
13345 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13346 * configure.in (nopic_initfini): Don't substitute.
13347 * config.h.in (HAVE_INITFINI): Don't #undef.
13348 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13349 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13351 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13353 Support crti.S and crtn.S provided directly by architectures.
13354 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13355 [crti.S in sysdirs] (omit-deps): Likewise.
13356 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13357 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13358 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13359 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13360 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13361 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13362 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13363 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13364 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13365 compiler output for sysdeps/generic/initfini.c.
13366 * sysdeps/i386/elf/Makefile: Remove file.
13367 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13369 2012-02-07 Marek Polacek <polacek@redhat.com>
13371 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13372 * sysdeps/gnu/_G_config.h: Likewise.
13373 * sysdeps/mach/hurd/_G_config.h: Likewise.
13375 2012-02-07 Marek Polacek <polacek@redhat.com>
13377 * math/Makefile (tests): Add tst-CMPLX2.
13378 * math/tst-CMPLX2.c: New file.
13380 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13382 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13384 * math/libm-test.inc (jn_test): Add missing L suffix.
13386 2012-02-06 Marek Polacek <polacek@redhat.com>
13388 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13389 * sysdeps/i386/fpu/e_powf.S: Likewise.
13390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13391 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13393 * sysdeps/i386/fpu/e_pow.S: Likewise.
13394 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13395 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13396 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13397 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13398 * sysdeps/i386/fpu/e_log2.S: Likewise.
13399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13400 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13401 * sysdeps/i386/fpu/e_powl.S: Likewise.
13402 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13403 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13404 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13405 * sysdeps/i386/fpu/e_logl.S: Likewise.
13406 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13407 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13408 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13409 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13410 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13411 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13412 * sysdeps/i386/fpu/e_log.S: Likewise.
13413 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13415 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13416 * sysdeps/i386/fpu/e_logf.S: Likewise.
13417 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13419 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13420 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13421 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13422 * sysdeps/i386/fpu/e_log10.S: Likewise.
13423 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13424 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13425 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13426 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13428 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13429 * sysdeps/i386/asm-syntax.h: Likewise.
13430 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13433 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13434 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13435 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13436 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13437 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13439 * sysdeps/powerpc/sysdep.h: Likewise.
13440 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13441 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13443 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13446 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13448 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13450 * sysdeps/i386/sysdep.h: Include <features.h>.
13451 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13454 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13456 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13458 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13461 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13463 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13464 (SETUP_PIC_REG): Use GET_PC_THUNK.
13465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13468 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13470 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13471 for non-PIC compilation.
13472 (SETUP_PIC_REG): Add .p2align directive.
13473 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13474 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13475 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13476 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13477 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13479 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13502 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13503 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13504 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13506 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13507 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13508 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13509 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13510 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13511 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13512 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13513 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13515 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13517 * math/tst-CMPLX.c: Include <stdio.h>.
13519 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13521 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13523 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13524 * sysdeps/sparc/bits/mathdef.h: Likewise.
13526 2012-01-31 Marek Polacek <polacek@redhat.com>
13528 * libio/libio.h: Don't define _PARAMS.
13529 * locale/programs/config.h: Don't define PARAMS.
13530 * stdlib/strtol_l.c: Likewise.
13531 (__strtol_l): Remove PARAMS from the prototype.
13533 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13535 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13536 names. Just use the correct names. Remove unnecessary wrapper
13538 * malloc/arena.c: Likewise.
13539 * malloc/hooks.c: Likewise.
13541 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13542 ARENA_TEST says not to. Simplify test for creation of a new arena.
13543 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13545 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13547 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13549 (update_get_addr): New function.
13550 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13551 GET_ADDR_MODULE parameter.
13553 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13555 * crypt/cert.c: Remove __STDC__ conditionals.
13556 * crypt/crypt-entry.c: Likewise.
13557 * crypt/crypt_util.c: Likewise.
13558 * libio/filedoalloc.c: Likewise.
13559 * libio/fileops.c: Likewise.
13560 * libio/genops.c: Likewise.
13561 * libio/iofclose.c: Likewise.
13562 * libio/iofdopen.c: Likewise.
13563 * libio/iofopen.c: Likewise.
13564 * libio/iofopen64.c: Likewise.
13565 * libio/iogetdelim.c: Likewise.
13566 * libio/iopopen.c: Likewise.
13567 * libio/obprintf.c: Likewise.
13568 * libio/oldfileops.c: Likewise.
13569 * libio/oldiofclose.c: Likewise.
13570 * libio/oldiofdopen.c: Likewise.
13571 * libio/oldiofopen.c: Likewise.
13572 * libio/oldiopopen.c: Likewise.
13573 * libio/wfiledoalloc.c: Likewise.
13574 * libio/wgenops.c: Likewise.
13575 * locale/programs/xmalloc.c: Likewise.
13576 * misc/syslog.c: Likewise.
13577 * stdio-common/xbug.c: Likewise.
13578 * string/memchr.c: Likewise.
13579 * string/memcmp.c: Likewise.
13580 * string/memrchr.c: Likewise.
13581 * string/rawmemchr.c: Likewise.
13582 * sysdeps/posix/getcwd.c: Likewise.
13583 * time/strftime_l.c: Likewise.
13585 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13587 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13588 * config.make.in (config-cflags-sse2avx): Define.
13589 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13592 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13594 * scripts/config.guess: Update from upstream config git repository.
13595 * scripts/config.sub: Likewise.
13597 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13599 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13601 (R_TILEPRO_*, R_TILEGX_*): New macros.
13603 * scripts/firstversions.awk: Fix bug in version range handling.
13605 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13607 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13609 * include/sys/epoll.h: New file.
13610 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13613 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13615 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13616 Avoid unnecessary __WORDSIZE == 64 test.
13617 (fmaxf): Use VEX format if possible.
13622 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13623 * math/math_private.h: Remove libc_fegetround* and
13625 * sysdeps/i386/configure.in: Check for -msse2avx.
13626 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13627 also if SSE2AVX is defined.
13628 Remove libc_fegetround* and libc_fesetround*.
13629 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13630 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13633 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13634 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13637 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13639 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13641 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13645 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13647 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13650 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13652 * Makeconfig (libm): Define.
13653 * elf/Makefile: Add rules to build and run tst-relsort1.
13654 * elf/tst-relsort1.c: New file.
13655 * elf/tst-relsort1mod1.c: New file.
13656 * elf/tst-relsort1mod2.c: New file.
13658 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13660 * math/s_ldexp.c: Remove __STDC__ conditionals.
13661 * math/s_ldexpf.c: Likewise.
13662 * math/s_ldexpl.c: Likewise.
13663 * math/s_nextafter.c: Likewise.
13664 * math/s_nexttowardf.c: Likewise.
13665 * math/s_significand.c: Likewise.
13666 * math/s_significandf.c: Likewise.
13667 * math/s_significandl.c: Likewise.
13668 * math/w_jnl.c: Likewise.
13669 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13670 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13691 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13693 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13699 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13700 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13701 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13702 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13709 * sysdeps/ieee754/k_standard.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13789 * sysdeps/ieee754/s_matherr.c: Likewise.
13790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13795 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13797 * crypt/md5.h: Remove __STDC__ conditionals.
13798 * libio/libioP.h: Likewise.
13799 * locale/programs/config.h: Likewise.
13800 * sysdeps/generic/sysdep.h: Likewise.
13801 * sysdeps/i386/asm-syntax.h: Likewise.
13802 * sysdeps/s390/asm-syntax.h: Likewise.
13803 * sysdeps/unix/sysdep.h: Likewise.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13807 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13809 * libio/libio.h: Remove __STDC__ conditionals.
13810 * malloc/obstack.h: Likewise.
13811 * math/complex.h: Likewise.
13812 * math/math.h: Likewise.
13813 * sysdeps/generic/_G_config.h: Likewise.
13814 * sysdeps/gnu/_G_config.h: Likewise.
13815 * sysdeps/mach/hurd/_G_config.h: Likewise.
13816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13817 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13818 * sysdeps/sparc/bits/mathdef.h: Likewise.
13820 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13823 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13824 Clean up HAS_* macros.
13825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13826 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13830 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13831 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13834 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13836 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13838 * elf/tst-unique3.cc (gets): Remove declaration.
13839 * elf/tst-unique3lib.cc (gets): Likewise.
13840 * elf/tst-unique3lib2.cc (gets): Likewise.
13841 * elf/tst-unique4.cc (gets): Likewise.
13843 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13845 * include/stdio.h: Add C++ protection. Add gets declarations and
13847 * debug/tst-chk1.c: Don't declare gets here.
13848 * stdio-common/tst-gets.c: Likewise.
13850 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13852 * posix/glob: Remove directory.
13854 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13856 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13858 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13860 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13861 of the non-standard EPFNOSUPPORT.
13863 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13865 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13866 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13867 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13869 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13871 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13873 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13875 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13877 * nscd/grpcache.c (cache_addgr): Likewise.
13878 * nscd/hstcache.c (cache_addhst): Likewise.
13879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13880 * nscd/pwdcache.c (cache_addpw): Likewise.
13881 * nscd/servicescache.c (cache_addserv): Likewise.
13883 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13885 * malloc/malloc.c: Various cleanups.
13886 * malloc/hooks.c: Likewise.
13888 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13889 * stdlib/bug-fmtmsg1.c: New file.
13891 * stdlib/fmtmsg.c (init): Add missing unlock.
13892 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13894 2012-01-12 Marek Polacek <polacek@redhat.com>
13896 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13899 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13901 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13902 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13903 macro to ensure uniqueness of label name.
13904 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13905 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13907 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13909 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13911 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13912 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13913 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13916 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13918 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13920 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13921 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13924 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13926 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13927 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13931 * math/bits/math-finite.h: Add ldexp support.
13933 2012-01-10 Marek Polacek <polacek@redhat.com>
13935 * locale/programs/localedef.h (show_archive_content): Add noreturn
13938 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13942 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13944 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13946 * io/Makefile (headers): Add bits/poll2.h.
13948 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13951 typo #include statement.
13953 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13955 * include/sys/cdefs.h: Define __attribute_alloc_size.
13956 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13957 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13958 * elf/pldd.c: Likewise.
13959 * iconv/iconv_charmap.c: Likewise.
13960 * iconv/iconvconfig.c: Likewise.
13961 * iconv/strtab.c: Likewise.
13962 * locale/programs/locale.c: Likewise.
13963 * locale/programs/localedef.h: Likewise.
13964 * locale/programs/simple-hash.c: Likewise.
13965 * nscd/nscd.h: Likewise.
13966 * nss/makedb.c: Likewise.
13967 * sysdeps/generic/ldconfig.h: Likewise.
13968 * locale/programs/localedef.c: Remove xmalloc prototype.
13969 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13971 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13973 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13976 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13978 * math/Makefile (tests): Add tst-CMPLX.
13979 * math/tst-CMPLX.c: New file.
13981 * math/complex.h (CMPLXL): Fix typo.
13983 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13984 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13986 * debug/tst-chk1.c: Add poll and ppoll tests.
13987 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13988 * include/sys/poll.h: Add hidden proto for ppoll.
13989 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13990 * sysdeps/mach/hurd/ppoll.c: Likewise.
13991 * io/ppoll.c: Likewise.
13992 * debug/poll_chk.c: New file.
13993 * debug/ppoll_chk.c: New file.
13994 * include/bits/poll2.h: New file.
13995 * io/bits/poll2.h: New file.
13998 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14000 * configure.in: static is always set to yes. Remove.
14001 * config.make.in: Don't set build-static.
14002 * Makeconfig: Remove use of build-static.
14003 * dlfcn/Makefile: Likewise.
14004 * elf/Makefile: Likewise.
14005 * math/Makefile: Likewise.
14006 * misc/Makefile: Likewise.
14007 * nptl/Makefile: Likewise.
14008 * sysdeps/mach/hurd/Makefile: Likewise.
14010 * configure.in: PWD_P is not used anymore.
14011 * config.make.in: Remove PWD_P entry.
14013 * configure.in: Remove last remnants of RANLIB.
14014 No need to check for signed size_t anymore.
14015 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14017 Remove __builtin_expect test because we require at least gcc 3.4.
14018 * aclocal.m4: Likewise.
14020 * wcsmbs/mbrtoc16.c: Implement using towc function.
14021 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14022 * wcsmbs/wcsmbsload.c: Likewise.
14023 * iconv/gconv_simple.c: Likewise.
14024 * iconv/gconv_int.h: Likewise.
14025 * iconv/gconv_builtin.h: Likewise.
14026 * iconv/iconv_prog.c: Remove CHAR16 handling.
14028 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14030 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14032 * configure.in: Remove --with-elf and --enable-bounded options.
14033 Dont set base_machine for ia64. More non-ELF conditions removed.
14034 Remove testing and setting of leading underscore information.
14035 * config.make.in (build-bounded): Set to no.
14036 * config.h.in: Remove NO_UNDERSCORES entry.
14037 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14039 * csu/start.c: Remove !NO_UNDERSCORE code.
14040 * locale/localeinfo.h: Likewise.
14041 * sysdeps/generic/machine-gmon.h: Likewise.
14042 * sysdeps/generic/sysdep.h: Likewise.
14043 * sysdeps/i386/sysdep.h: Likewise.
14044 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14045 * sysdeps/mach/sysdep.h: Likewise.
14046 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14047 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14048 * sysdeps/sh/sysdep.h: Likewise.
14049 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14050 * sysdeps/unix/i386/sysdep.S: Likewise.
14051 * sysdeps/unix/sparc/start.c: Likewise.
14052 * sysdeps/unix/sparc/sysdep.S: Likewise.
14053 * sysdeps/unix/sparc/sysdep.h: Likewise.
14054 * sysdeps/unix/start.c: Likewise.
14055 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14056 * sysdeps/x86_64/sysdep.h: Likewise.
14058 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14061 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14063 * argp/argp-fmtstream.h: Use const instead __const.
14064 * argp/argp.h: Likewise.
14065 * assert/assert.h: Likewise.
14066 * bits/fenv.h: Likewise.
14067 * bits/sched.h: Likewise.
14068 * bits/sigset.h: Likewise.
14069 * bits/sigthread.h: Likewise.
14070 * catgets/nl_types.h: Likewise.
14071 * conform/data/pthread.h-data: Likewise.
14072 * crypt/crypt-private.h: Likewise.
14073 * crypt/crypt.h: Likewise.
14074 * crypt/crypt_util.c: Likewise.
14075 * ctype/ctype.h: Likewise.
14076 * debug/execinfo.h: Likewise.
14077 * debug/mbsnrtowcs_chk.c: Likewise.
14078 * debug/mbsrtowcs_chk.c: Likewise.
14079 * debug/wcsnrtombs_chk.c: Likewise.
14080 * debug/wcsrtombs_chk.c: Likewise.
14081 * debug/wcstombs_chk.c: Likewise.
14082 * dirent/dirent.h: Likewise.
14083 * dlfcn/dlfcn.h: Likewise.
14084 * elf/neededtest4.c: Likewise.
14085 * grp/grp.h: Likewise.
14086 * gshadow/gshadow.h: Likewise.
14087 * iconv/gconv.h: Likewise.
14088 * iconv/gconv_int.h: Likewise.
14089 * iconv/gconv_simple.c: Likewise.
14090 * iconv/iconv.h: Likewise.
14091 * iconv/loop.c: Likewise.
14092 * iconv/skeleton.c: Likewise.
14093 * include/aio.h: Likewise.
14094 * include/aliases.h: Likewise.
14095 * include/argz.h: Likewise.
14096 * include/arpa/inet.h: Likewise.
14097 * include/assert.h: Likewise.
14098 * include/dirent.h: Likewise.
14099 * include/dlfcn.h: Likewise.
14100 * include/execinfo.h: Likewise.
14101 * include/fcntl.h: Likewise.
14102 * include/fenv.h: Likewise.
14103 * include/glob.h: Likewise.
14104 * include/grp.h: Likewise.
14105 * include/libintl.h: Likewise.
14106 * include/mntent.h: Likewise.
14107 * include/netdb.h: Likewise.
14108 * include/pwd.h: Likewise.
14109 * include/rpc/netdb.h: Likewise.
14110 * include/sched.h: Likewise.
14111 * include/search.h: Likewise.
14112 * include/shadow.h: Likewise.
14113 * include/signal.h: Likewise.
14114 * include/stdio.h: Likewise.
14115 * include/stdlib.h: Likewise.
14116 * include/string.h: Likewise.
14117 * include/sys/socket.h: Likewise.
14118 * include/sys/stat.h: Likewise.
14119 * include/sys/statfs.h: Likewise.
14120 * include/sys/statvfs.h: Likewise.
14121 * include/sys/syslog.h: Likewise.
14122 * include/sys/time.h: Likewise.
14123 * include/sys/uio.h: Likewise.
14124 * include/time.h: Likewise.
14125 * include/unistd.h: Likewise.
14126 * include/utmp.h: Likewise.
14127 * include/wchar.h: Likewise.
14128 * include/wctype.h: Likewise.
14129 * inet/aliases.h: Likewise.
14130 * inet/arpa/inet.h: Likewise.
14131 * inet/netinet/ether.h: Likewise.
14132 * inet/netinet/in.h: Likewise.
14133 * intl/libintl.h: Likewise.
14134 * io/bits/fcntl2.h: Likewise.
14135 * io/fcntl.h: Likewise.
14136 * io/ftw.h: Likewise.
14137 * io/sys/poll.h: Likewise.
14138 * io/sys/stat.h: Likewise.
14139 * io/sys/statfs.h: Likewise.
14140 * io/sys/statvfs.h: Likewise.
14141 * io/utime.h: Likewise.
14142 * libio/bits/stdio.h: Likewise.
14143 * libio/bits/stdio2.h: Likewise.
14144 * libio/libio.h: Likewise.
14145 * libio/libioP.h: Likewise.
14146 * libio/stdio.h: Likewise.
14147 * locale/lc-ctype.c: Likewise.
14148 * locale/locale.h: Likewise.
14149 * login/utmp.h: Likewise.
14150 * malloc/arena.c: Likewise.
14151 * malloc/malloc.c: Likewise.
14152 * malloc/malloc.h: Likewise.
14153 * malloc/mcheck.c: Likewise.
14154 * malloc/mtrace.c: Likewise.
14155 * math/bits/mathcalls.h: Likewise.
14156 * math/fenv.h: Likewise.
14157 * math/math_private.h: Likewise.
14158 * misc/bits/error.h: Likewise.
14159 * misc/bits/syslog.h: Likewise.
14160 * misc/err.h: Likewise.
14161 * misc/error.h: Likewise.
14162 * misc/fstab.h: Likewise.
14163 * misc/mntent.h: Likewise.
14164 * misc/regexp.h: Likewise.
14165 * misc/search.h: Likewise.
14166 * misc/sgtty.h: Likewise.
14167 * misc/sys/mman.h: Likewise.
14168 * misc/sys/syslog.h: Likewise.
14169 * misc/sys/uio.h: Likewise.
14170 * misc/sys/xattr.h: Likewise.
14171 * misc/ttyent.h: Likewise.
14172 * nis/rpcsvc/ypclnt.h: Likewise.
14173 * nss/nss.h: Likewise.
14174 * posix/bits/unistd.h: Likewise.
14175 * posix/fnmatch.h: Likewise.
14176 * posix/glob.h: Likewise.
14177 * posix/sched.h: Likewise.
14178 * posix/spawn.h: Likewise.
14179 * posix/sys/wait.h: Likewise.
14180 * posix/unistd.h: Likewise.
14181 * posix/wordexp.h: Likewise.
14182 * pwd/pwd.h: Likewise.
14183 * resolv/netdb.h: Likewise.
14184 * resource/sys/resource.h: Likewise.
14185 * rt/aio.h: Likewise.
14186 * rt/bits/mqueue2.h: Likewise.
14187 * rt/mqueue.h: Likewise.
14188 * shadow/shadow.h: Likewise.
14189 * signal/signal.h: Likewise.
14190 * socket/send.c: Likewise.
14191 * socket/sendto.c: Likewise.
14192 * socket/sys/socket.h: Likewise.
14193 * stdio-common/printf.h: Likewise.
14194 * stdlib/bits/stdlib.h: Likewise.
14195 * stdlib/fmtmsg.h: Likewise.
14196 * stdlib/monetary.h: Likewise.
14197 * stdlib/stdlib.h: Likewise.
14198 * stdlib/ucontext.h: Likewise.
14199 * streams/stropts.h: Likewise.
14200 * string/argz.h: Likewise.
14201 * string/bits/string2.h: Likewise.
14202 * string/string.h: Likewise.
14203 * string/strings.h: Likewise.
14204 * sunrpc/rpc/auth.h: Likewise.
14205 * sunrpc/rpc/auth_des.h: Likewise.
14206 * sunrpc/rpc/clnt.h: Likewise.
14207 * sunrpc/rpc/netdb.h: Likewise.
14208 * sunrpc/rpc/pmap_clnt.h: Likewise.
14209 * sunrpc/rpc/xdr.h: Likewise.
14210 * sysdeps/generic/inttypes.h: Likewise.
14211 * sysdeps/generic/net/if.h: Likewise.
14212 * sysdeps/generic/sys/swap.h: Likewise.
14213 * sysdeps/gnu/net/if.h: Likewise.
14214 * sysdeps/gnu/utmpx.h: Likewise.
14215 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14216 * sysdeps/i386/i486/bits/string.h: Likewise.
14217 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14218 * sysdeps/s390/bits/string.h: Likewise.
14219 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14220 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14221 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14222 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14223 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14224 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14225 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14226 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14227 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14228 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14229 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14230 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14231 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14233 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14234 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14235 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14241 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14242 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14243 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14244 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14245 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14247 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14249 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14250 * sysvipc/sys/ipc.h: Likewise.
14251 * sysvipc/sys/msg.h: Likewise.
14252 * sysvipc/sys/sem.h: Likewise.
14253 * sysvipc/sys/shm.h: Likewise.
14254 * termios/termios.h: Likewise.
14255 * time/sys/time.h: Likewise.
14256 * time/time.h: Likewise.
14257 * wcsmbs/bits/wchar2.h: Likewise.
14258 * wcsmbs/uchar.h: Likewise.
14259 * wcsmbs/wchar.h: Likewise.
14260 * wctype/wctype.h: Likewise.
14263 * Makeconfig: Remove all but ELF support including AIX support.
14264 * Makerules: Likewise.
14265 * config.h.in: Likewise.
14266 * config.make.in: Likewise.
14267 * configure: Likewise.
14268 * configure.in: Likewise.
14269 * csu/Makefile: Likewise.
14270 * csu/version.c: Likewise.
14271 * debug/Makefile: Likewise.
14272 * dlfcn/Makefile: Likewise.
14273 * elf/Makefile: Likewise.
14274 * extra-lib.mk: Likewise.
14275 * iconv/Makefile: Likewise.
14276 * include/libc-symbols.h: Likewise.
14277 * include/shlib-compat.h: Likewise.
14278 * resolv/Makefile: Likewise.
14279 * resolv/res_libc.c: Likewise.
14280 * rt/Makefile: Likewise.
14281 * sysdeps/i386/asm-syntax.h: Likewise.
14282 * sysdeps/i386/sysdep.h: Likewise.
14283 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14284 * sysdeps/mach/sysdep.h: Likewise.
14285 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14286 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14287 * sysdeps/s390/asm-syntax.h: Likewise.
14288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14290 * sysdeps/sh/sysdep.h: Likewise.
14291 * sysdeps/unix/sparc/sysdep.h: Likewise.
14292 * sysdeps/wordsize-32/divdi3.c: Likewise.
14293 * sysdeps/x86_64/sysdep.h: Likewise.
14295 * argp/Versions: Remove _argp_unlock_xxx.
14298 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14299 * abilist/libBrokenLocale.abilist: Likewise.
14300 * abilist/libanl.abilist: Likewise.
14301 * abilist/libc.abilist: Likewise.
14302 * abilist/libcrypt.abilist: Likewise.
14303 * abilist/libdl.abilist: Likewise.
14304 * abilist/libm.abilist: Likewise.
14305 * abilist/libnsl.abilist: Likewise.
14306 * abilist/libpthread.abilist: Likewise.
14307 * abilist/libresolv.abilist: Likewise.
14308 * abilist/librt.abilist: Likewise.
14309 * abilist/libthread_db.abilist: Likewise.
14310 * abilist/libutil.abilist: Likewise.
14311 * abilist/libnss_db.abilist: New file.
14313 * scripts/abilist.awk: Add support for indirect functions.
14315 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14317 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14319 * shlib-versions: Remove entries for ports architectures.
14321 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14323 * elf/stackguard-macros.h: Remove support for IA-64.
14324 * elf/tst-auditmod1.c: Likewise.
14325 * sysdeps/generic/ldsodefs.h: Likewise.
14327 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14328 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14332 * configure.in: Remove --enable-omitfp support.
14334 * config.make.in: Likewise.
14335 * Makeconfig: Likewise.
14336 * manual/install.texi: Likewise.
14338 In case anyone cares, the IA-64 architecture could move to ports.
14339 * sysdeps/ia64/*: Removed.
14340 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14341 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14344 * configure.in: Remove entries for unsupported architectures.
14347 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14348 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14350 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14351 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14352 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14353 fall back to using wcrtomb.
14354 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14355 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14357 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14358 * wcsmbs/tst-c16c32-1.c: New file.
14360 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14363 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14365 * elf/tst-unique3.cc: Add explicit declaration of gets.
14366 * elf/tst-unique3lib.cc: Likewise.
14367 * elf/tst-unique3lib2.cc: Likewise.
14368 * elf/tst-unique4.cc: Likewise.
14370 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14372 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14375 * assert/assert.h (static_assert): Don't define for C++.
14376 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14377 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14379 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14381 * iconv/loop.c (single loop): Fix assertion in storing of
14384 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14386 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14388 * posix/getconf.c: Update copyright year.
14389 * nss/getent.c: Likewise.
14390 * nss/makedb.c: Likewise.
14391 * iconv/iconvconfig.c: Likewise.
14392 * iconv/iconv_prog.c: Likewise.
14393 * elf/ldconfig.c: Likewise.
14394 * elf/pldd.c: Likewise.
14395 * elf/sotruss.ksh: Likewise.
14396 * catgets/gencat.c: Likewise.
14397 * csu/version.c: Likewise.
14398 * elf/ldd.bash.in: Likewise.
14399 * elf/sprof.c (print_version): Likewise.
14400 * locale/programs/locale.c: Likewise.
14401 * locale/programs/localedef.c: Likewise.
14402 * login/programs/pt_chown.c: Likewise.
14403 * nscd/nscd.c (print_version): Likewise.
14404 * debug/xtrace.sh: Likewise.
14405 * malloc/memusage.sh: Likewise.
14406 * malloc/mtrace.pl: Likewise.
14407 * debug/catchsegv.sh: Likewise.
14409 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14411 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14414 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14417 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14418 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14420 * iconv/gconv_int.h: Likewise.
14421 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14422 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14423 from libc for GLIBC_2.16.
14424 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14425 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14426 * wcsmbs/uchar.h: Really define mbstate_t.
14427 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14428 * wcsmbs/c16rtomb.c: New file.
14429 * wcsmbs/mbrtoc16.c: New file.
14430 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14431 for C/POSIX locale.
14432 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14433 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14435 * wcsmbs/wchar.h: Add missing __restrict.
14437 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14440 * time/Makefile (routines): Add timespec_get.
14441 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14442 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14443 timespec for ISO C11.
14444 * time/timespec_get.c: New file.
14445 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14446 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14449 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14450 * stdlib/stdlib.h: Declare aligned_alloc.
14451 * Versions.def: Add GLIBC_2.16 for libc.
14452 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14455 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14458 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14462 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14465 * assert/assert.h (static_assert): Define.
14467 * version.h: Update for 2.16 development version.
14470 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14473 * version.h (RELEASE): Bump for 2.15 release.
14474 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14476 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14477 Patch by Marek Polacek <mpolacek@redhat.com>.
14479 * bits/byteswap.h: Protect long long constants with __extension__.
14480 * sysdeps/i386/bits/byteswap.h: Likewise.
14481 * sysdeps/ia64/bits/byteswap.h: Likewise.
14482 * sysdeps/s390/bits/byteswap.h: Likewise.
14483 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14485 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14489 destination buffer.
14490 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14492 2011-12-23 Marek Polacek <polacek@redhat.com>
14494 * elf/dl-addr.c (determine_info): Add inline keyword.
14495 * elf/tst-auditmod4b.c (check_avx): Likewise.
14496 * elf/tst-auditmod6b.c (check_avx): Likewise.
14497 * elf/tst-auditmod6c.c (check_avx): Likewise.
14498 * elf/tst-auditmod7b.c (check_avx): Likewise.
14500 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14502 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14505 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14508 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14509 processing for last bytes.
14511 2011-08-06 Bruno Haible <bruno@clisp.org>
14514 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14515 U+0385, not to U+1FEE.
14518 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14519 entry for U+00A5 U+0301.
14521 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14524 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14525 buffer for the output is too small.
14527 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14531 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14532 SSE flags if possible.
14534 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14537 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14538 processing for last bytes.
14540 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14542 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14543 (syscall-list-default-options, syscall-list-default-condition)
14544 (syscall-list-includes): Define.
14545 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14546 list of ABIs and options and #if conditions for each ABI. Do not
14547 handle common syscalls between ABIs specially.
14548 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14550 (syscall-list-variants, syscall-list-32bit-options)
14551 (syscall-list-32bit-condition, syscall-list-64bit-options)
14552 (syscall-list-64bit-condition): Define.
14553 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14554 (syscall-list-variants, syscall-list-32bit-options)
14555 (syscall-list-32bit-condition, syscall-list-64bit-options)
14556 (syscall-list-64bit-condition): Define.
14557 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14559 (syscall-list-variants, syscall-list-32bit-options)
14560 (syscall-list-32bit-condition, syscall-list-64bit-options)
14561 (syscall-list-64bit-condition): Define.
14562 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14564 (syscall-list-variants, syscall-list-32bit-options)
14565 (syscall-list-32bit-condition, syscall-list-64bit-options)
14566 (syscall-list-64bit-condition): Define.
14568 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14570 * locale/iso-639.def: Add brx entry.
14573 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14574 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14576 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14577 __feraiseexcept_renamed.
14579 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14582 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14583 EPOLLET with unsigned values.
14584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14585 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14587 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14588 to large cancellation.
14589 * math/s_cacoshf.c: Likewise.
14590 * math/s_cacoshl.c: Likewise.
14592 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14596 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14597 * math/s_cacoshf.c: Likewise.
14598 * math/s_cacoshl.c: Likewise.
14600 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14603 * iconv/gconv.h: Define __GCONV_SWAP.
14604 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14605 * iconvdata/utf-16.c: Likewise.
14606 * iconvdata/utf-32.c: Likewise.
14608 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14612 numerator after shifting it by one limb.
14614 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14616 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14617 under [__USE_EXTERN_INLINES].
14619 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14622 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14624 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14626 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14627 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14629 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14630 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14631 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14632 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14633 for strncasecmp/strncasecmp_l compilation.
14634 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14635 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14637 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14640 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14643 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14646 * time/tzfile.c (__tzfile_read): Check values from file header.
14648 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14650 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14651 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14652 * powerpc/powerpc32/dl-start.S: Likewise.
14653 * powerpc/powerpc32/elf/start.S: Likewise.
14654 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14655 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14656 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14657 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14658 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14659 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14660 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14661 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14662 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14663 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14664 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14665 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14666 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14667 * powerpc/powerpc32/memset.S: Likewise.
14668 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14669 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14670 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14671 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14672 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14673 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14674 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14675 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14676 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14677 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14678 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14682 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14684 * math/libm-test.inc: Added more nearbyint tests.
14685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14690 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14692 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14695 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14697 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14698 Add wcscpy-ssse3 wcscpy-c.
14699 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14700 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14701 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14702 * sysdeps/x86_64/wcschr.S: New file.
14703 * sysdeps/x86_64/wcsrchr.S: New file.
14704 * string/test-strcmp.c: Remove checking of wcscmp function for
14706 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14707 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14708 wcsrchr-sse2 wcsrchr-c.
14709 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14710 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14711 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14712 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14713 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14714 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14715 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14716 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14717 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14718 * wcsmbc/wcschr.c (WCSCHR): New macro.
14720 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14722 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14723 * wcsmbs/test-wcsrchr.c: New file.
14724 * string/test-strrchr.c: Add wcsrchr support.
14726 * wcsmbs/test-wcscpy.c: New file.
14727 * string/test-strcpy.c: Add wcscpy support.
14730 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14732 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14735 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14738 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14740 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14743 Minor optimizations.
14745 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14746 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14747 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14749 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14751 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14752 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14753 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14754 for gcc to avoid warnings.
14755 * inet/Makefile (tests): Add tst-checks.
14756 * inet/tst-checks.c: New file.
14758 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14761 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14764 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14765 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14767 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14769 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14771 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14774 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14776 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14779 conditional on GCC version.
14780 (__arch_compare_and_exchange_val_8_acq)
14781 (__arch_compare_and_exchange_val_16_acq)
14782 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14783 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14784 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14786 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14788 * sysdeps/sh/backtrace.c: New file.
14790 2011-12-02 Andreas Schwab <schwab@redhat.com>
14792 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14795 2011-12-01 Andreas Schwab <schwab@redhat.com>
14797 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14798 falling back to utime.
14800 2011-11-30 Andreas Schwab <schwab@redhat.com>
14802 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14803 expectations for float.
14805 2011-11-29 Andreas Schwab <schwab@redhat.com>
14807 * locale/weight.h (findidx): Add parameter len.
14808 * locale/weightwc.h (findidx): Likewise.
14809 * posix/fnmatch_loop.c (FCT): Adjust caller.
14810 * posix/regcomp.c (build_equiv_class): Likewise.
14811 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14812 * posix/regexec.c (check_node_accept_bytes): Likewise.
14813 * string/strcoll_l.c (STRCOLL): Likewise.
14814 * string/strxfrm_l.c (STRXFRM): Likewise.
14816 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14818 * Makefile.in: Remove CVSOPT handling.
14819 * configure.in: Remove use of AC_REVISION.
14820 * iconvdata/Makefile (distribute): No need to filter out CVS.
14821 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14824 2011-11-16 Andreas Schwab <schwab@redhat.com>
14826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14827 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14828 [USE_AS_STRNCASECMP_L]: Likewise.
14829 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14830 NO_TLS_DIRECT_SEG_REFS.
14831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14832 Fix argument offsets for non-PIC.
14833 [USE_AS_STRNCASECMP_L]: Likewise.
14834 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14835 NO_TLS_DIRECT_SEG_REFS.
14837 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14839 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14841 * locale/loadlocale.c (_nl_load_locale): Likewise.
14843 2011-11-15 Andreas Schwab <schwab@redhat.com>
14845 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14846 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14848 (SYSCALL_GETTIME): Set errno on error.
14850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14851 count references to noai6ai_cached.
14853 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14855 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14857 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14858 FD_CLOEXEC for /proc/self/maps.
14860 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14861 FD_CLOEXEC for /proc/meminfo.
14863 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14866 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14867 FD_CLOEXEC for given file.
14869 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14871 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14872 FD_CLOEXEC for /etc/hosts.
14873 (_gethtent): Likewise.
14875 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14877 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14878 cancellation and set FD_CLOEXEC for /etc/netgroup.
14880 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14881 reading /etc/publickey.
14883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14884 allow cancellation when reading /etc/group.
14886 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14888 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14890 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14891 when using data file.
14893 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14895 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14896 (write_nis_obj): Use "c" and "e" in fopen.
14898 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14900 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14902 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14904 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14906 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14909 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14911 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14913 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14915 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14916 file parsing and set FD_CLOEXEC.
14918 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14920 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14922 2011-11-14 Andreas Schwab <schwab@redhat.com>
14924 * malloc/arena.c (arena_get2): Don't call reused_arena when
14925 _int_new_arena failed.
14927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14930 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14932 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14933 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14935 to compile strcasecmp and strncasecmp.
14936 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14937 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14941 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14943 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14944 locale-defines.sym to gen-as-const-headers.
14945 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14946 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14948 to compile strcasecmp and strncasecmp.
14949 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14950 strcasecmp_l and strncasecmp_l.
14951 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14952 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14953 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14954 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14955 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14956 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14957 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14958 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14959 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14960 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14961 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14963 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14965 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14966 result of SYSDEP_GETTIME_CPU to retval.
14967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14968 parameter list to macro. Remove trailing semicolon. Adjust users.
14970 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14973 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14977 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14978 from unused variable.
14980 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14982 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14985 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14988 * sunrpc/rpc_prot.c (rejected): Fix case value.
14990 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14991 unsigned long long int to avoid warnings in shift.
14993 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14995 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14998 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14999 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15000 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15002 * nis/nis_table.c (nis_list): Use variable of correct type for
15003 result of __follow_path call.
15005 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15007 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15008 of math functions ceil, trunc, floor, round, and sqrt, when
15009 avaliable on the platform.
15010 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15012 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15013 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15014 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15016 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15018 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15019 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15021 2011-11-11 Roland McGrath <roland@hack.frob.com>
15023 * include/unistd.h: Fix __readlink return type.
15024 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15026 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15028 * stdlib/ucontext.h: Undo last change for makecontext.
15030 2011-11-11 Andreas Schwab <schwab@redhat.com>
15032 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15034 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15035 * setjmp/setjmp.h: Mark functions as non-leaf.
15036 * setjmp/bits/setjmp2.h: Likewise.
15037 * stdlib/ucontext.h: Likewise.
15039 2011-11-10 Andreas Schwab <schwab@redhat.com>
15041 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15042 (reused_arena): Don't check arena limit.
15043 (arena_get2): Atomically check arena limit.
15045 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15047 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15048 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15053 2011-11-07 Andreas Schwab <schwab@redhat.com>
15055 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15056 handler when locking.
15058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15059 Fix size of allocated buffer.
15061 2011-11-04 Andreas Schwab <schwab@redhat.com>
15064 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15065 declarations for long double functions.
15066 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15068 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15070 2011-11-03 Andreas Schwab <schwab@redhat.com>
15072 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15075 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15078 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15080 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15082 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15084 * include/alloca.h (stackinfo_alloca_round): Define.
15085 (extend_alloca): Use it.
15086 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15087 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15090 * scripts/check-local-headers.sh: Ignore libaudit.h.
15092 * nscd/Makefile (extra-objs): Make recursively expanded.
15094 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15096 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15099 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15100 * posix/tst-rfc3484-2.c: Likewise.
15101 * posix/tst-rfc3484-3.c: Likewise.
15103 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15105 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15107 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15108 process_vm_writev from libc using GLIBC_2.15 version.
15110 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15112 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15114 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15117 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15120 * nss/getent.c (initgroups_keys): Show error message in case no group
15123 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15124 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15125 __bump_nl_timestamp.
15126 * nscd/connections (nscd_init): When host database is served open
15127 netlink socket and request notification about configuration changes.
15128 (main_loop_poll): Track netlink file descriptor and bump timestamp
15129 in case data becomes available.
15130 (main_loop_epoll): Likewise.
15131 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15132 (database_pers_head): Add extra_data fileds.
15133 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15134 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15135 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15138 in6ai data, call __free_in6ai.
15139 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15140 Add -DHAVE_NETLINK.
15141 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15142 interface information. Reuse previous data if netlink timestamp
15144 (__bump_nl_timestamp): New function.
15145 (__free_in6ai): New function.
15147 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15149 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15150 close_not_cancel_no_status here.
15151 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15153 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15156 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15159 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15160 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15161 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15163 2011-07-03 Andreas Jaeger <aj@suse.de>
15166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15167 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15168 * math/libm-test.inc (sin_test): Add test case.
15170 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15173 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15174 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15176 * elf/chroot_canon.c (chroot_canon): Cleanups.
15178 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15181 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15182 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15184 * string/test-strchr.c: Make usable for strchrnul testing.
15185 * string/test-strchrnul.c: New file.
15186 * string/Makefile (strop-tests): Add strchrnul.
15188 * po/it.po: Update from translation team.
15189 * po/es.po: Likewise.
15191 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15194 the three constants needed as parameters. Drop the others.
15195 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15196 __m128i_strloadu_tolower.
15197 Create and initialize variable zero and use it in all the places
15198 where _mm_setzero_si128 was used.
15200 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15201 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15202 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15203 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15205 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15207 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15208 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15210 __mpranred, __mptan.
15211 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15212 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15213 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15214 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15215 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15216 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15218 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15219 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15221 2011-10-28 Andreas Schwab <schwab@redhat.com>
15223 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15224 redefine if SHARED.
15225 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15228 wide char related routines to wcsmbs subdir.
15230 2011-10-27 Andreas Schwab <schwab@redhat.com>
15233 * misc/sys/cdefs.h (__THROWNL): Define.
15234 * posix/unistd.h: Use __THREADNL instead of __THREAD
15235 for memory synchronization functions.
15237 2011-10-26 Roland McGrath <roland@hack.frob.com>
15240 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15242 * manual/stdio.texi (Obstack Streams): Node removed.
15244 2011-10-26 Andreas Schwab <schwab@redhat.com>
15246 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15248 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15250 * math/math_private.h (math_force_eval): Allow non-addressable
15252 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15254 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15256 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15257 file is not needed.
15259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15266 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15268 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15269 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15270 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15271 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15272 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15273 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15274 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15276 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15277 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15288 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15289 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15292 place. Use VEX encoding when compiling for AVX.
15294 2011-10-25 Andreas Schwab <schwab@redhat.com>
15296 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15297 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15299 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15301 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15303 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15304 useless if() expression.
15305 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15316 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15319 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15321 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15323 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15325 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15327 2011-10-25 Andreas Schwab <schwab@redhat.com>
15329 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15331 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15333 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15335 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15336 .text section. Avoid duplicate constants.
15337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15347 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15349 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15352 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15354 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15360 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15361 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15362 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15363 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15364 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15365 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15366 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15367 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15368 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15370 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15371 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15372 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15373 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15375 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15376 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15377 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15379 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15381 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15383 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15385 * sysdeps/x86_64/dla.h: Move to ...
15386 * sysdeps/x86_64/fpu/dla.h: ...here.
15387 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15388 situations. Use __builtin_fma only for gcc 4.6 and up.
15390 * config.make.in: Add have-mfma4 entry.
15391 * configure.in: Substitute libc_cv_cc_fma4.
15392 * math/Makefile (dbl-only-routines): Add sincostab.
15393 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15394 Use __sincostab not sincos.
15395 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15402 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15403 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15404 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15405 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15408 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15410 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15411 define aliases when function name is a macro.
15412 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15413 sysdeps/ieee754/dbl-64/sincos.tbl.
15414 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15415 fma4-enabled routines.
15416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15417 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15418 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15419 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15420 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15421 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15426 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15427 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15428 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15429 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15434 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15436 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15438 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15441 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15443 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15447 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15458 2011-10-24 Andreas Schwab <schwab@redhat.com>
15460 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15462 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15464 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15466 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15470 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15471 Remove unused variable magic_bits.
15472 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15474 * string/strnlen.c: Define and use STRNLEN macro.
15475 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15476 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15478 * wcsmbs/wcslen.c: Define and use WCSLEN.
15479 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15480 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15481 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15482 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15483 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15484 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15485 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15487 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15490 strnlen-sse2-no-bsf.
15491 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15493 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15494 Add strnlen support.
15495 (USE_AS_STRNLEN): New macro.
15496 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15497 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15498 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15499 * sysdeps/x86_64/wcslen.S: New file.
15501 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15503 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15504 XMM-moves are used for copying on small sizes.
15506 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15508 * wcsmbs/Makefile (strop-tests): Add wcschr.
15509 * wcsmbs/test-wcschr.c: New file.
15510 * string/test-strchr.c: Update.
15511 Add wcschr support.
15514 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15516 * wcsmbs/Makefile (strop-tests): Add wcslen.
15517 * wcsmbs/test-wcslen.c: New file.
15518 * string/test-strlen.c: Update.
15519 Add wcslen support.
15522 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15524 * po/it.po: Update from translation team.
15526 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15528 * sysdeps/x86_64/wcscmp.S: Update.
15529 Fix wrong comparison semantics.
15530 wcscmp shall use signed comparison not unsigned.
15531 Don't use substraction to avoid overflow bug.
15532 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15533 * wcsmbc/wcscmp.c: Likewise.
15534 * string/test-strcmp.c: Likewise.
15535 Add new tests to check cases with negative values.
15537 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15539 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15540 * sysdeps/x86_64/dla.h: ...here. New file.
15541 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15549 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15551 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15554 __ynl_finite aliases.
15556 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15560 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15562 [DLA_FMA] (EMULV): Use DLA_FMA.
15563 [DLA_FMA] (MUL12): Use EMULV.
15564 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15565 that are not needed.
15566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15574 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15576 * math/s_nan.c: Undef __nan.
15577 * math/s_nanf.c: Undef __nanf.
15578 * math/s_nanl.c: Undef __nanl.
15579 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15582 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15584 * math/s_catan.c: Add branch predictions.
15585 * math/s_catanf.c: Likewise.
15586 * math/s_catanh.c: Likewise.
15587 * math/s_catanhf.c: Likewise.
15588 * math/s_catanhl.c: Likewise.
15589 * math/s_catanl.c: Likewise.
15590 * math/s_cexp.c: Likewise.
15591 * math/s_cexpf.c: Likewise.
15592 * math/s_cexpl.c: Likewise.
15593 * math/s_clog.c: Likewise.
15594 * math/s_clog10.c: Likewise.
15595 * math/s_clog10f.c: Likewise.
15596 * math/s_clog10l.c: Likewise.
15597 * math/s_clogf.c: Likewise.
15598 * math/s_clogl.c: Likewise.
15599 * math/s_csqrt.c: Likewise.
15600 * math/s_csqrtf.c: Likewise.
15601 * math/s_csqrtl.c: Likewise.
15602 * math/s_ctanf.c: Likewise.
15603 * math/s_ctanh.c: Likewise.
15604 * math/s_ctanhf.c: Likewise.
15605 * math/s_ctanhl.c: Likewise.
15606 * math/s_ctanl.c: Likewise.
15608 * math/math_private.h: Define __nan, __nanf, __nanl.
15609 * math/s_cacosh.c: Include <math_private.h>.
15610 * math/s_cacoshl.c: Likewise.
15611 * math/s_casinh.c: Likewise.
15612 * math/s_casinhf.c: Likewise.
15613 * math/s_casinhl.c: Likewise.
15614 * math/s_ccos.c: Rely entire on ccosh.
15615 * math/s_ccosf.c: Rely entire on ccoshf.
15616 * math/s_ccosl.c: Rely entirely on ccoshl.
15617 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15618 Remove tests for FE_INVALID.
15619 * math/s_ccoshf.c: Likewise.
15620 * math/s_ccoshl.c: Likewise.
15621 * math/s_csin.c: Likewise.
15622 * math/s_csinf.c: Likewise.
15623 * math/s_csinh.c Likewise.
15624 * math/s_csinhf.c: Likewise.
15625 * math/s_csinhl.c: Likewise.
15626 * math/s_csinl.c: Likewise.
15627 * math/s_ctan.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15629 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15632 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15635 compilation problems.
15637 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15640 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15642 * sysdeps/i386/configure.in: Test for -mfma4 option.
15643 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15644 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15645 COMMON_CPUID_INDEX_80000001.
15646 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15647 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15648 use it if FMA3 is not supported.
15649 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15651 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15654 2011-10-20 Andreas Schwab <schwab@redhat.com>
15657 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15658 it would create a cycle with a link time dependency.
15660 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15662 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15664 * string/Makefile (strop-tests): Add rawmemchr.
15665 * string/test-rawmemchr.c: New file.
15667 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15669 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15670 when compiling str{,n}casecmp and when AVX is available. Hook up
15671 new optimized code in initializers.
15673 2011-10-19 Andreas Schwab <schwab@redhat.com>
15675 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15676 __feraiseexcept instead of feraiseexcept.
15678 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15680 * math/math_private.h: Define defaults for libc_fetestexcept and
15682 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15683 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15684 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15685 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15686 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15687 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15688 libc_fetestexcept and libc_feupdateenv.
15690 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15691 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15692 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15693 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15694 libc_feholdexcept_setround.
15696 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15697 Add s_nearbyint-c and s_nearbyintf-c.
15698 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15699 nearbyintf inlines.
15700 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15702 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15705 * math/math_private.h: Define defaults for libc_fegetround,
15706 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15707 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15708 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15710 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15711 standard functions.
15712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15713 Remove comments and hacks for old compiler versions.
15714 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15715 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15716 libc_feholdexceptl.
15718 2011-10-18 Andreas Schwab <schwab@redhat.com>
15720 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15721 (__feraiseexcept_renamed): Add __NTH.
15722 (feraiseexcept): Add __NTH. Rename local variables to fix
15723 namespace violations.
15725 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15727 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15729 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15731 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15732 recently added interfaces.
15733 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15735 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15736 about macro parameter expansion.
15738 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15739 __NO_MATH_INLINES is defined. Cleanups.
15741 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15742 and __floorf is target has SSE4.1.
15743 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15744 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15746 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15748 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15750 (floorf): Likewise.
15752 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15754 2011-10-17 Andreas Schwab <schwab@redhat.com>
15756 * misc/sys/cdefs.h: Fix last change.
15758 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15761 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15763 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15765 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15773 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15774 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15775 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15776 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15777 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15778 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15779 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15780 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15781 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15782 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15784 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15785 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15786 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15788 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15789 ceil, ceilf, floor, floorf.
15791 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15792 Perform IRELATIVE relocations last.
15794 * elf/do-rel.h: Add another parameter nrelative, replacing the
15795 local variable with the same name. Change name of the function
15796 to end in Rel or Rela (uppercase).
15797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15798 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15799 elf_dynamic_do_##reloc function.
15801 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15803 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15804 is sufficient, at least on modern CPUs.
15806 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15808 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15809 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15811 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15813 * math/bits/math-finite.h: Add entries for exp.
15814 * math/e_expl.c: Add __*_finite alias.
15815 * sysdeps/i386/fpu/e_exp.S: Likewise.
15816 * sysdeps/i386/fpu/e_expf.S: Likewise.
15817 * sysdeps/i386/fpu/e_expl.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15819 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15823 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15824 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15826 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15827 is sufficient, at least on modern CPUs.
15829 * ctype/ctype-info.c (__ctype_init): Define.
15830 * include/ctype.h (__ctype_init): Declare.
15831 (__ctype_b_loc): The variable is always initialized.
15832 (__ctype_toupper_loc): Likewise.
15833 (__ctype_tolower_loc): Likewise.
15834 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15835 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15837 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15839 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15841 * configure.in: Also look in $cxxmachine/include for C++ system
15844 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15846 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15847 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15848 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15849 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15850 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15851 (USE_AS_WMEMCMP): New macro.
15853 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15854 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15855 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15856 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15858 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15859 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15860 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15861 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15862 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15863 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15864 (USE_AS_WMEMCMP): New macro.
15865 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15866 * sysdeps/string/test-memcmp.c: Update.
15867 Fix simple_wmemcmp.
15869 * wcsmbs/wmemcmp.c: Update.
15870 (WMEMCMP): New macro.
15873 2011-10-12 Andreas Jaeger <aj@suse.de>
15876 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15878 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15880 * libio/iofwide.c (do_length): Avoid warning.
15882 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15884 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15886 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15888 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15889 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15890 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15891 * sysdeps/i386/i686/fpu/e_log.S: New file.
15892 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15893 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15895 * ctype/ctype.h: Add support for inlined isXXX functions when
15896 compiling C++ code.
15898 2011-10-14 Andreas Schwab <schwab@redhat.com>
15900 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15904 2011-10-13 Roland McGrath <roland@hack.frob.com>
15907 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15909 2011-10-13 Andreas Schwab <schwab@redhat.com>
15911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15912 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15915 * sysdeps/x86_64/memrchr.S: Check for zero size.
15917 * string/stratcliff.c: Add memrchr tests.
15919 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15922 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15923 rawmemchr-sse2 rawmemchr-sse2-bsf.
15924 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15925 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15926 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15927 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15928 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15929 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15930 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15931 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15932 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15934 * string/memrchr.c (MEMRCHR): New macro.
15936 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15938 Add integration with gcc's -ffinite-math-only and optimize wrapper
15940 * Versions.def: Define GLIBC_2.15 version for libm.
15941 * math/Makefile (headers): Add bits/math-finite.h.
15942 * math/bits/math-finite.h: New file.
15943 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15944 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15945 * math/e_acoshl.c: Add __*_finite alias.
15946 * math/e_acosl.c: Likewise.
15947 * math/e_asinl.c: Likewise.
15948 * math/e_atan2l.c: Likewise.
15949 * math/e_atanhl.c: Likewise.
15950 * math/e_coshl.c: Likewise.
15951 * math/e_exp10.c: Likewise.
15952 * math/e_exp10f.c: Likewise.
15953 * math/e_exp10l.c: Likewise.
15954 * math/e_exp2l.c: Likewise.
15955 * math/e_fmodl.c: Likewise.
15956 * math/e_gammal_r.c: Likewise.
15957 * math/e_hypotl.c: Likewise.
15958 * math/e_j0l.c: Likewise.
15959 * math/e_j1l.c: Likewise.
15960 * math/e_jnl.c: Likewise.
15961 * math/e_lgammal_r.c: Likewise.
15962 * math/e_log10l.c: Likewise.
15963 * math/e_log2l.c: Likewise.
15964 * math/e_logl.c: Likewise.
15965 * math/e_powl.c: Likewise.
15966 * math/e_sinhl.c: Likewise.
15967 * math/e_sqrtl.c: Likewise.
15968 * math/e_scalb.c: Completely rewritten and optimized.
15969 * math/e_scalbf.c: Likewise.
15970 * math/e_scalbl.c: Likewise.
15971 * math/w_acos.c: Likewise.
15972 * math/w_acosf.c: Likewise.
15973 * math/w_acosl.c: Likewise.
15974 * math/w_acosh.c: Likewise.
15975 * math/w_acoshf.c: Likewise.
15976 * math/w_acoshl.c: Likewise.
15977 * math/w_asin.c: Likewise.
15978 * math/w_asinf.c: Likewise.
15979 * math/w_asinl.c: Likewise.
15980 * math/w_atan2.c: Likewise.
15981 * math/w_atan2f.c: Likewise.
15982 * math/w_atan2l.c: Likewise.
15983 * math/w_atanh.c: Likewise.
15984 * math/w_atanhf.c: Likewise.
15985 * math/w_atanhl.c: Likewise.
15986 * math/w_exp10.c: Likewise.
15987 * math/w_exp10f.c: Likewise.
15988 * math/w_exp10l.c: Likewise.
15989 * math/w_fmod.c: Likewise.
15990 * math/w_fmodf.c: Likewise.
15991 * math/w_fmodl.c: Likewise.
15992 * math/w_j0.c: Likewise.
15993 * math/w_j0f.c: Likewise.
15994 * math/w_j0l.c: Likewise.
15995 * math/w_j1.c: Likewise.
15996 * math/w_j1f.c: Likewise.
15997 * math/w_j1l.c: Likewise.
15998 * math/w_jn.c: Likewise.
15999 * math/w_jnf.c: Likewise.
16000 * math/w_log.c: Likewise.
16001 * math/w_logf.c: Likewise.
16002 * math/w_logl.c: Likewise.
16003 * math/w_log10.c: Likewise.
16004 * math/w_log10f.c: Likewise.
16005 * math/w_log10l.c: Likewise.
16006 * math/w_log2.c: Likewise.
16007 * math/w_log2f.c: Likewise.
16008 * math/w_log2l.c: Likewise.
16009 * math/w_pow.c: Likewise.
16010 * math/w_powf.c: Likewise.
16011 * math/w_powl.c: Likewise.
16012 * math/w_remainder.c: Likewise.
16013 * math/w_remainderf.c: Likewise.
16014 * math/w_remainderl.c: Likewise.
16015 * math/w_scalb.c: Likewise.
16016 * math/w_scalbf.c: Likewise.
16017 * math/w_scalbl.c: Likewise.
16018 * math/w_sqrt.c: Likewise.
16019 * math/w_sqrtf.c: Likewise.
16020 * math/w_sqrtl.c: Likewise.
16021 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16022 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16024 * math/math_private.h: Declare __kernel_standard_f.
16025 * math/w_cosh.c: Remove cruft and optimize a bit.
16026 * math/w_coshf.c: Likewise.
16027 * math/w_coshl.c: Likewise.
16028 * math/w_exp2.c: Likewise.
16029 * math/w_exp2f.c: Likewise.
16030 * math/w_exp2l.c: Likewise.
16031 * math/w_hypot.c: Likewise.
16032 * math/w_hypotf.c: Likewise.
16033 * math/w_hypotl.c: Likewise.
16034 * math/w_lgamma.c: Likewise.
16035 * math/w_lgamma_r.c: Likewise.
16036 * math/w_lgammaf.c: Likewise.
16037 * math/w_lgammaf_r.c: Likewise.
16038 * math/w_lgammal.c: Likewise.
16039 * math/w_lgammal_r.c: Likewise.
16040 * math/w_sinh.c: Likewise.
16041 * math/w_sinhf.c: Likewise.
16042 * math/w_sinhl.c: Likewise.
16043 * math/w_tgamma.c: Likewise.
16044 * math/w_tgammaf.c: Likewise.
16045 * math/w_tgammal.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16047 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16048 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16049 Minor optimizations. Pretty printing. Remove cruft.
16050 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16052 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16053 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16054 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16055 * sysdeps/i386/fpu/e_asin.S: Likewise.
16056 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16057 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16058 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16059 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16060 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16061 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16063 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16064 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16065 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16066 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16067 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16068 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16069 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16070 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16071 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16072 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16073 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16074 * sysdeps/i386/fpu/e_log.S: Likewise.
16075 * sysdeps/i386/fpu/e_log10.S: Likewise.
16076 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16077 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16078 * sysdeps/i386/fpu/e_log2.S: Likewise.
16079 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16080 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16081 * sysdeps/i386/fpu/e_logf.S: Likewise.
16082 * sysdeps/i386/fpu/e_logl.S: Likewise.
16083 * sysdeps/i386/fpu/e_pow.S: Likewise.
16084 * sysdeps/i386/fpu/e_powf.S: Likewise.
16085 * sysdeps/i386/fpu/e_powl.S: Likewise.
16086 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16087 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16088 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16089 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16090 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16091 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16092 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16093 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16094 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16116 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16117 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16118 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16119 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16120 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16122 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16123 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16124 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16125 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16126 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16127 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16128 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16129 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16130 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16131 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16132 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16133 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16136 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16175 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16176 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16180 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16186 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16187 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16188 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16191 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16192 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16193 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16194 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16195 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16196 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16197 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16198 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16199 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16200 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16203 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16204 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16205 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16206 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16207 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16208 (__isnanf): Likewise.
16209 (__isinf_ns): Likewise.
16210 (__isinf_nsf): Likewise.
16211 (__finite): Likewise.
16212 (__finitef): Likewise.
16213 (__ieee754_sqrt): Define as macro.
16214 (__ieee754_sqrtf): Define as macro.
16215 (__ieee754_sqrtl): Define as macro.
16216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16218 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16219 __FINITE_MATH_ONLY__ consistent.
16220 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16222 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16224 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16227 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16229 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16231 * po/ja.po: Update from translation team.
16233 2011-10-08 Roland McGrath <roland@hack.frob.com>
16235 * locale/programs/locarchive.c (prepare_address_space): New function.
16236 (create_archive, enlarge_archive, open_archive): Use it.
16238 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16239 inside [SHARED], where it is used.
16241 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16243 * nss/getent.c (netgroup_keys): Remove unused variable.
16244 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16246 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16248 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16249 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16252 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16253 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16254 * math/Makefile (libm-calls): Add s_isinf_ns.
16255 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16256 * math/multc3.c: Likewise.
16257 * math/s_casin.c: Likewise.
16258 * math/s_casinf.c: Likewise.
16259 * math/s_casinl.c: Likewise.
16260 * math/s_ccos.c: Likewise.
16261 * math/s_ccosf.c: Likewise.
16262 * math/s_ccosl.c: Likewise.
16263 * math/s_ctan.c: Likewise.
16264 * math/s_ctanf.c: Likewise.
16265 * math/s_ctanh.c: Likewise.
16266 * math/s_ctanhf.c: Likewise.
16267 * math/s_ctanhl.c: Likewise.
16268 * math/s_ctanl.c: Likewise.
16269 * math/w_fmod.c: Likewise.
16270 * math/w_fmodf.c: Likewise.
16271 * math/w_fmodl.c: Likewise.
16272 * math/w_remainder.c: Likewise.
16273 * math/w_remainderf.c: Likewise.
16274 * math/w_remainderl.c: Likewise.
16275 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16276 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16279 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16280 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16281 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16282 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16284 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16286 * stdio-common/printf_fphex.c: Likewise.
16287 * stdio-common/printf_size.c: Likewise.
16289 * math/e_exp10.c: Include math_private.h using <...> not "...".
16290 * math/e_exp10f.c: Likewise.
16291 * math/e_exp10l.c: Likewise.
16292 * math/e_exp2l.c: Likewise.
16293 * math/e_j0l.c: Likewise.
16294 * math/e_j1l.c: Likewise.
16295 * math/e_jnl.c: Likewise.
16296 * math/e_lgammal_r.c: Likewise.
16297 * math/e_rem_pio2l.c: Likewise.
16298 * math/e_scalb.c: Likewise.
16299 * math/e_scalbf.c: Likewise.
16300 * math/e_scalbl.c: Likewise.
16301 * math/k_cosl.c: Likewise.
16302 * math/k_sinl.c: Likewise.
16303 * math/k_tanl.c: Likewise.
16304 * math/s_cacoshf.c: Likewise.
16305 * math/s_catan.c: Likewise.
16306 * math/s_catanf.c: Likewise.
16307 * math/s_catanh.c: Likewise.
16308 * math/s_catanhf.c: Likewise.
16309 * math/s_catanhl.c: Likewise.
16310 * math/s_catanl.c: Likewise.
16311 * math/s_ccosh.c: Likewise.
16312 * math/s_ccoshf.c: Likewise.
16313 * math/s_ccoshl.c: Likewise.
16314 * math/s_cexp.c: Likewise.
16315 * math/s_cexpf.c: Likewise.
16316 * math/s_cexpl.c: Likewise.
16317 * math/s_clog.c: Likewise.
16318 * math/s_clog10.c: Likewise.
16319 * math/s_clog10f.c: Likewise.
16320 * math/s_clog10l.c: Likewise.
16321 * math/s_clogf.c: Likewise.
16322 * math/s_clogl.c: Likewise.
16323 * math/s_csin.c: Likewise.
16324 * math/s_csinf.c: Likewise.
16325 * math/s_csinh.c: Likewise.
16326 * math/s_csinhf.c: Likewise.
16327 * math/s_csinhl.c: Likewise.
16328 * math/s_csinl.c: Likewise.
16329 * math/s_csqrt.c: Likewise.
16330 * math/s_csqrtf.c: Likewise.
16331 * math/s_csqrtl.c: Likewise.
16332 * math/s_ctan.c: Likewise.
16333 * math/s_ctanf.c: Likewise.
16334 * math/s_ctanh.c: Likewise.
16335 * math/s_ctanhf.c: Likewise.
16336 * math/s_ctanhl.c: Likewise.
16337 * math/s_ctanl.c: Likewise.
16338 * math/s_ldexp.c: Likewise.
16339 * math/s_ldexpf.c: Likewise.
16340 * math/s_ldexpl.c: Likewise.
16341 * math/s_significand.c: Likewise.
16342 * math/s_significandf.c: Likewise.
16343 * math/s_significandl.c: Likewise.
16344 * math/w_acos.c: Likewise.
16345 * math/w_acosf.c: Likewise.
16346 * math/w_acosh.c: Likewise.
16347 * math/w_acoshf.c: Likewise.
16348 * math/w_acoshl.c: Likewise.
16349 * math/w_acosl.c: Likewise.
16350 * math/w_asin.c: Likewise.
16351 * math/w_asinf.c: Likewise.
16352 * math/w_asinl.c: Likewise.
16353 * math/w_atan2.c: Likewise.
16354 * math/w_atan2f.c: Likewise.
16355 * math/w_atan2l.c: Likewise.
16356 * math/w_atanh.c: Likewise.
16357 * math/w_atanhf.c: Likewise.
16358 * math/w_atanhl.c: Likewise.
16359 * math/w_cosh.c: Likewise.
16360 * math/w_coshf.c: Likewise.
16361 * math/w_coshl.c: Likewise.
16362 * math/w_dremf.c: Likewise.
16363 * math/w_exp10.c: Likewise.
16364 * math/w_exp10f.c: Likewise.
16365 * math/w_exp10l.c: Likewise.
16366 * math/w_exp2.c: Likewise.
16367 * math/w_exp2f.c: Likewise.
16368 * math/w_fmod.c: Likewise.
16369 * math/w_fmodf.c: Likewise.
16370 * math/w_fmodl.c: Likewise.
16371 * math/w_hypot.c: Likewise.
16372 * math/w_hypotf.c: Likewise.
16373 * math/w_hypotl.c: Likewise.
16374 * math/w_j0.c: Likewise.
16375 * math/w_j0f.c: Likewise.
16376 * math/w_j0l.c: Likewise.
16377 * math/w_j1.c: Likewise.
16378 * math/w_j1f.c: Likewise.
16379 * math/w_j1l.c: Likewise.
16380 * math/w_jn.c: Likewise.
16381 * math/w_jnf.c: Likewise.
16382 * math/w_jnl.c: Likewise.
16383 * math/w_lgamma.c: Likewise.
16384 * math/w_lgamma_r.c: Likewise.
16385 * math/w_lgammaf.c: Likewise.
16386 * math/w_lgammaf_r.c: Likewise.
16387 * math/w_lgammal.c: Likewise.
16388 * math/w_lgammal_r.c: Likewise.
16389 * math/w_log.c: Likewise.
16390 * math/w_log10.c: Likewise.
16391 * math/w_log10f.c: Likewise.
16392 * math/w_log10l.c: Likewise.
16393 * math/w_log2.c: Likewise.
16394 * math/w_log2f.c: Likewise.
16395 * math/w_log2l.c: Likewise.
16396 * math/w_logf.c: Likewise.
16397 * math/w_logl.c: Likewise.
16398 * math/w_pow.c: Likewise.
16399 * math/w_powf.c: Likewise.
16400 * math/w_powl.c: Likewise.
16401 * math/w_remainder.c: Likewise.
16402 * math/w_remainderf.c: Likewise.
16403 * math/w_remainderl.c: Likewise.
16404 * math/w_scalb.c: Likewise.
16405 * math/w_scalbf.c: Likewise.
16406 * math/w_scalbl.c: Likewise.
16407 * math/w_sinh.c: Likewise.
16408 * math/w_sinhf.c: Likewise.
16409 * math/w_sinhl.c: Likewise.
16410 * math/w_sqrt.c: Likewise.
16411 * math/w_sqrtf.c: Likewise.
16412 * math/w_sqrtl.c: Likewise.
16413 * math/w_tgamma.c: Likewise.
16414 * math/w_tgammaf.c: Likewise.
16415 * math/w_tgammal.c: Likewise.
16417 * po/ja.po: Update from translation team.
16419 2011-09-29 Andreas Jaeger <aj@suse.de>
16422 * sunrpc/netname.c (netname2host): Fix logic.
16426 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16428 * math/w_remainder.c (__remainder): Likewise.
16429 * math/w_remainderf.c (__remainderf): Likewise.
16430 * math/libm-test.inc (remainder_test): Add test cases.
16432 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16434 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16437 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16439 * string/test-memcmp.c: Avoid unncessary #defines.
16440 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16442 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16444 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16445 Use new sse2 version for core i3 - i7 as it's faster
16446 than sse42 version.
16447 (bit_Prefer_PMINUB_for_stringop): New.
16448 * sysdeps/x86_64/rawmemchr.S: Update.
16449 Replace with faster SSE2 version.
16450 * sysdeps/x86_64/memrchr.S: New file.
16451 * sysdeps/x86_64/memchr.S: Update.
16452 Replace with faster SSE2 version.
16454 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16456 * elf/dl-load.c (lose): Add cast to avoid warning.
16458 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16460 * po/ca.po: Update from translation team.
16462 * inet/getnetgrent_r.c: Hook up nscd.
16463 * nscd/Makefile (routines): Add nscd_netgroup.
16464 (nscd-modules): Add netgroupcache.
16465 (CFLAGS-netgroupcache.c): Define.
16466 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16467 (cache_search): Add const to second parameter.
16468 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16470 (dbs): Add netgrdb entry.
16471 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16472 (verify_persistent_db): Handle netgrdb.
16473 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16474 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16476 (netgroup_response_header): Define.
16477 (innetgroup_response_header): Define.
16478 (datahead): Add netgroup_response_header and innetgroup_response_header
16480 * nscd/nscd.conf: Add entries for netgroup cache.
16481 * nscd/nscd.h (dbtype): Add netgrdb.
16482 (_PATH_NSCD_NETGROUP_DB): Define.
16483 (netgroup_iov_disabled): Declare.
16484 (xmalloc, xcalloc, xrealloc): Move declarations here.
16485 (cache_search): Adjust prototype.
16486 Add netgroup-related prototypes.
16487 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16488 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16489 (__nscd_innetgr): Declare.
16490 * nscd/selinux.c (perms): Use access_vector_t as element type and
16491 add netgroup-related initializers.
16492 * nscd/netgroupcache.c: New file.
16493 * nscd/nscd_netgroup.c: New file.
16494 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16495 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16496 For four parameters use innetgr.
16497 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16498 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16499 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16500 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16502 * nscd/connections.c (register_traced_file): Don't register file
16503 for disabled databases.
16505 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16507 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16509 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16510 from tree and freeing node.
16512 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16514 * nss/nsswitch.c (__nss_database_lookup): Handle
16515 nss_parse_service_list out of memory case.
16517 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16519 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16520 out of memory case.
16522 2011-10-04 Andreas Schwab <schwab@redhat.com>
16524 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16525 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16527 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16528 elf_machine_rela, elf_machine_lazy_rel.
16529 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16530 (ELF_DYNAMIC_DO_REL): Likewise.
16531 (ELF_DYNAMIC_DO_RELA): Likewise.
16532 (ELF_DYNAMIC_RELOCATE): Likewise.
16533 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16534 to ELF_DYNAMIC_DO_REL.
16535 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16536 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16537 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16540 skip_ifunc, don't call ifunc function if non-zero.
16541 (elf_machine_rela): Likewise.
16542 (elf_machine_lazy_rel): Likewise.
16543 (elf_machine_lazy_rela): Likewise.
16544 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16545 (elf_machine_lazy_rel): Likewise.
16546 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16548 (elf_machine_lazy_rel): Likewise.
16549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16551 (elf_machine_lazy_rel): Likewise.
16552 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16553 (elf_machine_lazy_rel): Likewise.
16554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16555 (elf_machine_lazy_rel): Likewise.
16556 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16557 (elf_machine_lazy_rel): Likewise.
16558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16559 (elf_machine_lazy_rel): Likewise.
16560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16561 (elf_machine_lazy_rel): Likewise.
16562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16563 (elf_machine_lazy_rel): Likewise.
16565 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16567 * nss/nss_files/files-init.c (_nss_files_init): Use static
16568 initialization for all the *_traced_file variables.
16570 2011-09-28 Andreas Schwab <schwab@redhat.com>
16572 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16574 2011-09-27 Roland McGrath <roland@hack.frob.com>
16577 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16579 2011-09-27 Andreas Schwab <schwab@redhat.com>
16581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16582 Reread the line before reparsing it.
16584 2011-09-26 Andreas Schwab <schwab@redhat.com>
16586 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16588 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16589 Maxim Kuvyrkov <maxim@codesourcery.com>
16590 Joseph Myers <joseph@codesourcery.com>
16592 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16593 if needed for __stack_chk_guard.
16595 2011-09-19 Roland McGrath <roland@hack.frob.com>
16597 * sysdeps/posix/spawni.c (script_execute): Always define it.
16598 It will be optimized away if unused.
16599 (maybe_script_execute): New function.
16600 (__spawni): Call it.
16602 * Makerules: Don't include tls.make.
16603 (config-tls): Always set to thread.
16604 * tls.make.c: File removed.
16606 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16608 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16609 * config.make.in (CPPFLAGS-config): New substituted variable.
16611 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16616 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16617 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16619 2011-09-15 Roland McGrath <roland@hack.frob.com>
16621 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16622 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16624 (CALL_FAIL): Likewise.
16625 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16626 (CALL_FAIL): Macro removed.
16627 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16629 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16631 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16632 for __FINITE_MATH_ONLY__ == 1.
16634 2011-09-15 Andreas Schwab <schwab@redhat.com>
16636 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16637 __ieee754_sqrt instead of sqrt.
16638 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16639 __ieee754_sqrtf instead of sqrtf.
16640 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16641 __floorf instead of floorf.
16642 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16643 __floorf, __truncf instead of floorf, truncf.
16645 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16647 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16649 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16650 __extern_always_inline.
16651 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16654 2011-09-14 Andreas Schwab <schwab@redhat.com>
16656 * elf/rtld.c (dl_main): Also relocate in dependency order when
16657 doing symbol dependency testing.
16659 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16662 Always define `refsym'.
16664 2011-09-13 Andreas Schwab <schwab@redhat.com>
16666 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16667 (__FD_ELT): Renamed from __FDELT.
16668 * misc/bits/select2.h (__FD_ELT): Likewise.
16669 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16670 __FD_MASK instead of __FDELT, __FDMASK.
16671 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16673 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16676 * elf/Makefile (gen-ldd): Fix pattern.
16678 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16679 (init_tls): Likewise.
16681 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16685 2011-09-12 Andreas Schwab <schwab@redhat.com>
16687 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16688 `struct cmsghdr *' instead of `void *'.
16689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16692 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16694 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16696 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16697 ldd_rewrite_script.
16699 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16701 * configure.in: Remove --with-tls option.
16702 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16703 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16704 out in case it is missing.
16705 * sysdeps/ia64/elf/configure.in: Likewise.
16706 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16707 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16708 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16709 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16710 * sysdeps/sh/elf/configure.in: Likewise.
16711 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16712 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16713 * sysdeps/x86_64/elf/configure.in: Likewise.
16714 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16715 * sysdeps/mach/hurd/tls.h: Likewise.
16718 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16721 * configure.in: Fix use of AC_INIT.
16723 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16725 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16727 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16729 * malloc/hooks.c: Likewise.
16732 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16733 variables statically.
16734 (narenas): Initialize.
16735 (list_lock): Initialize.
16736 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16737 initializtion of main_arena and list_lock. Small cleanups.
16738 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16739 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16740 Add initializers to main_arena and mp_.
16741 (malloc_state): Remove pagesize member. Change all users to use
16744 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16745 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16746 is always initialized.
16748 * malloc/malloc.c: Removed unused configurations and dead code.
16749 * malloc/arena.c: Likewise.
16750 * malloc/hooks.c: Likewise.
16751 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16753 * include/tls.h: Removed. USE___THREAD must always be defined.
16754 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16755 * elf/dl-libc.c: Likewise.
16756 * elf/dl-tsd.c: Likewise.
16757 * include/errno.h: Likewise.
16758 * include/netdb.h: Likewise.
16759 * include/resolv.h: Likewise.
16760 * inet/herrno-loc.c: Likewise.
16761 * inet/herrno.c: Likewise.
16762 * malloc/arena.c: Likewise.
16763 * malloc/hooks.c: Likewise.
16764 * malloc/malloc.c: Likewise.
16765 * resolv/res-state.c: Likewise.
16766 * resolv/res_libc.c: Likewise.
16767 * sysdeps/i386/dl-machine.h: Likewise.
16768 * sysdeps/ia64/dl-machine.h: Likewise.
16769 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16771 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16772 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16773 * sysdeps/sh/dl-machine.h: Likewise.
16774 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16775 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16776 * sysdeps/unix/i386/sysdep.S: Likewise.
16777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16778 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16783 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16788 * sysdeps/x86_64/dl-machine.h: Likewise.
16789 * tls.make.c: Likewise.
16791 * configure.in: Remove --with-__thread option. Make tests for
16792 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16793 tls_model attribute fail if no support is available. Remove
16795 * Makeconfig: Adjust for dropped configure option. All features are
16797 * Makerules: Likewise.
16798 * Versions.def: Likewise.
16799 * argp/argp-fmtstream.c: Likewise.
16800 * argp/argp-fmtstream.h: Likewise.
16801 * argp/argp-help.c: Likewise.
16802 * assert/assert.c: Likewise.
16803 * config.h.in: Likewise.
16804 * config.make.in: Likewise.
16805 * configure: Likewise.
16806 * configure.in: Likewise.
16807 * csu/Versions: Likewise.
16808 * csu/init.c: Likewise.
16809 * elf/tst-audit2.c: Likewise.
16810 * elf/tst-tls10.c: Likewise.
16811 * elf/tst-tls10.h: Likewise.
16812 * elf/tst-tls11.c: Likewise.
16813 * elf/tst-tls12.c: Likewise.
16814 * elf/tst-tls14.c: Likewise.
16815 * elf/tst-tlsmod11.c: Likewise.
16816 * elf/tst-tlsmod12.c: Likewise.
16817 * elf/tst-tlsmod13.c: Likewise.
16818 * elf/tst-tlsmod13a.c: Likewise.
16819 * elf/tst-tlsmod14a.c: Likewise.
16820 * elf/tst-tlsmod15b.c: Likewise.
16821 * elf/tst-tlsmod16a.c: Likewise.
16822 * elf/tst-tlsmod16b.c: Likewise.
16823 * elf/tst-tlsmod7.c: Likewise.
16824 * elf/tst-tlsmod8.c: Likewise.
16825 * elf/tst-tlsmod9.c: Likewise.
16826 * gmon/gmon.c: Likewise.
16827 * grp/fgetgrent_r.c: Likewise.
16828 * grp/putgrent.c: Likewise.
16829 * hurd/fopenport.c: Likewise.
16830 * include/libc-symbols.h: Likewise.
16831 * include/tls.h: Likewise.
16832 * intl/gettextP.h: Likewise.
16833 * intl/loadinfo.h: Likewise.
16834 * locale/global-locale.c: Likewise.
16835 * locale/localeinfo.h: Likewise.
16836 * mach/devstream.c: Likewise.
16837 * malloc/arena.c: Likewise.
16838 * malloc/set-freeres.c: Likewise.
16839 * misc/err.c: Likewise.
16840 * misc/getttyent.c: Likewise.
16841 * misc/mntent_r.c: Likewise.
16842 * posix/getopt.c: Likewise.
16843 * posix/wordexp.c: Likewise.
16844 * pwd/fgetpwent_r.c: Likewise.
16845 * resolv/Versions: Likewise.
16846 * resolv/res_hconf.c: Likewise.
16847 * shadow/fgetspent_r.c: Likewise.
16848 * shadow/putspent.c: Likewise.
16849 * stdio-common/printf_fphex.c: Likewise.
16850 * stdio-common/tmpfile.c: Likewise.
16851 * stdlib/abort.c: Likewise.
16852 * stdlib/fmtmsg.c: Likewise.
16853 * sunrpc/auth_unix.c: Likewise.
16854 * sunrpc/clnt_perr.c: Likewise.
16855 * sunrpc/clnt_tcp.c: Likewise.
16856 * sunrpc/clnt_udp.c: Likewise.
16857 * sunrpc/clnt_unix.c: Likewise.
16858 * sunrpc/openchild.c: Likewise.
16859 * sunrpc/svc_simple.c: Likewise.
16860 * sunrpc/svc_tcp.c: Likewise.
16861 * sunrpc/svc_udp.c: Likewise.
16862 * sunrpc/svc_unix.c: Likewise.
16863 * sunrpc/xdr.c: Likewise.
16864 * sunrpc/xdr_array.c: Likewise.
16865 * sunrpc/xdr_rec.c: Likewise.
16866 * sunrpc/xdr_ref.c: Likewise.
16867 * sunrpc/xdr_stdio.c: Likewise.
16869 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16871 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16873 2011-07-03 Andreas Jaeger <aj@suse.de>
16875 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16876 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16877 regenerate with gen-libm-tests.pl.
16879 2010-05-12 Petr Baudis <pasky@suse.cz>
16882 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16883 around j0() zero points by switching to j1().
16884 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16889 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16891 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16893 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16896 Patch in part by Pavel Roskin <proski@gnu.org>.
16899 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16901 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16902 Free memory block if necessary.
16905 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16906 be NULL. Don't lock in this case.
16908 2011-09-09 Roland McGrath <roland@hack.frob.com>
16910 * elf/elf.h (ELFOSABI_GNU): New macro.
16911 (ELFOSABI_LINUX): Define to that.
16913 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16915 * string/strncat.c (strncat): Undef the symbol in case it has been
16916 defined in bits/string.h.
16918 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16920 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16922 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16925 2011-08-17 Andreas Jaeger <aj@suse.de>
16927 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16929 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16930 Ian Lance Taylor <iant@google.com>
16932 * math/libm-test.inc (lround_test): New testcase.
16933 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16935 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16937 * Makefile: Remove support for automatic cvs check-ins.
16938 * Makerules: Likewise.
16939 * config.make.in: Likewise.
16940 * configure.in: Likewise.
16941 * intl/Makefile: Likewise.
16942 * locale/Makefile: Likewise.
16943 * po/Makefile: Likewise.
16944 * posix/Makefile: Likewise.
16945 * sysdeps/gnu/Makefile: Likewise.
16946 * sysdeps/mach/hurd/Makefile: Likewise.
16947 * sysdeps/sparc/sparc32/Makefile: Likewise.
16950 * posix/Makefile (bug-regex32-ENV): Define.
16951 Patch by John Stanley <jpsinthemix@verizon.net>.
16953 * misc/Makefile (headers): Add bits/select2.h.
16954 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16955 * misc/bits/select2.h: New file.
16956 * include/bits/select2.h: New file.
16957 * debug/Makefile (routines): Add fdelt_chk.
16958 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16959 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16961 * debug/fdelt_chk.c: New file.
16963 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16964 * wcsmbs/test-wmemcmp.c: Likewise.
16965 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16966 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16968 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16970 * string/Makefile (strop-tests): Add memcmp.
16971 * string/test-wmemcmp.c: New file.
16972 * string/test-memcmp.c: Add wmemcmp support.
16974 2011-09-08 Roland McGrath <roland@hack.frob.com>
16977 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16980 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16981 garbage value in a __mach_port_mod_refs call in the cases of the
16982 task-self and thread-self ports.
16984 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16986 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16988 2011-09-08 Andreas Schwab <schwab@redhat.com>
16990 * elf/dl-load.c (lose): Check for non-null L.
16992 2011-09-07 Ulrich Drepper <drepper@gmail.com>
16994 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16996 * elf/dl-libc.c (dlerror_run): Pass back error code from
17000 * elf/dl-load.c (lose): Free l_origin if it is valid.
17002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17004 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17006 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17008 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17009 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17011 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17013 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17014 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17015 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17017 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17018 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17019 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17020 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17021 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17022 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17024 2011-08-15 Alan Modra <amodra@gmail.com>
17027 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17028 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17029 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17030 ppc_mcount to static-only-routines.
17031 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17033 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17034 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17036 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17038 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17039 for finite and infinity parameters.
17041 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17044 and add nop instructions for throughput optimization.
17045 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17047 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17049 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17050 aligned copy for power7 with vector-scalar instructions.
17051 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17053 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17058 2011-09-07 Andreas Schwab <schwab@redhat.com>
17061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17064 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17066 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17067 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17068 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17072 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17075 Forgot to demangle the pointer.
17077 * sysdeps/i386/sysdep.h: Define atom_text_section.
17078 * sysdeps/x86_64/sysdep.h: Likewise.
17079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17080 section with atom_text_section.
17081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17082 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17083 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17084 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17085 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17088 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17089 already be defined. Change to take two parameters and don't assign
17090 result to variable. Adjust all users.
17091 Define INTERNAL_GETTIME if not already defined.
17092 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17095 HAVE_CLOCK_GETTIME_VSYSCALL.
17096 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17099 gettimeofday vsyscall, just use time.
17101 2011-09-06 Andreas Schwab <schwab@redhat.com>
17103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17106 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17108 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17112 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17114 syscall if possible.
17116 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17118 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17119 e_ident. Don't pass to find_mapsXX.
17120 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17122 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17125 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17126 * sysdeps/x86_64/multiarch/strchr.S: Update.
17127 Check bit_slow_BSF bit.
17128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17129 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17132 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17135 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17137 (tryshell): Define.
17138 (__spawni): Change last parameter to be flag. Test
17139 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17140 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17141 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17142 * posix/spawni.c: Likewise.
17143 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17144 * posix/spawnp.c: Likewise. Change normal version to use
17145 SPAWN_XFLAGS_USE_PATH.
17146 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17147 SPAWN_XFLAGS_TRY_SHELL.
17150 * posix/glob.h: Remove gcc 1.x support.
17153 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17155 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17158 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17160 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17161 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17162 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17163 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17164 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17165 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17167 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17169 * sysdeps/x86_64/wcscmp.S: New file.
17171 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17172 wcscmp-c wcscmp-sse2
17173 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17174 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17175 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17176 * wcsmbs/wcscmp.c: Allow renaming.
17178 2011-09-05 David S. Miller <davem@davemloft.net>
17180 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17181 stack slot, rather than the struct return pointer slot.
17182 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17183 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17185 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17187 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17189 * po/ja.po: Update from translation team.
17192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17193 kernel in 64-bit binaries.
17195 2011-09-01 David S. Miller <davem@davemloft.net>
17197 * elf/elf.h (HWCAP_SPARC_*): Move to..
17198 * sysdeps/sparc/sysdep.h: this new file and add new values.
17199 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17200 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17201 _DL_HWCAP_COUNT to 24.
17202 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17204 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17205 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17206 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17208 instead of magic constants.
17209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17211 2011-08-31 David S. Miller <davem@davemloft.net>
17213 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17215 Reimplement to do errno handling inline.
17216 (SYSCALL_ERROR_HANDLER): New macro.
17217 (__SYSCALL_STRING): Do not do errno handling in asm.
17218 (__CLONE_SYSCALL_STRING): Delete.
17219 (__INTERNAL_SYSCALL_STRING): Delete.
17220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17221 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17222 (PSEUDO): Reimplement to do errno handling inline.
17223 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17224 (SYSCALL_ERROR_HANDLER): New macro.
17225 (__SYSCALL_STRING): Do not do errno handling in asm.
17226 (__CLONE_SYSCALL_STRING): Delete.
17227 (__INTERNAL_SYSCALL_STRING): Delete.
17228 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17229 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17231 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17232 (inline_syscall*): Add 'err' argument.
17233 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17234 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17235 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17236 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17238 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17239 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17241 2011-08-30 Andreas Schwab <schwab@redhat.com>
17243 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17245 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17247 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17250 2011-08-24 David S. Miller <davem@davemloft.net>
17252 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17254 2011-08-24 Andreas Schwab <schwab@redhat.com>
17256 * elf/Makefile: Add rules to build and run unload8 test.
17257 * elf/unload8.c: New file.
17258 * elf/unload8mod1.c: New file.
17259 * elf/unload8mod1x.c: New file.
17260 * elf/unload8mod2.c: New file.
17261 * elf/unload8mod3.c: New file.
17263 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17266 2011-08-23 David S. Miller <davem@davemloft.net>
17268 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17269 subtract stack bias.
17270 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17271 %sp not %fp in calculations.
17272 (_JMPBUF_UNWINDS_ADJ): Likewise.
17274 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17275 (aio_suspend): Call it to force an exception region around the
17276 AIO_MISC_WAIT() invocation.
17278 2011-08-23 Andreas Schwab <schwab@redhat.com>
17280 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17283 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17285 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17287 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17288 and <dl-machine.h>.
17289 (Elf64_FuncDesc): Remove.
17291 2011-08-22 David S. Miller <davem@davemloft.net>
17293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17294 sigaltstack check, add missing cfi directives.
17295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17296 missing cfi directives, and sigaltstack handling.
17298 2011-08-16 Andreas Schwab <schwab@redhat.com>
17301 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17302 object is seen twice.
17303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17305 * elf/Makefile (distribute): Add tst-initorder2.c.
17306 (tests): Add tst-initorder2.
17307 (modules-names): Add tst-initorder2a tst-initorder2b
17308 tst-initorder2c tst-initorder2d. Add rules to build them.
17309 ($(objpfx)tst-initorder2.out): New rule.
17310 * elf/tst-initorder2.c: New file.
17311 * elf/tst-initorder2.exp: New file.
17313 2011-08-22 Andreas Schwab <schwab@redhat.com>
17315 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17317 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17318 dependencies back to end of function.
17320 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17321 $(elfobjdir)/ld.so.
17323 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17326 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17328 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17329 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17330 of __vdso_gettimeofday.
17331 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17332 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17334 (_libc_vdso_platform_setup): Remove initialization of
17335 __vdso_gettimeofday and __vdso_time.
17337 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17339 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17340 and fgetc_unlocked.
17341 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17344 * elf/dl-open.c (add_to_global): Report additions to the global scope
17345 for LD_DEBUG=scopes.
17346 (dl_open_worker): Also print scope of newly loaded dependencies.
17347 (_dl_show_scope): Indicate if there is no scope.
17350 * stdio-common/Makefile (tests): Add bug24.
17351 * stdio-common/bug24.c: New file.
17353 2011-08-19 Andreas Jaeger <aj@suse.de>
17356 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17357 non-existant file when using close-on-exec mode.
17359 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17362 the very first instruction.
17364 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17365 the CFI state in the end.
17366 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17367 inclusion of dl-trampoline.h.
17368 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17370 2011-08-19 Andreas Schwab <schwab@redhat.com>
17372 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17373 expectations for long double.
17375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17376 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17378 2011-08-14 David S. Miller <davem@davemloft.net>
17380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17381 artificual limit depends upon the system page size.
17383 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17385 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17386 * resolv/Makefile: Define CFLAGS-libresolv.
17388 2011-08-17 Andreas Schwab <schwab@redhat.com>
17390 * nss/makedb.c (compute_tables): Make variables used in nested
17393 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17395 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17396 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17397 if buffer was too small.
17399 * elf/pldd.c (main): Attach to all threads in the process.
17400 Rewrite /proc handling to use *at functions.
17402 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17404 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17405 specifies first scope to show.
17406 (dl_open_worker): Update callers. Move printing scope of new
17407 object to before the relocation.
17408 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17409 * sysdeps/generic/ldsodefs.h: Update declaration.
17411 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17412 string for the scope number.
17414 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17416 * nscd/servicescache.c (cache_addserv): Make sure written is always
17419 2011-08-14 Roland McGrath <roland@hack.frob.com>
17421 * sysdeps/i386/i486/bits/atomic.h
17422 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17423 statement expression, so as to suppress "set but not used" warning.
17424 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17426 * string/strncat.c (STRNCAT): Use prototype definition.
17428 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17429 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17431 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17432 (localedef-modules): Add localedef.
17433 (locale-modules): Add locale.
17435 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17436 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17437 to avoid a warning.
17439 2011-08-14 David S. Miller <davem@davemloft.net>
17441 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17442 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17444 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17446 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17447 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17448 * elf/rtld.c (dl_main): Set l_name of vDSO.
17449 Call _dl_show_scope when DL_DEBUG_SCOPES.
17450 (process_dl_debug): Recognize scopes flag and also set it for all.
17451 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17452 Declare _dl_show_scope.
17454 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17455 (do_dlopen): Pass caller_dlopen to dl_open.
17456 (__libc_dlopen_mode): Initialize caller_dlopen.
17458 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17459 of libc. Make tolower call locale-independent. Optimize a bit by
17460 using isdigit instead of isalnum.
17461 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17463 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17465 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17466 was a dependency or dynamically loaded.
17468 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17470 * intl/l10nflist.c: Allow architecture-specific pop function.
17471 * sysdeps/x86_64/l10nflist.c: New file.
17473 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17476 2011-08-10 Andreas Schwab <schwab@redhat.com>
17478 * include/dirent.h: Add libc_hidden_proto for scandirat and
17479 scandirat64. Don't declare __scandirat64.
17480 * dirent/scandirat.c: Add libc_hidden_def.
17481 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17482 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17484 2011-08-10 David S. Miller <davem@davemloft.net>
17486 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17488 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17492 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17494 * Versions.def [libc]: Add GLIBC_2.15.
17495 * dirent/Makefile (routines): Add scandirat and scandirat64.
17496 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17498 * dirent/dirent.h: Declare scandirat and scandirat64.
17499 * dirent/scandirat.c: New file.
17500 * dirent/scandirat64.c: New file.
17501 * sysdeps/wordsize-64/scandirat.c: New file.
17502 * sysdeps/wordsize-64/scandirat64.c: New file.
17503 * dirent/opendir.c: Define opendirat.
17504 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17506 * dirent/scandir64.c: Adjust for scandir.c change.
17507 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17508 __scandirat64, and __scandir_cancel_handler.
17509 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17510 additional parameter and use openat instead of open (outside of ld.so).
17511 Add new __opendir as wrapper around __opendirat.
17512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17513 here without requiring old scandirat implementation.
17515 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17517 * dirent/scandir.c (cancel_handler): Renamed to
17518 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17519 defined. Adjust users.
17520 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17523 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17525 * string/test-string.h (IMPL): Use __STRING to expand name and then
17528 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17531 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17533 * string/Makefile: Update.
17534 (strop-tests): Append strncat.
17535 * string/test-wcscmp.c: New file.
17536 New comprehensive test for wcscmp.
17537 * string/test-strcmp.c: Update.
17538 (WIDE): New define.
17540 2011-07-22 Andreas Schwab <schwab@redhat.com>
17542 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17545 2011-07-26 Andreas Schwab <schwab@redhat.com>
17547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17548 encoding to ACE if AI_IDN.
17550 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17553 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17555 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17557 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17558 Fix overflow bug in strncat.
17559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17561 * string/test-strncat.c: Update.
17562 Add new tests for checking overflow bugs.
17564 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17567 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17568 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17569 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17571 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17572 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17573 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17574 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17577 (USE_AS_STRCAT): Define.
17578 Add strcat and strncat support.
17579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17581 2011-07-25 Andreas Schwab <schwab@redhat.com>
17583 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17584 __n bigger than INT_MAX+1.
17585 (__strncmp_g): Likewise.
17587 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17589 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17590 * libio/stido.h: Likewise.
17592 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17597 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17604 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17609 (_dl_x86_64_save_sse): Likewise.
17611 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17615 (_dl_x86_64_save_sse): Likewise.
17617 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17619 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17621 2011-07-21 Andreas Schwab <schwab@redhat.com>
17623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17625 (_dl_x86_64_save_sse): Use correct AVX check.
17627 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17630 bug in strncpy/strncat.
17631 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17633 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17635 * string/tester.c (test_strcat): Add tests for different alignments
17636 of source and destination.
17637 (test_strncat): Likewise.
17639 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17642 * posix/glob.c (glob): Check passed in values before using them in
17643 expressions to avoid some overflows.
17644 (glob_in_dir): Likewise.
17647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17648 check for AVX enablement so that we don't crash with old kernels and
17650 * elf/tst-audit4.c: Add same checks here.
17651 * elf/tst-audit6.c: Likewise.
17653 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17655 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17657 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17659 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17661 * po/cs.po: Update from translation team.
17662 * po/bg.po: Likewise.
17664 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17666 * misc/sys/cdefs.h: Add support for const attribute.
17667 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17668 to gnu_dev_{major,minor,makedev} functions.
17670 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17672 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17674 2011-07-20 Andreas Schwab <schwab@redhat.com>
17676 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17679 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17682 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17683 register in order to avoid conflicts with the soft frame pointer
17684 being held in r11 when necessary.
17685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17686 (INTERNAL_VSYSCALL_NCS): Likewise.
17688 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17690 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17691 * elf/dl-fini.c (_dl_fini): Adjust caller.
17692 * elf/dl-close.c (_dl_close_worker): Likewise.
17693 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17695 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17697 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17698 "aux_cache->nlibs < 0".
17700 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17701 in the reload-count case.
17703 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17706 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17707 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17708 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17709 * sysdeps/x86_64/multiarch/strcat.S: New file.
17710 * sysdeps/x86_64/multiarch/strncat.S: New file.
17711 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17713 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17714 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17716 (USE_AS_STRCAT): Define.
17717 Add strcat and strncat support.
17718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17719 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17720 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17721 * string/strncat.c: Update.
17722 (USE_AS_STRNCAT): Define.
17723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17724 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17726 * sysdeps/x86_64/multiarch/init-arch.h
17727 (bit_Prefer_PMINUB_for_stringop): New.
17728 (index_Prefer_PMINUB_for_stringop): Likewise.
17729 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17730 bit_Prefer_PMINUB_for_stringop.
17732 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17734 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17736 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17737 of casting of buffer.
17738 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17739 buffer32 and buffer64.
17740 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17741 writes instead of casting of buffer.
17742 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17744 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17747 2011-07-19 Andreas Schwab <schwab@redhat.com>
17749 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17751 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17753 * nscd/nscd.c (termination_handler): Don't do anything for a database
17754 if it has not yet been initialized.
17756 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17758 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17760 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17762 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17764 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17766 * po/nl.po: Update from translation team.
17767 * po/sv.po: Likewise.
17769 2011-07-16 Roland McGrath <roland@hack.frob.com>
17771 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17772 now disallowed by GCC.
17774 * configure.in (use-default-link): Default to yes if a test -shared
17775 link meets our qualifications.
17776 * configure: Regenerated.
17778 * config.make.in (output-format): New variable.
17779 * configure.in: Check for ld --print-output-format support.
17780 * configure: Regenerated.
17781 * Makerules ($(common-objpfx)format.lds)
17782 [$(output-format) != unknown]: Just use $(output-format),
17783 instead of the linker-script munging.
17785 2011-07-14 Roland McGrath <roland@hack.frob.com>
17787 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17788 of $(common-objpfx)shlib.lds.
17789 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17791 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17792 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17794 * configure.in (-z relro check): Adjust test code to add a large
17795 writable data section after it.
17796 * configure: Regenerated.
17798 2011-07-11 Roland McGrath <roland@hack.frob.com>
17800 * configure.in (-z relro check): Fix test code to make the variable
17802 * configure: Regenerated.
17804 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17806 * nscd/nscd.h (struct traced_file): Define.
17807 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17808 elements. Add traced_files.
17809 (inotify_fd): Declare.
17810 (register_traced_file): Declare.
17811 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17812 (inotify_fd): Export.
17813 (resolv_conf_descr): Remove.
17814 (nscd_init): Move inotify descriptor creation to main.
17815 Don't register files for notification here.
17816 (register_traced_file): New function.
17817 (invalidate_cache): Don't use reset_res to determine whether to call
17818 res_init, go through the list of registered files.
17819 (main_loop_poll): The inotify descriptors are now stored in the
17820 structures for the traced files.
17821 (main_loop_epoll): Likewise
17822 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17823 to __nss_disable_nscd.
17824 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17825 for a database anymore. Check the records for all the registered
17827 * nss/Makefile (libnss_files-routines): Add files-init.
17828 (libnss_db-routines): Add db-init.
17829 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17830 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17831 * nss/nss_db/db-init.c: New file.
17832 * nss/nss_files/files-init.c: New file.
17833 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17834 __nss_lookup_function.
17835 (__nss_lookup_function): Call nss_load_library.
17836 (nss_load_all_libraries): New function.
17837 (__nss_disable_nscd): Take parameter with callback function for files
17838 to register. Set is_nscd. Load all the DSOs for the NSS modules
17839 used for the cached services.
17840 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17841 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17842 options for features to all the files in nscd.
17844 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17846 2011-07-10 Roland McGrath <roland@hack.frob.com>
17848 * csu/elf-init.c (__libc_csu_init): Comment typo.
17850 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17852 * po/pl.po: Update from translation team.
17853 * po/ja.po: Likewise.
17854 * po/ru.po: Likewise.
17855 * po/ko.po: Likewise.
17856 * po/fr.po: Likewise.
17858 2011-07-09 Roland McGrath <roland@hack.frob.com>
17860 * configure.in (.ctors/.dtors header and trailer check):
17861 Use an empirical test on a built program.
17862 * configure: Regenerated.
17864 * configure.in (-z relro check): Use an empirical test on a built DSO.
17865 Detect, but do not require, on ia64.
17866 * configure: Regenerated.
17868 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17869 Update tests that use readelf to use $READELF instead.
17870 * configure: Regenerated.
17872 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17874 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17875 if the result is not used.
17877 2011-07-05 Andreas Jaeger <aj@suse.de>
17880 * stdlib/tst-strtod.c: Add testcase.
17882 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17884 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17885 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17886 The latter has a higher limit. Take additional parameter to pass to
17888 (__pathconf): Pass file to __statfs_link_max.
17889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17891 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17895 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17896 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17898 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17899 (__statfs_filesize_max): Likewise.
17900 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17902 2011-07-05 Andreas Jaeger <aj@suse.de>
17904 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17906 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17908 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17910 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17913 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17915 * Makefile (strop-tests): Add strncat.
17916 * string/test-strncat.c: New file.
17918 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17920 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17922 2011-06-21 Andreas Jaeger <aj@suse.de>
17924 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17925 Copy rule from iconvdata/Makefile.
17927 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17930 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17931 but no long options are defined, just return 'W'.
17933 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17936 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17938 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17940 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17942 (innetgr): Likewise.
17944 2011-07-05 Roland McGrath <roland@hack.frob.com>
17946 * config.make.in (install_root): Default to $(DESTDIR).
17948 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17950 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17952 2011-07-02 Roland McGrath <roland@hack.frob.com>
17954 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17956 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17957 containing directory rather than embedding absolute directory names.
17959 * scripts/check-local-headers.sh: Rewritten using awk.
17960 Match by word, not by line. Print error messages for matches.
17961 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17963 * Makerules [shlib-lds-flags empty]:
17964 ($(common-objpfx)libc_pic.opts): New target.
17965 ($(common-objpfx)libc_pic.os.clean): New target.
17966 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17968 * config.make.in (OBJCOPY): New variable.
17969 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17970 * configure: Regenerated.
17972 * config.make.in (use-default-link): New variable.
17973 * configure.in (use_default_link): Grok --with-default-link to set it.
17974 * configure: Regenerated.
17975 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17976 (shlib-lds, shlib-lds-flags): Define to empty.
17978 * Makerules (shlib-lds): New variable.
17979 (shlib-lds-flags): New variable.
17980 (build-shlib, build-moduile, build-module-asneeded): Use it.
17981 ($(common-objpfx)libc.so): Use $(shlib-lds).
17982 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17983 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17985 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17986 DT_FLAGS/DT_FLAGS_1 with zero flags.
17988 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17989 linker script munging.
17991 2011-07-02 Ulrich Drepper <drepper@gmail.com>
17993 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17995 * crypt/sha512.c (sha512_process_block): Perform total addition using
17996 128-bit if possible.
17997 (__sha512_finish_ctx): Likewise.
17998 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18000 * crypt/sha256.c (SWAP64): Define.
18001 (sha256_process_block): Perform total addition using 64-bit if
18003 (__sha256_finish_ctx): Likewise.
18005 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18007 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18009 * nscd/hstcache.c (cache_addhst): Likewise.
18010 * nscd/grpcache.c (cache_addgr): Likewise.
18011 * nscd/aicache.c (addhstaiX): Likewise
18012 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18014 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18016 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18018 * nscd/hstcache.c (cache_addhst): Likewise.
18019 * nscd/grpcache.c (cache_addgr): Likewise.
18020 * nscd/aicache.c (addhstaiX): Likewise
18022 2011-07-01 Andreas Schwab <schwab@redhat.com>
18024 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18025 domain only when needed.
18027 2011-06-30 Andreas Schwab <schwab@redhat.com>
18029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18030 is always restored.
18032 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18034 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18035 are re-adding the entry.
18036 * nscd/servicescache.c (cache_addserv): Likewise.
18038 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18040 * sysdeps/generic/dl-irel.h: fix protection against multiple
18042 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18044 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18047 * malloc/memusage.sh: Fix quoting in message.
18048 * debug/xtrace.sh: Likewise.
18050 * configure.in: Remove support for --experimental-malloc option, make
18052 * config.make.in: Likewise.
18053 * malloc/Makefile: Likewise.
18055 2011-06-27 Andreas Schwab <schwab@redhat.com>
18057 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18058 two-byte characters.
18060 2011-06-27 Roland McGrath <roland@hack.frob.com>
18062 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18063 AC_CACHE_CHECK invocation.
18064 * configure: Regenerated.
18066 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18068 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18071 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18072 bit from old_res_options.
18074 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18076 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18077 value type for setfct.
18079 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18082 __gettimeofday instead of gettimeofday.
18084 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18086 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18088 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18095 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18098 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18099 strcpy-sse2-unaligned strncpy-sse2-unaligned
18100 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18101 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18102 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18103 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18104 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18105 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18107 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18108 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18109 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18110 (STRCPY): Support SSE2 and SSSE3 versions.
18112 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18115 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18116 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18117 kernels which artificially limit size of requests.
18119 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18122 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18123 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18124 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18125 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18126 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18127 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18128 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18131 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18132 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18133 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18134 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18135 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18137 Enable unaligned load optimization for Intel Core i3, i5 and i7
18139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18141 (index_Fast_Unaligned_Load): Define.
18142 (HAS_FAST_UNALIGNED_LOAD): Define.
18144 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18146 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18148 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18152 until it is clear that the information is realy needed.
18153 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18155 2011-06-22 Andreas Schwab <schwab@redhat.com>
18157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18159 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18162 /sys/devices/system/cpu/online if it is usable.
18164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18165 reading the information from the /proc filesystem to once a second.
18167 2011-06-21 Andreas Jaeger <aj@suse.de>
18169 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18170 NULL after inclusion of kernel headers.
18172 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18174 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18175 calls to internal_setent.
18178 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18179 addresses using gethostbyname4_r ignore IPv4 addresses.
18181 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18182 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18184 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18186 2011-06-20 David S. Miller <davem@davemloft.net>
18188 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18190 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18192 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18193 (elf_irel): Use it.
18194 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18195 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18196 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18197 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18198 * sysdeps/x86_64/dl-irel.h: Likewise.
18200 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18201 * elf/dl-sym.c: Likewise.
18203 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18205 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18206 need to dereference resplen2.
18208 2011-06-14 Andreas Schwab <schwab@redhat.com>
18210 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18214 * Makeconfig: Define vardbdir and inst_vardbdir.
18215 * nss/Makefile: Add rules to install db-Makefile.
18217 * nss/nss_db/db-XXX.c: Cleanup.
18219 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18220 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18222 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18223 * nss/makedb.c: Implement -g option to specify that value strings
18224 are generated and should not be added to table iterated over for
18226 * nss/nss_db/db-initgroups.c: New file.
18228 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18231 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18232 (internal_getgrouplist): Adjust to name change.
18233 Update use_initgroups_entry if this is not the first call.
18234 * nss/databases.def: Add initgroups entry.
18236 * nss/makedb.c (compute_tables): Check result of multiple hash table
18237 sizes to minimize maximum chain length.
18239 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18241 * Versions.def: Add entry for libnss_db.
18242 * shlib-versions: Likewise.
18243 * nss/Makefile: Add rules to build libnss_db.
18244 * nss/Versions: Add libnss_db information. Organize libnss_files
18246 * nss/db-Makefile: Add gshadow support. Change rules for the new
18247 makedb progra. Some minor improvements to generate smaller files.
18248 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18250 * nss/makedb.c: ...here.
18251 Improve database format to be smaller and require less memory at
18253 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18255 * nss/nss_db/db-netgrp.c: Likewise.
18256 * nss/nss_db/db-open.c: Likewise.
18257 * nss/nss_files/flies-XXX.x: Adjust comments.
18258 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18259 * nss/nss_files/files-grp.c: Likewise.
18260 * nss/nss_files/files-hosts.c: Likewise.
18261 * nss/nss_files/files-network.c: Likewise.
18262 * nss/nss_files/files-proto.c: Likewise.
18263 * nss/nss_files/files-pwd.c: Likewise.
18264 * nss/nss_files/files-rpc.c: Likewise.
18265 * nss/nss_files/files-service.c: Likewise.
18266 * nss/nss_files/files-sgrp.c: Likewise.
18267 * nss/nss_files/files-spwd.c: Likewise.
18268 * nss/nss_db/db-alias.c: Removed.
18269 * nss/nss_db/dummy-db.h: Removed.
18271 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18273 * nss/makedb.c: Rewritten to not use database library.
18274 * nss/Makefile: Update to build new makedb program.
18276 2011-06-14 Andreas Jaeger <aj@suse.de>
18278 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18279 memset declaration.
18281 2011-06-10 Andreas Schwab <schwab@redhat.com>
18283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18286 2011-06-10 Roland McGrath <roland@hack.frob.com>
18288 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18289 * elf/Makefile ($(objpfx)ld.so): Likewise.
18291 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18292 Don't list ld.so twice in dependencies.
18294 * posix/bug-regex31.c: Include <stdlib.h>.
18296 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18298 * nis/nss_compat/compat-spwd.c
18299 (getspent_next_nss_netgr): Remove unused variable.
18300 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18302 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18303 nonmembers" output to use the right array.
18305 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18307 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18309 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18310 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18311 * catgets/gencat.c (read_input_file): Likewise.
18312 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18314 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18315 variable definition inside #if's controlling its use.
18317 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18319 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18321 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18323 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18326 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18328 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18329 * configure: Regenerated.
18331 * Makerules: Revert last change.
18332 * elf/Makefile: Likewise.
18334 2011-06-09 Roland McGrath <roland@hack.frob.com>
18336 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18337 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18338 (reloc-link): Likewise.
18340 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18342 * elf/Makefile: Add rules to build pldd.
18343 * elf/pldd.c: New file.
18344 * elf/pldd-xx.c: New file.
18346 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18348 * version.h: Update for 2.15 development version.
18350 2011-06-07 David S. Miller <davem@davemloft.net>
18352 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18355 elf_machine_lazy_rel): Likewise.
18356 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18358 elf_machine_lazy_rel): Likewise.
18359 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18360 dl_hwcap via passed in argument.
18361 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18364 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18366 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18368 2011-06-06 Roland McGrath <roland@hack.frob.com>
18371 * manual/fdl-1.1.texi: New file, verbatim from:
18372 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18373 * manual/lgpl-2.1.texi: New file, verbatim from:
18374 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18375 * manual/Makefile (licenses): New variable, list those new file names.
18377 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18379 * manual/fdl.texi: File removed.
18380 * manual/lesser.texi: File removed.
18381 * manual/libc.texinfo (Copying, Documentation License):
18382 Use new @include file names, put @appendix directive before @include.
18384 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18387 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18388 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18389 (mq_open): Add __NTH.
18391 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18394 Assume Intel Core i3/i5/i7 processor if AVX is available.
18396 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18401 2011-05-31 Andreas Schwab <schwab@redhat.com>
18403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18404 memory. Use alloca_account. Fix memory leak when retrying.
18406 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18408 * version.h (RELEASE): Bump for 2.14 release.
18409 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18411 * config.make.in (RANLIB): Remove entry.
18413 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18415 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18416 (libc.pot): Work around missing support for .ksh extension in xgettext.
18419 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18420 if both request failed.
18421 (send_dg): In case of server errors clear resplen or *resplen2.
18424 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18425 when there are multiple maps.
18426 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18427 (_dl_fini): Remove test here.
18429 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18431 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18434 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18435 bit from old_res_options.
18436 (gaih_inet): Likewise.
18439 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18442 * resolv/res_init.c (res_setoptions): Make the code more compact.
18445 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18449 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18451 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18454 * malloc/malloc.h: Declare malloc hook variables as volatile.
18456 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18460 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18461 raise in the comment.
18462 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18464 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18466 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18469 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18470 grow the buffers more if it already has to be sufficient.
18471 (build_wcs_upper_buffer): Likewise.
18472 * posix/regexec.c (check_matching): Likewise.
18473 (clean_state_log_if_needed): Likewise.
18474 (extend_buffers): Don't enlarge buffers beyond size of the input
18476 Patches mostly by Emil Wojak <emil@wojak.eu>.
18477 * posix/bug-regex32.c: New file.
18478 * posix/Makefile (tests): Add bug-regex32.
18480 * locale/findlocale.c (_nl_find_locale): Return right away if
18481 _nl_explode_name failed.
18482 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18484 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18486 * debug/xtrace.sh: Unify messages.
18487 * malloc/memusage.sh: Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18491 time symbol from vDSO. Substitute with vsyscall if not available.
18492 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18495 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18496 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18497 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18498 Add sendmmsg and internal_sendmmsg.
18499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18500 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18501 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18503 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18504 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18505 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18507 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18510 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18511 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18517 * iconvdata/Makefile (tests): Add bug-iconv9.
18518 * iconvdata/bug-iconv9.c: New file.
18520 2011-05-27 Andreas Schwab <schwab@redhat.com>
18523 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18525 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18528 (struct user_regs_struct): Change intcs field back to cs.
18530 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18532 * po/ja.po: Update from translation team.
18534 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18537 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18538 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18540 2011-05-20 Andreas Schwab <schwab@redhat.com>
18542 * stdlib/longlong.h: Update from GCC.
18544 2011-05-23 Andreas Schwab <schwab@redhat.com>
18546 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18548 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18549 Add parameter name.
18550 (__sysconf): Pass it down.
18552 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18555 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18558 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18559 add in in __libc_use_alloca calls. Adjust callers.
18560 (glob): Use malloc in some situations.
18562 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18563 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18566 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18568 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18569 and CLOCK_BOOTTIME_ALARM.
18572 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18575 * string/_strerror.c (__strerror_r): Print negative errors as signed
18579 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18580 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18581 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18583 * configure.in: Fix typo in redirection and correct removal of test
18584 files in two cases.
18587 * locale/setlocale.c (new_composite_name): Fix test to check for
18588 identical name of all categories.
18591 * libio/filedoalloc.c (local_isatty): New function.
18592 (_IO_file_doallocate): Use local_isatty.
18593 * stdio-common/perror.c (perror): In case a new stream is used
18594 forward the stream error.
18595 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18598 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18603 * include/alloca.h (extend_alloca_account): Define.
18606 * posix/regex.h: Fix comments with documentation of user-accessible
18607 fields after compilation and describe correct free'ing of pattern
18608 after re_compile_pattern.
18609 Patch by Reuben Thomas <rrt@sc3d.org>.
18611 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18613 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18614 and -mno-altivec to prevent the compiler from using Altivec and/or
18615 VSX instructions when the corresponding registers are not available.
18617 2011-05-19 Andreas Schwab <schwab@redhat.com>
18619 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18621 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18623 * libio/freopen.c (freopen): Use __dup2, not dup2.
18624 * libio/freopen64.c (freopen64): Likewise.
18626 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18629 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18630 * math/Makefile (tests): Add test-powl.
18631 (CFLAGS-test-powl.c): Define.
18632 * math/test-powl.c: New file.
18634 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18636 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18638 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18641 * iconvdata/gb18030.c: Update to GB18020-2005.
18643 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18645 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18646 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18647 Patch by Aharon Robbins <arnold@skeeve.com>.
18650 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18654 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18655 through underflows.
18658 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18659 point to strings before performing equality test for error_one_per_line
18663 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18666 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18667 (struct user_fpregs_struct): Avoid __uint*_t types.
18670 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18671 symbol info. Use it instead of calling _dl_addr locally.
18672 (lock_and_info): New function.
18673 (tr_freehook): Call lock_and_info and pass symbol info as additional
18674 parameter to tr_where.
18675 (tr_mallochook): Likewise.
18676 (tr_reallochook): Likewise.
18677 (tr_memalignhook): Likewise.
18679 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18680 used and couldn't be at all thread-safe.
18682 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18684 * libio/freopen.c (freopen): Don't close old file descriptor
18685 before the new one is opened. Instead dup the new file descriptor
18686 to the old one after the new stream is created.
18687 * libio/freopen64.c (freopen64): Likewise.
18688 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18689 * libio/fileops.c (_IO_new_file_close_it): Handle new
18690 _IO_FLAGS2_NOCLOSE flag.
18691 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18692 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18693 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18694 _IO_FLAGS2_NOCLOSE flag.
18695 * include/unistd.h: Add hidden_proto for dup3.
18696 Define __have_dup3.
18697 * io/dup3.c: Define hidden symbol.
18698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18701 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18702 when an incomplete long option is used.
18703 * posix/tst-getopt_long1.c: New file.
18704 * posix/Makefile (tests): Add tst-getopt_long1.
18707 * scripts/config.guess: Update from autoconf-2.68.
18708 * scripts/config.sub: Likewise.
18711 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18713 (has_cpuclock): ...this. New function.
18714 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18715 macro here based on has_cpuclock code.
18718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18719 First byte (not low byte) is now always NUL.
18720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18723 Use non-cancelable interfaces.
18726 * locale/iso-639.def: Add entry for Sorani.
18729 * include/stdlib.h: Move include protection to the right place.
18730 Define abort_msg_s. Declare __abort_msg with it.
18731 * stdlib/abort.c (__abort_msg): Adjust type.
18732 * assert/assert.c (__assert_fail_base): New function. Majority
18733 of code from __assert_fail. Allocate memory for __abort_msg with
18735 (__assert_fail): Now call __assert_fail_base.
18736 * assert/assert-perr.c: Remove bulk of implementation. Use
18737 __assert_fail_base.
18738 * include/assert.hL Declare __assert_fail_base.
18739 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18741 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18743 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18747 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18748 until all modules are registered in the DTV.
18749 * elf/Makefile: Add rules to build and run tst-tls19.
18750 * elf/tst-tls19.c: New file.
18751 * elf/tst-tls19mod1.c: New file.
18752 * elf/tst-tls19mod2.c: New file.
18753 * elf/tst-tls19mod3.c: New file.
18754 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18757 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18761 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18762 two-byte sequence errors.
18763 * iconvdata/Makefile (tests): Add bug-iconv8.
18764 * iconvdata/bug-iconv8.c: New file.
18767 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18770 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18773 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18774 (dummy_getcfa): New function.
18775 (init): Get _Unwind_GetCFA address, use dummy if not found.
18776 (backtrace_helper): In recursion check, also check whether CFA changes.
18777 (__backtrace): Completely initialize arg.
18779 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18780 storing incomplete byte sequence in state object. Avoid testing for
18781 guaranteed too small input if we know there is enough data available.
18783 2011-05-11 Andreas Schwab <schwab@redhat.com>
18785 * Makeconfig (+link-pie): Indent.
18786 * Rules (binaries-pie): Define if $(have-fpie) and
18788 (binaries-shared): Also filter out $(binaries-pie).
18789 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18790 * nscd/Makefile (others-pie): Add nscd.
18791 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18792 ($(objpfx)nscd): Remove command override.
18793 * login/Makefile (others-pie): Add pt_chown.
18794 ($(objpfx)pt_chown): Remove command override.
18795 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18796 remove command overrides.
18798 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18800 * libio/tst_putwc.c: Fix error messages.
18803 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18804 currently writing and seek to current position when not.
18805 * libio/Makefile (tests): Add bug-fclose1.
18806 * libio/bug-fclose1.c: New file.
18808 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18811 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18812 don't set DF_1_NODELETE here.
18813 (do_lookup_x): When entering new entry test for copy relocation
18814 and if necessary set DF_1_NODELETE flag.
18815 * elf/tst-unique4.cc: New file.
18816 * elf/tst-unique4.h: New file.
18817 * elf/tst-unique4lib.cc: New file.
18818 * elf/Makefile: Add rules to build and run tst-unique4.
18819 Patch by Piotr Bury <pbury@goahead.com>.
18821 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18824 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18827 * misc/mntent_r.c (addmntent): Flush the stream after the output
18830 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18831 (is_trusted_path_normalize): Skip initial colon. Append slash
18832 to empty buffer. Duplicate is_trusted_path code but allow
18833 constructed patch to be prefix.
18834 (is_dst): Allow $ORIGIN followed by /.
18835 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18836 Correct testing of result of is_trusted_path_normalize
18837 (decompose_rpath): Fix warning.
18839 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18842 * grp/initgroups.c (internal_getgrouplist): When we found the service
18843 list through the initgroups entry in nsswitch.conf do not always
18844 continue on a successful lookup. Don't always use the
18845 __nss_group_database value if it is set.
18846 * nss/nsswitch.conf (initgroups): Change action for successful db
18847 lookup to continue for compatibility.
18849 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18852 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18854 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18856 * iconvdata/tst-tables.sh: Likewise.
18857 * iconvdata/cp770.c: New file.
18858 * iconvdata/cp771.c: New file.
18859 * iconvdata/cp772.c: New file.
18860 * iconvdata/cp773.c: New file.
18861 * iconvdata/cp774.c: New file.
18862 * iconvdata/testdata/CP770: New file.
18863 * iconvdata/testdata/CP770..UTF8: New file.
18864 * iconvdata/testdata/CP771: New file.
18865 * iconvdata/testdata/CP771..UTF8: New file.
18866 * iconvdata/testdata/CP772: New file.
18867 * iconvdata/testdata/CP772..UTF8: New file.
18868 * iconvdata/testdata/CP773: New file.
18869 * iconvdata/testdata/CP773..UTF8: New file.
18870 * iconvdata/testdata/CP774: New file.
18871 * iconvdata/testdata/CP774..UTF8: New file.
18873 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18875 * iconvdata/gen-8bit-gap.sh: Likewise.
18876 * iconvdata/gen-8bit.sh: Likewise.
18878 * locale/iso-639.def: Add ary entry.
18881 * locale/C-translit.h.in: Add U20A1 transliteration.
18884 * locale/iso-639.def: Add wae entry.
18885 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18888 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18892 * locale/C-translit.h.in: Add entry for U20B9.
18893 Patch by pravin.d.s@gmail.com.
18895 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18898 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18899 ENAMETOOLONG use generic getcwd.
18900 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18901 in rtld. Use *stat64.
18902 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18903 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18904 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18905 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18906 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18907 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18908 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18909 __fstatat64 macros.
18910 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18911 * dirent/rewinddir.c: Add libc_hidden_def.
18912 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18913 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18915 * include/dirent.h (__alloc_dir): Add flags parameter.
18916 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18917 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18919 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18920 from fdopendir if O_CLOEXEC is already set.
18922 2011-03-15 Alan Modra <amodra@gmail.com>
18924 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18925 l_tls_firstbyte_offset non-zero. Save padding offset in
18926 l_tls_firstbyte_offset for later use.
18927 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18928 freeing static tls block.
18930 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18932 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18933 where #ifdef was intended. The intent is to prevent ARG_MAX from
18934 being defined by the kernel headers.
18936 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18939 * resolv/resolv.h: Define RES_NOTLDQUERY.
18940 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18941 no-tld-query and set RES_NOTLDQUERY.
18942 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18943 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18944 modern BIND to search name as TLD unless forbidden.
18946 2011-05-07 Petr Baudis <pasky@suse.cz>
18947 Ulrich Drepper <drepper@gmail.com>
18950 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18951 (is_trusted_path): ...to here.
18952 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18953 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18954 using is_trusted_path_normalize() in setuid scripts.
18956 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18959 __BEGIN/__END_DECLS.
18961 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18964 NSS_STATUS_NOTFOUND if no record was found.
18966 2011-05-05 Andreas Schwab <schwab@redhat.com>
18968 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18969 (headers-not-in-tirpc): Remove rpc/netdb.h
18970 * resolv/netdb.h: Revert last change.
18972 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18974 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18975 circular dependency between libgcc.a and libc.a.
18977 2011-05-05 Andreas Schwab <schwab@redhat.com>
18979 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18980 * nis/Makefile: Don't install rpcsvc/*.
18981 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18982 instead of <rpc/types.h>.
18983 (MAXHOSTNAMELEN): Define.
18985 2011-05-03 Andreas Schwab <schwab@redhat.com>
18987 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18989 2011-04-28 Maciej Babinski <mbabinski@google.com>
18992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18993 gethostbyname4_r when IPv6 results are possible.
18995 2011-05-02 Ulrich Drepper <drepper@gmail.com>
18998 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18999 _PC_PIPE_BUF handling.
19001 2011-04-30 Bruno Haible <bruno@clisp.org>
19004 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19005 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19007 * inet/getnameinfo.c (getnameinfo): Likewise.
19009 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19011 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19012 to groups setting in database lookup.
19013 * nss/nsswitch.conf: Add initgroups entry.
19015 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19018 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19020 Patch by Eric Blake <eblake@redhat.com>.
19022 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19024 * sunrpc/Makefile (need-export-routines): Add svc_run.
19025 (routines): Remove svc_run.
19026 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19027 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19028 * sunrpc/svc_run.c (svc_run): Likewise.
19029 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19031 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19034 problem in reallocation in last patch.
19036 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19038 * sunrpc/Makefile: Move inclusion of Rules.
19040 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19042 * nss/nss_files/files-initgroups.c: New file.
19043 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19044 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19045 _nss_files_initgroups_dyn.
19047 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19049 * elf/elf.h (R_ARM_IRELATIVE): Define.
19051 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19053 * po/ru.po: Update from translation team.
19055 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19057 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19060 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19063 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19064 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19065 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19069 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19071 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19073 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19077 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19080 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19082 * stdlib/bug-getcontext.c: New file.
19083 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19085 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19087 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19088 instructions into .machine "z9-109".
19089 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19090 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19092 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19094 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19095 between environment variables and auxiliary vector.
19097 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19099 * Makefile: Add rules to build linkobj/libc.so.
19100 * include/libc-symbols.h: Define libc_hidden_nolink.
19101 * include/rpc/auth.h: Mark functions which are to be hidden.
19102 * include/rpc/auth_des.h: Likewise.
19103 * include/rpc/auth_unix.h: Likewise.
19104 * include/rpc/clnt.h: Likewise.
19105 * include/rpc/des_crypt.h: Likewise.
19106 * include/rpc/key_prot.h: Likewise.
19107 * include/rpc/pmap_clnt.h: Likewise.
19108 * include/rpc/pmap_prot.h: Likewise.
19109 * include/rpc/pmap_rmt.h: Likewise.
19110 * include/rpc/rpc_msg.h: Likewise.
19111 * include/rpc/svc.h: Likewise.
19112 * include/rpc/svc_auth.h: Likewise.
19113 * include/rpc/xdr.h: Likewise.
19114 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19115 * nss/Makefile: Likewise.
19116 * sunrpc/Makefile: Don't install headers. Build library with normal
19117 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19118 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19119 for the compat linking library. Remove use of INTDEF/INTUSE.
19120 * sunrpc/auth_none.c: Likewise.
19121 * sunrpc/auth_unix.c: Likewise.
19122 * sunrpc/authdes_prot.c: Likewise.
19123 * sunrpc/authuxprot.c: Likewise.
19124 * sunrpc/clnt_gen.c: Likewise.
19125 * sunrpc/clnt_perr.c: Likewise.
19126 * sunrpc/clnt_raw.c: Likewise.
19127 * sunrpc/clnt_simp.c: Likewise.
19128 * sunrpc/clnt_tcp.c: Likewise.
19129 * sunrpc/clnt_udp.c: Likewise.
19130 * sunrpc/clnt_unix.c: Likewise.
19131 * sunrpc/des_crypt.c: Likewise.
19132 * sunrpc/des_soft.c: Likewise.
19133 * sunrpc/get_myaddr.c: Likewise.
19134 * sunrpc/key_call.c: Likewise.
19135 * sunrpc/key_prot.c: Likewise.
19136 * sunrpc/netname.c: Likewise.
19137 * sunrpc/pm_getmaps.c: Likewise.
19138 * sunrpc/pm_getport.c: Likewise.
19139 * sunrpc/pmap_clnt.c: Likewise.
19140 * sunrpc/pmap_prot.c: Likewise.
19141 * sunrpc/pmap_prot2.c: Likewise.
19142 * sunrpc/pmap_rmt.c: Likewise.
19143 * sunrpc/publickey.c: Likewise.
19144 * sunrpc/rpc_cmsg.c: Likewise.
19145 * sunrpc/rpc_common.c: Likewise.
19146 * sunrpc/rpc_dtable.c: Likewise.
19147 * sunrpc/rpc_prot.c: Likewise.
19148 * sunrpc/rpc_thread.c: Likewise.
19149 * sunrpc/rtime.c: Likewise.
19150 * sunrpc/svc.c: Likewise.
19151 * sunrpc/svc_auth.c: Likewise.
19152 * sunrpc/svc_authux.c: Likewise.
19153 * sunrpc/svc_raw.c: Likewise.
19154 * sunrpc/svc_run.c: Likewise.
19155 * sunrpc/svc_simple.c: Likewise.
19156 * sunrpc/svc_tcp.c: Likewise.
19157 * sunrpc/svc_udp.c: Likewise.
19158 * sunrpc/svc_unix.c: Likewise.
19159 * sunrpc/svcauth_des.c: Likewise.
19160 * sunrpc/xcrypt.c: Likewise.
19161 * sunrpc/xdr.c: Likewise.
19162 * sunrpc/xdr_array.c: Likewise.
19163 * sunrpc/xdr_float.c: Likewise.
19164 * sunrpc/xdr_intXX_t.c: Likewise.
19165 * sunrpc/xdr_mem.c: Likewise.
19166 * sunrpc/xdr_rec.c: Likewise.
19167 * sunrpc/xdr_ref.c: Likewise.
19168 * sunrpc/xdr_sizeof.c: Likewise.
19169 * sunrpc/xdr_stdio.c: Likewise.
19171 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19174 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19175 * sysdeps/ia64/dl-tls.h: Likewise.
19176 * sysdeps/powerpc/dl-tls.h: Likewise.
19177 * sysdeps/s390/dl-tls.h: Likewise.
19178 * sysdeps/sh/dl-tls.h: Likewise.
19179 * sysdeps/sparc/dl-tls.h: Likewise.
19180 * sysdeps/x86_64/dl-tls.h: Likewise.
19181 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19183 2011-03-14 Andreas Schwab <schwab@redhat.com>
19185 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19186 rpath element also skip the following colon.
19187 (expand_dynamic_string_token): Add is_path parameter and pass
19188 down to DL_DST_REQUIRED and _dl_dst_substitute.
19189 (decompose_rpath): Call expand_dynamic_string_token with
19190 non-zero is_path. Ignore empty rpaths.
19191 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19194 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19199 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19202 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19203 Patch by Filipe David Manana <fdmanana@apache.org>.
19205 2011-04-07 Andreas Schwab <schwab@redhat.com>
19207 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19208 Maintain aligned stack.
19209 (CHECK_RSP): Remove unused macro.
19211 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19213 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19214 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19216 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19218 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19220 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19222 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19225 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19226 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19227 * sysdeps/x86_64/memmove.c: New file.
19228 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19229 (memcpy): Renamed to ...
19230 (__new_memcpy): This.
19231 (memcpy): Provide GLIBC_2_14 memcpy.
19232 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19233 (memcpy): Provide GLIBC_2_2_5 memcpy.
19235 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19238 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19240 2011-03-30 Andreas Schwab <schwab@redhat.com>
19242 * misc/syncfs.c: New file.
19243 * misc/Makefile (routines): Add syncfs.
19244 * posix/unistd.h: Declare syncfs.
19245 * sysdeps/unix/syscalls.list: Add syncfs.
19247 2011-04-01 Andreas Schwab <schwab@redhat.com>
19249 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19256 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19263 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19269 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19270 sync_file_range.c with -fexceptions.
19271 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19272 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19273 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19274 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19275 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19276 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19278 sync_file_range as cancellation point
19279 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19280 now a wrapper around __call_sync_file_range with cancellation handling.
19281 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19282 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19283 function name to __call_sync_file_range.
19284 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19285 Add call_sync_file_range.
19287 2011-04-01 Andreas Schwab <schwab@redhat.com>
19289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19292 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19294 * iconv/iconv.h: Fix typo in comment.
19295 * io/fcntl.h: Likewise.
19296 * libio/stdio.h: Likewise.
19297 * posix/spawn.h: Likewise.
19298 * posix/unistd.h: Likewise.
19299 * stdlib/stdlib.h: Likewise.
19300 * time/time.h: Likewise.
19301 * wcsmbs/wchar.h: Likewise.
19303 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19304 open_by_handle): Add.
19305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19306 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19307 Augment a few comments.
19308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19313 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19316 * io/fcntl.h (AT_EMPTY_PATH): Define.
19318 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19320 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19321 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19322 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19324 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19325 * Versions.def: Add GLIBC_2.14.
19326 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19329 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19335 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19338 * string/test-strncmp.c (do_page_test): New function.
19339 (check2): Likewise.
19340 (test_main): Call check2.
19341 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19343 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19346 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19347 Handle cache information in CPU leaf 4.
19348 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19350 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19353 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19354 character representation.
19355 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19357 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19359 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19360 END(__isnan) to END(__isnanf) to match function entry point/label
19361 EALIGN(__isnanf,...).
19363 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19365 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19367 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19370 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19371 copy from the symbol referenced in the relocation to initialize the
19373 Patch by Piotr Bury <pbury@goahead.com>.
19374 * elf/Makefile: Add rules to build and tst-unique3.
19375 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19376 * elf/tst-unique3.cc: New file.
19377 * elf/tst-unique3.h: New file.
19378 * elf/tst-unique3lib.cc: New file.
19379 * elf/tst-unique3lib2.cc: New file.
19381 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19383 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19385 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19386 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19389 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19391 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19392 to-be-loaded object along a path to loader is ld.so.
19394 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19395 Ulrich Drepper <drepper@gmail.com>
19397 * sysdeps/x86_64/memset.S: After aligning destination, code
19398 branches to different locations depending on the value of
19399 misalignment, when multiarch is enabled. Fix this.
19401 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19403 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19404 Set _x86_64_preferred_memory_instruction for AMD processsors.
19405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19406 Set bit_Prefer_SSE_for_memop for AMD processors.
19408 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19410 * libio/fmemopen.c (fmemopen): Optimize a bit.
19412 2011-03-03 Andreas Schwab <schwab@redhat.com>
19414 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19416 2011-03-03 Roland McGrath <roland@redhat.com>
19418 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19420 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19422 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19423 __bzero_ultra1 instead of __memset_ultra1.
19425 2011-02-23 Andreas Schwab <schwab@redhat.com>
19426 Ulrich Drepper <drepper@gmail.com>
19429 * include/link.h (struct link_map): Add l_orig_initfini.
19430 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19431 returning unsuccessfully.
19432 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19433 close of a file loaded at startup, restore the original l_initfini
19435 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19436 list, store the pointer.
19437 * elf/Makefile ($(objpfx)noload-mem): New rule.
19438 (noload-ENV): Define.
19439 (tests): Add $(objpfx)noload-mem.
19440 * elf/noload.c: Include <memcheck.h>.
19441 (main): Call mtrace. Close all opened handles.
19443 2011-02-17 Andreas Schwab <schwab@redhat.com>
19446 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19447 dependencies are missing.
19449 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19451 Fix __if_freereq crash: Unlike the generic version which uses free,
19453 * sysdeps/mach/hurd/ifreq.h: New file.
19455 2011-01-27 Petr Baudis <pasky@suse.cz>
19456 Ulrich Drepper <drepper@gmail.com>
19459 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19460 to extend_alloca().
19461 * stdio-common/bug23.c: New file.
19462 * stdio-common/Makefile (tests): Add bug23.
19464 2010-09-28 Andreas Schwab <schwab@redhat.com>
19465 Ulrich Drepper <drepper@gmail.com>
19468 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19469 before performing relro protection. At old place add assertion
19470 to make sure nothing changed.
19472 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19473 Glauber de Oliveira Costa <glommer@gmail.com>
19475 * elf/elf.h: Add new ARM TLS relocs.
19477 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19480 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19482 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19484 * sysdeps/wordsize-64/tst-writev.c: New file.
19486 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19488 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19489 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19490 insns in _dl_start to prevent a TOC reference before relocs are
19493 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19496 * Makeconfig: Remove RANLIB definition.
19497 * Makerules: Don't use RANLIB.
19498 * aclocal.m4: Remove ranlib test.
19499 * configure.in: No need to check for ranlib.
19500 * elf/rtld-Rules: Don't use RANLIB.
19502 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19504 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19506 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19507 inclusion protection macro.
19509 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19510 SIGRTMIN and SIGRTMAX and print information in that case only when
19511 SIGRTMIN is defined.
19513 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19515 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19516 arginfo fn returning -1.
19518 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19519 and thousands string is zero terminated.
19521 2011-02-03 Andreas Schwab <schwab@redhat.com>
19523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19524 sysdeps/unix/sysv/linux/bits/socket.h.
19526 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19528 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19529 (__CPU_COUNT): Remove old macros.
19530 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19531 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19532 (__CPU_ALLOC, __CPU_FREE): Add macros.
19533 (__sched_cpualloc, __sched_cpufree): Add declarations.
19535 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19537 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19538 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19539 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19540 (readdhstai): Return value of addhstaiX call.
19541 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19542 (addgrbyX): Return value returned by cache_addgr.
19543 (readdgrbyname): Return value returned by addgrbyX.
19544 (readdgrbygid): Likewise.
19545 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19546 (addpwbyX): Return value returned by cache_addpw.
19547 (readdpwbyname): Return value returned by addhstbyX.
19548 (readdpwbyuid): Likewise.
19549 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19550 (addservbyX): Return value returned by cache_addserv.
19551 (readdservbyname): Return value returned by addservbyX:
19552 (readdservbyport): Likewise.
19553 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19554 (addhstbyX): Return value returned by cache_addhst.
19555 (readdhstbyname): Return value returned by addhstbyX.
19556 (readdhstbyaddr): Likewise.
19557 (readdhstbynamev6): Likewise.
19558 (readdhstbyaddrv6): Likewise.
19559 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19560 (readdinitgroups): Return value returned by addinitgroupsX.
19561 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19562 (prune_cache): Keep track of timeout value of re-added entries.
19563 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19564 * nscd/nscd.h: Adjust prototypes of readd* functions.
19566 2011-02-04 Roland McGrath <roland@redhat.com>
19568 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19569 (nis_stats): Likewise.
19570 * nis/nis_modify.c (nis_modify): Likewise.
19571 * nis/nis_remove.c (nis_remove): Likewise.
19572 * nis/nis_add.c (nis_add): Likewise.
19574 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19576 * posix/fnmatch_loop.c: Add some consts.
19578 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19580 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19583 * config.make.in (config-cflags-novzeroupper): Define.
19584 * configure.in: Substitute libc_cv_cc_novzeroupper.
19585 * elf/Makefile (AVX-CFLAGS): Define.
19586 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19587 (CFLAGS-tst-auditmod4a.c): Likewise.
19588 (CFLAGS-tst-auditmod4b.c): Likewise.
19589 (CFLAGS-tst-auditmod6b.c): Likewise.
19590 (CFLAGS-tst-auditmod6c.c): Likewise.
19591 (CFLAGS-tst-auditmod7b.c): Likewise.
19592 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19594 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19596 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19597 function to the callback.
19598 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19600 2011-02-02 Andreas Schwab <schwab@redhat.com>
19602 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19605 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19608 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19610 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19612 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19615 * elf/Makefile: Add rules to build and run new test.
19616 * elf/tst-initorder.c: New file.
19617 * elf/tst-initorder.exp: New file.
19618 * elf/tst-initordera1.c: New file.
19619 * elf/tst-initordera2.c: New file.
19620 * elf/tst-initordera3.c: New file.
19621 * elf/tst-initordera4.c: New file.
19622 * elf/tst-initorderb1.c: New file.
19623 * elf/tst-initorderb2.c: New file.
19624 * elf/tst-order-a1.c: New file.
19625 * elf/tst-order-a2.c: New file.
19626 * elf/tst-order-a3.c: New file.
19627 * elf/tst-order-a4.c: New file.
19628 * elf/tst-order-b1.c: New file.
19629 * elf/tst-order-b2.c: New file.
19630 * elf/tst-order-main.c: New file.
19631 New test case by George Gensure <werkt0@gmail.com>.
19633 2010-10-01 Andreas Schwab <schwab@redhat.com>
19635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19636 decoding ACE if AI_CANONIDN.
19638 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19640 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19642 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19644 * version.h (RELEASE): Bump for 2.13 release.
19645 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19647 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19651 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19653 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19654 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19656 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19658 * posix/getconf.c: Update copyright year.
19659 * catgets/gencat.c: Likewise.
19660 * csu/version.c: Likewise.
19661 * debug/catchsegv.sh: Likewise.
19662 * debug/xtrace.sh: Likewise.
19663 * elf/ldconfig.c: Likewise.
19664 * elf/ldd.bash.in: Likewise.
19665 * elf/sprof.c (print_version): Likewise.
19666 * iconv/iconv_prog.c: Likewise.
19667 * iconv/iconvconfig.c: Likewise.
19668 * locale/programs/locale.c: Likewise.
19669 * locale/programs/localedef.c: Likewise.
19670 * malloc/memusage.sh: Likewise.
19671 * malloc/mtrace.pl: Likewise.
19672 * nscd/nscd.c (print_version): Likewise.
19673 * nss/getent.c: Likewise.
19675 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19676 PF_CAIF, and PF_ALG.
19677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19679 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19681 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19682 (modules-names): Use them.
19683 (ifunc-test-modules, ifunc-pie-tests): Define.
19684 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19685 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19686 (test-extras): Likewise.
19687 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19688 $(compile-command.c).
19689 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19690 (all-built-dso): Define.
19691 (check-textrel.out, check-execstack.out): Depend on it.
19693 * configure.in: Don't override --enable-multi-arch.
19695 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19698 * nscd/hstcache.c (tryagain): Define.
19699 (cache_addhst): Return tryagain not notfound for temporary errors.
19700 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19703 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19706 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19707 to make the syscall.
19708 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19711 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19712 and fall back to matching as normal character if the string ends before
19713 the matching ']' is found. This is what POSIX requires.
19714 * posix/testfnm.c: Adjust test result.
19715 * posix/globtest.sh: Adjust test result. Add new test.
19716 * posix/tst-fnmatch.input: Likewise.
19717 * posix/tst-fnmatch2.c: Add new test.
19719 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19721 * elf/Makefile (check-execstack): Revert last change. Depend on
19723 (check-execstack.h): New target.
19724 (generated): Add check-execstack.h.
19725 * elf/check-execstack.c: Include "check-execstack.h".
19726 (main): Revert last change.
19727 (handle_file): Return zero if GNU_STACK is absent and
19728 DEFAULT_STACK_PERMS doesn't include PF_X.
19730 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19732 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19733 in child fails because the descriptor is already closed.
19734 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19735 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19736 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19739 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19743 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19744 temporary buffer used to handle multi lookups locally.
19745 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19747 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19749 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19752 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19754 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19755 alignment for SSE2.
19757 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19760 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19761 characters. When rounding increased number of integer digits recompute
19763 * stdio-common/tst-grouping.c: New file.
19764 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19766 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19768 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19769 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19771 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19773 * bits/select.h: Likewise.
19775 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19777 * po/ja.po: Update from translation team.
19779 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19782 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19783 implementation just like for lxstat, fxstatat, et al.
19785 2010-12-27 Jim Meyering <meyering@redhat.com>
19788 * posix/regexec.c (build_trtable): Return failure indication upon
19789 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19791 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19794 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19795 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19796 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19800 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19803 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19804 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19806 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19808 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19809 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19810 script has SORT_BY_INIT_PRIORITY.
19811 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19812 NO_CTORS_DTORS_SECTIONS is defined.
19813 * elf/soinit.c: Likewise.
19814 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19815 NO_CTORS_DTORS_SECTIONS is defined.
19816 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19817 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19818 * sysdeps/sh/init-first.c: Likewise.
19819 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19821 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19823 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19824 always use the slow path.
19826 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19828 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19829 similar rule which adds the sysdep directories to the header search in
19830 order to pick up the correct platform stackinfo.h.
19831 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19832 perform test if it is, otherwise return successfully without testing.
19833 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19834 DEFAULT_STACK_PERMS define in stackinfo.h.
19835 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19836 defined in stackinfo.h.
19837 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19838 DEFAULT_STACK_PERMS defined in stackinfo.h.
19839 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19840 * sysdeps/ia64/stackinfo.h: Likewise.
19841 * sysdeps/s390/stackinfo.h: Likewise.
19842 * sysdeps/sh/stackinfo.h: Likewise.
19843 * sysdeps/sparc/stackinfo.h: Likewise.
19844 * sysdeps/x86_64/stackinfo.h: Likewise.
19845 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19846 PF_X for powerpc64. Retain PF_X for powerpc32.
19848 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19850 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19852 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19853 GETDENTS_64BIT_ALIGNED.
19855 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19857 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19859 2010-12-10 Andreas Schwab <schwab@redhat.com>
19861 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19864 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19865 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19867 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19868 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19870 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19873 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19876 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19878 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19880 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19882 * po/it.po: Update from translation team.
19884 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19889 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19891 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19893 2010-11-24 Andreas Schwab <schwab@redhat.com>
19895 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19897 (gaih_getanswer_slice): Likewise.
19899 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19903 2010-05-31 Petr Baudis <pasky@suse.cz>
19906 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19907 silently even in the chroot mode.
19909 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19912 last patch a bit. Pretty printing
19914 2010-05-31 Petr Baudis <pasky@suse.cz>
19917 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19918 initialization of skip_initgroups_dyn.
19920 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19925 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19927 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19929 2010-11-11 Andreas Schwab <schwab@redhat.com>
19931 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19932 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19933 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19934 ($(objpfx)tst-fnmatch-mem): New rule.
19935 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19936 * posix/tst-fnmatch.c (main): Call mtrace.
19938 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19941 Support Intel processor model 6 and model 0x2c.
19943 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19945 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19948 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19951 * string/test-strncasecmp.c (check_result): New function.
19952 (do_one_test): Use it.
19953 (check1): New function.
19954 (test_main): Use it.
19955 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19956 Support strcasecmp and strncasecmp.
19958 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19961 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19964 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19966 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19970 * sysdeps/x86_64/multiarch/bzero.S: New file.
19971 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19972 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19973 * sysdeps/x86_64/multiarch/memset.S: New file.
19974 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19976 Set bit_Prefer_SSE_for_memop for Intel processors.
19977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19979 (index_Prefer_SSE_for_memop): Define.
19980 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19982 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19984 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19985 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19987 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19990 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19991 (__x86_64_raw_data_cache_size_half): Likewise.
19992 (__x86_64_raw_shared_cache_size): Likewise.
19993 (__x86_64_raw_shared_cache_size_half): Likewise.
19995 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19996 (__x86_64_raw_data_cache_size_half): Likewise.
19997 (__x86_64_raw_shared_cache_size): Likewise.
19998 (__x86_64_raw_shared_cache_size_half): Likewise.
19999 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20000 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20001 and __x86_64_raw_shared_cache_size_half. Round
20002 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20003 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20004 to multiple of 256 bytes.
20006 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20010 of inacessible symlinks. Verify result of symlink before returning it.
20011 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20012 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20014 2010-10-28 Erich Ritz <erichritz@gmail.com>
20016 * math/math.h (isinf): Fix typo in comment.
20018 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20020 * po/da.po: Update from translation team.
20022 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20024 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20025 is added to the list.
20027 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20028 Ulrich Drepper <drepper@gmail.com>
20030 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20031 the global list here. Move code to...
20032 (_dl_add_to_namespace_list): ...here. New function.
20033 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20034 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20035 * elf/dl-load.c (lose): Don't remove the element from the list.
20036 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20037 (_dl_map_object): Likewise.
20039 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20042 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20043 into all bytes of SSE register.
20044 Patch by Richard Li <richardpku@gmail.com>.
20046 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20049 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20052 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20054 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20055 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20057 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20062 2010-10-22 Andreas Schwab <schwab@redhat.com>
20064 * include/dlfcn.h (__RTLD_SECURE): Define.
20065 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20066 mode & __RTLD_SECURE instead.
20067 (open_path): Rename preloaded parameter to secure.
20068 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20069 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20070 * elf/dl-deps.c (openaux): Likewise.
20071 * elf/rtld.c (struct map_args): Remove is_preloaded.
20072 (map_doit): Don't use it.
20073 (dl_main): Likewise.
20074 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20075 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20077 2010-09-09 Andreas Schwab <schwab@redhat.com>
20079 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20080 (sysd-rules-targets): Remove duplicates.
20081 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20082 rtld-%.$o dependency.
20084 2010-10-18 Andreas Schwab <schwab@redhat.com>
20086 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20087 _dl_map_object do it.
20089 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20091 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20092 fast fma builtins, define the macros in the C99 standard.
20093 (FP_FAST_FMAF): Likewise.
20094 (FP_FAST_FMAL): Likewise.
20095 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20097 * bits/mathdef.h: Update copyright year.
20098 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20100 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20102 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20103 builtins, define the macros in the C99 standard.
20104 (FP_FAST_FMAF): Likewise.
20105 (FP_FAST_FMAL): Likewise.
20106 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20108 (FP_FAST_FMAF): Likewise.
20110 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20113 * math/libm-test.inc (fma_test): Some new testcases.
20114 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20116 y and infinite z. Do multiplication by C already in long double.
20117 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20119 y and infinite z. Do bitwise or of inexact bit into u.d.
20120 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20121 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20122 * sysdeps/i386/fpu/s_fma.S: Removed.
20123 * sysdeps/i386/fpu/s_fmal.S: Removed.
20125 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20128 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20130 computation is not scheduled after fetestexcept. Fix value
20131 of minimum denormal long double.
20133 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20136 * math/libm-test.inc (fma_test): Add some more tests.
20137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20140 2010-10-15 Andreas Schwab <schwab@redhat.com>
20142 * scripts/data/localplt-s390-linux-gnu.data: New file.
20143 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20145 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20148 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20149 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20151 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20153 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20155 if one of x and y is very large and the other is subnormal.
20156 * sysdeps/s390/fpu/s_fmaf.c: New file.
20157 * sysdeps/s390/fpu/s_fma.c: New file.
20158 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20159 * sysdeps/powerpc/fpu/s_fma.S: New file.
20160 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20161 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20162 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20164 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20167 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20170 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20171 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20172 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20173 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20174 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20177 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20180 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20181 * posix/bug-regex31.input: Add test case.
20183 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20185 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20186 * posix/bug-regex31.input: New file.
20189 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20190 (parse_sub_exp): Fix last change, use postorder.
20192 * posix/bug-regex31.c: New file.
20193 * posix/Makefile: Add rules to build and run bug-regex31.
20195 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20198 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20201 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20202 to have entries in sys_siglist.
20205 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20208 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20211 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20212 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20213 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20214 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20215 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20216 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20217 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20218 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20219 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20220 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20221 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20222 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20223 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20224 * math/ftestexcept.c (fetestexcept): Likewise.
20225 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20226 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20227 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20228 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20229 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20230 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20231 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20233 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20236 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20239 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20241 * string/bug-strstr1.c: New file.
20242 * string/Makefile: Add rules to build and run bug-strstr1.
20244 2010-10-05 Eric Blake <eblake@redhat.com>
20247 * string/str-two-way.h (two_way_long_needle): Always clear memory
20248 when skipping input due to the shift table.
20250 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20253 * malloc/mcheck.c: Handle large requests.
20256 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20257 for strncmp and strncasecmp.
20258 * string/stratcliff.c: Add tests for strcmp and strncmp.
20259 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20261 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20263 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20266 2010-09-30 Andreas Jaeger <aj@suse.de>
20268 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20269 (CGROUP_SUPER_MAGIC): Define.
20270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20271 Handle btrfs and cgroup file systems.
20272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20275 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20277 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20278 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20280 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20283 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20284 trying to locate the ELF header.
20286 2010-09-27 Andreas Schwab <schwab@redhat.com>
20289 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20290 Mask out sign-bit copies when constructing f_fsid.
20292 2010-09-24 Petr Baudis <pasky@suse.cz>
20294 * debug/stack_chk_fail_local.c: Add missing licence exception.
20295 * debug/warning-nop.c: Likewise.
20297 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20299 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20300 implementing getdents64 using getdents syscall, set d_type if
20301 __ASSUME_GETDENTS32_D_TYPE.
20303 2010-09-16 Andreas Schwab <schwab@redhat.com>
20305 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20306 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20308 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20311 * posix/unistd.h: Undo change of feature selection for ftruncate from
20314 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20316 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20319 2010-09-20 Andreas Schwab <schwab@redhat.com>
20321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20325 2010-09-14 Andreas Schwab <schwab@redhat.com>
20327 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20328 variables after CHECK_SP call.
20329 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20331 2010-09-13 Andreas Schwab <schwab@redhat.com>
20332 Ulrich Drepper <drepper@redhat.com>
20334 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20335 re-relocationg ld.so.
20336 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20337 _dl_init_paths call.
20338 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20341 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20343 * resolv/res_init.c (__res_vinit): Count the default server we added.
20345 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20346 Ulrich Drepper <drepper@redhat.com>
20349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20350 (____longjmp_chk): Use %ebx for saving value across system call.
20353 2010-09-06 Andreas Schwab <schwab@redhat.com>
20355 * manual/Makefile: Don't mix pattern rules with normal rules.
20357 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20359 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20361 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20362 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20363 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20364 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20368 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20371 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20372 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20374 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20376 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20377 * sysdeps/x86_64/addmul_1.S: Likewise.
20378 * sysdeps/x86_64/lshift.S: Likewise.
20379 * sysdeps/x86_64/mul_1.S: Likewise.
20380 * sysdeps/x86_64/rshift.S: Likewise.
20381 * sysdeps/x86_64/sub_n.S: Likewise.
20382 * sysdeps/x86_64/submul_1.S: Likewise.
20384 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20386 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20387 Define __sched_param instead of SCHED_* and sched_param when
20388 <bits/sched.h> is included with __need_schedparam defined.
20389 * bits/sched.h [__need_schedparam]
20390 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20391 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20392 (__defined_schedparam): Define to 1.
20393 (__sched_param): New structure, identical to sched_param.
20394 (__need_schedparam): Undefine.
20396 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20399 (epoll_create1): Declare.
20401 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20403 2010-08-31 Andreas Schwab <schwab@redhat.com>
20406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20407 shifting retval into place.
20409 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20411 * nis/rpcsvc/nis.h: Update copyright notice.
20412 * nis/rpcsvc/nis.x: Likewise.
20413 * nis/rpcsvc/nis_callback.h: Likewise.
20414 * nis/rpcsvc/nis_callback.x: Likewise.
20415 * nis/rpcsvc/nis_object.x: Likewise.
20416 * nis/rpcsvc/nis_tags.h: Likewise.
20417 * nis/rpcsvc/yp.h: Likewise.
20418 * nis/rpcsvc/yp.x: Likewise.
20419 * nis/rpcsvc/ypupd.h: Likewise.
20420 * nis/yp_xdr.c: Likewise.
20421 * nis/ypupdate_xdr.c: Likewise.
20423 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20424 mainly the body of pmap_getport. Add parameters to specify timeouts.
20425 (pmap_getport): Use __libc_rpc_getport.
20426 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20427 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20428 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20430 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20435 2010-08-27 Roland McGrath <roland@redhat.com>
20437 * sysdeps/i386/i686/multiarch/Makefile
20438 (CFLAGS-varshift.c): New variable.
20440 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20442 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20443 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20447 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20449 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20451 * sysdeps/x86_64/strlen.S: Unroll the loop.
20452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20453 strlen-sse2 strlen-sse2-bsf.
20454 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20455 __strlen_no_bsf if bit_Slow_BSF is set.
20456 (__strlen_sse42): Removed.
20457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20458 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20460 2010-08-25 Roland McGrath <roland@redhat.com>
20462 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20463 * sysdeps/x86_64/multiarch/varshift.c: New file.
20464 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20465 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20466 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20467 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20469 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20472 strlen-sse2 strlen-sse2-bsf.
20473 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20474 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20475 (__strlen_sse2): Removed.
20476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20479 bit_Slow_BSF for Atom.
20480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20481 (index_Slow_BSF): Define.
20482 (HAS_SLOW_BSF): Define.
20484 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20487 * resolv/res_init.c (__res_vinit): When no server address at all
20488 is given default to loopback.
20490 2010-08-24 Roland McGrath <roland@redhat.com>
20492 * configure.in: Remove config-name.h generation.
20493 * configure: Regenerated.
20494 * config-name.in: File removed.
20495 * scripts/config-uname.sh: New file.
20496 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20497 ($(objdir)config-name.h): New target.
20499 * sunrpc/rpc_parse.h: Avoid nested comment.
20501 2010-08-24 Richard Henderson <rth@redhat.com>
20502 Ulrich Drepper <drepper@redhat.com>
20503 H.J. Lu <hongjiu.lu@intel.com>
20505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20507 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20508 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20509 _mm_alignr_epi8 with _mm_loadu_si128.
20510 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20511 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20512 (__m128i_shift_right): Removed.
20513 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20514 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20515 * sysdeps/x86_64/multiarch/varshift.h: New file.
20516 * sysdeps/x86_64/multiarch/varshift.S: New file.
20518 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20520 * configure.in: Move assembler checks to before sysdep dir checking.
20522 2010-08-20 Petr Baudis <pasky@suse.cz>
20524 * LICENSES: Sync the sunrpc license.
20526 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20528 * sunrpc/auth_des.c: Update copyright notice once again.
20529 * sunrpc/auth_none.c: Likewise.
20530 * sunrpc/auth_unix.c: Likewise.
20531 * sunrpc/authdes_prot.c: Likewise.
20532 * sunrpc/authuxprot.c: Likewise.
20533 * sunrpc/bindrsvprt.c: Likewise.
20534 * sunrpc/clnt_gen.c: Likewise.
20535 * sunrpc/clnt_perr.c: Likewise.
20536 * sunrpc/clnt_raw.c: Likewise.
20537 * sunrpc/clnt_simp.c: Likewise.
20538 * sunrpc/clnt_tcp.c: Likewise.
20539 * sunrpc/clnt_udp.c: Likewise.
20540 * sunrpc/clnt_unix.c: Likewise.
20541 * sunrpc/des_crypt.c: Likewise.
20542 * sunrpc/des_soft.c: Likewise.
20543 * sunrpc/get_myaddr.c: Likewise.
20544 * sunrpc/getrpcport.c: Likewise.
20545 * sunrpc/key_call.c: Likewise.
20546 * sunrpc/key_prot.c: Likewise.
20547 * sunrpc/openchild.c: Likewise.
20548 * sunrpc/pm_getmaps.c: Likewise.
20549 * sunrpc/pm_getport.c: Likewise.
20550 * sunrpc/pmap_clnt.c: Likewise.
20551 * sunrpc/pmap_prot.c: Likewise.
20552 * sunrpc/pmap_prot2.c: Likewise.
20553 * sunrpc/pmap_rmt.c: Likewise.
20554 * sunrpc/rpc/auth.h: Likewise.
20555 * sunrpc/rpc/auth_unix.h: Likewise.
20556 * sunrpc/rpc/clnt.h: Likewise.
20557 * sunrpc/rpc/des_crypt.h: Likewise.
20558 * sunrpc/rpc/key_prot.h: Likewise.
20559 * sunrpc/rpc/netdb.h: Likewise.
20560 * sunrpc/rpc/pmap_clnt.h: Likewise.
20561 * sunrpc/rpc/pmap_prot.h: Likewise.
20562 * sunrpc/rpc/pmap_rmt.h: Likewise.
20563 * sunrpc/rpc/rpc.h: Likewise.
20564 * sunrpc/rpc/rpc_des.h: Likewise.
20565 * sunrpc/rpc/rpc_msg.h: Likewise.
20566 * sunrpc/rpc/svc.h: Likewise.
20567 * sunrpc/rpc/svc_auth.h: Likewise.
20568 * sunrpc/rpc/types.h: Likewise.
20569 * sunrpc/rpc/xdr.h: Likewise.
20570 * sunrpc/rpc_clntout.c: Likewise.
20571 * sunrpc/rpc_cmsg.c: Likewise.
20572 * sunrpc/rpc_common.c: Likewise.
20573 * sunrpc/rpc_cout.c: Likewise.
20574 * sunrpc/rpc_dtable.c: Likewise.
20575 * sunrpc/rpc_hout.c: Likewise.
20576 * sunrpc/rpc_main.c: Likewise.
20577 * sunrpc/rpc_parse.c: Likewise.
20578 * sunrpc/rpc_parse.h: Likewise.
20579 * sunrpc/rpc_prot.c: Likewise.
20580 * sunrpc/rpc_sample.c: Likewise.
20581 * sunrpc/rpc_scan.c: Likewise.
20582 * sunrpc/rpc_scan.h: Likewise.
20583 * sunrpc/rpc_svcout.c: Likewise.
20584 * sunrpc/rpc_tblout.c: Likewise.
20585 * sunrpc/rpc_util.c: Likewise.
20586 * sunrpc/rpc_util.h: Likewise.
20587 * sunrpc/rpcinfo.c: Likewise.
20588 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20589 * sunrpc/rpcsvc/key_prot.x: Likewise.
20590 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20591 * sunrpc/rpcsvc/mount.x: Likewise.
20592 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20593 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20594 * sunrpc/rpcsvc/rex.x: Likewise.
20595 * sunrpc/rpcsvc/rstat.x: Likewise.
20596 * sunrpc/rpcsvc/rusers.x: Likewise.
20597 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20598 * sunrpc/rpcsvc/spray.x: Likewise.
20599 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20600 * sunrpc/rtime.c: Likewise.
20601 * sunrpc/svc.c: Likewise.
20602 * sunrpc/svc_auth.c: Likewise.
20603 * sunrpc/svc_authux.c: Likewise.
20604 * sunrpc/svc_raw.c: Likewise.
20605 * sunrpc/svc_run.c: Likewise.
20606 * sunrpc/svc_simple.c: Likewise.
20607 * sunrpc/svc_tcp.c: Likewise.
20608 * sunrpc/svc_udp.c: Likewise.
20609 * sunrpc/svc_unix.c: Likewise.
20610 * sunrpc/svcauth_des.c: Likewise.
20611 * sunrpc/xcrypt.c: Likewise.
20612 * sunrpc/xdr.c: Likewise.
20613 * sunrpc/xdr_array.c: Likewise.
20614 * sunrpc/xdr_float.c: Likewise.
20615 * sunrpc/xdr_mem.c: Likewise.
20616 * sunrpc/xdr_rec.c: Likewise.
20617 * sunrpc/xdr_ref.c: Likewise.
20618 * sunrpc/xdr_sizeof.c: Likewise.
20619 * sunrpc/xdr_stdio.c: Likewise.
20621 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20624 2010-08-19 Andreas Schwab <schwab@redhat.com>
20626 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20628 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20630 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20631 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20633 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20634 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20635 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20636 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20637 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20639 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20640 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20641 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20642 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20643 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20645 2010-07-26 Anton Blanchard <anton@samba.org>
20647 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20648 * malloc/arena.c (heap_trim): Likewise.
20650 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20652 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20655 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20657 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20659 * sysdeps/i386/elf/Makefile: New file.
20661 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20663 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20664 from fanotify_init.
20665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20668 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20670 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20672 * sysdeps/multiarch/strcmp.S: Likewise.
20674 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20676 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20677 strncase_l-nonascii.
20678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20679 Add strncase_l-ssse3.
20680 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20681 * sysdeps/x86_64/strcmp.S: Likewise.
20682 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20683 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20684 * sysdeps/x86_64/strncase.S: New file.
20685 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20686 * sysdeps/x86_64/strncase_l.S: New file.
20687 * string/Makefile (strop-tests): Add strncasecmp.
20688 * string/test-strncasecmp.c: New file.
20690 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20693 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20694 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20696 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20698 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20700 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20702 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20704 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20706 2010-05-01 Alan Modra <amodra@gmail.com>
20708 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20709 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20710 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20711 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20712 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20713 tidying. Don't tail-call __sigjmp_save for static lib.
20714 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20716 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20717 (CALL_MCOUNT): Add eh info, and nop after bl.
20718 (TAIL_CALL_SYSCALL_ERROR): New macro.
20719 (PSEUDO_RET): Use it.
20720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20721 Correct save location of integer regs and cr.
20722 (_dl_profile_resolve): Correct cr save location. Delete nops
20723 after bl when SHARED. Reduce cfi size a little by better
20724 placement of cfi directives.
20725 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20726 make a stack frame. Instead use parm save area as a temp.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20728 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20730 Don't make a stack frame for parent, use parm save area.
20731 Increase child stack frame to 112 bytes. Don't save unused reg,
20732 and adjust reg usage. Set up cfi on error recovery and
20733 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20735 (__makecontext): Add dummy nop after jump to exit.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20737 Use correct parm save area and cr save, reduce stack frame.
20738 Correct cfi for possible PSEUDO_RET frame setup.
20739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20740 Branch to local label emitted by PSEUDO_RET rather than
20743 2010-08-12 Andreas Schwab <schwab@redhat.com>
20746 * locale/programs/locale.c (print_assignment): New function.
20747 (show_locale_vars): Use it.
20749 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20751 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20753 (struct statfs64): Likewise.
20754 (_STATFS_F_FLAGS): Define.
20755 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20757 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20758 (ST_VALID): Define locally.
20759 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20760 __statvfs_getflags, use the provided value.
20761 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20762 __ASSUME_STATFS_F_FLAGS.
20764 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20767 Add sys/fanotify.h.
20768 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20769 fanotify_mask for GLIBC_2.13.
20770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20771 fanotify_init and fanotify_mark.
20772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20773 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20777 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20778 prlimit64 for GLIBC_2.13.
20779 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20784 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20785 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20786 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20789 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20792 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20793 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20795 * nss/Makefile: Add rules to build and run tst-nss-test1.
20796 * shlib-versions: Add entry for libnss_test1.
20797 * nss/nss_test1.c: New file.
20798 * nss/tst-nss-test1.c: New file.
20800 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20801 (__nss_configure_lookup): Set appropriate entry in
20802 __nss_configure_lookup to true.
20803 * nss/nsswitch.h: Define enum with indeces of databases in
20804 databases and __nss_database_custom arrays. Declare
20805 __nss_database_custom.
20806 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20807 to avoid using nscd when custom rules are installed.
20808 * nss/getXXbyYY_r.c: Likewise.
20809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20811 * nss/nss_files/files-parse.c: Whitespace fixes.
20813 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20816 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20817 * posix/fnmatch_loop.c: Likewise.
20819 2010-07-17 Andi Kleen <ak@linux.intel.com>
20821 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20822 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20823 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20824 * Versions.def [GLIBC_2.13]: Add.
20826 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20828 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20829 Also fail if tpwd after pwuid call is NULL.
20831 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20833 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20834 when converting to ms.
20836 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20838 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20839 EOPNOTSUPP errors with ENOTTY.
20840 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20841 EOPNOTSUPP errors with ENOTTY.
20843 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20845 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20846 Add strcasecmp_l-ssse3.
20847 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20849 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20850 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20851 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20853 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20855 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20857 * string/Makefile (strop-tests): Add strcasecmp.
20858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20859 strcasecmp_l-nonascii.
20860 (gen-as-const-headers): Add locale-defines.sym.
20861 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20862 * sysdeps/x86_64/strcasecmp.S: New file.
20863 * sysdeps/x86_64/strcasecmp_l.S: New file.
20864 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20865 * sysdeps/x86_64/locale-defines.sym: New file.
20866 * string/test-strcasecmp.c: New file.
20868 * string/test-strcasestr.c: Test both ends of the range of characters.
20869 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20871 2010-07-29 Roland McGrath <roland@redhat.com>
20874 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20876 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20878 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20881 2010-07-27 Andreas Schwab <schwab@redhat.com>
20883 * manual/memory.texi (Malloc Tunable Parameters): Document
20886 2010-07-26 Roland McGrath <roland@redhat.com>
20889 * configure.in (-fgnu89-inline check): Set and substitute
20890 gnu89_inline, not libc_cv_gnu89_inline.
20891 * configure: Regenerated.
20892 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20894 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20896 * string/test-strnlen.c: New file.
20897 * string/Makefile (strop-tests): Add strnlen.
20898 * string/tester.c (test_strnlen): Add a few more test cases.
20899 * string/tst-strlen.c: Better error reporting.
20901 * sysdeps/x86_64/strnlen.S: New file.
20903 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20906 lower-latency instructions.
20908 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20910 * string/test-strcasestr.c: New file.
20911 * string/test-strstr.c: New file.
20912 * string/Makefile (strop-tests): Add strstr and strcasestr.
20913 * string/str-two-way.h: Don't undefine MAX.
20914 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20916 2010-07-21 Andreas Schwab <schwab@redhat.com>
20918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20919 strcasestr-nonascii.
20920 (CFLAGS-strcasestr-nonascii.c): Define.
20921 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20922 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20923 Remove unused attribute.
20925 2010-07-20 Roland McGrath <roland@redhat.com>
20927 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20928 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20929 ld.so.cache was broken. With it, there is no way to disable dsocaps
20930 like LD_HWCAP_MASK can disable hwcaps.
20932 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20934 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20936 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20938 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20939 call in strcasestr.
20940 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20941 __strcasestr_sse42_nonascii.
20942 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20943 strcasestr-nonascii.c.
20944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20946 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20948 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20950 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20953 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20955 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20958 2010-07-06 Andreas Schwab <schwab@redhat.com>
20961 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20964 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20967 _PC_PIPE_BUF using F_GETPIPE_SZ.
20969 2010-07-05 Roland McGrath <roland@redhat.com>
20971 * manual/arith.texi (Rounding Functions): Fix rint description
20972 implicit in round description.
20974 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20976 * elf/Makefile: Fix linking for a few tests to make recent linker
20979 2010-06-30 Andreas Schwab <schwab@redhat.com>
20981 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20982 $(common-objpfx)libc_nonshared.a.
20984 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20986 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20987 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20988 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20989 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20990 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20991 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20992 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20993 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21008 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21009 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21010 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21011 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21012 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21013 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21014 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21015 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21016 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21017 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21018 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21019 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21035 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21037 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21038 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21039 * string/memmove.c (memmove): Renamed to ...
21040 (MEMMOVE): ...this. Default to memmove.
21041 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21042 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21045 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21046 mempcpy-ssse3-back memmove-ssse3-back.
21047 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21048 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21050 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21051 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21052 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21053 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21054 * sysdeps/x86_64/multiarch/memmove.c: New file.
21055 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21056 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21057 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21058 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21059 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21062 (index_Fast_Copy_Backward): Define.
21063 (HAS_ARCH_FEATURE): Define.
21064 (HAS_FAST_REP_STRING): Define.
21065 (HAS_FAST_COPY_BACKWARD): Define.
21067 2010-06-21 Andreas Schwab <schwab@redhat.com>
21069 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21070 Restore proper fallback handling.
21072 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21075 * posix/group_member.c (__group_member): Correct checking loop.
21077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21078 OOM in getpwuid_r correctly. Return error number when the caller
21079 should return, otherwise -1.
21080 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21081 call returning > 0 value.
21082 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21084 2010-06-07 Andreas Schwab <schwab@redhat.com>
21086 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21087 libc_nonshared.a from targets in modules-names.
21089 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21091 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21094 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21097 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21101 2010-06-02 Andreas Schwab <schwab@redhat.com>
21103 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21105 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21107 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21116 2010-06-14 Roland McGrath <roland@redhat.com>
21118 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21120 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21122 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21123 __REDIRECT followed by __THROW.
21124 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21125 * posix/getopt.h (getopt): Likewise.
21127 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21129 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21130 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21131 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21133 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21134 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21136 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21140 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21144 Properly check family and model.
21146 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21148 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21150 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21152 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21154 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21156 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21159 2010-05-19 Andreas Schwab <schwab@redhat.com>
21161 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21164 2010-05-21 Andreas Schwab <schwab@redhat.com>
21166 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21167 and internal_recvmmsg.
21168 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21169 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21170 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21171 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21173 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21174 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21175 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21177 2010-05-20 Andreas Schwab <schwab@redhat.com>
21179 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21181 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21183 POWER7 optimizations.
21184 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21185 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21187 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21189 * version.h: Update for 2.13 development version.
21191 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21193 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21194 exceptions. Return 0.
21196 2010-05-07 Roland McGrath <roland@redhat.com>
21198 * elf/ldconfig.c (main): Add a const.
21200 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21202 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21203 (args_options): Add no-idn option.
21204 (ahosts_keys_int): Add idn_flags to ai_flags.
21205 (parse_option): Handle 'i' option to clear idn_flags.
21207 * malloc/malloc.c (_int_free): Possible race in the most recently
21208 added check. Only act on the data if no current modification
21211 See ChangeLog.17 for earlier changes.