1 012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14 FE_TONEAREST before applying Dekker multiplication and Knuth
15 addition. Clear inexact exceptions and check for exact zero
17 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20 * math/libm-test.inc (fma_test): Add more tests.
21 (fma_test_towardzero): Likewise.
22 (fma_test_downward): Likewise.
23 (fma_test_upward): Likewise.
24 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26 (libc_fesetround): New macro.
27 (libc_fesetroundf): Likewise.
28 (libc_fesetroundl): Likewise.
29 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31 (libc_fesetround_387): Likewise.
32 (libc_fesetroundf): New macro.
33 (libc_fesetround): Likewise.
34 (libc_fesetroundl): Likewise.
35 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37 (libc_fesetroundf): New macro.
38 (libc_fesetround): Likewise.
39 (libc_fesetroundl): Likewise.
40 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55 integer constant usable in #if and use that to give value to enum
57 (FE_DIVBYZERO): Likewise.
58 (FE_UNDERFLOW): Likewise.
59 (FE_OVERFLOW): Likewise.
60 (FE_INVALID): Likewise.
61 (FE_INVALID_SNAN): Likewise.
62 (FE_INVALID_ISI): Likewise.
63 (FE_INVALID_IDI): Likewise.
64 (FE_INVALID_ZDZ): Likewise.
65 (FE_INVALID_IMZ): Likewise.
66 (FE_INVALID_COMPARE): Likewise.
67 (FE_INVALID_SOFTWARE): Likewise.
68 (FE_INVALID_SQRT): Likewise.
69 (FE_INVALID_INTEGER_CONVERSION): Likewise.
70 (FE_TONEAREST): Likewise.
71 (FE_TOWARDZERO): Likewise.
72 (FE_UPWARD): Likewise.
73 (FE_DOWNWARD): Likewise.
74 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75 (FE_DIVBYZERO): Likewise.
76 (FE_OVERFLOW): Likewise.
77 (FE_UNDERFLOW): Likewise.
78 (FE_INEXACT): Likewise.
79 (FE_TONEAREST): Likewise.
80 (FE_DOWNWARD): Likewise.
81 (FE_UPWARD): Likewise.
82 (FE_TOWARDZERO): Likewise.
83 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
84 (FE_UNDERFLOW): Likewise.
85 (FE_OVERFLOW): Likewise.
86 (FE_DIVBYZERO): Likewise.
87 (FE_INVALID): Likewise.
88 (FE_TONEAREST): Likewise.
89 (FE_TOWARDZERO): Likewise.
90 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
91 (FE_OVERFLOW): Likewise.
92 (FE_UNDERFLOW): Likewise.
93 (FE_DIVBYZERO): Likewise.
94 (FE_INEXACT): Likewise.
95 (FE_TONEAREST): Likewise.
96 (FE_TOWARDZERO): Likewise.
97 (FE_UPWARD): Likewise.
98 (FE_DOWNWARD): Likewise.
99 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
100 (FE_DIVBYZERO): Likewise.
101 (FE_OVERFLOW): Likewise.
102 (FE_UNDERFLOW): Likewise.
103 (FE_INEXACT): Likewise.
104 (FE_TONEAREST): Likewise.
105 (FE_DOWNWARD): Likewise.
106 (FE_UPWARD): Likewise.
107 (FE_TOWARDZERO): Likewise.
109 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
111 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
113 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
115 * scripts/cross-test-ssh.sh (command): Use newlines to separate
116 commands. Quote $PWD.
117 (blacklist_exports): Don't use remove_newlines. Replace "declare
119 (remove_newlines): Remove.
121 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
123 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
124 * stdlib/stdlib.h (atof): Moved to ...
125 * include/bits/stdlib-float.h: Here. New file.
126 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
127 * stdlib/bits/stdlib-float.h: New file.
128 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
130 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
133 2012-11-02 Joseph Myers <joseph@codesourcery.com>
135 * conform/conformtest.pl (@headers): Add fenv.h.
136 * conform/data/fenv.h-data: New file.
137 * include/fenv.h [_ISOMAC]: Disable all contents of file except
138 include of <math/fenv.h>.
140 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
141 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
142 && !UNIX98]. Enables tests for XOPEN2K8.
143 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
144 POSIX2008]: Likewise.
146 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
147 (struct rusage): Do not expect type or its members.
150 * math/math.h (FP_NAN): Define macro to integer constant usable in
151 #if and use that to give value to enum constant.
152 (FP_INFINITE): Likewise.
154 (FP_SUBNORMAL): Likewise.
155 (FP_NORMAL): Likewise.
157 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
159 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
160 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
163 2012-11-02 Roland McGrath <roland@hack.frob.com>
165 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
166 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
167 autoconf-time if not.
168 * configure.in: Remove AC_PREREQ.
170 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
172 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
173 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
174 of the internal implementation.
176 2012-11-02 Joseph Myers <joseph@codesourcery.com>
178 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
179 except include of <misc/sys/syslog.h>.
181 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
184 function returns with a NULL context exit with zero.
186 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
188 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
190 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
192 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
193 (run_program_cmd): This.
194 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
195 (tst_langinfo): New variable. Use it.
197 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
199 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
200 floating point opcodes.
202 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
204 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
207 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
209 * sysdeps/mach/hurd/powerpc: Remove directory.
210 * sysdeps/mach/powerpc: Likewise.
212 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
214 * scripts/check-local-headers.sh: Ignore c++ headers.
216 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
218 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
219 __libc_cleanup_region_start argument.
221 2012-11-01 Joseph Myers <joseph@codesourcery.com>
225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
226 x * y using scaling, not as x * y + z.
227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
229 * math/libm-test.inc (fma_test): Add more tests.
230 (fma_test_towardzero): Likewise.
231 (fma_test_downward): Likewise.
232 (fma_test_upward): Likewise.
234 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
236 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
238 2012-10-31 Joseph Myers <joseph@codesourcery.com>
240 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
243 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
245 * rt/tst-shm.c (worker): Correct checking for mmap failure.
247 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
254 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
257 Fix the order of the list for glibc 2.17.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
261 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
265 2012-10-31 Joseph Myers <joseph@codesourcery.com>
268 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
269 for low part of x being zero before using __atanl (y).
270 * math/libm-test.inc (atan2_test): Add another test.
272 * manual/install.texi (Configuring and compiling): Document
273 general use of test-wrapper and test-wrapper-env.
274 * INSTALL: Regenerated.
276 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
277 (__fma): Do not extract and scale down low bits on after-rounding
278 systems when result rounded to normal precision would have normal
280 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
281 (__fmal): Do not extract and scale down low bits on after-rounding
282 systems when result rounded to normal precision would have normal
284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
285 (__fmal): Do not extract and scale down low bits on after-rounding
286 systems when result rounded to normal precision would have normal
288 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
290 (fma_test): Add more tests.
291 (fma_test_towardzero): Likewise.
292 (fma_test_downward): Likewise.
293 (fma_test_upward): Likewise.
295 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
297 * sysdeps/i386/tininess.h: Renamed to ...
298 * sysdeps/x86/tininess.h: This.
299 * sysdeps/x86_64/tininess.h: Removed.
301 2012-10-30 Joseph Myers <joseph@codesourcery.com>
303 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
304 input. Use $(build-program-cmd).
305 ($(objpfx)tst-array1-static.out): Likewise.
306 ($(objpfx)tst-array2.out): Likewise.
307 ($(objpfx)tst-array3.out): Likewise.
308 ($(objpfx)tst-array4.out): Likewise.
309 ($(objpfx)tst-array5.out): Likewise.
310 ($(objpfx)tst-array5-static.out): Likewise.
312 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
314 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
317 * nss/nsswitch.h (nss_interface_function): Provide new
318 macro for use with NSS functions.
319 * grp/initgroups.c: Use new macro.
320 * nss/getXXbyYY.c: Likewise.
321 * nss/getXXbyYY_r.c: Likewise.
322 * nss/getXXent.c: Likewise.
323 * nss/getXXent_r.c: Likewise.
324 * sysdeps/posix/getaddrinfo.c: Likewise.
326 2012-10-30 Andreas Jaeger <aj@suse.de>
328 * po/ru.po: Update Russion translation from translation project.
330 2012-10-30 Joseph Myers <joseph@codesourcery.com>
334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
335 result and shift together with sticky bit instead of replicating
336 round-to-nearest rounding.
337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
339 * math/libm-test.inc (fma_test): Add more tests. Do not permit
340 missing underflow exceptions.
341 (fma_test_towardzero): Add more tests.
342 (fma_test_downward): Likewise.
343 (fma_test_upward): Likewise.
346 * sysdeps/generic/tininess.h: New file.
347 * sysdeps/i386/tininess.h: Likewise.
348 * sysdeps/sh/tininess.h: Likewise.
349 * sysdeps/x86_64/tininess.h: Likewise.
350 * stdlib/tst-strtod-underflow.c: Likewise.
351 * stdlib/tst-tininess.c: Likewise.
352 * stdlib/strtod_l.c: Include <tininess.h>.
353 (round_and_return): Do not set errno for exact underflow cases.
354 Force an underflow exception when setting errno for underflow.
355 Determine underflow based on rounding to normal precision if
356 TININESS_AFTER_ROUNDING.
357 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
358 ERANGE for exact underflow cases.
359 * stdlib/Makefile (tests): Add tst-tininess and
360 tst-strtod-underflow.
361 ($(objpfx)tst-tininess): Use $(link-libm).
362 ($(objpfx)tst-strtod-underflow): Likewise.
364 2012-10-30 Andreas Jaeger <aj@suse.de>
367 * elf/Makefile (tests): Remove conditional for have-initfini-array
368 since this is now always required and the variable does not exist
370 (tests-static): Likewise.
371 (modules-names): Likewise.
373 * po/eo.po: Add Esperanto translation from translation project.
375 * elf/tst-array1.c (fini_array): Make writeable so that it can be
376 merged with constructor/destructor.
377 (init_array): Likewise.
378 * elf/tst-array2dep.c (fini_array): Likewise.
379 (init_array): Likewise.
381 2012-10-29 Mike Frysinger <vapier@gentoo.org>
383 * manual/message.texi: Delete @cartouche tags.
385 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
387 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
389 * sysdeps/mach/hurd/fsync.c: Likewise.
391 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
392 [_POSIX_REALTIME_SIGNALS]: Change condition to
393 [_POSIX_REALTIME_SIGNALS > 0].
395 2012-10-27 Andreas Jaeger <aj@suse.de>
397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
398 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
400 [__WORDSIZE != 64]: Likewise.
402 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
404 * iconvdata/tst-table.sh: Remove ${SHELL}.
405 * iconvdata/tst-tables.sh: Likewise.
407 2012-10-25 David S. Miller <davem@davemloft.net>
409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
410 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
416 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
417 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
420 2012-10-25 Roland McGrath <roland@hack.frob.com>
422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
423 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
426 2012-10-25 Joseph Myers <joseph@codesourcery.com>
427 Jim Blandy <jimb@codesourcery.com>
429 * scripts/cross-test-ssh.sh: New file.
430 * manual/install.texi (Configuring and compiling): Document use of
432 * INSTALL: Regenerated.
434 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
436 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
439 2012-10-25 Joseph Myers <joseph@codesourcery.com>
441 * Makeconfig (run-program-prefix): Fix comment.
443 2012-10-24 Joseph Myers <joseph@codesourcery.com>
444 Jim Blandy <jimb@codesourcery.com>
446 * Makeconfig (test-wrapper): New variable,
447 (test-wrapper-env): Likewise.
448 [$(cross-compiling) = yes && $(test-wrapper) != ""]
449 (run-built-tests): Define to yes.
450 (run-program-prefix): Use $(test-wrapper).
451 (built-program-cmd): Likewise.
452 * Rules (make-test-out): Use $(test-wrapper-env) and
453 $(host-built-program-cmd).
454 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
455 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
457 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
458 $(test-wrapper-env) to tst-rtld-load-self.sh.
459 ($(objpfx)order2.out): Use $(test-wrapper).
460 ($(objpfx)tst-initorder.out): Likewise.
461 ($(objpfx)tst-initorder2.out): Likewise.
462 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
463 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
464 (test_wrapper_env): New variable. Use it to run ld.so.
465 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
467 (test_wrapper_env): Likewise.
468 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
469 $(test-wrapper) to run-iconv-test.sh.
470 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
471 (ICONV): Use $test_wrapper.
472 * posix/Makefile ($(objpfx)globtest.out): Pass
473 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
474 globtest.sh, not $(run-program-prefix).
475 * posix/globtest.sh (run_via_rtld_prefix): New variable.
476 (test_wrapper): Likewise.
477 (test_wrapper_env): Likewise. Use it to run globtest with HOME
478 set together with run_via_rtld_prefix.
479 (run_program_prefix): Define in terms of test_wrapper and
482 2012-10-24 Roland McGrath <roland@hack.frob.com>
484 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
485 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
489 * include/time.h: Remove librt_hidden_proto (clock_gettime).
490 Declare __clock_getres, __clock_gettime, __clock_settime,
491 __clock_nanosleep, and __clock_getcpuclockid.
492 * rt/clock_gettime.c: Define __clock_gettime as an alias.
493 Remove librt_hidden_def (clock_gettime).
494 * sysdeps/unix/clock_gettime.c: Likewise.
495 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
497 * rt/clock_getres.c: Define __clock_getres as an alias.
498 * sysdeps/posix/clock_getres.c: Likewise.
499 * rt/clock_settime.c: Define __clock_settime as an alias.
500 * sysdeps/unix/clock_settime.c: Likewise.
501 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
502 * sysdeps/unix/clock_nanosleep.c: Likewise.
503 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
504 * rt/clock-compat.c: New file.
505 * rt/Makefile (librt-routines): Add clock-compat and move
506 $(clock-routines) to ...
507 (routines): ... here, new variable.
508 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
509 Don't add get_clockfreq here.
510 * rt/Versions (libc: GLIBC_2.17): New version set.
511 Add clock_* symbols here.
512 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
514 (GLIBC_2.17): Add clock_* symbols.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
526 * NEWS: Mention the move.
528 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
529 Use __open, __read, __close rather than their public counterparts.
530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
531 (__get_clockfreq_via_cpuinfo): Likewise.
532 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
533 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
535 * config.h.in (HAVE_IFUNC): New #undef.
536 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
538 * configure: Regenerated.
540 2012-10-24 Mike Frysinger <vapier@gentoo.org>
542 * configure.in: Move READELF check to start of file.
543 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
544 libc_cv_asm_gnu_indirect_function in the process.
545 * configure: Regenerated.
547 2012-10-24 Mike Frysinger <vapier@gentoo.org>
549 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
550 send the output to /dev/null.
551 (libc_cv_cc_with_libunwind): Likewise.
552 (libc_cv_as_noexecstack): Likewise.
553 * configure: Regenerate.
555 2012-10-24 Joseph Myers <joseph@codesourcery.com>
557 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
559 * posix/globtest.sh (TMPDIR): Do not set.
560 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
563 2012-10-24 Andreas Jaeger <aj@suse.de>
565 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
566 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
567 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
568 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
569 posix_fadvise64, posix_fallocate64.
571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
572 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
573 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
575 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
577 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
580 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
581 <bits/fcntl-linux.h>.
582 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
585 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
586 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
587 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
588 [__WORDSIZE != 64]: Likewise.
590 2012-10-23 Joseph Myers <joseph@codesourcery.com>
592 * Makeconfig (run-built-tests): New variable.
593 * Rules [$(cross-compiling) = yes]: Change condition to
594 [$(run-built-tests) = no].
595 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
596 to [$(run-built-tests) = yes].
597 * elf/Makefile [$(cross-compiling) = no]: Likewise
598 * grp/Makefile [$(cross-compiling) = no]: Likewise.
599 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
600 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
601 * intl/Makefile [$(cross-compiling) = no]: Likewise.
602 * io/Makefile [$(cross-compiling) = no]: Likewise.
603 * libio/Makefile [$(cross-compiling) = no]: Likewise.
604 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
605 * misc/Makefile [$(cross-compiling) = no]: Likewise.
606 * posix/Makefile [$(cross-compiling) = no]: Likewise.
607 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
608 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
609 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
610 * string/Makefile [$(cross-compiling) = no]: Likewise.
612 * posix/Makefile ($(objpfx)globtest.out): Pass
613 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
614 $(rtld-installed-name).
615 * posix/globtest.sh (elf_objpfx): Remove variable.
616 (rtld_installed_name): Likewise.
617 (library_path): Likewise.
618 (run_program_prefix): New variable. Use for running globtest
621 2012-10-23 Jim Blandy <jimb@codesourcery.com>
622 Joseph Myers <joseph@codesourcery.com>
624 * Makeconfig (host-built-program-cmd): New variable.
625 * elf/Makefile (tst-stackguard1-ARGS): Use
626 $(host-built-program-cmd).
627 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
628 (tst-spawn-ARGS): Likewise.
629 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
631 2012-10-23 Joseph Myers <joseph@codesourcery.com>
632 Jim Blandy <jimb@codesourcery.com>
634 * Makeconfig (run-via-rtld-prefix): New variable.
635 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
636 (built-program-cmd): Likewise.
638 2012-10-22 Andreas Jaeger <aj@suse.de>
640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
641 __O_RSYNC if it exists, otherwise to O_SYNC.
643 2012-10-22 Jim Blandy <jimb@codesourcery.com>
644 Joseph Myers <joseph@codesourcery.com>
646 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
648 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
650 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
653 2012-10-22 Andreas Jaeger <aj@suse.de>
655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
663 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
670 2012-10-21 Jim Blandy <jimb@codesourcery.com>
671 Joseph Myers <joseph@codesourcery.com>
673 * config.make.in (NM): New variable.
675 2012-10-21 Andreas Jaeger <aj@suse.de>
677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
678 definitions and declarations that are provided by
679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
681 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
684 * elf/Makefile (tests-static): Add tst-leaks1-static.
685 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
686 ($(objpfx)tst-leaks1-static): New rule.
687 ($(objpfx)tst-leaks1-static-mem): Likewise.
688 (tst-leaks1-static-ENV): New macro.
689 * elf/dl-open.c (dl_open_worker): Check the main application
690 only if SHARED is defined.
691 * elf/tst-leaks1-static.c: New file.
693 2012-10-20 Andreas Jaeger <aj@suse.de>
695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
696 generic values for Linux.
697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
698 and declarations that are provided by <bits/fcntl-linux.h> and
699 include <bits/fcntl-linux.h>.
700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
703 2012-10-20 Roland McGrath <roland@hack.frob.com>
705 * io/fcntl.h: Move include of <bits/types.h> to the top and
706 include it unconditionally.
708 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
710 * wcsmbs/Makefile (tests-ifunc): New variable.
711 (tests): Add $(tests-ifunc).
712 * wcsmbs/test-wcschr-ifunc.c: New file.
713 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
714 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
715 * wcsmbs/test-wcslen-ifunc.c: Likewise.
716 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
717 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
719 * string/Makefile (tests-ifunc): New variable.
720 (tests): Add $(tests-ifunc).
721 * string/test-memccpy.c (TEST_NAME): New macro.
722 * string/test-memchr.c (TEST_NAME): Likewise.
723 * string/test-memcmp.c (TEST_NAME): Likewise.
724 * string/test-memcpy.c (TEST_NAME): Likewise.
725 * string/test-memmem.c (TEST_NAME): Likewise.
726 * string/test-memmove.c (TEST_NAME): Likewise.
727 * string/test-memset.c (TEST_NAME): Likewise.
728 * string/test-rawmemchr.c (TEST_NAME): Likewise.
729 * string/test-stpcpy.c (TEST_NAME): Likewise.
730 * string/test-stpncpy.c (TEST_NAME): Likewise.
731 * string/test-strcasecmp.c (TEST_NAME): Likewise.
732 * string/test-strcasestr.c (TEST_NAME): Likewise.
733 * string/test-strcat.c (TEST_NAME): Likewise.
734 * string/test-strchr.c (TEST_NAME): Likewise.
735 * string/test-strcmp.c(TEST_NAME): Likewise.
736 * string/test-strcpy.c (TEST_NAME): Likewise.
737 * string/test-strcspn.c (TEST_NAME): Likewise.
738 * string/test-strlen.c (TEST_NAME): Likewise.
739 * string/test-strncasecmp.c (TEST_NAME): Likewise.
740 * string/test-strncmp.c (TEST_NAME): Likewise.
741 * string/test-strncpy.c (TEST_NAME): Likewise.
742 * string/test-strnlen.c (TEST_NAME): Likewise.
743 * string/test-strpbrk.c (TEST_NAME): Likewise.
744 * string/test-strrchr.c (TEST_NAME): Likewise.
745 * string/test-strspn.c (TEST_NAME): Likewise.
746 * string/test-strstr.c (TEST_NAME): Likewise.
747 * string/test-bcopy-ifunc.c: New file.
748 * string/test-bzero-ifunc.c: Likewise.
749 * string/test-memccpy-ifunc.c: Likewise.
750 * string/test-memchr-ifunc.c: Likewise.
751 * string/test-memcmp-ifunc.c: Likewise.
752 * string/test-memcpy-ifunc.c: Likewise.
753 * string/test-memmem-ifunc.c: Likewise.
754 * string/test-memmove-ifunc.c: Likewise.
755 * string/test-mempcpy-ifunc.c: Likewise.
756 * string/test-memset-ifunc.c: Likewise.
757 * string/test-rawmemchr-ifunc.c: Likewise.
758 * string/test-stpcpy-ifunc.c: Likewise.
759 * string/test-stpncpy-ifunc.c: Likewise.
760 * string/test-strcasecmp-ifunc.c: Likewise.
761 * string/test-strcasestr-ifunc.c: Likewise.
762 * string/test-strcat-ifunc.c: Likewise.
763 * string/test-strchr-ifunc.c: Likewise.
764 * string/test-strchrnul-ifunc.c: Likewise.
765 * string/test-strcmp-ifunc.c: Likewise.
766 * string/test-strcpy-ifunc.c: Likewise.
767 * string/test-strcspn-ifunc.c: Likewise.
768 * string/test-strlen-ifunc.c: Likewise.
769 * string/test-strncasecmp-ifunc.c: Likewise.
770 * string/test-strncat-ifunc.c: Likewise.
771 * string/test-strncmp-ifunc.c: Likewise.
772 * string/test-strncpy-ifunc.c: Likewise.
773 * string/test-strnlen-ifunc.c: Likewise.
774 * string/test-strpbrk-ifunc.c: Likewise.
775 * string/test-strrchr-ifunc.c: Likewise.
776 * string/test-strspn-ifunc.c: Likewise.
777 * string/test-strstr-ifunc.c: Likewise.
779 * debug/Makefile (tests-ifunc): New variable.
780 (tests): Add $(tests-ifunc).
781 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
782 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
783 * debug/test-stpcpy_chk-ifunc.c: New file.
784 * debug/test-strcpy_chk-ifunc.c: Likewise.
786 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
789 * elf/dl-load.c (open_verify): Retry read if the entire ELF
790 header is not read in.
792 2012-10-19 Joseph Myers <joseph@codesourcery.com>
794 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
795 script to $(SHELL) as $<. Pass $(common-objpfx) to script
796 directly. Pass built executable to script as
797 $(built-program-cmd).
798 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
799 $testprogram without using LD_LIBRARY_PATH and $ldso.
801 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
802 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
803 $(rtld-installed-name).
804 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
805 (rtld_installed_name): Likewise.
806 (library_path): Likewise.
807 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
808 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
809 $(run-program-prefix) to tst-tables.sh.
810 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
811 it to run tst-table-from and tst-table-to.
812 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
813 Pass it to tst-table.sh.
814 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
815 $(run-program-prefix) to tst-gettext.sh.
816 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
818 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
820 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
822 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
824 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
826 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
827 $(run-program-prefix) to tst-mtrace.sh.
828 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
830 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
831 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
832 $(rtld-installed-name).
833 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
834 (rtld_installed_name): Likewise.
835 (run_program_prefix): New variable. Use it to run wordexp-test.
837 * Makeconfig (ARCH): Remove all definitions.
839 [ARCH]: Remove conditional code.
840 [!objdir]: Give error.
841 [!objdir] (objpfx): Remove.
842 [!objdir] (common-objpfx): Likewise.
843 [!objdir] (common-objdir): Likewise.
844 * configure.in (config_makefile): Remove. Hardcode Makefile in
845 AC_CONFIG_FILES call.
846 * configure: Regenerated.
849 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
853 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
854 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
855 $(rtld-installed-name).
856 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
857 (rtld_installed_name): Likwise.
858 (runit): Remove function.
859 (run_getconf): New variable, Use it for running getconf binary.
861 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
864 * string/test-memmem.c (check_result): New function.
865 (do_one_test): Use it.
866 (check1): New function.
869 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
871 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
873 2012-10-18 Joseph Myers <joseph@codesourcery.com>
875 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
876 (_G_LSEEK64): Likewise.
877 (_G_MMAP64): Likewise.
878 (_G_FSTAT64): Likewise.
879 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
880 (_G_LSEEK64): Likewise.
881 (_G_MMAP64): Likewise.
882 (_G_FSTAT64): Likewise.
883 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
884 unconditional. Call __mmap64 directly.
885 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
886 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
888 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
889 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
891 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
892 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
894 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
895 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
897 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
898 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
900 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
901 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
903 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
904 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
906 (freopen64) [!_G_OPEN64]: Remove conditional code.
907 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
909 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
910 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
912 (ftello64) [!_G_LSEEK64]: Remove conditional code.
913 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
915 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
916 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
918 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
919 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
921 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
922 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
924 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
925 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
927 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
929 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
932 * manual/memory.texi (Malloc Tunable Parameters): Add note
933 about free list pointers overwriting some perturb bytes.
934 Wording suggested by Roland McGrath.
936 2012-10-17 Joseph Myers <joseph@codesourcery.com>
938 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
939 (lgamma_test): Likewise.
940 (tgamma_test): Likewise.
942 2012-10-16 Florian Weimer <fweimer@redhat.com>
945 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
946 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
948 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
950 * NEWS: Mention BZ #14716.
951 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
952 when removing AVAILABLE1_USES_J macro.
954 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
956 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
957 (__bswap_64): __uint64_t for unsigned 64-bit int.
959 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
961 * include/string.h (memmem): Declare libc hidden alias.
962 * string/memmem.c (memmem): Define libc hidden alias.
963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
964 __read, __close instead of open, read, close.
966 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
969 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
971 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
972 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
973 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
975 (__rawmemchr_sse2): Likewise.
976 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
977 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
978 (__strchr_sse2): Likewise.
979 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
980 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
981 (__strcasecmp_sse2): Likewise.
982 (__strncasecmp_sse2): Likewise.
983 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
984 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
985 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
986 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
987 (__strrchr_sse2): Likewise.
988 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
990 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
992 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
993 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
994 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
998 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
999 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1000 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1001 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1002 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1003 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1004 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1005 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1006 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1007 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1008 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1009 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1010 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1011 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1012 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1013 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1014 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1015 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1016 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1017 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1018 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1019 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1021 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1023 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1024 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1025 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1026 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1028 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1030 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1031 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1032 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1033 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1035 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1036 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1037 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1038 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1039 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1040 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1041 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1042 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1043 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1044 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1045 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1046 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1047 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1048 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1049 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1051 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1052 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1053 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1054 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1055 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1056 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1057 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1058 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1060 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1061 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1067 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1068 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1069 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1070 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1071 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1072 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1073 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1074 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1075 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1077 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1078 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1079 * include/ifunc-impl-list.h: New file.
1080 * misc/ifunc-impl-list.c: Likewise.
1081 * misc/Makefile (routines): Add ifunc-impl-list.
1082 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1083 * string/test-string.h: Include <ifunc-impl-list.h>.
1084 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1085 impl_array): New variables.
1086 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1088 (test_init): Call __libc_ifunc_impl_list to initialize
1089 func_list if TEST_IFUNC and TEST_NAME are defined.
1091 * string/Makefile (strop-tests): Add bcopy and bzero.
1092 * string/test-bcopy.c: New file.
1093 * string/test-bzero.c: Likewise.
1094 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1096 * string/test-memset.c: Support bzero test if TEST_BZERO is
1098 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1100 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1102 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1105 2012-10-10 Joseph Myers <joseph@codesourcery.com>
1107 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1108 * configure: Regenerated.
1110 * Makeconfig (+link-static-before-libc): Don't include
1111 $(link-static-libc).
1113 * libio/libio.h (_IO_pos_t): Remove.
1115 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1117 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1120 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1122 * crypt/crypt-entry.c: Include fips-private.h.
1123 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1124 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1125 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1126 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1128 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
1130 * crypt/crypt-private.h: Include stdbool.h.
1131 (_ufc_setup_salt_r): Return bool.
1132 * crypt/crypt-entry.c: Include errno.h.
1133 (__crypt_r): Return NULL with EINVAL for bad salt.
1134 * crypt/crypt_util.c (bad_for_salt): New.
1135 (_ufc_setup_salt_r): Check that salt is long enough and within
1136 the specified alphabet.
1137 * crypt/badsalttest.c: New file.
1138 * crypt/Makefile (tests): Add it.
1139 ($(objpfx)badsalttest): New.
1141 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1143 * NEWS: Add entry for BZ #14602.
1145 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1147 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1149 * math/libm-test.inc: Update comment listing what functions and
1151 (isgreater_test): New function.
1152 (isgreaterequal_test): Likewise.
1153 (isless_test): Likewise.
1154 (islessequal_test): Likewise.
1155 (islessgreater_test): Likewise.
1156 (isunordered_test): Likewise.
1157 (main): Call the new functions.
1159 2012-10-09 Roland McGrath <roland@hack.frob.com>
1161 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1162 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1163 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1164 * sysdeps/i386/configure: Regenerated.
1165 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1166 * sysdeps/mach/configure: Regenerated.
1167 * sysdeps/mach/hurd/configure: Regenerated.
1168 * sysdeps/powerpc/configure: Regenerated.
1169 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1170 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1171 * sysdeps/s390/s390-32/configure: Regenerated.
1172 * sysdeps/s390/s390-64/configure: Regenerated.
1173 * sysdeps/sh/configure: Regenerated.
1174 * sysdeps/sparc/configure: Regenerated.
1175 * sysdeps/unix/sysv/linux/configure: Regenerated.
1176 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1177 * sysdeps/x86_64/configure: Regenerated.
1179 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1180 defined. Don't check if MAP is NULL.
1182 2012-10-09 Joseph Myers <joseph@codesourcery.com>
1184 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1185 (_G_stat64): Likewise.
1186 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1187 (_G_stat64): Likewise.
1188 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1189 instead of struct _G_stat64.
1190 * libio/fileops.c (mmap_remap_check): Likewise.
1191 (decide_maybe_mmap): Likewise.
1192 (_IO_new_file_seekoff): Likewise.
1193 (_IO_file_stat): Likewise.
1194 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1196 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1197 instead of struct _G_stat64.
1198 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1200 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1203 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1205 (CHECK_EOL): New macro.
1206 (two_way_short_needle): Check beginning of haystack for EOL. Use
1208 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1209 Replace with CHECK_EOL.
1210 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1211 Replace with CHECK_EOL.
1213 2012-10-08 Joseph Myers <joseph@codesourcery.com>
1215 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1217 * math/libm-test.inc: Update comment listing what functions and
1219 (finite_test): New function.
1220 (isinf_test): Likewise.
1221 (isnan_test): Likewise.
1222 (fpclassify_test): Test subnormal input.
1223 (isfinite_test): Likewise.
1224 (isnormal_test): Likewise.
1225 (main): Call the new functions.
1227 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1230 * Makerules (%.dynsym): Force C locale when running
1231 $(OBJDUMP) --dynamic-syms.
1233 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1238 2012-10-06 David S. Miller <davem@davemloft.net>
1240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1241 upper 32-bits of the length value in %o2 since we use branch-on-register
1242 tests which consider the entire 64-bit register.
1244 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1246 * string/test-strstr.c (check2): Add a test for page boundary.
1248 2012-10-05 David S. Miller <davem@davemloft.net>
1250 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1251 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1253 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1256 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1257 and bzero when HWCAP_SPARC_CRYPTO is present.
1259 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1262 * string/test-strstr.c (check2): New function.
1263 (test_main): Call check2.
1265 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1267 * string/bug-strcasestr1.c (do_test): Moved to ...
1268 * string/test-strcasestr.c (check1): Here. New function.
1269 (do_one_test): Break out result checking code into ...
1270 (check_result): This. New function.
1271 (do_one_test): Call check_result.
1272 (test_main): Call check1.
1273 * string/bug-strchr1.c (do_test): Moved to ...
1274 * string/test-strchr.c (check1): Here. New function.
1275 (do_one_test): Break out result checking code into ...
1276 (check_result): This. New function.
1277 (do_one_test): Call check_result.
1278 (test_main): Call check1.
1279 * string/bug-strstr1.c (main): Moved to ...
1280 * string/test-strchr.c (check1): Here. New function.
1281 (do_one_test): Break out result checking code into ...
1282 (check_result): This. New function.
1283 (do_one_test): Call check_result.
1284 (test_main): Call check1.
1285 * string/bug-strcasestr1.c: Removed.
1286 * string/bug-strchr1.c: Likewise.
1287 * string/bug-strstr1.c: Likewise.
1289 * elf/Makefile (dl-routines): Add hwcaps.
1290 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1291 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1292 (_dl_important_hwcaps): Moved to ...
1293 * elf/dl-hwcaps.c: Here. New file.
1294 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1297 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1298 if IS_IN_rtld isn't defined.
1300 * elf/dl-support.c (_dl_sysinfo_map): New.
1301 Include "get-dynamic-info.h" and "setup-vdso.h".
1302 (_dl_non_dynamic_init): Call setup_vdso.
1303 * elf/dynamic-link.h: Don't include <assert.h>.
1304 (elf_get_dynamic_info): Moved to ...
1305 * elf/get-dynamic-info.h: Here. New file.
1306 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1307 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1308 * elf/setup-vdso.h: Here. New file.
1309 * elf/rtld.c: Include "setup-vdso.h".
1310 (dl_main): Call setup_vdso.
1312 2012-10-05 Joseph Myers <joseph@codesourcery.com>
1314 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1315 creal in comment listing functions tested. List finite, isinf,
1316 isnan, isless, islessequal, isgreater, isgreaterequal,
1317 islessgreater, isunordered, lgamma_r and pow10 as functions and
1318 macros not tested. Mention which functions not tested are aliases
1319 for other functions. Fix typo. Note that signs of NaNs are not
1322 * scripts/config.guess: Update from config.git.
1323 * scripts/config.sub: Likewise.
1325 2012-10-04 Roland McGrath <roland@hack.frob.com>
1327 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1328 * misc/madvise.c (madvise): Renamed to __madvise.
1329 Make madvise a weak alias.
1330 * include/sys/mman.h: Declare __madvise.
1331 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1332 * sysdeps/unix/syscalls.list
1333 (madvise): Make __madvise the strong name, and madvise a weak alias.
1334 * sysdeps/unix/sysv/linux/syscalls.list
1335 (madvise, mmap): Remove redundant entries.
1336 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1337 * malloc/malloc.c (mtrim): Likewise.
1338 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1340 2012-10-03 Roland McGrath <roland@hack.frob.com>
1342 * sysdeps/mach/hurd/dl-cache.c: File removed.
1343 * config.h.in (USE_LDCONFIG): New #undef.
1344 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1345 * configure: Regenerated.
1346 * elf/Makefile (dl-routines): Add dl-cache only under
1347 [$(use-ldconfig) = yes].
1348 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1349 cache on [USE_LDCONFIG].
1350 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1352 * elf/rtld.c (dl_main): Likewise.
1354 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1356 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1357 _SC_LEVEL4_CACHE_LINESIZE.
1359 2012-10-03 Roland McGrath <roland@hack.frob.com>
1361 * sysdeps/unix/bsd/confstr.h: File removed.
1363 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
1365 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1368 2012-10-02 Roland McGrath <roland@hack.frob.com>
1370 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1371 Make 'mapoff' field ElfW(Off) rather than off_t.
1373 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1375 * nscd/Makefile: Remove nscd-cflags and all its users.
1376 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1377 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1380 * malloc.c (malloc_printerr): Clarify error message.
1382 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1386 Set bit_FMA_Usable if FMA is supported.
1387 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1389 (bit_FMA4_Usable): Updated.
1390 (index_FMA_Usable): New macro.
1391 (CPUID_FMA): Likewise
1392 (HAS_FMA): Defined with bit_FMA_Usable.
1394 2012-10-01 Roland McGrath <roland@hack.frob.com>
1396 * bits/types.h (__swblk_t): Type removed.
1397 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1398 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1400 (__SWBLK_T_TYPE): Likewise.
1401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1402 (__SWBLK_T_TYPE): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1404 (__SWBLK_T_TYPE): Likewise.
1405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1406 (__SWBLK_T_TYPE): Likewise.
1408 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
1409 Honza Horak <hhorak@redhat.com>
1411 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1412 (xdr_mapname): Use YPMAXMAP as maxsize.
1413 (xdr_peername): Use YPMAXPEER as maxsize.
1414 (xdr_keydat): Use YPAXRECORD as maxsize.
1415 (xdr_valdat): Use YPMAXRECORD as maxsize.
1417 2012-10-01 Roland McGrath <roland@hack.frob.com>
1419 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1421 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1422 * csu/init-first.c: ... here.
1423 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1424 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1427 * sysdeps/i386/init-first.c: File removed.
1428 * sysdeps/sh/init-first.c: File removed.
1430 2012-10-01 Joseph Myers <joseph@codesourcery.com>
1433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1434 if x * y might underflow to zero and z is zero.
1435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1437 * math/libm-test.inc (min_subnorm_value): New variable.
1438 (fma_test): Add more tests.
1439 (fma_test_towardzero): Likewise.
1440 (fma_test_downward): Likewise
1441 (fma_test_upward): Likewise.
1442 (initialize): Set min_subnorm_value.
1444 2012-09-29 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1450 mode for addition resulting in exact zero.
1451 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1456 * math/libm-test.inc (fma_test): Add more tests.
1457 (fma_test_towardzero): New function.
1458 (fma_test_downward): Likewise.
1459 (fma_test_upward): Likewise.
1460 (main): Call the new functions.
1462 2012-09-28 David S. Miller <davem@davemloft.net>
1464 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1466 2012-09-28 Roland McGrath <roland@hack.frob.com>
1468 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1471 * sysdeps/gnu/_G_config.h: Moved to ...
1472 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1473 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1474 * sysdeps/generic/_G_config.h: ... here.
1476 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1478 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1480 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1481 Conditionalize target on [libnss_test1.so-version].
1483 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1485 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1486 (elfobjdir): Move out of conditionals.
1488 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1489 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1490 (__nss_lookup_function): Conditionalize label remove_from_tree on
1491 [!DO_STATIC_NSS || SHARED], matching its only use.
1493 2012-09-28 David S. Miller <davem@davemloft.net>
1495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1498 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1502 when HWCAP_SPARC_CRYPTO is present.
1504 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1506 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1508 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1511 * stdio-common/vfprintf.c (process_string_arg): Revert
1514 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1516 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1518 * stdio-common/tst-sprintf.c: Include <locale.h>
1519 (main): Test sprintf's handling of incomplete multibyte
1522 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1524 * elf/dl-runtime.c (VERSYMIDX): Removed.
1525 * elf/dl-version.c (VERSYMIDX): Likewise.
1526 * elf/do-rel.h (VERSYMIDX): Likewise.
1528 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1529 * elf/rtld.c (VALIDX): Likewise.
1530 (ADDRIDX): Likewise.
1531 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1532 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1533 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
1534 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1536 (ADDRIDX): Likewise.
1538 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1540 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1542 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1545 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1547 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1548 addresses are in the same scope as 192.0.2/24.
1549 * posix/gai.conf: Document new scope table defaults.
1551 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1554 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1555 for ftell. Compute offsets from write pointers instead.
1556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1558 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1561 * libio/Makefile (tests): New test case tst-fseek.
1562 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1563 combination works in wide mode.
1564 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1565 state when the external buffer state changes.
1567 2012-09-27 David S. Miller <davem@davemloft.net>
1570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1571 pass reloc->r_addend in as the 'high' argument to
1572 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1576 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1578 * rt/tst-aio2.c: Include <pthread.h>.
1579 * rt/tst-aio3.c: Likewise.
1581 2012-09-27 Steve Ellcey <sellcey@mips.com>
1583 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1585 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1587 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1588 contents on [SHARED].
1590 2012-09-26 Marek Polacek <polacek@redhat.com>
1594 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1595 for C++ and GCC <4.3 as well as for non GCC compilers.
1597 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1601 2012-09-25 Roland McGrath <roland@hack.frob.com>
1603 * Makefile.in (all, install): Declare with .PHONY.
1604 Reported by Michael Hope <michael.hope@linaro.org>.
1606 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1608 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1609 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1611 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1613 (sydep_routines): Add the new and the internal functions.
1614 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1615 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1617 (GLIBC_2.17): Add the new function.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1619 (GLIBC_2.17): Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1621 (GLIBC_2.17): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1623 (GLIBC_2.17): Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1626 2012-09-25 Alan Modra <amodra@gmail.com>
1628 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1629 Add release barrier before setting once_control to say
1630 initialisation is done. Add hints on lwarx. Use macro in
1632 (clear_once_control): Add release barrier.
1634 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1637 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1639 * math/s_clog10.c (__clog10): Likewise.
1640 * math/s_clog10f.c (__clog10f): Likewise.
1641 * math/s_clog10l.c (__clog10l): Likewise.
1642 * math/s_clogf.c (__clogf): Likewise.
1643 * math/s_clogl.c (__clogl): Likewise.
1644 * math/Makefile (libm-calls): Add x2y2m1.
1645 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1646 (__x2y2m1): Likewise.
1647 (__x2y2m1l): Likewise.
1648 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1649 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1653 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1654 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1660 int as type of variable DEPTH.
1661 (glob): Use size_t instead of int as type of variables NEWCOUNT
1664 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1666 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1670 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1671 macros for using routine as __sincosf_ia32.
1672 Use macro for function declaration and weak_alias.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1675 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1678 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
1680 * math/s_cexpf.c (__cexpf): Likewise.
1681 * math/s_csinf.c (__csinf): Likewise.
1682 * math/s_csinhf.c (__csinhf): Likewise.
1683 * math/s_ctanf.c (__ctanf): Likewise.
1684 * math/s_ctanhf.c (__ctanhf): Likewise.
1685 * math/s_ccosh.c (__ccoshf): Likewise.
1686 * math/s_cexp.c (__cexpl): Likewise.
1687 * math/s_csin.c (__csin): Likewise.
1688 * math/s_csinh.c (__csinh): Likewise.
1689 * math/s_ctan.c (__ctan): Likewise.
1690 * math/s_ctanh.c (ctanh): Likewise.
1691 * math/s_ccoshl.c (__ccoshl): Likewise.
1692 * math/s_cexpl.c (__cexpl): Likewise.
1693 * math/s_csinl.c (__csinl): Likewise.
1694 * math/s_csinhl.c (__csinhl): Likewise.
1695 * math/s_ctanl.c (__ctanl): Likewise.
1696 * math/s_ctanhl.c (__ctanhl): Likewise.
1698 2012-09-25 Joseph Myers <joseph@codesourcery.com>
1700 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1701 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1702 (_IO_off_t): Define to __off_t, not _G_off_t.
1703 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1704 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1705 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1706 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1707 type of __dummy and __dummy2 fields.
1708 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1709 (_G_ssize_t): Likewise.
1710 (_G_off_t): Likewise.
1711 (_G_pid_t): Likewise.
1712 (_G_uid_t): Likewise.
1713 (_G_wchar_t): Likewise.
1714 (_G_wint_t): Likewise.
1715 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1716 (_G_ssize_t): Likewise.
1717 (_G_off_t): Likewise.
1718 (_G_pid_t): Likewise.
1719 (_G_uid_t): Likewise.
1720 (_G_wchar_t): Likewise.
1721 (_G_wint_t): Likewise.
1722 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1723 (_G_ssize_t): Likewise.
1724 (_G_off_t): Likewise.
1725 (_G_pid_t): Likewise.
1726 (_G_uid_t): Likewise.
1727 (_G_wchar_t): Likewise.
1728 (_G_wint_t): Likewise.
1730 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * malloc/arena.c: Include malloc-sysdep.h.
1733 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1734 is sufficient to shrink the heap or an unmap is needed.
1735 * sysdeps/generic/malloc-sysdep.h: New file. Define
1736 new function check_may_shrink_heap.
1737 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1738 new function check_may_shrink_heap.
1740 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1742 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1745 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1747 * catgets/test-gencat.sh: Add "set -e".
1748 * elf/tst-pathopt.sh: Likewise.
1749 * grp/tst_fgetgrent.sh: Likewise.
1750 * iconvdata/run-iconv-test.sh: Likewise.
1751 * intl/tst-gettext.sh: Likewise.
1752 * intl/tst-gettext2.sh: Likewise.
1753 * intl/tst-gettext4.sh: Likewise.
1754 * intl/tst-gettext6.sh: Likewise.
1755 * intl/tst-translit.sh: Likewise.
1756 * io/ftwtest-sh: Likewise.
1757 * libio/test-freopen.sh: Likewise.
1758 * malloc/tst-mtrace.sh: Likewise.
1759 * posix/globtest.sh: Likewise.
1760 * posix/tst-getconf.sh: Likewise.
1761 * posix/wordexp-tst.sh: Likewise.
1762 * stdio-common/tst-printf.sh: Likewise.
1763 * stdio-common/tst-unbputc.sh: Likewise.
1764 * stdlib/tst-fmtmsg.sh: Likewise.
1765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1766 * catgets/Makefile: Do not specify -e option when running
1767 testsuite shell scripts.
1768 * elf/Makefile: Likewise.
1769 * grp/Makefile: Likewise.
1770 * iconvdata/Makefile: Likewise.
1771 * intl/Makefile: Likewise.
1772 * io/Makefile: Likewise.
1773 * libio/Makefile: Likewise.
1774 * malloc/Makefile: Likewise.
1775 * posix/Makefile: Likewise.
1776 * stdio-common/Makefile: Likewise.
1777 * stdlib/Makefile: Likewise.
1778 * sysdeps/x86_64/Makefile: Likewise.
1780 * io/ftwtest-sh: Add copyright header.
1781 * posix/globtest.sh: Likewise.
1782 * posix/tst-getconf.sh: Likewise.
1783 * posix/wordexp-tst.sh: Likewise.
1784 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1786 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1789 * Makeconfig (+link): Defined as $(+link-static) if
1790 $(build-shared) isn't yes.
1791 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1793 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1795 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1798 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1799 new chunk size with MALLOC_ALIGN_MASK.
1801 2012-09-24 Joseph Myers <joseph@codesourcery.com>
1804 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1806 (__printf_fphex): Determine rounding using get_rounding_mode and
1808 * stdio-common/tst-printf-round.c (struct hex_test): New
1810 (hex_tests): New variable.
1811 (test_hex_in_one_mode): New function.
1812 (do_test): Also run tests for hex float output.
1814 2012-09-21 Joseph Myers <joseph@codesourcery.com>
1816 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1817 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1818 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1819 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1820 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1821 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1822 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1823 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1825 2012-09-20 Joseph Myers <joseph@codesourcery.com>
1827 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1828 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1829 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1830 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1832 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1835 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1837 * elf/tst-rtld-load-self.sh: New test.
1838 * elf/Makefile: Run it.
1840 2012-09-18 Joseph Myers <joseph@codesourcery.com>
1842 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1843 (tst-writev-ENV): Remove.
1844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1846 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1848 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1850 2012-09-17 Joseph Myers <joseph@codesourcery.com>
1852 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1854 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1856 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1857 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1861 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1864 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1865 * config.make.in (have-cpp-asm-debuginfo): Removed.
1866 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1867 * configure: Regenerated.
1869 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1872 * stdio-common/printf_fp.c: Include <stdbool.h> and
1874 (___printf_fp): Determine rounding using get_rounding_mode and
1876 * stdio-common/tst-printf-round.c: New file.
1877 * stdio-common/Makefile (tests): Add tst-printf-round.
1878 (link-libm): New variable.
1879 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1881 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1884 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1885 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1887 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1890 2012-09-13 Joseph Myers <joseph@codesourcery.com>
1892 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1893 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1894 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1895 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1897 2012-09-12 Joseph Myers <joseph@codesourcery.com>
1900 * include/rounding-mode.h: New file.
1901 * sysdeps/generic/get-rounding-mode.h: Likewise.
1902 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1903 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1904 (MAX_VALUE): New macro.
1905 (MIN_VALUE): Likewise.
1906 (overflow_value): New function.
1907 (underflow_value): Likewise.
1908 (round_and_return): Use overflow_value and underflow_value to
1909 determine return values in overflow and underflow cases. Use
1910 round_away to determine rounding depending on rounding mode.
1911 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1912 determine return values in overflow and underflow cases.
1913 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1914 (struct test_results): New structure.
1915 (struct test): Use struct test_results to store expected results
1916 for all rounding modes.
1917 (TEST): Include expected results for all rounding modes.
1918 (test_in_one_mode): New function.
1919 (do_test): Use test_in_one_mode to compute and check results.
1920 Check results for all rounding modes.
1921 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1924 2012-12-09 Allan McRae <allan@archlinux.org>
1926 * sysdeps/i386/fpu/libm-test-ulps: Update
1928 2012-09-11 Joseph Myers <joseph@codesourcery.com>
1930 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1931 (_G_int32_t): Likewise.
1932 (_G_uint16_t): Likewise.
1933 (_G_uint32_t): Likewise.
1934 (_G_HAVE_BOOL): Likewise.
1935 (_G_HAVE_ATEXIT): Likewise.
1936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1937 (_G_HAVE_IO_FILE_OPEN): Likewise.
1938 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1939 (_G_int32_t): Likewise.
1940 (_G_uint16_t): Likewise.
1941 (_G_uint32_t): Likewise.
1942 (_G_HAVE_BOOL): Likewise.
1943 (_G_HAVE_ATEXIT): Likewise.
1944 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1945 (_G_HAVE_IO_FILE_OPEN): Likewise.
1946 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1947 (_G_int32_t): Likewise.
1948 (_G_uint16_t): Likewise.
1949 (_G_uint32_t): Likewise.
1950 (_G_HAVE_BOOL): Likewise.
1951 (_G_HAVE_ATEXIT): Likewise.
1952 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1953 (_G_HAVE_IO_FILE_OPEN): Likewise.
1955 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1957 * csu/libc-tls.c: Update copyright years.
1959 2012-09-10 Joseph Myers <joseph@codesourcery.com>
1961 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1962 [!_G_USING_THUNKS]: Remove conditional code.
1963 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1964 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1966 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1967 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1968 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1969 (_G_VTABLE_LABEL_PREFIX): Likewise.
1970 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1971 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1972 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1973 (_G_VTABLE_LABEL_PREFIX): Likewise.
1974 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1975 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1976 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1977 (_G_VTABLE_LABEL_PREFIX): Likewise.
1978 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1980 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1982 * libio/Makefile: Include ../Makeconfig before tests.
1983 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1984 only if $(build-shared) is yes.
1986 * iconv/gconv_db.c: Update copyright years.
1988 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1990 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1991 unwind info if defined PIC. Fix special cases description.
1992 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1994 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1996 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1998 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2000 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2002 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2005 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2006 (LDLIBS-tst-chk4): This.
2007 (LDFLAGS-tst-chk5): Renamed to ...
2008 (LDLIBS-tst-chk5): This.
2009 (LDFLAGS-tst-chk6): Renamed to ...
2010 (LDLIBS-tst-chk6): This.
2011 (LDFLAGS-tst-lfschk4): Renamed to ...
2012 (LDLIBS-tst-lfschk4): This.
2013 (LDFLAGS-tst-lfschk5): Renamed to ...
2014 (LDLIBS-tst-lfschk5): This.
2015 (LDFLAGS-tst-lfschk6): Renamed to ...
2016 (LDLIBS-tst-lfschk6): This.
2018 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2019 on $(common-objpfx)soversions.mk.
2021 2012-09-07 Joseph Myers <joseph@codesourcery.com>
2024 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2027 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2029 * malloc/arena.c (arena_get_retry): New function that gets
2030 another arena for the caller to try its request on.
2031 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2032 current arena cannot fulfill the request.
2033 (__libc_memalign): Likewise.
2034 (__libc_memalign): Likewise.
2035 (__libc_pvalloc): Likewise.
2036 (__libc_calloc): Likewise.
2038 2012-09-05 John Tobey <john.tobey@gmail.com>
2041 * manual/arith.texi (Operations on Complex): Fix description
2044 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2047 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2051 * manual/memory.texi (Memory): Make order of menu items match
2054 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2056 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2057 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2058 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2060 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2062 * csu/libc-tls.c (static_dtv): Renamed to ...
2063 (_dl_static_dtv): This. Make it global.
2064 (_dl_initial_dtv): Removed.
2065 (__libc_setup_tls): Updated.
2066 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2067 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2070 2012-09-06 Petr Machata <pmachata@redhat.com>
2072 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2073 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2074 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2075 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2077 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2080 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2081 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2084 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2087 * Makeconfig (link-static-before-libc): Replace $(+prector)
2089 (link-static-after-libc): Replace $(+postctor) with
2091 (link-bounded): Replace $(+prector)/$(+postctor) with
2092 $(+prectorT)/$(+postctorT).
2093 (+prectorT): New macro.
2094 (+postctorT): Likewise.
2096 2012-09-06 Joseph Myers <joseph@codesourcery.com>
2098 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2099 (round_str): Handle values above the maximum for IBM long double
2101 * stdlib/tst-strtod-round.c (tests): Regenerated.
2103 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2105 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2107 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2108 zarch_nohighgprs around the zarch optimized routines.
2109 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2110 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2114 2012-09-05 David S. Miller <davem@davemloft.net>
2116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2118 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2119 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2120 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2121 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2126 * malloc/arena.c: Fold copyright years.
2127 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2129 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2131 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2135 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2137 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2139 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2140 change internal state upon failure.
2142 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
2144 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2145 * malloc/memusage.c (mmap): Likewise.
2146 (mmap64, mremap): Likewise. Adjust name in comment.
2148 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2150 * libio/fileops.c: Fix typos in comments.
2151 * libio/oldfileops.c: Likewise.
2152 * libio/wfileops.c: Likewise.
2154 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2157 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2158 (tst-malloc-usable-ENV): Set environment for test case.
2159 * malloc/hooks.c (malloc_check_get_size): New function to get
2161 * malloc/malloc.c (musable): Use malloc_check_get_size.
2162 * malloc/tst-malloc-usable.c: New test case.
2164 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2166 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2168 2012-09-05 Allan McRae <allan@archlinux.org>
2171 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2172 determine header location.
2173 * configure: Regenerated.
2175 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2177 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2179 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
2180 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2184 2012-09-04 David S. Miller <davem@davemloft.net>
2186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2190 2012-09-04 Florian Weimer <fweimer@redhat.com>
2192 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2195 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2197 2012-09-04 Joseph Myers <joseph@codesourcery.com>
2200 * libio/iogetdelim.c: Include <limits.h>.
2201 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2202 + len + 1 would overflow.
2204 2012-09-03 Andreas Jaeger <aj@suse.de>
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2207 * sysdeps/i386/fpu/libm-test-ulps: Update.
2209 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2211 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2212 Add s_sinf-sse2, s_conf-sse2.
2214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2215 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2216 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2217 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2219 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2220 for using routine as __sinf_ia32.
2221 Use macro for function declaration and weak_alias.
2222 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2223 for using routine as __cosf_ia32.
2224 Use macro for function declaration and weak_alias.
2226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2227 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2229 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2230 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2233 * math/libm-test.inc (cos_test): Add more test cases.
2234 (sin_test): Likewise.
2235 (sincos_test): Likewise.
2237 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2239 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2240 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2242 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2244 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2247 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2248 first element of the GOT.
2249 (elf_machine_load_address): Return the difference between
2250 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2252 2012-09-01 Allan McRae <allan@archlinux.org>
2255 * configure.in (AWK): Require gawk version 3.0 or later.
2256 * configure: Regenerated.
2258 2012-09-01 Joseph Myers <joseph@codesourcery.com>
2260 * sysdeps/unix/sysv/linux/kernel-features.h
2261 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2263 [__NR_clock_getres]: Make code unconditional.
2264 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2265 (clock_getcpuclockid): Remove code left unreachable by removal of
2267 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2269 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2271 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2272 Make code unconditional.
2273 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2274 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2275 * sysdeps/unix/sysv/linux/clock_settime.c
2276 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2278 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2279 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2281 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2284 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2285 scripts/test-installation.pl.
2287 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2288 and $ld_so_version if it is set.
2290 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2294 failure if reading from procfs failed.
2295 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2297 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2299 * sysdeps/unix/sysv/linux/kernel-features.h
2300 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2301 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2302 Remove conditional code.
2303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2304 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2305 Remove conditional code.
2306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2307 * sysdeps/unix/sysv/linux/i386/fxstat.c
2308 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2310 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2313 * sysdeps/unix/sysv/linux/i386/lxstat.c
2314 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2316 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2317 Remove conditional code.
2318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2319 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2320 Remove conditional code.
2321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2323 <kernel-features.h>.
2324 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2326 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2327 Remove conditional code.
2328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2329 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2332 2012-08-27 Mike Frysinger <vapier@gentoo.org>
2335 * NEWS: Add fixed bug number.
2337 2012-08-27 Joseph Myers <joseph@codesourcery.com>
2340 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2341 underflowing exponent in case of negative sign.
2342 * stdlib/tst-strtod-round-data: Add more tests.
2343 * stdlib/tst-strtod-round.c (tests): Regenerated.
2346 * stdlib/strtod_l.c (NDIG): Remove.
2347 (HEXNDIG): Likewise.
2348 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2349 smallest representable value.
2350 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2351 lie within an exact representation of 1/2 ulp of the result.
2352 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2354 (TENS_P9_IDX): Define unconditionally.
2355 (TENS_P9_SIZE): Likewise.
2356 (TENS_P10_IDX): Likewise.
2357 (TENS_P10_SIZE): Likewise.
2358 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2359 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2360 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2361 entries for 10^2^13 and 10^2^14.
2362 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2363 (TENS_P13_IDX): Define.
2364 (TENS_P13_SIZE): Likewise.
2365 (TENS_P14_IDX): Likewise.
2366 (TENS_P14_SIZE): Likewise.
2367 (_fpioconst_pow10): Change array size to
2368 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2370 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2371 1024]: Add entries for 10^2^13 and 10^2^14.
2372 [LAST_POW10 > _LAST_POW10]: Remove #error.
2373 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2374 (_fpioconst_pow10): Change array size to
2375 FPIOCONST_POW10_ARRAY_SIZE.
2376 * stdlib/gen-fpioconst.c: New file.
2377 * stdlib/gen-tst-strtod-round.c: Likewise.
2378 * stdlib/tst-strtod-round-data: Likewise.
2379 * stdlib/tst-strtod-round.c: Likewise.
2380 * stdlib/Makefile (tests): Add tst-strtod-round.
2383 * stdlib/strtod_l.c: Include <stdint.h>.
2384 (NDEBUG): Do not define.
2385 (round_and_return): Change EXPONENT parameter to type intmax_t.
2386 Rearrange calculations to avoid internal overflow possibilities.
2387 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2388 Rearrange calculations to avoid internal overflow possibilities.
2389 Assert that number fits inside MPNSIZE limbs.
2390 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2391 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2392 calculations and add assertions to avoid internal overflow
2393 possibilities. Add casts to avoid signed/unsigned operations.
2394 * stdlib/tst-strtod-overflow.c: New file.
2395 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2397 2012-08-25 Marek Polacek <polacek@redhat.com>
2399 * time/time.h: Fix some typos in comments.
2401 2012-08-23 Roland McGrath <roland@hack.frob.com>
2403 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2404 * posix/tst-rfc3484-2.c: Likewise.
2405 * posix/tst-rfc3484-3.c: Likewise.
2407 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2409 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2410 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2412 2012-08-23 Joseph Myers <joseph@codesourcery.com>
2414 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2415 #include of fxstatat64.c.
2417 2012-08-22 Roland McGrath <roland@hack.frob.com>
2419 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2420 * shadow/getspent_r.c: Likewise.
2421 * shadow/getspnam.c: Likewise.
2422 * shadow/getspnam_r.c: Likewise.
2423 * gshadow/getsgent.c: Likewise.
2424 * gshadow/getsgent_r.c: Likewise.
2425 * gshadow/getsgnam.c: Likewise.
2426 * gshadow/getsgnam_r.c: Likewise.
2427 * inet/getnetbyad.c: Likewise.
2428 * inet/getnetbyad_r.c: Likewise.
2429 * inet/getnetbynm.c: Likewise.
2430 * inet/getnetbynm_r.c: Likewise.
2431 * inet/getnetent.c: Likewise.
2432 * inet/getnetent_r.c: Likewise.
2433 * inet/getproto.c: Likewise.
2434 * inet/getproto_r.c: Likewise.
2435 * inet/getprtent.c: Likewise.
2436 * inet/getprtent_r.c: Likewise.
2437 * inet/getprtname.c: Likewise.
2438 * inet/getprtname_r.c: Likewise.
2439 * inet/getrpcbyname.c: Likewise.
2440 * inet/getrpcbyname_r.c: Likewise.
2441 * inet/getrpcbynumber.c: Likewise.
2442 * inet/getrpcbynumber_r.c: Likewise.
2443 * inet/getrpcent.c: Likewise.
2444 * inet/getrpcent_r.c: Likewise.
2445 * inet/getaliasent.c: Likewise.
2446 * inet/getaliasent_r.c: Likewise.
2447 * inet/getaliasname.c: Likewise.
2448 * inet/getaliasname_r.c: Likewise.
2449 * nscd/getgrgid_r.c: Likewise.
2450 * nscd/getgrnam_r.c: Likewise.
2451 * nscd/gethstbyad_r.c: Likewise.
2452 * nscd/gethstbynm3_r.c: Likewise.
2453 * nscd/getpwnam_r.c: Likewise.
2454 * nscd/getpwuid_r.c: Likewise.
2455 * nscd/getsrvbynm_r.c: Likewise.
2456 * nscd/getsrvbypt_r.c: Likewise.
2457 * nscd/gai.c: Likewise.
2459 * configure.in (build_nscd): New substituted variable, set
2460 by --disable-build-nscd and defaults to $use_nscd.
2461 * configure: Regenerated.
2462 * config.make.in (build-nscd): New substituted variable.
2463 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2464 Change conditional to require [$(build-nscd) = yes] as well.
2465 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2468 * configure.in (use_nscd): New substituted variable, set by
2469 --disable-nscd. If enabled, define USE_NSCD.
2470 * configure: Regenerated.
2471 * config.h.in: Add USE_NSCD.
2472 * config.make.in (use-nscd): New substituted variable.
2473 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2474 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2475 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2476 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2477 (CFLAGS-getgrnam_r.c): Likewise.
2478 (CFLAGS-initgroups.c): Likewise.
2479 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2480 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2482 * inet/getnetgrent_r.c
2483 (nscd_setnetgrent): New function, broken out of ...
2484 (setnetgrent): ... here. Call it.
2485 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2486 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2487 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2488 * nscd/Makefile (routines, aux): Move definitions after include of
2489 Makeconfig. Conditionalize on [$(use-nscd) != no].
2490 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2491 Conditionalize on [USE_NSCD].
2492 (is_nscd, nscd_init_cb): Likewise.
2493 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2494 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2495 * nss/nss_db/db-init.c: Likewise.
2496 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2498 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2499 (make_request): Use it.
2500 (cache_valid_p): New function.
2501 (__check_pf): Use it.
2502 * NEWS: Add item for --disable-nscd.
2504 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2506 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2507 to support sed >= 4.2.1-20-ga9bf076.
2508 * configure: Regenerated.
2510 2012-08-22 Roland McGrath <roland@hack.frob.com>
2512 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2513 Conditionalize whole body on [IREL].
2515 2012-08-22 Jeff Law <law@redhat.com>
2518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2519 if the family is PF_UNSPEC.
2521 2012-08-22 Mike Frysinger <vapier@gentoo.org>
2523 * Makerules (lib-version): Rename from V.
2524 (install-lib-nosubdir): Change V to lib-version.
2526 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2529 * powerpc32/power6/wcschr.c: New file.
2530 * powerpc32/power6/wcscpy.c: New file.
2531 * powerpc32/power6/wcsrchr.c: New file.
2532 * powerpc64/power6/wcschr.c: New file.
2533 * powerpc64/power6/wcscpy.c: New file.
2534 * powerpc64/power6/wcsrchr.c: New file.
2536 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2538 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2539 (two_way_short_needle): Use it.
2540 * string/strstr.c (AVAILABLE1_USES_J): Define.
2541 * string/strcasestr.c: Likewise.
2543 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2545 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2548 * NEWS: Add an entry.
2549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2550 define their defaults.
2551 (two_way_short_needle): Detect end-of-string on-the-fly.
2552 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2553 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2554 * string/bug-strcasestr1.c: New test.
2555 * string/Makefile: Run it.
2557 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2560 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2561 the first character.
2563 2012-08-21 Roland McGrath <roland@hack.frob.com>
2565 * csu/elf-init.c (__libc_csu_irel): Function removed.
2566 * csu/libc-start.c (apply_irel): New function.
2567 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2569 2012-08-21 Joseph Myers <joseph@codesourcery.com>
2571 * sysdeps/unix/sysv/linux/kernel-features.h
2572 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2573 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2574 <kernel-features.h>.
2575 [__NR_fadvise64_64]: Make code unconditional.
2576 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2577 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2578 !__NR_fadvise64_64)]: Likewise.
2579 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2580 !__NR_fadvise64_64))]: Likewise.
2581 [__NR_fadvise64]: Make code unconditional.
2582 [!__NR_fadvise64]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2584 <kernel-features.h>.
2585 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2587 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2590 not include <kernel-features.h>.
2591 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2593 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2595 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2596 include <kernel-features.h>.
2597 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2599 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2602 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2605 slight instruction rearrangements per scrollpipe analysis.
2606 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2608 2012-08-20 Roland McGrath <roland@hack.frob.com>
2610 * manual/syslog.texi (syslog; vsyslog, closelog):
2611 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2612 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2614 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2615 DSOCAPS to match condition on defining it.
2617 2012-08-20 Joseph Myers <joseph@codesourcery.com>
2619 * sysdeps/unix/sysv/linux/kernel-features.h
2620 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2622 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2623 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2628 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2629 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2631 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2632 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2634 * sysdeps/unix/sysv/linux/kernel-features.h
2635 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2636 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2638 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2640 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2641 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2643 Make code unconditional.
2644 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2645 (__mmap64) [!__NR_mmap2]: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2650 [__NR_mmap2]: Make code unconditional.
2651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2652 (__mmap64) [!__NR_mmap2]: Likewise.
2654 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2656 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2658 2012-08-18 Andreas Jaeger <aj@suse.de>
2660 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2662 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2664 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2665 * include/unistd.h (__have_sock_cloexec): Likewise.
2666 (__have_pipe2): Likewise.
2667 (__have_dup3): Likewise.
2669 2012-08-18 Mike Frysinger <vapier@gentoo.org>
2672 * include/unistd.h (__have_pipe2): Change define into an extern int.
2673 (__have_dup3): Likewise.
2674 * socket/have_sock_cloexec.c: Include fcntl.h.
2675 (__have_pipe2): New variable.
2676 (__have_dup3): Likewise.
2678 2012-08-17 Mike Frysinger <vapier@gentoo.org>
2680 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2682 2012-08-17 Marek Polacek <polacek@redhat.com>
2684 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2685 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2687 2012-08-17 Roland McGrath <roland@hack.frob.com>
2689 * configure.in: Add AC_SUBST for sysheaders.
2690 * configure: Regenerated.
2691 * config.make.in (sysheaders): New substituted variable.
2693 * sysdeps/unix/mkfifo.c: Moved ...
2694 * sysdeps/posix/mkfifo.c: ... here.
2695 * sysdeps/unix/mkfifoat.c: Moved ...
2696 * sysdeps/posix/mkfifoat.c: ... here.
2698 * sysdeps/unix/utime.c: Moved ...
2699 * sysdeps/posix/utime.c: ... here.
2701 * sysdeps/unix/time.c: Moved ...
2702 * sysdeps/posix/time.c: ... here.
2703 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
2706 * sysdeps/unix/nice.c: Moved ...
2707 * sysdeps/posix/nice.c: ... here.
2709 * sysdeps/unix/alarm.c: Moved ...
2710 * sysdeps/posix/alarm.c: ... here.
2712 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2714 2012-08-17 Jeff Law <law@redhat.com>
2716 * intl/Makefile (codeset_mo): New variable.
2717 ($(codeset_mo)): New target.
2718 (tst-codeset.out): Depend on that. Remove explicit rule.
2719 (tst-gettext3.out, tst-gettext5.out): Likewise.
2720 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2721 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2722 * intl/tst-codeset.sh: Remove.
2723 * intl/tst-gettext3.sh: Likewise.
2724 * intl/tst-gettext5.sh: Likewise.
2726 2012-08-17 Roland McGrath <roland@hack.frob.com>
2728 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2729 * sysdeps/unix/syscalls.list: ... here.
2731 * sysdeps/posix/getaddrinfo.c
2732 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2733 (gaiconf_init, gaiconf_reload): Use them.
2735 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2736 Define using time_t rather than struct timespec.
2738 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2739 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2741 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2743 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2744 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2747 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2748 __libc_cleanup_push argument.
2750 * bits/param.h: New file.
2751 * misc/sys/param.h: New file.
2752 * include/sys/param.h: New file.
2753 * misc/Makefile (headers): Add bits/param.h.
2754 * sysdeps/generic/sys/param.h: File removed.
2755 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2756 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2757 * sysdeps/mach/hurd/bits/param.h: New file.
2758 * sysdeps/mach/hurd/sys/param.h: File removed.
2760 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2763 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2765 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2766 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2769 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2770 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2771 rather than -D_IO_MTSAFE_IO conditionally.
2772 * stdio-common/Makefile (CPPFLAGS): Likewise.
2773 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2774 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2775 Use $(libio-mtsafe).
2776 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2778 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2779 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2780 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2781 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2782 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2783 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2784 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2785 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2786 (CFLAGS-fread_u_chk.c): Likewise.
2787 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2788 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2789 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2790 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2791 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2792 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2793 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2794 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2795 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2797 * libio/Makefile: Test [$(libc-reentrant) = yes]
2798 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2801 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2802 * sysdeps/pthread/configure: File removed.
2803 * sysdeps/pthread/Makeconfig: New file.
2804 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2805 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2807 2012-08-16 Gary Benson <gbenson@redhat.com>
2809 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2810 unmapping the first object in a namespace.
2812 2012-08-16 Roland McGrath <roland@hack.frob.com>
2814 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2815 (__internal_setnetgrent): ... this. Add internal_function to
2816 definition. Add libc_hidden_def.
2817 (setnetgrent): Update caller.
2818 (internal_endnetgrent): Renamed to ...
2819 (__internal_endnetgrent): ... this. Add internal_function to
2820 definition. Add libc_hidden_def.
2821 (endnetgrent): Update caller.
2822 (internal_getnetgrent_r): Renamed to ...
2823 (__internal_getnetgrent_r): ... this. Add internal_function to
2824 definition. Add libc_hidden_def.
2825 (__getnetgrent_r): Update caller.
2826 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2828 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2830 * stdlib/longlong.h: Update from GCC.
2832 2012-08-16 Roland McGrath <roland@hack.frob.com>
2834 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2835 on _QL, which is set by umul_ppmm but never used.
2836 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2837 variables, which are set by GMP macros but never used.
2838 * stdio-common/_itowa.c (_itowa): Likewise.
2839 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2840 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2842 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2844 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2845 struct La_sh_regs is not constant.
2846 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2847 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2848 and struct La_sparc64_regs are not constant.
2850 2012-08-16 Joseph Myers <joseph@codesourcery.com>
2852 * sysdeps/unix/sysv/linux/kernel-features.h
2853 (__ASSUME_POSIX_TIMERS): Remove.
2854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2856 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2857 Make code unconditional.
2858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2859 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2860 Make code unconditional.
2861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2862 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2863 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2866 Make code unconditional.
2867 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2869 (__libc_missing_posix_timers): Remove.
2871 2012-08-15 Roland McGrath <roland@hack.frob.com>
2873 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2874 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2876 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2878 * elf/dl-sym.c: Include <stdlib.h>.
2880 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2881 constants, which avoids warnings in 32-bit builds.
2883 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2884 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2886 * misc/lseek.c: File moved to ...
2887 * io/lseek.c: ... here.
2889 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2891 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2892 shifting LEN more than 31 bits at once.
2894 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2897 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2898 segmentation fault for a case of two empty input strings.
2899 * string/test-strncasecmp.c (check1): Renamed to...
2901 (bz14195): Add new testcase for two empty input strings and N > 0.
2902 (test_main): Call new testcase, adapt for renamed function.
2904 2012-08-15 Andreas Jaeger <aj@suse.de>
2907 * crypt/md5test2.c: New test, based on test supplied by Serge
2908 Belyshev <belyshev@depni.sinp.msu.ru>.
2909 * crypt/Makefile (xtests): Add md5test-giant..
2910 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2912 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2915 * crypt/md5.c (md5_process_block): Don't assume the buffer
2916 length is less than 2**32.
2917 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2918 length is less than 2**64.
2920 2012-08-15 Roland McGrath <roland@hack.frob.com>
2922 * string/str-two-way.h: Include <sys/param.h>.
2923 (MAX): Macro removed.
2925 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2926 Move #define and #undef of memmove to just before and after
2927 including <string.h>.
2929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2930 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2931 and after including <string.h>. Move declarations of
2932 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2933 to before #include "string/memmove.c".
2935 * include/dirent.h: Declare __getdirentries.
2937 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2938 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2940 2012-08-14 Mike Frysinger <vapier@gentoo.org>
2942 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2943 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2944 * sysdeps/i386/configure: Regenerated.
2945 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2946 STABS_CURRENT_FILE, and STABS_FUN.
2947 (END): Remove call to STABS_FUN_END.
2948 (STABS_CURRENT_FILE1): Delete.
2949 (STABS_CURRENT_FILE): Likewise.
2950 (STABS_FUN): Likewise.
2951 (STABS_FUN_END): Likewise.
2952 (STABS_FUN2): Likewise.
2953 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2954 * sysdeps/x86_64/configure: Regenerated.
2956 2012-08-14 Roland McGrath <roland@hack.frob.com>
2958 * elf/dl-open.c: Include <atomic.h>.
2959 * elf/dl-lookup.c: Likewise.
2961 2012-08-14 Joseph Myers <joseph@codesourcery.com>
2963 * sysdeps/unix/sysv/linux/kernel-features.h
2964 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2965 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2967 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2969 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2970 condition on __ASSUME_CLONE_THREAD_FLAGS.
2972 2012-08-14 Andreas Jaeger <aj@suse.de>
2974 * sysdeps/i386/fpu/libm-test-ulps: Update.
2976 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2978 * include/atomic.h (atomic_exchange_and_add): Split into ...
2979 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2982 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2986 2012-08-13 Jeff Law <law@redhat.com>
2988 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2989 null byte in the output string.
2991 2012-08-10 Joseph Myers <joseph@codesourcery.com>
2993 * sysdeps/unix/sysv/linux/kernel-features.h
2994 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2995 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2996 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2997 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2998 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2999 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3000 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3002 2012-08-09 Jeff Law <law@redhat.com>
3005 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3006 When avoid_arena is set, don't retry in the that arena. Pick the
3007 next one, whatever it might be.
3008 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3009 (arena_lock): Pass in new parameter to arena_get2.
3010 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3012 (__libc_malloc): Unify retrying after main arena failure with
3013 __libc_memalign version.
3014 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3016 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3019 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3020 to __redirect_strstr.
3021 (__strstr_sse42): Use typeof __redirect_strstr.
3022 (__strstr_ia32): Likewise.
3023 (__libc_strstr): New prototype.
3024 (strstr): Renamed to ...
3025 (__libc_strstr): This.
3026 (strstr): New strong alias of __libc_strstr.
3027 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3031 (__libc_time): New prototype.
3032 (time_ifunc): Replace time with __libc_time.
3033 (time): New strong alias and hidden definition of __libc_time.
3034 (__GI_time): Remove strong alias.
3035 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3037 (memmove): Redefined to __redirect_memmove.
3038 (__memmove_sse2): Use typeof __redirect_memmove.
3039 (__memmove_ssse3): Likewise.
3040 (__memmove_ssse3_back): Likewise.
3041 (__libc_memmove): New prototype.
3042 (memmove): Renamed to ...
3043 (__libc_memmove): This.
3044 (memmove): New strong alias of __libc_memmove.
3046 2012-08-08 Mark Salter <msalter@redhat.com>
3049 (R_MN10300_TLS_GD): Define.
3050 (R_MN10300_TLS_LD): Likewise.
3051 (R_MN10300_TLS_LDO): Likewise.
3052 (R_MN10300_TLS_GOTIE): Likewise.
3053 (R_MN10300_TLS_IE): Likewise.
3054 (R_MN10300_TLS_LE): Likewise.
3055 (R_MN10300_TLS_DTPMOD): Likewise.
3056 (R_MN10300_TLS_DTPOFF): Likewise.
3057 (R_MN10300_TLS_TPOFF): Likewise.
3058 (R_MN10300_SYM_DIFF): Likewise.
3059 (R_MN10300_ALIGN): Likewise.
3060 (R_MN10300_NUM): Update.
3062 2012-08-08 Joseph Myers <joseph@codesourcery.com>
3064 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3067 2012-08-08 Roland McGrath <roland@hack.frob.com>
3069 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3071 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3072 sysdeps/unix -> sysdeps/posix move.
3073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3075 2012-08-07 Allan McRae <allan@archlinux.org>
3078 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3079 (SUNOS_CPP): Likewise.
3080 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3082 (open_input): Call CPP using execvp.
3084 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3086 * sysdeps/unix/sysv/linux/kernel-features.h
3087 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3088 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3089 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3090 (__ASSUME_WAITID_SYSCALL): Likewise.
3091 * sysdeps/unix/sysv/linux/dl-execstack.c
3092 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3094 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3096 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3097 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3098 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3100 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3102 [__ASSUME_WAITID_SYSCALL]: Likewise.
3103 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3105 2012-08-07 Roland McGrath <roland@hack.frob.com>
3107 * sysdeps/unix/closedir.c: Renamed to ...
3108 * sysdeps/posix/closedir.c: ... here.
3109 * sysdeps/unix/dirfd.c: Renamed to ...
3110 * sysdeps/posix/dirfd.c: ... here.
3111 * sysdeps/unix/dirstream.h: Renamed to ...
3112 * sysdeps/posix/dirstream.h: ... here.
3113 * sysdeps/unix/fdopendir.c: Renamed to ...
3114 * sysdeps/posix/fdopendir.c: ... here.
3115 * sysdeps/unix/opendir.c: Renamed to ...
3116 * sysdeps/posix/opendir.c: ... here.
3117 * sysdeps/unix/readdir.c: Renamed to ...
3118 * sysdeps/posix/readdir.c: ... here.
3119 * sysdeps/unix/readdir_r.c: Renamed to ...
3120 * sysdeps/posix/readdir_r.c: ... here.
3121 * sysdeps/unix/rewinddir.c: Renamed to ...
3122 * sysdeps/posix/rewinddir.c: ... here.
3123 * sysdeps/unix/seekdir.c: Renamed to ...
3124 * sysdeps/posix/seekdir.c: ... here.
3125 * sysdeps/unix/telldir.c: Renamed to ...
3126 * sysdeps/posix/telldir.c: ... here.
3127 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3128 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3130 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3132 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3133 * bits/fcntl.h: ... here.
3135 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3137 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3138 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3139 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3140 (struct flock): Move l_start, l_len to the beginning.
3141 Use __pid_t for l_pid.
3142 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3143 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3144 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3145 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3146 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3147 [__USE_LARGEFILE64] (struct flock64): New type.
3148 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3150 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3151 * bits/dirent.h: ... here.
3153 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3154 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3156 2012-08-07 Joseph Myers <joseph@codesourcery.com>
3158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3159 Change from 2.6.0 to 2.6.16.
3160 * sysdeps/unix/sysv/linux/configure: Regenerated.
3161 * sysdeps/unix/sysv/linux/kernel-features.h
3162 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3163 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3165 (__ASSUME_UTIMES): Likewise.
3166 (__ASSUME_CLONE_STOPPED): Remove.
3167 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3168 architectures, not kernel version.
3169 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3170 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3171 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3172 (__ASSUME_WAITID_SYSCALL): Likewise.
3173 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3174 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3175 * README: State 2.6.16 as minimum Linux kernel version. Do not
3176 refer to older versions.
3178 2012-08-06 Roland McGrath <roland@hack.frob.com>
3180 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3181 Define alphasort64 as an alias.
3182 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3183 Define versionsort64 as an alias.
3184 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3185 Define scandir64 as an alias.
3186 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3187 Define scandirat64 as an alias.
3188 * dirent/alphasort64.c (alphasort64):
3189 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3190 * dirent/versionsort64.c: Likewise.
3191 * dirent/scandir64.c: Likewise.
3192 * dirent/scandirat64.c: Likewise.
3193 * sysdeps/wordsize-64/alphasort.c: File removed.
3194 * sysdeps/wordsize-64/alphasort64.c: File removed.
3195 * sysdeps/wordsize-64/scandir.c: File removed.
3196 * sysdeps/wordsize-64/scandir64.c: File removed.
3197 * sysdeps/wordsize-64/scandirat.c: File removed.
3198 * sysdeps/wordsize-64/scandirat64.c: File removed.
3199 * sysdeps/wordsize-64/versionsort.c: File removed.
3200 * sysdeps/wordsize-64/versionsort64.c: File removed.
3201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3210 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3212 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3214 [defined __arch64__ || defined __sparcv9]
3215 (__INO_T_MATCHES_INO64_T): New macro.
3216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3217 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3218 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3219 * sysdeps/unix/sysv/linux/bits/dirent.h
3220 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3221 (_DIRENT_MATCHES_DIRENT64): New macro.
3223 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3224 Define lockf64 as an alias.
3225 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3226 Define fseeko64 as an alias.
3227 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3228 Define ftello64 as an alias.
3229 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3230 Define _IO_fgetpos64 and fgetpos64 as aliases.
3231 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3232 Define _IO_fsetpos64 and fsetpos64 as aliases.
3233 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3234 Conditionalize body on this.
3235 * libio/fseeko64.c: Likewise.
3236 * libio/ftello64.c: Likewise.
3237 * libio/iofgetpos64.c: Likewise.
3238 * libio/iofsetpos64.c: Likewise.
3239 * sysdeps/wordsize-64/lockf.c: File removed.
3240 * sysdeps/wordsize-64/lockf64.c: File removed.
3241 * sysdeps/wordsize-64/fseeko.c: File removed.
3242 * sysdeps/wordsize-64/fseeko64.c: File removed.
3243 * sysdeps/wordsize-64/ftello.c: File removed.
3244 * sysdeps/wordsize-64/ftello64.c: File removed.
3245 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3246 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3247 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3248 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3260 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3262 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3264 [defined __arch64__ || defined __sparcv9]
3265 (__OFF_T_MATCHES_OFF64_T): New macro.
3266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3267 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3269 (__OFF_T_MATCHES_OFF64_T): New macro.
3271 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3273 * stdlib/secure-getenv.c (__secure_getenv): Replace
3274 GLIBC_2_16 with GLIBC_2_17.
3276 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3281 2012-08-03 David S. Miller <davem@davemloft.net>
3283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3285 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3289 (__ASSUME_CORRECT_SI_PID): Likewise.
3290 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3291 (__ASSUME_TMPFS_NAME): Likewise.
3292 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3293 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3294 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3295 (HAVE_AUX_SECURE): Make definition unconditional.
3296 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3297 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3299 2012-08-03 Roland McGrath <roland@hack.frob.com>
3301 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3302 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3303 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3304 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3305 __eloop_threshold instead of SYMLOOP_MAX.
3307 * sysdeps/generic/eloop-threshold.h: New file.
3308 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3310 * elf/chroot_canon.c (chroot_canon): Likewise.
3312 2012-08-03 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3316 Change to 2.6.0 everywhere.
3317 * sysdeps/unix/sysv/linux/configure: Regenerated.
3318 * sysdeps/unix/sysv/linux/kernel-features.h
3319 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3320 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3322 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3323 (__ASSUME_FUTEX_REQUEUE): Remove.
3324 (__ASSUME_STATFS64): Define unconditionally.
3325 (__ASSUME_AT_SECURE): Likewise.
3326 (__ASSUME_CORRECT_SI_PID): Likewise.
3327 (__ASSUME_TGKILL): Define without depending on kernel version for
3329 (__ASSUME_UTIMES): Likewise.
3330 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3332 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3333 (__ASSUME_TMPFS_NAME): Likewise.
3334 * README: Update reference to Linux kernel versions.
3336 2012-08-02 Marek Polacek <polacek@redhat.com>
3339 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3340 libc_cv_asm_type_prefix with %.
3341 * configure: Regenerated.
3342 * include/libc-symbols.h: Remove comment about
3343 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3344 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3345 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3346 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3347 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3348 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3351 * elf/tst-unique2mod1.c: Likewise.
3352 * elf/tst-unique1mod2.c: Likewise.
3353 * elf/tst-unique1mod1.c: Likewise.
3354 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3355 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3356 Replace ASM_TYPE_DIRECTIVE with .type.
3357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3358 * sysdeps/i386/sysdep.h: Likewise.
3359 * sysdeps/x86_64/sysdep.h: Likewise.
3360 * sysdeps/sh/sysdep.h: Likewise.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3362 Do not define ASM_TYPE_DIRECTIVE.
3363 * sysdeps/powerpc/sysdep.h: Likewise.
3364 * sysdeps/powerpc/powerpc32/sysdep.h:
3365 Replace ASM_TYPE_DIRECTIVE with .type.
3366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3367 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3368 * sysdeps/i386/fpu/e_powf.S: Likewise.
3369 * sysdeps/i386/fpu/e_expl.S: Likewise.
3370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3372 * sysdeps/i386/fpu/e_pow.S: Likewise.
3373 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3375 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3376 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3377 * sysdeps/i386/fpu/e_log2.S: Likewise.
3378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3380 * sysdeps/i386/fpu/e_powl.S: Likewise.
3381 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3382 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3383 * sysdeps/i386/fpu/e_logl.S: Likewise.
3384 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3385 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3386 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3387 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3389 * sysdeps/i386/fpu/e_log.S: Likewise.
3390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3391 * sysdeps/i386/fpu/e_logf.S: Likewise.
3392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3394 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3395 * sysdeps/i386/fpu/e_log10.S: Likewise.
3396 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3398 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3399 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3402 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3403 * sysdeps/i386/i686/strtok.S: Likewise.
3404 * sysdeps/i386/i386-mcount.S: Likewise.
3405 * sysdeps/i386/strtok.S: Likewise.
3406 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3408 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3409 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3410 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3411 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3412 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3413 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3414 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3415 * sysdeps/x86_64/_mcount.S: Likewise.
3416 * sysdeps/x86_64/strtok.S: Likewise.
3417 * sysdeps/sh/_mcount.S: Likewise.
3419 2012-08-01 Roland McGrath <roland@hack.frob.com>
3421 * libio/iofopen.c: Include <fcntl.h>.
3422 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3423 (_IO_fopen64, fopen64): Define as aliases.
3424 * libio/iofopen64.c: Include <fcntl.h>.
3425 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3426 Conditionalize body on this.
3427 * sysdeps/wordsize-64/iofopen.c: File removed.
3428 * sysdeps/wordsize-64/iofopen64.c: File removed.
3430 2012-08-01 Marek Polacek <polacek@redhat.com>
3432 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3433 Use dlfcn directly instead of a variable.
3434 (binfmt-subdir): Do not define.
3437 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3440 Remove all definitions.
3441 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3442 <kernel-features.h>.
3443 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3444 (miss_F_GETOWN_EX): Remove all definitions.
3445 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3447 [!__ASSUME_FCNTL64]: Remove conditional code.
3448 [__ASSUME_FCNTL64]: Make code unconditional.
3449 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3450 <kernel-features.h>.
3451 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3452 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3453 (lockf64) [__NR_fcntl64]: Make code unconditional.
3454 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3456 * sysdeps/unix/sysv/linux/kernel-features.h
3457 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3458 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3459 Make code unconditional.
3460 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3461 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3463 [__NR_vfork]: Make code unconditional.
3464 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3465 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3467 [__NR_vfork]: Make code unconditional.
3468 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3469 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3471 2012-08-01 Roland McGrath <roland@hack.frob.com>
3473 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3474 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3476 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3477 Define mkstemp64 as an alias.
3478 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3479 Define mkstemps64 as an alias.
3480 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3481 Define mkostemp64 as an alias.
3482 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3483 Define mkostemps64 as an alias.
3484 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3485 Conditionalize body on this.
3486 * misc/mkostemp64.c: Likewise.
3487 * misc/mkostemps64.c: Likewise.
3488 * misc/mkstemps64.c: Likewise.
3489 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3490 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3491 * sysdeps/wordsize-64/mkostemp.c: File removed.
3492 * sysdeps/wordsize-64/mkstemp.c: File removed.
3493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3499 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3501 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3502 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3504 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3505 compat_symbol macros from <shlib-compat.h> rather than the underlying
3506 default_symbol_version and symbol_version macros, so that DEFAULT
3507 lines in shlib-versions are respected.
3508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3510 2012-08-01 Florian Weimer <fweimer@redhat.com>
3512 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3513 Declare with warn_unused_result.
3514 (setgid, setregid, setegid, setresgid): Likewise.
3515 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3517 * WUR-REPORT: Remove set*id functions.
3519 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3521 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3523 2012-07-31 Roland McGrath <roland@hack.frob.com>
3525 * include/sys/socket.h (__libc_accept, __libc_accept4):
3526 Add attribute_hidden.
3527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3531 * inet/getnetgrent_r.c (setup): Likewise.
3533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3535 2012-07-31 David S. Miller <davem@davemloft.net>
3537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3539 2012-07-31 Joseph Myers <joseph@codesourcery.com>
3542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3543 value between 1.0 and 2.0 and smaller part has absolute value less
3545 * math/s_clog10.c (__clog10): Likewise.
3546 * math/s_clog10f.c (__clog10f): Likewise.
3547 * math/s_clog10l.c (__clog10l): Likewise.
3548 * math/s_clogf.c (__clogf): Likewise.
3549 * math/s_clogl.c (__clogl): Likewise.
3550 * math/libm-test.inc (clog_test): Add more tests.
3551 (clog10_test): Likewise.
3552 * sysdeps/i386/fpu/libm-test-ulps: Update.
3553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3555 2012-07-31 Florian Weimer <fweimer@redhat.com>
3557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3558 Exit with zero in case no suitable GID is found, and write a
3559 message to standard error.
3561 2012-07-30 Roland McGrath <roland@hack.frob.com>
3563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3566 (MAXPATHLEN): Removed.
3567 (NOGROUP, NODEV): New macros.
3568 (setbit, clrbit, isset, isclr): New macros.
3569 (howmany, roundup, powerof2): New macros.
3570 (DEV_BSIZE): New macro.
3572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3576 definition on [!__NO_LONG_DOUBLE_MATH].
3578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3579 PTR_MANGLE and PTR_DEMANGLE.
3581 * socket/accept4.c (accept4): Rename to __libc_accept4.
3582 Define accept4 as a weak alias.
3584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3585 on [_DIRENT_HAVE_D_TYPE].
3586 * io/ftw.c (ftw_dir): Likewise.
3588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3593 Use the BSD numbers rather than the arbitrary ones we had.
3594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3596 (SIGXCPU, SIGXFSZ): New macros.
3599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3600 initializer on [_LIBC_REENTRANT].
3602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3603 definitions inside [_POSIX_MAPPED_FILES].
3605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3607 * dirent/opendir.c: Include <fcntl.h>.
3609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3610 (__libc_getspecific): Likewise.
3611 (__libc_key_create): Likewise.
3613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3616 (tmpfile64): Define as alias.
3617 * sysdeps/wordsize-64/tmpfile.c: File removed.
3618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3622 * stdio-common/vfscanf.c: Include <stdbool.h>.
3623 * nss/makedb.c: Likewise.
3624 * stdio-common/_i18n_number.h: Likewise.
3625 * argp/argp-help.c: Likewise.
3626 * posix/wordexp.c: Likewise.
3627 * sysdeps/posix/spawni.c: Likewise.
3628 * nss/nss_files/files-initgroups.c: Likewise.
3629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3630 * nss/nss_files/files-initgroups.c: Likewise.
3631 * nss/nss_db/db-netgrp.c: Likewise.
3632 * nss/nss_db/db-initgroups.c: Likewise.
3633 * io/fchmodat.c: Include <sys/stat.h>.
3635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3642 Add multiple inclusion protection.
3644 2012-07-27 David S. Miller <davem@davemloft.net>
3646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3648 2012-07-27 Gary Benson <gbenson@redhat.com>
3651 * elf/rtld.c: Include <stap-probe.h>.
3652 (dl_main): Added static probes "init_start" and "init_complete".
3653 * elf/dl-load.c: Include <stap-probe.h>.
3654 (lose): Take new parameter "nsid".
3655 Added static probe "map_failed".
3656 (_dl_map_object_from_fd): Pass namespace id to lose.
3657 Added static probe "map_start".
3658 (open_verify): Pass namespace id to lose.
3659 * elf/dl-open.c: Include <stap-probe.h>.
3660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3661 and "reloc_complete".
3662 * elf/dl-close.c: Include <stap-probe.h>.
3663 (_dl_close_worker): Added static probes "unmap_start" and
3665 * elf/rtld-debugger-interface.txt: New file documenting the above.
3667 2012-07-26 Roland McGrath <roland@hack.frob.com>
3669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3670 rather than a string variable.
3671 * sunrpc/rpc_main.c (h_output): Likewise.
3672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3674 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3676 * inet/check_native.c: New file.
3678 2012-07-26 Joseph Myers <joseph@codesourcery.com>
3681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3682 if larger part has absolute value 1.0.
3683 * math/s_clog10.c (__clog10): Likewise.
3684 * math/s_clog10f.c (__clog10f): Likewise.
3685 * math/s_clog10l.c (__clog10l): Likewise.
3686 * math/s_clogf.c (__clogf): Likewise.
3687 * math/s_clogl.c (__clogl): Likewise.
3688 * math/libm-test.inc (clog_test): Add more tests.
3689 (clog10_test): Likewise.
3690 * sysdeps/i386/fpu/libm-test-ulps: Update.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3694 (pltexit): Likewise.
3695 (La_regs): Likewise.
3696 (La_retval): Likewise.
3697 (int_retval): Likewise.
3698 Update #error for removed macros to refer only to definitions in
3700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3702 (pltexit): Likewise.
3703 (La_regs): Likewise.
3704 (La_retval): Likewise.
3705 (int_retval): Likewise.
3706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3708 (pltexit): Likewise.
3709 (La_regs): Likewise.
3710 (La_retval): Likewise.
3711 (int_retval): Likewise.
3712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3714 (pltexit): Likewise.
3715 (La_regs): Likewise.
3716 (La_retval): Likewise.
3717 (int_retval): Likewise.
3718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3720 (pltexit): Likewise.
3721 (La_regs): Likewise.
3722 (La_retval): Likewise.
3723 (int_retval): Likewise.
3724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3726 (pltexit): Likewise.
3727 (La_regs): Likewise.
3728 (La_retval): Likewise.
3729 (int_retval): Likewise.
3730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3732 (pltexit): Likewise.
3733 (La_regs): Likewise.
3734 (La_retval): Likewise.
3735 (int_retval): Likewise.
3736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3737 macro definitions in tst-audit.h.
3738 * sysdeps/i386/tst-audit.h: New file.
3739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3743 * sysdeps/sh/tst-audit.h: Likewise.
3744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3746 * sysdeps/x86_64/tst-audit.h: Likewise.
3748 2012-07-26 Andreas Jaeger <aj@suse.de>
3750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3766 (si_call_addr, si_syscall, si_arch): Define new macro.
3767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3769 (si_call_addr, si_syscall, si_arch): Define new marcro.
3770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3772 (si_call_addr, si_syscall, si_arch): Define new macro.
3773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3775 (si_call_addr, si_syscall, si_arch): Define new macro.
3777 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3781 Change to 2.4.21 where previously 2.4.1.
3782 * sysdeps/unix/sysv/linux/configure: Regenerated.
3783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3785 Linux kernel version.
3786 (__ASSUME_STD_AUXV): Remove.
3787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3793 (__ASSUME_NETLINK_SUPPORT): Likewise.
3794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3795 (__no_netlink_support): Remove conditional definition.
3796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3801 (if_nameindex_ioctl): Remove.
3802 (if_nameindex_netlink): Do not handle __no_netlink_support.
3803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3806 Remove conditional code.
3807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3816 [!__ASSUME_STD_AUXV]: Remove conditional code.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3869 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3895 2012-07-25 Florian Weimer <fweimer@redhat.com>
3897 * Versions.def: Add GLIBC_2.17.
3898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3900 Introduce __libc_secure_getenv.
3901 * stdlib/Versions (2.17): Add secure_getenv
3902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3903 * stdlib/secure-getenv.c: Rename __secure_getenv to
3904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3905 symbol __secure_getenv for GLIBC_2.0.
3906 * stdlib/tst-secure-getenv.c: New.
3907 * stdlib/Makefile (tests): Add testcase.
3908 * manual/startup.texi (Environment Access): Document
3910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3911 __libc_secure_getenv.
3912 * inet/ruserpass.c (ruserpass): Likewise.
3913 * malloc/mtrace.c (mtrace): Likewise.
3914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
3915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3917 * sysdeps/posix/tempname.c: Likewise. Evaluate
3919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
3920 __secure_getenv to __libc_secure_getenv.
3921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3934 2012-07-25 Joseph Myers <joseph@codesourcery.com>
3936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3937 (struct La_i86_retval): Likewise.
3938 (struct La_x86_64_regs): Likewise.
3939 (struct La_x86_64_retval): Likewise.
3940 (struct La_x32_regs): Likewise.
3941 (struct La_x32_retval): Likewise.
3942 (struct La_ppc32_regs): Likewise.
3943 (struct La_ppc32_retval): Likewise.
3944 (struct La_ppc64_regs): Likewise.
3945 (struct La_ppc64_retval): Likewise.
3946 (struct La_sh_regs): Likewise.
3947 (struct La_sh_retval): Likewise.
3948 (struct La_s390_32_regs): Likewise.
3949 (struct La_s390_32_retval): Likewise.
3950 (struct La_s390_64_regs): Likewise.
3951 (struct La_s390_64_retval): Likewise.
3952 (struct La_sparc32_regs): Likewise.
3953 (struct La_sparc32_retval): Likewise.
3954 (struct La_sparc64_regs): Likewise.
3955 (struct La_sparc64_retval): Likewise.
3956 (struct audit_ifaces): Remove architecture-specific pltenter and
3958 * sysdeps/i386/ldsodefs.h: New file.
3959 * sysdeps/powerpc/ldsodefs.h: Likewise.
3960 * sysdeps/s390/ldsodefs.h: Likewise.
3961 * sysdeps/sh/ldsodefs.h: Likewise.
3962 * sysdeps/sparc/ldsodefs.h: Likewise.
3963 * sysdeps/x86_64/ldsodefs.h: Likewise.
3965 2012-07-25 Marek Polacek <polacek@redhat.com>
3968 * math/libm-test.inc (yn_test): Add another test.
3969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3970 to ERANGE when the result is +-Inf.
3971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3976 2012-07-24 Joseph Myers <joseph@codesourcery.com>
3978 * conform/data/time.h-data (NULL): Use macro-constant. Require
3980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3984 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3986 * configure.in <sysdeps resolving>: Correct printing
3988 * configure: Regenerate.
3990 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3992 * math/w_ilogb.c: Include <limits.h>.
3993 * math/w_ilogbl.c: Likewise.
3995 2012-07-20 Joseph Myers <joseph@codesourcery.com>
3997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3998 va_copy. Document allowing for unavailable va_copy only as
3999 pre-C99 compatibility.
4000 * manual/string.texi (Copying and Concatenation): Use va_copy
4001 instead of __va_copy in concat example.
4003 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4006 (__sendto): Use create_address_port. Initialize APORT and deallocate
4009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4010 with O_NOLINK passed to __file_name_lookup.
4012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4013 with O_NOLINK passed to __file_name_lookup.
4015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4016 negative N or less than NGIDS.
4018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4019 type to string_t. Set ERANGE as errno and return it if NAME is not big
4020 enough. Use memcpy instead of strncpy.
4022 2012-07-20 Joseph Myers <joseph@codesourcery.com>
4024 * elf/Makefile (check-data): Remove.
4025 (localplt.data): New vpath directive.
4026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4027 instead of $(check-data).
4028 * scripts/data/localplt-generic.data: Move to ...
4029 * sysdeps/generic/localplt.data: ... here.
4030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4051 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4054 PPC32 and PPC64 files.
4055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4058 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4061 __makecontext_ret to ...
4062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4063 ... here and call exit if uc_link is NULL. New file.
4064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4065 __makecontext_ret.S.
4066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4067 __makecontext_ret to ...
4068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4069 ... here and call exit if uc_link is NULL. New file.
4070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4071 __makecontext_ret.S.
4073 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4075 * elf/elf.h (R_390_IRELATIVE): New definition.
4076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4080 (elf_machine_lazy_rel): Likewise.
4081 * sysdeps/s390/dl-irel.h: New file.
4082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4083 * sysdeps/s390/s390-64/memset.S: New asm code.
4084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4096 * sysdeps/s390/s390-32/memset.S: New asm code.
4097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4099 2012-07-17 Marek Polacek <polacek@redhat.com>
4102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4103 * sysdeps/s390/s390-64/configure.in: Likewise.
4104 * sysdeps/sparc/configure.in: Likewise.
4105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4107 * sysdeps/i386/configure.in: Likewise.
4108 * sysdeps/x86_64/configure.in: Likewise.
4109 * sysdeps/sh/configure.in: Likewise.
4110 * sysdeps/s390/s390-32/configure: Regenerated.
4111 * sysdeps/s390/s390-64/configure: Likewise.
4112 * sysdeps/x86_64/configure: Likewise.
4113 * sysdeps/sh/configure: Likewise.
4114 * sysdeps/powerpc/powerpc64/configure: Likewise.
4115 * sysdeps/powerpc/powerpc32/configure: Likewise.
4116 * sysdeps/sparc/configure: Likwise.
4117 * sysdeps/i386/configure: Likewise.
4119 * elf/dl-open.c: Comment fixes.
4121 2012-07-17 Joseph Myers <joseph@codesourcery.com>
4123 * Makefile [CXX] (check-data): Remove.
4124 [CXX] (c++-types.data): New vpath directive.
4125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4126 vpath. Do not allow for C++ type data being missing.
4127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4158 definitions to architecture-specific files.
4162 * sysdeps/i386/tls-macros.h: New file.
4163 * sysdeps/powerpc/tls-macros.h: Likewise.
4164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4166 * sysdeps/sh/tls-macros.h: Likewise.
4167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4169 * sysdeps/x86_64/tls-macros.h: Likewise.
4171 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4174 zero value for regular exit case.
4176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4177 (__start_context): Preserve zero value for regular exit case.
4179 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4182 * manual/setjmp.texi (setcontext): Clarify normal process
4183 termination when uc_link is the null pointer.
4184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4187 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4190 preprocessor. Test for each exception mask separately.
4192 2012-07-16 Andreas Jaeger <aj@suse.de>
4194 * po/ru.po: Update from translation team.
4196 2012-07-15 Joseph Myers <joseph@codesourcery.com>
4198 * conform/data/string.h-data (NULL): Use macro-constant. Require
4200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4206 2012-07-13 Andreas Jaeger <aj@suse.de>
4208 * po/fr.po: Update from translation team.
4210 2012-07-12 Marek Polacek <polacek@redhat.com>
4213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4217 2012-07-12 Joseph Myers <joseph@codesourcery.com>
4220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4221 Change to 2.4.1 where previously 2.4.0.
4222 * sysdeps/unix/sysv/linux/configure: Regenerated.
4223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4227 (__ASSUME_AT_CLKTCK): Remove.
4228 (__ASSUME_AT_PAGESIZE): Likewise.
4229 (__ASSUME_AT_XID): Likewise.
4230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4234 (HAVE_AUX_PAGESIZE): Likewise.
4235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4239 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4243 the temporary buffer used to invoke __gethostbyname2_r,
4244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4245 host_data / struct gaih_addrtuple.
4246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4248 header file nss/nsswitch.h.
4249 * nss/nsswitch.h (global scope): Add definition of implementation
4250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4251 resolv/nss_dns/dns-host.c).
4253 2012-07-11 Andreas Jaeger <aj@suse.de>
4255 * po/fr.po: Update from translation team.
4257 * po/sv.po: Update from translation team
4258 * po/fr.po: Another update from translation team.
4260 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4263 for subnormals or multiply small sinh result by itself.
4264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267 2012-07-11 David S. Miller <davem@davemloft.net>
4269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4271 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4275 (INTERNAL_MARK): Shift it here.
4277 2012-07-10 Marek Polacek <polacek@redhat.com>
4280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4281 libc_cv_asm_global_directive with .globl.
4282 * configure: Regenerated.
4283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4285 * sysdeps/i386/configure: Regenerated.
4286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4288 * sysdeps/x86_64/configure: Regenerated.
4289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4291 * elf/tst-unique2mod2.c: Likewise.
4292 * elf/tst-unique2mod1.c: Likewise.
4293 * elf/tst-unique1mod2.c: Likewise.
4294 * elf/tst-unique1mod1.c: Likewise.
4295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4299 * sysdeps/mach/sysdep.h: Likewise.
4300 * sysdeps/i386/sysdep.h: Likewise.
4301 * sysdeps/i386/i386-mcount.S: Likewise.
4302 * sysdeps/x86_64/_mcount.S: Likewise.
4303 * sysdeps/x86_64/sysdep.h: Likewise.
4304 * sysdeps/sh/_mcount.S: Likewise.
4305 * sysdeps/sh/sysdep.h: Likewise.
4306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4313 * locale/localeinfo.h: Likewise.
4314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4317 2012-07-09 Roland McGrath <roland@hack.frob.com>
4320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4322 * manual/message.texi (The Uniforum approach): Likewise.
4323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4324 (glibc iconv Implementation): Likewise.
4326 2012-07-09 Joseph Myers <joseph@codesourcery.com>
4329 * math/s_clog.c (__clog): Avoid scaling a value down where that
4330 could result in underflow.
4331 * math/s_clog10.c (__clog10): Likewise.
4332 * math/s_clog10f.c (__clog10f): Likewise.
4333 * math/s_clog10l.c (__clog10l): Likewise.
4334 * math/s_clogf.c (__clogf): Likewise.
4335 * math/s_clogl.c (__clogl): Likewise.
4336 * math/libm-test.inc (clog_test): Add more tests.
4337 (clog10_test): Likewise.
4338 * sysdeps/i386/fpu/libm-test-ulps: Update.
4339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4341 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4345 by 7 not 8 to examine high bit of fractional part.
4348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4349 for call to __mcount_internal.
4350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4354 2012-07-06 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4358 approximation for values within 0x1p-13f of an odd multiple of
4360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4361 exception. Add more tests.
4362 * sysdeps/i386/fpu/libm-test-ulps: Update.
4365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4366 inputs and return -1 for them. Do not check for +Inf in case not
4368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4371 and return -1 for them. Do not check for +Inf in case not
4373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4376 and return -1 for them. Do not check for +Inf in case not
4378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4380 * sysdeps/i386/fpu/libm-test-ulps: Update.
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4383 2012-07-06 Mike Frysinger <vapier@gentoo.org>
4385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4387 2012-07-05 Joseph Myers <joseph@codesourcery.com>
4391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4392 could result in spurious underflow. Scale down values above
4393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4394 * math/s_csqrtf.c (__csqrtf): Likewise.
4395 * math/s_csqrtl.c (__csqrtl): Likewise.
4396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4405 * catgets/xopen-msg.awk: New file.
4406 * catgets/xopen-msg.sed: Removed.
4408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4410 * intl/po2test.awk: New file.
4411 * intl/po2test.sed: Removed.
4413 2012-07-04 Joseph Myers <joseph@codesourcery.com>
4416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4417 or multiply small sinh result by itself.
4418 * math/s_ctanf.c (__ctanf): Likewise.
4419 * math/s_ctanh.c (__ctanh): Likewise.
4420 * math/s_ctanhf.c (__ctanhf): Likewise.
4421 * math/s_ctanhl.c (__ctanhl): Likewise.
4422 * math/s_ctanl.c (__ctanl): Likewise.
4423 * math/libm-test.inc (ctan_test_tonearest): New function.
4424 (ctan_test_towardzero): Likewise.
4425 (ctan_test_downward): Likewise.
4426 (ctan_test_upward): Likewise.
4427 (ctanh_test_tonearest): Likewise.
4428 (ctanh_test_towardzero): Likewise.
4429 (ctanh_test_downward): Likewise.
4430 (ctanh_test_upward): Likewise.
4431 (main): Call these new functions.
4432 * sysdeps/i386/fpu/libm-test-ulps: Update.
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435 2012-07-03 Mike Frysinger <vapier@gentoo.org>
4437 * .gitignore: Delete /ports entry.
4439 2012-07-03 Andreas Jaeger <aj@suse.de>
4441 * po/bg.po: Update from translation team.
4442 * po/cs.po: Likewise.
4443 * po/de.po: Likewise.
4444 * po/hr.po: Likewise.
4445 * po/nl.pl: Likewise.
4446 * po/pl.po: Likewise.
4447 * po/vi.po: Likewise.
4449 2012-07-03 Joseph Myers <joseph@codesourcery.com>
4451 * Makeconfig [!+link] (+link-before-libc): New variable.
4452 [!+link] (+link-after-libc): Likewise.
4453 [!+link] (+link-tests): Likewise.
4454 [!+link] (+link): Define in terms of $(+link-before-libc) and
4455 $(+link-after-libc).
4456 [!+link-static] (+link-static-before-libc): New variable.
4457 [!+link-static] (+link-static-after-libc): Likewise.
4458 [!+link-static] (+link-static-tests): Likewise.
4459 [!+link-static] (+link-static): Define in terms of
4460 $(+link-static-before-libc) and $(+link-static-after-libc).
4461 [build-shared] (link-libc-before-gnulib): New variable.
4462 [build-shared] (link-libc-tests): Likewise.
4463 [build-shared] (link-libc): Define in terms of
4464 $(link-libc-before-gnulib).
4465 [!build-shared] (link-libc-tests): New variable.
4466 (link-libc-static-tests): New variable.
4467 [!gnulib] (gnulib-arch): New variable.
4468 [!gnulib] (gnulib-tests): Likewise.
4469 [!gnulib] (static-gnulib-arch): Likewise.
4470 [!gnulib] (static-gnulib-tests): Likewise.
4471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4472 Define with "=" instead of ":=".
4473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4475 * Rules (binaries-all-notests): New variable.
4476 (binaries-all-tests): Likewise.
4477 (binaries-static-notests): Likewise.
4478 (binaries-static-tests): Likewise.
4479 (binaries-all): Define using $(binaries-all-notests) and
4480 $(binaries-all-tests).
4481 (binaries-static): Define using $(binaries-static-notests) and
4482 $(binaries-static-tests).
4483 (binaries-shared-tests): New variable.
4484 (binaries-shared-notests): Likewise.
4485 (binaries-shared): Remove variable.
4486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4492 * elf/Makefile (sln-modules): New variable.
4493 (extra-objs): Add $(sln-modules:=.o).
4494 (ldconfig-modules): Add static-stubs.
4495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4496 * elf/static-stubs.c: New file.
4499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4500 by 7 not 8 to examine high bit of fractional part. Use volatile
4501 variables when splitting into final array of floats if
4502 __FLT_EVAL_METHOD__ != 0.
4503 * math/libm-test.inc (cos_test): Add another test.
4504 (sin_test): Likewise.
4505 * sysdeps/i386/fpu/libm-test-ulps: Update.
4508 * math/libm-test.inc (cosh_test): Add more tests.
4510 * version.h (RELEASE): Set to "development".
4511 (VERSION): Set to "2.16.90".
4513 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4515 * NEWS: Update copyright. Remove last-updated date.
4516 Mention math library bug fixes and timezone data changes.
4517 * README: Mention GNU/Hurd, x32, and HPPA support status.
4519 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4523 2012-06-27 Andreas Jaeger <aj@suse.de>
4525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4527 2012-06-25 Andreas Jaeger <aj@suse.de>
4529 * sysdeps/s390/fpu/libm-test-ulps: Update.
4531 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4532 Thomas Schwinge <thomas@codesourcery.com>
4534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4539 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4541 * sysdeps/mach/start.c: Remove file.
4542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4544 * sysdeps/sh/init-first.c: Likewise.
4546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4547 registers for frame unwinding purposes, add CFI directives.
4548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4554 __fortify_fail returning.
4555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4558 sysdeps/sh/____longjmp_chk.S.
4559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4564 * sysdeps/sh/abort-instr.h: New file.
4565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4566 process in case exit returns.
4568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4569 initialize the GOT register before use.
4571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4572 calculation of ARGC > 4.
4574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4575 meaningful names to some local labels.
4577 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4582 (__arch_compare_and_exchange_val_16_acq): Likewise.
4583 (__arch_compare_and_exchange_val_32_acq): Likewise.
4584 (atomic_exchange_and_add): Fix gUSA sequence.
4585 (atomic_add): Likewise.
4586 (atomic_add_negative): Likewise.
4587 (atomic_add_zero): Likewise.
4588 (atomic_bit_test_set): Likewise.
4590 2012-06-22 Andreas Schwab <schwab@redhat.com>
4593 * include/link.h (struct link_map): Add l_free_initfini.
4594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4601 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4603 * configure.in: Use AC_LANG_SOURCE.
4604 * configure: Regenerate.
4606 2012-06-22 Roland McGrath <roland@hack.frob.com>
4608 * configure.in (libc_cv_localstatedir): New substituted variable.
4609 * configure: Regenerated.
4610 * config.make.in (localstatedir): New variable, substituted from
4611 libc_cv_localstatedir.
4612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4615 * sysdeps/gnu/configure: Regenerated.
4617 2012-06-21 Jeff Law <law@redhat.com>
4620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4621 free. Simplify list management for _LIBC case.
4623 2012-06-21 Joseph Myers <joseph@codesourcery.com>
4626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4627 Clear sign bit of 64-bit integer value before comparing against
4630 * sysdeps/mach/configure: Regenerated.
4632 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4637 2012-06-21 Jeff Law <law@redhat.com>
4640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4641 uint16_t for elements in the "seen" array to avoid char overflows.
4642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4643 * elf/dl-open.c (dl_open_worker): Likewise.
4645 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4647 * scripts/list-sources.sh: Scan PORTS for translations.
4648 * po/libc.pot: Regenerated.
4650 2012-06-21 Andreas Jaeger <aj@suse.de>
4653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4656 * bits/byteswap-16.h (__bswap_16): Likewise.
4657 * bits/byteswap.h (__bswap_constant_16): Likewise.
4659 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4662 * sysdeps/i386/fpu_control.h: Removed.
4663 * sysdeps/x86_64/fpu_control.h: Moved to ...
4664 * sysdeps/x86/fpu_control.h: Here.
4666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4667 (_FPU_SETCW): Likewise.
4669 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4673 * sysdeps/x86/fpu/bits/mathinline.h: This.
4674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4679 functions if __x86_64__ is defined.
4681 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4683 * string/endian.h: Add !__ASSEMBLER__ condition for including
4684 conversion interfaces.
4686 2012-06-15 Joseph Myers <joseph@codesourcery.com>
4689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4690 of ABS(x) in calculating zero to negative powers other than odd
4692 * math/libm-test.inc (pow_test): Add more tests.
4694 2012-06-15 Andreas Jaeger <aj@suse.de>
4696 * manual/contrib.texi (Contributors): Update entry of Liubov
4697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4700 2012-06-15 Cyril Hrubis <metan@ucw.cz>
4702 * string/string.h: Add __wur to GNU version of strerror_r.
4704 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4707 * string/Makefile (tests): Add tst-strtok_r.
4708 * string/tst-strtok_r.c: New file.
4709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4710 RAX_LP/RDX_LP on SAVE_PTR.
4712 2012-06-14 Roland McGrath <roland@hack.frob.com>
4714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4716 2012-06-14 Joseph Myers <joseph@codesourcery.com>
4718 * libm_test.inc (csqrt_test): Allow more spurious underflow
4720 (j0_test): Likewise.
4721 (j1_test): Likewise.
4722 (y0_test): Likewise.
4723 (y1_test): Likewise.
4725 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4727 * po/Makefile (libc.pot): Use UTF-8 charset.
4729 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4732 Suppress sign-conversion warning from FD_SET.
4733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4735 not unsigned long int.
4736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4738 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4743 __extern_always_inline instead of __extern_inline.
4744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4745 (__signbit): Likewise.
4746 (__signbitl): Support C++ namespace.
4747 (lrintf): New inline function.
4749 (llrintf): Likewise.
4761 (nearbyint): Likewise.
4762 (nearbyintf): Likewise.
4764 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4767 non-default versions.
4769 2012-06-11 Roland McGrath <roland@hack.frob.com>
4772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4774 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4777 (FE_UPWARD, FE_DOWNWARD): Don't define.
4778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4786 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4793 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4797 * sysdeps/i386/fpu/Implies: New file.
4798 * sysdeps/x86_64/fpu/Implies: Likewise.
4799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4800 * sysdeps/x86/fpu/bits/fenv.h: This.
4802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4805 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4809 character 0xffff that matches the last element of the
4812 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4817 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4820 values higher than 25.6283.
4822 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4825 subnormal exponent extraction and add some __builtin_expect.
4826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4827 Fix for subnormal mantissa calculation.
4829 2012-06-04 Mike Frysinger <vapier@gentoo.org>
4831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4832 cpu2 is -1 and errno is not ENOSYS.
4834 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4838 * sysdeps/x86/bits/string.h: This.
4839 * sysdeps/x86_64/bits/string.h: Removed.
4841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4842 if not compiling for x86-64, but compiling for >= i486.
4844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4848 New macro from Linux kernel 3.4.0.
4849 (FP_XSTATE_MAGIC2): Likewise.
4850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4852 (struct _fpx_sw_bytes): New struct.
4853 (struct _xsave_hdr): Likewise.
4854 (struct _ymmh_state): Likewise.
4855 (struct _xstate): Likewise.
4857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4871 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4876 (sysdep_headers): Include sys/platform/ppc.h.
4877 * sysdeps/powerpc/test-gettimebase.c: Test for
4878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4879 * manual/Makefile (appendices): Include platform.texi.
4880 * manual/contrib.texi (Contributors): Update @node pointers.
4881 * manual/maint.texi (Maintenance): Likewise.
4882 (Platform): New node.
4883 * manual/platform.texi: New file. Document the new features.
4885 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4886 Jakub Jelinek <jakub@redhat.com>
4889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4890 where __builtin_expect is unavailable.
4892 2012-06-03 David S. Miller <davem@davemloft.net>
4894 * stdlib/longlong.h: Updated from GCC.
4896 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4903 (GLIBC_2.16): Likewise.
4905 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4909 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4912 (default-abi): New variable.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4924 definition. Document in comment.
4926 2012-06-01 David S. Miller <davem@davemloft.net>
4928 * stdlib/longlong.h: Updated from GCC.
4930 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4935 sys/debugreg.h sys/io.h here.
4936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4947 Define only if __x86_64__ is defined.
4949 2012-06-01 Joseph Myers <joseph@codesourcery.com>
4952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4953 Use int64_t for variable i.
4954 * math/libm-test.inc (fmod_test): Add more tests.
4956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4957 z computation is not scheduled after fetestexcept.
4958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4959 Use math_force_eval instead of asm to ensure calculation scheduled
4960 before exception test.
4961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4964 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4967 computation is not scheduled after fetestexcept.
4969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4975 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4980 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4985 (__WCHAR_MIN): Support __WORDSIZE == 64.
4986 (__WCHAR_MAX): Likewise.
4988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5003 Defined to 1 if __x86_64__ isn't defined.
5004 (_STAT_VER_LINUX_OLD): New.
5005 (st_atime): Remove duplicate.
5006 (st_mtime): Likewise.
5007 (st_ctime): Likewise.
5009 2012-05-31 David S. Miller <davem@davemloft.net>
5011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5014 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5020 * elf/dl-reloc.c: Include <_itoa.h>.
5021 (_dl_reloc_bad_type): Remove use of INTUSE.
5022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5024 * stdio-common/psiginfo.c (psiginfo): Likewise.
5025 * stdio-common/psignal.c (psignal): Likewise.
5026 * string/strsignal.c (strsignal): Likewise.
5027 * include/signal.h (_sys_siglist): Declare hidden proto.
5028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5029 INTVARDEF with libc_hidden_data_def.
5030 * stdio-common/itoa-udigits.c: Likewise.
5031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5032 (_itoa_lower_digits_internal): Remove declaration.
5033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5035 (_sys_sigabbrev_internal): Remove aliases.
5036 (_sys_siglist): Define hidden alias.
5038 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5043 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5102 2012-05-31 Joseph Myers <joseph@codesourcery.com>
5104 * math/math.h (M_El): Use two more decimal places.
5105 (M_LOG2El): Likewise.
5106 (M_LOG10El): Likewise.
5108 (M_LN10l): Likewise.
5110 (M_PI_2l): Likewise.
5111 (M_PI_4l): Likewise.
5112 (M_1_PIl): Likewise.
5113 (M_2_PIl): Likewise.
5114 (M_2_SQRTPIl): Likewise.
5115 (M_SQRT2l): Likewise.
5116 (M_SQRT1_2l): Likewise.
5118 2012-05-31 David S. Miller <davem@davemloft.net>
5120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5121 values between float registers.
5122 * sysdeps/sparc/sparc64/memset.S: Likewise.
5123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5125 2012-05-31 Mike Frysinger <vapier@gentoo.org>
5127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5128 -D_FORTIFY_SOURCE=1.
5129 (CPPFLAGS-tst-longjmp_chk.c): Define.
5130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5133 CFLAGS-tst-wchar-h.c.
5135 2012-05-31 Marek Polacek <polacek@redhat.com>
5138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5139 __endmntent_internal): Remove declaration.
5140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5144 2012-05-30 David S. Miller <davem@davemloft.net>
5146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5147 (___Q_simulate_exceptions): Use real FP ops rather than writing
5149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5152 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5156 * sysdeps/x86/bits/xtitypes.h: This.
5158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5159 * sysdeps/x86/bits/wordsize.h: This.
5161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5162 * sysdeps/x86/bits/huge_vall.h: This.
5164 * sysdeps/i386/bits/select.h: Removed.
5165 * sysdeps/x86_64/bits/select.h: Renamed to ...
5166 * sysdeps/x86/bits/select.h: This.
5168 * sysdeps/i386/bits/setjmp.h: Removed.
5169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5170 * sysdeps/x86/bits/setjmp.h: This.
5172 * sysdeps/i386/bits/mathdef.h: Removed.
5173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5174 * sysdeps/x86/bits/mathdef.h: This.
5176 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5179 * include/sys/socket.h (__connect_internal)
5180 (__libc_sa_len_internal): Remove declaration.
5181 (__connect, __libc_sa_len): Declare hidden_proto.
5182 (SA_LEN): Remove use of INTUSE.
5183 * socket/connect.c: Add libc_hidden_def.
5184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5191 of adding _internal alias.
5193 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5196 * sysdeps/i386/bits/link.h: Removed.
5197 * sysdeps/i386/bits/linkmap.h: Likewise.
5198 * sysdeps/x86_64/bits/link.h: Renamed to ...
5199 * sysdeps/x86/bits/link.h: This.
5200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5201 * sysdeps/x86/bits/linkmap.h: This.
5203 * sysdeps/i386/bits/endian.h: Removed.
5204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5205 * sysdeps/x86/bits/endian.h: This.
5207 * sysdeps/i386/bits/byteswap.h: Removed.
5208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5210 * sysdeps/x86/bits/byteswap.h: This.
5211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5212 * sysdeps/x86/bits/byteswap-16.h: This.
5213 * sysdeps/i386/Implies: Add x86.
5214 * sysdeps/x86_64/Implies: Likewise.
5216 2012-05-30 David S. Miller <davem@davemloft.net>
5218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5221 (FP_TRAPPING_EXCEPTIONS): Define.
5222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5223 (FP_TRAPPING_EXCEPTIONS): Define.
5224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5225 subnormals only when inexact has been signalled or underflow
5226 exceptions are enabled.
5227 (_FP_PACK_CANONICAL): Likewise.
5229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5235 2012-05-30 Richard Henderson <rth@twiddle.net>
5237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5238 with #ifndef NOT_IN_libc.
5240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5241 marked to avoid plt entry.
5243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5246 * Makeconfig (default-abi): New macro.
5247 (abi-includes): Likewise.
5248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5249 $(abi-$(default-abi)-lib-soname) for soname if defined.
5250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5252 * Makefile (installed-stubs): Likewise.
5253 * include/stubs-biarch.h: Removed.
5254 * scripts/lib-names.awk: Only handle one library at a time.
5255 * scripts/soversions.awk: Remove WORDSIZE support.
5256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5260 (syscall-list-default-condition): Likewise.
5261 (syscall-list-default-condition): Likewise.
5262 (syscall-list-includes): Likewise.
5263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5264 syscall-list-* with abi-*. Handle undefined abi-variants.
5265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5272 (syscall-list-32-options): Likewise.
5273 (syscall-list-32-condition): Likewise.
5274 (syscall-list-64-options): Likewise.
5275 (syscall-list-64-condition): Likewise.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5281 (abi-64-ld-soname): New macro.
5282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5289 2012-05-30 Joseph Myers <joseph@codesourcery.com>
5291 * sysdeps/unix/sysv/linux/kernel-features.h
5292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5294 include <kernel-features.h>.
5295 [!__NR_ftruncate64]: Remove conditional code.
5296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5297 [__NR_ftruncate64]: Make code unconditional.
5298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5300 include <kernel-features.h>.
5301 [!__NR_ftruncate64]: Remove conditional code.
5302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5303 [__NR_ftruncate64]: Make code unconditional.
5304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5306 include <kernel-features.h>.
5307 [!__NR_ftruncate64]: Remove conditional code.
5308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5309 [__NR_ftruncate64]: Make code unconditional.
5310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5312 include <kernel-features.h>.
5313 [!__NR_ftruncate64]: Remove conditional code.
5314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5315 [__NR_ftruncate64]: Make code unconditional.
5316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5318 * configure.in (libc_cv_fpie): Weaken to a compile test using
5320 * configure: Regenerated.
5322 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5337 2012-05-27 David S. Miller <davem@davemloft.net>
5339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5341 (__Q_simulate_exceptions): Return void. Change to simulate
5342 exceptions by writing into the %fsr.
5343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5344 (__Qp_handle_exceptions): Likewise.
5346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5347 __Qp_handle_exceptions.
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5349 __Qp_handle_exceptions.
5350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5351 as unused and give dummy FP_RND_NEAREST initializer.
5352 (FP_INHIBIT_RESULTS): Define.
5353 (___Q_simulate_exceptions): Update declaration.
5354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5357 as unused and give dummy FP_RND_NEAREST initializer.
5358 (__Qp_handle_exceptions): Update declaration.
5359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5362 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5365 the temporary FPU control word.
5366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5378 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5383 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5394 2012-05-27 Ulrich Drepper <drepper@gmail.com>
5396 * po/h.po: Update from translation team.
5398 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5403 handling of denormals.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5413 2012-05-26 Marek Polacek <polacek@redhat.com>
5416 * math/libm-test.inc (fma_test): Don't always expect underflow
5419 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * elf/tst-execstack.c: Include stackinfo.h.
5423 (do_test): Adjust test case to ensure that pthread_getattr_np
5424 behaviour remains the same after marking stack executable.
5426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5428 * sysdeps/unix/sysv/linux/kernel-features.h
5429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5439 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5441 * configure.in: Define the default includes to being none.
5442 * configure: Regenerated.
5444 2012-05-25 Roland McGrath <roland@hack.frob.com>
5446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5447 * sysdeps/x86_64/setjmp.S: Likewise.
5448 * sysdeps/i386/bsd-setjmp.S: Likewise.
5449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5450 * sysdeps/i386/setjmp.S: Likewise.
5451 * sysdeps/i386/__longjmp.S: Likewise.
5452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5455 * include/stap-probe.h: New file.
5456 * configure.in: Handle --enable-systemtap.
5457 * configure: Regenerated.
5458 * config.h.in (USE_STAP_PROBE): New #undef.
5459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5463 2012-05-25 Joseph Myers <joseph@codesourcery.com>
5466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5467 to 2.4.0 where earlier.
5468 * sysdeps/unix/sysv/linux/configure: Regenerated.
5469 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5470 <kernel-features.h>.
5471 [__ASSUME_32BITUIDS]: Make code unconditional.
5472 [!__ASSUME_32BITUIDS]: Remove conditional code.
5473 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5474 <kernel-features.h>.
5475 [__ASSUME_32BITUIDS]: Make code unconditional.
5476 [!__ASSUME_32BITUIDS]: Remove conditional code.
5477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5478 [__ASSUME_32BITUIDS]: Make code unconditional.
5479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5481 <kernel-features.h>.
5482 [__ASSUME_32BITUIDS]: Make code unconditional.
5483 [!__ASSUME_32BITUIDS]: Remove conditional code.
5484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5485 <kernel-features.h>.
5486 [__ASSUME_32BITUIDS]: Make code unconditional.
5487 [!__ASSUME_32BITUIDS]: Remove conditional code.
5488 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5489 <kernel-features.h>.
5490 [__ASSUME_32BITUIDS]: Make code unconditional.
5491 [!__ASSUME_32BITUIDS]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5493 <kernel-features.h>.
5494 [__ASSUME_32BITUIDS]: Make code unconditional.
5495 [!__ASSUME_32BITUIDS]: Remove conditional code.
5496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5497 <kernel-features.h>.
5498 [__ASSUME_32BITUIDS]: Make code unconditional.
5499 [!__ASSUME_32BITUIDS]: Remove conditional code.
5500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5501 <kernel-features.h>.
5502 [__ASSUME_32BITUIDS]: Make code unconditional.
5503 [!__ASSUME_32BITUIDS]: Remove conditional code.
5504 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5505 <kernel-features.h>.
5506 [__ASSUME_32BITUIDS]: Make code unconditional.
5507 [!__ASSUME_32BITUIDS]: Remove conditional code.
5508 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5509 <kernel-features.h>.
5510 [__ASSUME_32BITUIDS]: Make code unconditional.
5511 [!__ASSUME_32BITUIDS]: Remove conditional code.
5512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5513 <kernel-features.h>.
5514 [__ASSUME_32BITUIDS]: Make code unconditional.
5515 [!__ASSUME_32BITUIDS]: Remove conditional code.
5516 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5517 <kernel-features.h>.
5518 [__ASSUME_32BITUIDS]: Make code unconditional.
5519 [!__ASSUME_32BITUIDS]: Remove conditional code.
5520 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5521 <kernel-features.h>.
5522 [__NR_setresgid] (__setresgid): Do not declare.
5523 [__ASSUME_32BITUIDS]: Make code unconditional.
5524 [!__ASSUME_32BITUIDS]: Remove conditional code.
5525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5526 <kernel-features.h>.
5527 [__NR_setresuid] (__setresuid): Do not declare.
5528 [__ASSUME_32BITUIDS]: Make code unconditional.
5529 [!__ASSUME_32BITUIDS]: Remove conditional code.
5530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5531 <kernel-features.h>.
5532 [__ASSUME_32BITUIDS]: Make code unconditional.
5533 [!__ASSUME_32BITUIDS]: Remove conditional code.
5534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5535 <kernel-features.h>.
5536 [__ASSUME_32BITUIDS]: Make code unconditional.
5537 [!__ASSUME_32BITUIDS]: Remove conditional code.
5538 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5539 <kernel-features.h>.
5540 [__ASSUME_32BITUIDS]: Make code unconditional.
5541 [!__ASSUME_32BITUIDS]: Remove conditional code.
5542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5543 <kernel-features.h>.
5544 [__ASSUME_32BITUIDS]: Make code unconditional.
5545 [!__ASSUME_32BITUIDS]: Remove conditional code.
5546 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5547 <kernel-features.h>.
5548 [__ASSUME_32BITUIDS]: Make code unconditional.
5549 [!__ASSUME_32BITUIDS]: Remove conditional code.
5550 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5551 <kernel-features.h>.
5552 [__ASSUME_32BITUIDS]: Make code unconditional.
5553 [!__ASSUME_32BITUIDS]: Remove conditional code.
5554 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5555 <kernel-features.h>.
5556 [__ASSUME_32BITUIDS]: Make code unconditional.
5557 [!__ASSUME_32BITUIDS]: Remove conditional code.
5558 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5559 <kernel-features.h>.
5560 [__ASSUME_32BITUIDS]: Make code unconditional.
5561 [!__ASSUME_32BITUIDS]: Remove conditional code.
5562 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5563 <kernel-features.h>.
5564 [__ASSUME_32BITUIDS]: Make code unconditional.
5565 [!__ASSUME_32BITUIDS]: Remove conditional code.
5566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5567 <kernel-features.h>.
5568 [__ASSUME_32BITUIDS]: Make code unconditional.
5569 [!__ASSUME_32BITUIDS]: Remove conditional code.
5570 * sysdeps/unix/sysv/linux/kernel-features.h
5571 (__ASSUME_SETRESUID_SYSCALL): Remove.
5572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5573 (__ASSUME_32BITUIDS): Likewise.
5574 (__ASSUME_LDT_WORKS): Likewise.
5575 (__ASSUME_O_DIRECTORY): Likewise.
5576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5577 architecture but not kernel version.
5578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5579 (__ASSUME_MMAP2_SYSCALL): Likewise.
5580 (__ASSUME_STAT64_SYSCALL): Likewise.
5581 (__ASSUME_IPC64): Likewise.
5582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5583 <kernel-features.h>.
5584 [__ASSUME_32BITUIDS]: Make code unconditional.
5585 [!__ASSUME_32BITUIDS]: Remove conditional code.
5586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5587 <kernel-features.h>.
5588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5590 132096]: Remove conditional code.
5591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5593 <kernel-features.h>.
5594 [__ASSUME_32BITUIDS]: Make code unconditional.
5595 [!__ASSUME_32BITUIDS]: Remove conditional code.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5597 <kernel-features.h>.
5598 [__ASSUME_32BITUIDS]: Make code unconditional.
5599 [!__ASSUME_32BITUIDS]: Remove conditional code.
5600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5601 <kernel-features.h>.
5602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5604 (__setresgid): Do not declare.
5605 [__ASSUME_32BITUIDS]: Make code unconditional.
5606 [!__ASSUME_32BITUIDS]: Remove conditional code.
5607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5608 <kernel-features.h>.
5609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5611 (__setresuid): Do not declare.
5612 [__ASSUME_32BITUIDS]: Make code unconditional.
5613 [!__ASSUME_32BITUIDS]: Remove conditional code.
5614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5615 <kernel-features.h>.
5616 [__ASSUME_32BITUIDS]: Make code unconditional.
5617 [!__ASSUME_32BITUIDS]: Remove conditional code.
5618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5619 <kernel-features.h>.
5620 [__ASSUME_32BITUIDS]: Make code unconditional.
5621 [!__ASSUME_32BITUIDS]: Remove conditional code.
5623 2012-05-25 Richard Henderson <rth@twiddle.net>
5625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5626 dl_hwcap to ifunc resolver.
5627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5630 dl_hwcap to ifunc resolver.
5631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5633 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5637 for |x| <= 2**-26, not 2**-57.
5638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5641 2012-05-24 Jeff Law <law@redhat.com>
5643 * stdio-common/Makefile (tests): Add bug25.
5644 * stdio-common/bug25.c: New test.
5646 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5650 multiple of MALLOC_ALIGNMENT in size.
5651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5653 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5657 (FILENAME_MAX): Use macro-int-constant.
5658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5659 (_IOFBF): Use macro-int-constant.
5662 (SEEK_CUR): Likewise.
5663 (SEEK_END): Likewise.
5664 (SEEK_SET): Likewise.
5665 (TMP_MAX): Likewise.
5666 (EOF): Use macro-int-constant. Require < 0.
5667 (NULL): Use macro-constant. Require == 0.
5668 (stdin): Require type to be FILE *.
5671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5673 (EXIT_SUCCESS): Likewise.
5674 (NULL): Use macro-constant. Require == 0.
5675 (RAND_MAX): Use macro-int-constant.
5676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5677 [C99-based standards] (strtof): Require function.
5678 [C99-based standards] (strtold): Likewise.
5679 [C99-based standards] (strtoll): Likewise.
5680 [C99-based standards] (strtoull): Likewise.
5681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5683 [ISO || ISO99 || ISO11] (math.h): Likewise.
5684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5688 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5693 * intl/dgettext.c (DCGETTEXT): Likewise.
5694 * intl/gettext.c (DCGETTEXT): Likewise.
5695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5696 * posix/regex_internal.h (gettext): Likewise.
5697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5699 * include/argz.h (__argz_count_internal)
5700 (__argz_stringify_internal): Remove declaration.
5701 (__argz_count, __argz_stringify): Declare hidden proto.
5702 * intl/dcgettext.c: Remove use of INTDEF.
5703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5704 * string/argz-stringify.c: Likewise.
5705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5707 Declare hidden proto.
5708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5710 Declare hidden proto.
5711 * include/stdio.h (__asprintf_internal): Don't declare.
5712 (__asprintf): Don't define as macro. Declare hidden proto.
5713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5714 (__fsetlocking): Declare hidden proto.
5715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5719 (_IO_setlinebuf): Remove use of INTUSE.
5720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5725 (_IO_do_flush): Remove use of INTUSE.
5726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5728 (_IO_adjust_column, _IO_least_wmarker)
5729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5732 (_IO_default_doallocate, _IO_wdefault_doallocate)
5733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5747 (_IO_flush_all_internal, _IO_adjust_column_internal)
5748 (_IO_default_uflow_internal, _IO_default_finish_internal)
5749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5757 (_IO_file_close_internal, _IO_file_close_it_internal)
5758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5759 (_IO_file_init_internal, _IO_file_attach_internal)
5760 (_IO_file_fopen_internal, _IO_file_read_internal)
5761 (_IO_file_sync_internal, _IO_file_seek_internal)
5762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5767 (_IO_list_all_internal, _IO_link_in_internal)
5768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5772 (_IO_do_write_internal, _IO_padn_internal)
5773 (_IO_getline_info_internal, _IO_getline_internal)
5774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5781 with libc_hidden_ver, remove use of INTUSE.
5782 * libio/genops.c: Likewise.
5783 * libio/freopen.c: Likewise.
5784 * libio/freopen64.c: Likewise.
5785 * libio/iofclose.c: Likewise.
5786 * libio/iofdopen.c: Likewise.
5787 * libio/iofflush.c: Likewise.
5788 * libio/iofflush_u.c: Likewise.
5789 * libio/iofgets.c: Likewise.
5790 * libio/iofgets_u.c: Likewise.
5791 * libio/iofopen.c: Likewise.
5792 * libio/iofopncook.c: Likewise.
5793 * libio/iofread.c: Likewise.
5794 * libio/iofread_u.c: Likewise.
5795 * libio/ioftell.c: Likewise.
5796 * libio/iofwrite.c: Likewise.
5797 * libio/iogetline.c: Likewise.
5798 * libio/iogets.c: Likewise.
5799 * libio/iogetwline.c: Likewise.
5800 * libio/iopadn.c: Likewise.
5801 * libio/iopopen.c: Likewise.
5802 * libio/ioseekoff.c: Likewise.
5803 * libio/ioseekpos.c: Likewise.
5804 * libio/iosetbuffer.c: Likewise.
5805 * libio/iosetvbuf.c: Likewise.
5806 * libio/ioungetc.c: Likewise.
5807 * libio/ioungetwc.c: Likewise.
5808 * libio/iovdprintf.c: Likewise.
5809 * libio/iovsprintf.c: Likewise.
5810 * libio/iovsscanf.c: Likewise.
5811 * libio/memstream.c: Likewise.
5812 * libio/obprintf.c: Likewise.
5813 * libio/oldfileops.c: Likewise.
5814 * libio/oldiofclose.c: Likewise.
5815 * libio/oldiofdopen.c: Likewise.
5816 * libio/oldiofopen.c: Likewise.
5817 * libio/oldiopopen.c: Likewise.
5818 * libio/oldstdfiles.c: Likewise.
5819 * libio/putc.c: Likewise.
5820 * libio/setbuf.c: Likewise.
5821 * libio/setlinebuf.c: Likewise.
5822 * libio/stdfiles.c: Likewise.
5823 * libio/strops.c: Likewise.
5824 * libio/vasprintf.c: Likewise.
5825 * libio/vscanf.c: Likewise.
5826 * libio/vsnprintf.c: Likewise.
5827 * libio/vswprintf.c: Likewise.
5828 * libio/wfiledoalloc.c: Likewise.
5829 * libio/wfileops.c: Likewise.
5830 * libio/wgenops.c: Likewise.
5831 * libio/wmemstream.c: Likewise.
5832 * libio/wstrops.c: Likewise.
5833 * libio/__fpurge.c: Likewise.
5834 * libio/__fsetlocking.c: Likewise.
5835 * assert/assert.c: Likewise.
5836 * debug/fgets_chk.c: Likewise.
5837 * debug/fgets_u_chk.c: Likewise.
5838 * debug/fread_chk.c: Likewise.
5839 * debug/fread_u_chk.c: Likewise.
5840 * debug/gets_chk.c: Likewise.
5841 * debug/obprintf_chk.c: Likewise.
5842 * debug/vasprintf_chk.c: Likewise.
5843 * debug/vdprintf_chk.c: Likewise.
5844 * debug/vsnprintf_chk.c: Likewise.
5845 * debug/vsprintf_chk.c: Likewise.
5846 * malloc/mtrace.c: Likewise.
5847 * misc/error.c: Likewise.
5848 * misc/syslog.c: Likewise.
5849 * stdio-common/asprintf.c: Likewise.
5850 * stdio-common/fxprintf.c: Likewise.
5851 * stdio-common/getw.c: Likewise.
5852 * stdio-common/isoc99_fscanf.c: Likewise.
5853 * stdio-common/isoc99_scanf.c: Likewise.
5854 * stdio-common/isoc99_vfscanf.c: Likewise.
5855 * stdio-common/isoc99_vscanf.c: Likewise.
5856 * stdio-common/isoc99_vsscanf.c: Likewise.
5857 * stdio-common/printf-prs.c: Likewise.
5858 * stdio-common/printf_fp.c: Likewise.
5859 * stdio-common/printf_fphex.c: Likewise.
5860 * stdio-common/printf_size.c: Likewise.
5861 * stdio-common/putw.c: Likewise.
5862 * stdio-common/scanf.c: Likewise.
5863 * stdio-common/sprintf.c: Likewise.
5864 * stdio-common/tmpfile.c: Likewise.
5865 * stdio-common/vfprintf.c: Likewise.
5866 * stdio-common/vfscanf.c: Likewise.
5867 * stdlib/strfmon_l.c: Likewise.
5868 * sunrpc/openchild.c: Likewise.
5869 * sunrpc/xdr_stdio.c: Likewise.
5870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5873 2012-05-24 Roland McGrath <roland@hack.frob.com>
5875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5878 in the third column, to generate for the shared library an IFUNC
5879 that uses _dl_vdso_vsym.
5880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5881 * Makeconfig (object-suffixes-noshared): New variable.
5883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5889 * include/sys/time.h (__gettimeofday): Remove macro.
5890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5893 (__gettimeofday): Add libc_hidden_def.
5894 (gettimeofday): Add libc_hidden_weak.
5895 * sysdeps/mach/gettimeofday.c: Likewise.
5896 * sysdeps/posix/gettimeofday.c: Likewise.
5897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5900 (__gettimeofday_internal): Remove strong_alias.
5901 (__gettimeofday): Add libc_hidden_def.
5902 (gettimeofday): Add libc_hidden_weak.
5903 * sysdeps/unix/syscalls.list (gettimeofday):
5904 Remove __gettimeofday_internal alias.
5906 2012-05-24 Daniel Jacobowitz <drow@false.org>
5907 H.J. Lu <hongjiu.lu@intel.com>
5910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5912 (largebin_index_32_big): New.
5913 (largebin_index): Use it for 16-byte alignment.
5914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5915 correction with front_misalign.
5917 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5948 2012-05-24 Joseph Myers <joseph@codesourcery.com>
5952 * math/libm-test.inc (exp_test): Add test from bug 14036.
5953 (pow_test): Add test from bug 10846.
5955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5957 (special_function): Do not include flags in test name.
5958 (parse_args): Likewise.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5967 * math/libm-test.inc ("Philosophy"): Update comment about
5969 (UNDERFLOW_EXCEPTION): New macro.
5970 (UNDERFLOW_EXCEPTION_OK): Likewise.
5971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5975 (INVALID_EXCEPTION_OK): Update value.
5976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5977 (OVERFLOW_EXCEPTION_OK): Likewise.
5978 (IGNORE_ZERO_INF_SIGN): Likewise.
5979 (test_exceptions): Handle underflow exceptions.
5980 (acos_test): Update for underflow exception expectations.
5981 (cexp_test): Likewise.
5982 (clog_test): Likewise.
5983 (clog10_test): Likewise.
5984 (csqrt_test): Likewise.
5985 (ctan_test): Likewise.
5986 (ctanh_test): Likewise.
5987 (exp_test): Likewise.
5988 (exp10_test): Likewise.
5989 (exp2_test): Likewise.
5990 (expm1_test): Likewise.
5991 (fma_test): Likewise.
5992 (j0_test): Likewise.
5993 (jn_test): Likewise.
5994 (nexttoward_test): Likewise.
5995 (pow_test): Likewise.
5996 (scalbn_test): Likewise.
5997 (scalbln_test): Likewise.
5998 (tan_test): Likewise.
5999 (y1_test): Likewise.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6003 2012-05-23 David S. Miller <davem@davemloft.net>
6005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6006 (__libc_sigaction): Remove unused local variables.
6008 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6012 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6014 mktime: avoid signed integer overflow
6015 * time/mktime.c (__mktime_internal): Do not mishandle the case
6016 where diff == INT_MIN.
6018 mktime: simplify computation of average
6019 * time/mktime.c (ranged_convert): Use new time_t_avg function
6020 instead of rolling our own (probably-slower) code.
6022 mktime: do not assume signed right shift propagates sign bit
6023 * time/mktime.c (isdst_differ): New static function.
6024 (__mktime_internal): No need to normalize tm_isdst now.
6025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6028 mktime: merge another wrapv change from gnulib
6029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6030 from some compilers.
6032 mktime: remove incorrect attempt at unusual arithmetics
6033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6034 The code didn't really work on such machines anyway.
6035 (TYPE_MINIMUM): Assume two's complement.
6036 (twos_complement_arithmetic): Verify that long_int and time_t
6037 are two's complement (or unsigned, in the latter case).
6039 mktime: check signed shifts on long_int and time_t, too
6040 * time/mktime.c (SHR): Check that shifts work as desired
6041 on the types long_int and time_t too, as SHR is used on
6044 mktime: do not assume 'long' is wide enough
6045 * time/mktime.c (verify): Move decl up.
6046 (long_int): New type.
6047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6048 to remove assumption in the code that 'long' is wide enough to
6049 store year values. This assumption is not true on x32 and on
6050 some non-glibc platforms.
6052 mktime: merge wrapv change from gnulib
6053 * time/mktime.c (WRAPV): New macro.
6054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6055 (guess_time_tm, __mktime_internal): Do not assume that signed
6056 integer overflow wraps around; modern compilers generate code
6057 where this assumption is no longer valid.
6059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6062 Replace "jmp L(pseudo_end)" with "ret".
6063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6066 2012-05-23 Andreas Jaeger <aj@suse.de>
6068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6071 2012-05-23 Andreas Jaeger <aj@suse.de>
6072 Maximilian Attems <max@stro.at>
6074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6077 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6080 code so that pseudo_end is just ret and the stack pointer is
6081 correct also for static library in error case.
6083 2012-05-23 Joseph Myers <joseph@codesourcery.com>
6085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6086 move to syscalls.list.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6092 * manual/install.texi (Running make install): Do not mention Linux
6093 kernel version for which pt_chown is not needed.
6094 (Linux): Do not mention problems with nscd with 2.0 kernels.
6095 * INSTALL: Regenerated.
6097 2012-05-23 Andreas Jaeger <aj@suse.de>
6099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6112 * sysdeps/unix/sysv/linux/bits/in.h
6113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6115 2012-05-22 Roland McGrath <roland@hack.frob.com>
6117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6118 (PREPARE_VERSION): Just use assert instead, it will be elided
6119 under [NDEBUG] anyway.
6121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6123 * sysdeps/unix/sysv/linux/Makefile: Include
6124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
6125 (sysdep_routines): Remove sysctl.
6126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6132 2012-05-22 Andreas Jaeger <aj@suse.de>
6134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6135 that pseudo_end is just ret and the stack pointer is correct also
6136 for static library in error case.
6138 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6141 * nss/nsswitch.c (defconfig_entries): New variable.
6142 (__nss_database_lookup): Don't leak defconfig entries.
6143 (nss_parse_service_list): Don't leak on error paths.
6144 (free_database_entries): New function.
6145 (free_defconfig): New function.
6146 (free_mem): Move common code to free_database_entries.
6148 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6159 (INTERNAL_SYSCALL_TYPES): Likewise.
6160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6161 (LOAD_REGS_TYPES_[1-6]): Likewise.
6162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6165 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6168 copysignl for GLIBC_2_0.
6169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6172 logbl for GLIBC_2_0.
6173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6176 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6184 * time/mktime.c: Update copyright years.
6186 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6188 mktime: merge comment-quoting-style change from gnulib
6189 * time/mktime.c: Quote 'like this' in comments.
6190 The GNU coding standards suggest that we no longer quote `like this',
6191 as "`" and "'" are typically rendered asymmetrically nowadays.
6192 The typical gnulib style is to quote 'like this' when quoting
6193 code, and "like this" when quoting English.
6195 * time/mktime.c (compile-command): Add "-I.".
6197 mktime: merge mktime-internal.h change from gnulib
6198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6200 mktime: merge time_r change from gnulib
6201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6203 mktime: merge DEBUG change from gnulib
6204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6205 case system <time.h> has a #define.
6207 mktime: merge <sys/types.h> change from gnulib
6208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6209 since <time.t> is now guaranteed to define time_t.
6211 mktime: merge HAVE_CONFIG_H change from gnulib
6212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6221 (struct rusage): Use anonymous union to pad each field to
6224 2012-05-21 David S. Miller <davem@davemloft.net>
6226 * Makefules (o-iterator): Remove .s cases.
6227 (compile-command.s): Delete.
6228 (COMPILE.s): Delete.
6229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6231 2012-05-21 Joseph Myers <joseph@codesourcery.com>
6233 * configure.in (libc_cv_predef_stack_protector): Only consider
6234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6235 * configure: Regenerated.
6237 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6240 New macro. Use R*LP on int and pointer.
6241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
6244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6247 [__WORDSIZE_TIME64_COMPAT32] instead of
6248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6249 (struct utmp): Likewise.
6250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6253 (__WORDSIZE_TIME64_COMPAT32): This.
6254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6259 (__WORDSIZE_TIME64_COMPAT32): New macro.
6261 2012-05-21 Andreas Jaeger <aj@suse.de>
6263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6264 only if [SHARED]. Add prototype for __wcschr_ia32.
6266 2012-05-21 Roland McGrath <roland@hack.frob.com>
6268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6269 of %rbp unmolested in the jmp_buf while mangling the low bits.
6270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6271 unmolested high bits of %rbp while demangling the low bits.
6272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6274 2012-05-21 Andreas Jaeger <aj@suse.de>
6276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6277 * sunrpc/svc_simple.c: Use it for registerrpc.
6278 * sunrpc/xcrypt.c: Use it for passwd2des.
6280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6282 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6285 Don't define if [__SYSCALL_WORDSIZE != 32].
6286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6289 2012-05-21 Bruno Haible <bruno@clisp.org>
6290 Andreas Jaeger <aj@suse.de>
6292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6294 inptr and inend for must_buffer_ch.
6295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6297 * stdio-common/Makefile (tests): Remove bug15.
6298 (bug15-ENV): Remove macro.
6299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6302 2012-05-19 Andreas Jaeger <aj@suse.de>
6303 Roland McGrath <roland@hack.frob.com>
6305 * manual/contrib.texi: Completely rewritten. It contains now an
6306 alphabetical list of contributors and their contributions.
6308 2012-05-21 Richard Henderson <rth@twiddle.net>
6310 * misc/getauxval.c (__getauxval): Use unsigned long int.
6311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6312 (getauxval): Use unsigned long int.
6314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6318 2012-05-21 Roland McGrath <roland@hack.frob.com>
6320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6322 __alignof__ (long double).
6324 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6328 2012-05-20 Richard Henderson <rth@twiddle.net>
6330 * misc/getauxval.c: New file.
6331 * misc/sys/auxv.h: New file.
6332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6333 (routines): Add getauxval.
6334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6336 * elf/dl-sysdep.c (_dl_auxv): Remove.
6337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6338 * elf/dl-support.c (_dl_auxv): New variable.
6339 (_dl_aux_init): Initialize it.
6340 * manual/startup.texi (Auxiliary Vector): New node.
6341 * sysdeps/generic/bits/hwcap.h: New file.
6342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6345 * sysdeps/sparc/sysdep.h: ... here. Include it.
6346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6359 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6363 2012-05-19 David S. Miller <davem@davemloft.net>
6365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6367 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6370 * math/s_ccosh.c: Include <float.h>
6371 (__ccosh): Avoid internal overflow calculating sinh and cosh
6372 values before multiplying by sin and cos values.
6373 * math/s_ccoshf.c: Likewise.
6374 * math/s_ccoshl.c: Likewise.
6375 * math/s_csin.c: Likewise.
6376 * math/s_csinf.c: Likewise.
6377 * math/s_csinl.c: Likewise.
6378 * math/s_csinh.c: Likewise.
6379 * math/s_csinhf.c: Likewise.
6380 * math/s_csinhl.c: Likewise.
6381 * math/libm-test.inc (ccos_test): Add more tests.
6382 (ccosh_test): Likewise.
6383 (csin_test): Likewise.
6384 (csinh_test): Likewise.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6388 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6395 2012-05-19 Joseph Myers <joseph@codesourcery.com>
6397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6429 2012-05-18 Andreas Jaeger <aj@suse.de>
6431 * csu/.gitignore: Delete.
6433 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6436 (timex): Use __syscall_slong_t.
6438 2012-05-18 Andreas Jaeger <aj@suse.de>
6439 Carlos O'Donell <carlos_odonell@mentor.com>
6441 * manual/install.texi (Configuring and compiling): Update
6442 description about files modified in the source directory.
6443 * INSTALL: Regenerated.
6445 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6448 value. Use "or" to set return value to -1.
6449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6450 negate return value.
6452 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6456 failure if the compiler has Graphite support disabled.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6460 CFLAGS-memmove.c): Likewise.
6461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6464 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6466 * sysdeps/x86_64/x32/_itoa.h: New file.
6468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6469 getdents system call only if kernel and user dirents have the
6470 same d_ino and d_off.
6472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6473 LLONG_MAX != LONG_MAX.
6474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6475 (_fitoa_word): Likewise.
6477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6484 include <bits/wordsize.h>. Check __x86_64__ instead of
6486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6487 if __x86_64__ is defined. Use anonymous union on fpstate.
6489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6492 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6497 Refer to _rtld_local_ro instead of _rtld_global_ro.
6498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6508 * sysdeps/powerpc/powerpc32/dl-machine.c
6509 (__elf_machine_runtime_setup) [PROF]: Don't reference
6512 2012-05-18 Andreas Jaeger <aj@suse.de>
6514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6515 function only available for GCCs before 3.4 since GCC 3.4
6516 introduced a builtin.
6518 (llrintf): Likewise.
6526 (nearbyint): Likewise.
6527 (nearbyintf): Likewise.
6533 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6536 on both fields and cast pointer to __syscall_ulong_t.
6538 * bits/types.h (__fsword_t): New type.
6539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6542 (__FSWORD_T_TYPE): Likewise.
6543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6544 (__FSWORD_T_TYPE): Likewise.
6545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6546 (__FSWORD_T_TYPE): Likewise.
6547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6548 (__FSWORD_T_TYPE): Likewise.
6549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6550 __SWORD_TYPE with __fsword_t.
6551 (statfs64): Likewise.
6553 2012-05-17 David S. Miller <davem@davemloft.net>
6555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6557 2012-05-17 Andreas Jaeger <aj@suse.de>
6559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6566 2012-05-17 Andreas Jaeger <aj@suse.de>
6568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6571 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6575 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6580 2012-05-17 Andreas Jaeger <aj@suse.de>
6581 Carlos O'Donell <carlos_odonell@mentor.com>
6584 * sysdeps/x86_64/multiarch/init-arch.h
6585 (bit_YMM_Usable): Rename to...
6586 (bit_AVX_Usable): ... this.
6587 (bit_FMA4_Usable): New macro.
6588 (bit_XMM_state): New macro.
6589 (bit_YMM_state): New macro.
6590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6593 (CPUID_OSXSAVE): New macro.
6594 (CPUID_AVX): New macro.
6595 (CPUID_FMA4): New macro.
6596 (index_YMM_Usable): Rename to...
6597 (index_AVX_Usable): ... this.
6598 (HAS_AVX): Use HAS_ARCH_FEATURE.
6599 (HAS_FMA4): Likewise.
6600 (HAS_YMM_USABLE): Remove.
6601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6610 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6612 * math/libm-test.c: Support platforms without multiple rounding modes.
6613 * math/bug-nextafter.c: Support platforms without FP exceptions.
6614 * math/bug-nexttoward.c: Likewise.
6615 * math/test-fenv.c: Likewise.
6616 * math/test-misc.c: Likewise.
6617 * stdlib/bug-getcontext.c: Likewise.
6619 2012-05-17 Andreas Jaeger <aj@suse.de>
6621 * manual/examples/search.c (critter_cmp): Change signature to
6623 * manual/string.texi (Collation Functions): Likewise.
6625 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6627 * bits/types.h: Fold copyright years.
6628 * bits/typesizes.h: Likewise.
6629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6633 * time/time.h: Likewise.
6635 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6639 in instead of returning them. Return void.
6640 (__libc_mallinfo): Accumulate over all arenas.
6641 (__malloc_stats): Adjust for change in int_mallinfo interface.
6643 2012-05-16 Roland McGrath <roland@hack.frob.com>
6646 * configure.in (NM): Add AC_CHECK_TOOL for it.
6647 (libc_extra_cflags): New substituted variable.
6648 Check for -fstack-protector being used implicitly.
6649 * configure: Regenerated.
6650 * config.make.in (config-extra-cflags): New variable,
6651 gets @libc_extra_cflags@.
6652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6657 * configure: Regenerated.
6658 * config.make.in (CPPUNDEFS): New substituted variable.
6659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6666 (mq_attr): Use __syscall_slong_t.
6668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6671 Check __x86_64__ instead of __WORDSIZE.
6672 (_STAT_VER_LINUX): Likewise.
6673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6674 __syscall_ulong_t and __syscall_slong_t.
6677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6681 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6685 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6691 include <bits/wordsize.h>. Check __x86_64__ instead of
6693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6698 include <bits/wordsize.h>. Check __x86_64__ instead of
6700 (user_regs_struct): Use "__extension__ unsigned long long"
6701 instead of "unsigned long" if __x86_64__ is defined.
6702 (user): Likewise. Pad after pointer field if __ILP32__ is
6705 2012-05-16 Joseph Myers <joseph@codesourcery.com>
6707 * configure.in (makeinfo): Require version 4.5 or later. Allow
6709 * configure: Regenerated.
6710 * manual/install.texi (texinfo): Increase version requirement to
6712 * INSTALL: Regenerated.
6714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6716 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6720 * sysdeps/x86_64/x32/ffs.c: New file.
6722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6725 defined. Use __syscall_ulong_t.
6726 (shminfo): Use __syscall_ulong_t.
6727 (shm_info): Likewise.
6729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6734 (msgqnum_t): Use __syscall_ulong_t.
6735 (msglen_t): Likewise.
6736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6751 include <bits/wordsize.h>. Check __x86_64__ instead of
6754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6755 "unsigned long long int" if __x86_64__ is defined.
6756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6764 (GET_PC): Cast to uintptr_t first.
6765 (GET_FRAME): Likewise.
6766 (GET_STACK): Likewise.
6768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6798 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6800 * Makerules (+depfiles): Also collect depfiles from .oS in
6802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6803 .oS, $(libnldbl-routines)).
6805 * Makerules (native-compile-mkdep-flags): Define.
6806 * sunrpc/Makefile (extra-objs): Add $(addprefix
6807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6810 calling $(make-target-directory).
6812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6814 * bits/types.h (__snseconds_t): Removed.
6815 * time/time.h (struct timespec): Replace __snseconds_t with
6817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6821 (__SNSECONDS_T_TYPE): Likewise.
6822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6823 (__SNSECONDS_T_TYPE): Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6825 (__SNSECONDS_T_TYPE): Likewise.
6827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6829 * sysdeps/mach/hurd/bits/typesizes.h
6830 (__SYSCALL_SLONG_TYPE): New macro.
6831 (__SYSCALL_ULONG_TYPE): Likewise.
6833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6835 * bits/types.h (__syscall_slong_t): New type.
6836 (__syscall_ulong_t): Likewise.
6838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6839 (__SYSCALL_ULONG_TYPE): Likewise.
6840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6841 (__SYSCALL_SLONG_TYPE): Likewise.
6842 (__SYSCALL_ULONG_TYPE): Likewise.
6843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6844 (__SYSCALL_SLONG_TYPE): Likewise.
6845 (__SYSCALL_ULONG_TYPE): Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6847 (__SYSCALL_SLONG_TYPE): Likewise.
6848 (__SYSCALL_ULONG_TYPE): Likewise.
6850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6853 Add sigaltstack-offsets.sym.
6854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6855 <sigaltstack-offsets.h>.
6856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6857 longjmp_msg pointer.
6858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6863 2012-05-15 Joseph Myers <joseph@codesourcery.com>
6865 * elf/stackguard-macros.h: Remove file.
6866 * sysdeps/generic/stackguard-macros.h: New file.
6867 * sysdeps/i386/stackguard-macros.h: Likewise.
6868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6876 <elf/stackguard-macros.h>.
6879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6880 __aligned__ in attribute.
6881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6882 (gregset_t): Likewise.
6884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6887 * sysdeps/x86_64/64/Implies-after: Here. New file.
6888 * sysdeps/x86_64/x32/Implies-after: New file.
6890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6893 and access return value for _dl_profile_fixup. Use R10_LP to
6896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6903 * sysdeps/x86_64/x32/sysdep.h: New file.
6905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6908 * sysdeps/x86_64/setjmp.S: Likewise.
6910 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6916 remove unused global constant.
6918 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6921 include of <not-cancel.h>.
6923 2012-05-15 Roland McGrath <roland@hack.frob.com>
6925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6927 2012-05-15 Jeff Law <law@redhat.com>
6928 Andreas Jaeger <aj@suse.de>
6931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6936 code changing __hst_map_handle.map.
6938 2012-05-15 Roland McGrath <roland@hack.frob.com>
6940 * configure.in (sysnames): Look for Implies-before and Implies-after
6942 * configure: Regenerated.
6944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6947 8-byte data alignment with LP_SIZE alignment.
6949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6969 (stackinfo_sub_sp): Likewise.
6971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6993 into R11_LP and load __x86_64_shared_cache_size_half into
6996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
7001 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7010 powerpc32/power7/fpu/s_logb.c via #include.
7011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7012 powerpc32/power7/fpu/s_logbf.c via #include.
7013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7014 powerpc32/power7/fpu/s_logbl.c via #include.
7016 2012-05-15 Joseph Myers <joseph@codesourcery.com>
7018 * README.libm: Remove file.
7020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7023 count for x32. Use R*_LP and omit operand-size suffix.
7025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7029 * sysdeps/x86_64/x32/shlib-versions: New file.
7031 2012-05-14 Roland McGrath <roland@hack.frob.com>
7033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7035 Use _dl_fatal_printf instead.
7037 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7040 set if not set by the user. Do not allow for being unset.
7041 * sysdeps/unix/sysv/linux/configure: Regenerated.
7043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7046 the `q' suffix from lea and replace .quad with ASM_ADDR.
7048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7053 (PTR_DEMANGLE): Likewise.
7055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7059 (ASM_ADDR): Likewise.
7077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7079 * sysdeps/x86_64/x32/dl-machine.h: New file.
7081 2012-05-14 Andreas Jaeger <aj@suse.de>
7083 * manual/Makefile (subdir): Remove export of subdir.
7084 (all): Remove target.
7085 (.PHONY): Remove all from list.
7086 (mkinstalldirs): Remove.
7087 (.PHONY): Remove installdirs from list.
7088 ($(inst_infodir)/libc.info): Use make-target-directory.
7089 (installdirs): Remove.
7091 (glibc-targets): Remove.
7094 ($(objpfx)stubs ../po/manual.pot): Remove.
7095 ($(objpfx)stamp%): Remove.
7096 (make-target-directory): Remove.
7097 (subdir_install): Remove.
7105 * manual/.gitignore: Remove, it's not needed anymore.
7106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7110 (texis): Renamed to $(objpfx)texis.
7111 (texis-path): New, contains path to generated files.
7112 (chapters.%): Use texis-path for complete path, add extra argument
7114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7116 (summary,texi, stamp-summary): Use complete path of
7117 files. Generate files in build dir.
7118 (dir-add.texi): Build in build dir.
7119 (libm-err.texi,stamp-libm-err): Likewise.
7120 (version.texi, stamp-version): Likewise.
7121 (.%c.texi): Likewise.
7122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7123 (mostlyclean): Remove target.
7124 (realclean): Remove target.
7125 (generated): Add new variable with contents from mostlyclean and
7126 realclean, remove entries duplicated in common-mostlyclean, add
7127 stamp-libm-err and stamp-version.
7128 (generated-dirs): Add libc directory.
7129 ($(inst_infodir)/libc.info): Install files from build dir.
7131 * manual/install.texi (Configuring and compiling): Adjust since
7132 the info files are not part of the tar ball anymore.
7134 2012-05-14 Andreas Jaeger <aj@suse.de>
7136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7139 2012-05-14 Joseph Myers <joseph@codesourcery.com>
7142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7143 to 2.2.0 where earlier.
7144 * sysdeps/unix/sysv/linux/configure: Regenerated.
7145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7146 Remove conditional code.
7147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7149 Remove conditional code.
7150 [!__NR_lchown]: Likewise.
7151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7152 [__NR_lchown]: Likewise.
7153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7154 comment referencing __ASSUME_LCHOWN_SYSCALL.
7155 * sysdeps/unix/sysv/linux/i386/sigaction.c
7156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7159 Remove conditional code.
7160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7161 (__protocol_available): Remove #if 0 code.
7162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7165 * sysdeps/unix/sysv/linux/kernel-features.h
7166 (__ASSUME_GETCWD_SYSCALL): Don't define.
7167 (__ASSUME_REALTIME_SIGNALS): Likewise.
7168 (__ASSUME_PREAD_SYSCALL): Likewise.
7169 (__ASSUME_PWRITE_SYSCALL): Likewise.
7170 (__ASSUME_POLL_SYSCALL): Likewise.
7171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7174 (__ASSUME_SIOCGIFNAME): Don't define.
7175 (__ASSUME_MSG_NOSIGNAL): Likewise.
7176 (__ASSUME_SENDFILE): Define unconditionally.
7177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7212 Remove conditional code.
7213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7215 Remove conditional code.
7216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7220 Remove conditional code.
7221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7223 Remove conditional code.
7224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7226 Remove conditional code.
7227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7229 Remove conditional code.
7230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7232 Remove conditional code.
7233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7237 * sysdeps/unix/sysv/linux/sigaction.c
7238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7240 * sysdeps/unix/sysv/linux/sigpending.c
7241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7243 * sysdeps/unix/sysv/linux/sigprocmask.c
7244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7246 * sysdeps/unix/sysv/linux/sigsuspend.c
7247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7250 (__libc_missing_rt_sigs): Remove.
7251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7254 Remove conditional code.
7255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7263 2012-05-14 Andreas Jaeger <aj@suse.de>
7265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7266 it's not used in glibc.
7267 (__coshm1): Likewise.
7268 (__acosh1p): Likewise.
7271 * manual/string.texi (Copying and Concatenation): Add missing
7272 variable in concat example.
7273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7279 __builtin_clzl with __builtin_clzll.
7281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7287 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7294 2012-05-14 Mike Frysinger <vapier@gentoo.org>
7296 * NEWS: Update ia64 info.
7298 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7303 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7306 * sysdeps/unix/syscalls.list (dup3): Likewise.
7307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7310 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7319 (TLS_IE): Use mov/add instead of movq/addq to load thread
7321 (TLS_GD_PREFIX): New.
7324 2012-05-11 David S. Miller <davem@davemloft.net>
7326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7328 (_FPU_SETCW): Likewise.
7330 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7335 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7338 * iconvdata/gb18030.c: Update tables.
7339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7340 characters specially.
7341 (BODY for TO_LOOP): Add encoding of missing ranges.
7343 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7347 * sysdeps/mach/hurd/dup3.c: Likewise.
7348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7349 * sysdeps/powerpc/memmove.c:: Likewise.
7351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7358 * elf/elf.h (R_X86_64_RELATIVE64): New.
7359 (R_X86_64_NUM): Updated.
7360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7364 tst-quad1pie tst-quad2pie
7365 (modules-names): Add tst-quadmod1 tst-quadmod2.
7366 ($(objpfx)tst-quad1): New dependency.
7367 ($(objpfx)tst-quad2): Likewise.
7368 ($(objpfx)tst-quad1pie): Likewise.
7369 ($(objpfx)tst-quad2pie): Likewise.
7370 * sysdeps/x86_64/tst-quad1.c: New file.
7371 * sysdeps/x86_64/tst-quad1pie.c: New file.
7372 * sysdeps/x86_64/tst-quad2.c: Likewise.
7373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7383 * streams/stropts.h (t_scalar_t): Define type.
7385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7386 (_PATH_PRESERVE): Set to "/var/lib".
7387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7393 if __dir_mkfile succeeded.
7395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7396 checking for _hurd_dtablesize. Unlock it right after having
7397 finished _hurd_dtable allocation.
7399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7402 * sysdeps/mach/hurd/configure: Regenerated.
7403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7404 special-casing to...
7405 * sysdeps/gnu/configure.in: ... this new file.
7406 * sysdeps/unix/sysv/linux/configure: Regenerated.
7407 * sysdeps/gnu/configure: New generated file.
7409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7410 for Linux: use nsec instead of usec, as well as:
7411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7412 members of type struct timespec.
7413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7415 (struct stat64): Likewise.
7416 (_STATBUF_ST_NSEC): New macro.
7417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7420 __strtoul_internal rather than strtoul.
7422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7427 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7430 which preserves existing values.
7431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7433 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7436 TIMEOUT values. Return EINVAL for NFDS values either negative or
7437 greater than FD_SETSIZE.
7439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7442 allocated, call __vm_protect to finish enabling the existing space, and
7443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7444 allocate the remainder.
7446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7454 sysdeps/mach/hurd/readlink.c.
7456 * posix/tst-sysconf.c (posix_options): Only use
7457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7458 _POSIX_SYNCHRONIZED_IO when they are defined
7459 * sysdeps/mach/hurd/bits/posix_opt.h:
7460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7461 (_XOPEN_REALTIME): Undefine macro.
7462 (_XOPEN_REALTIME_THREADS): Undefine macro.
7463 (_XOPEN_SHM): Undefine macro.
7464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7468 (_POSIX_ASYNC_IO): Undefine macro.
7469 (_POSIX_PRIORITIZED_IO): Undefine macro.
7470 (_POSIX_SPIN_LOCKS): Define macro to -1.
7472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7473 SA_NODEFER, SA_RESETHAND.
7474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7480 * elf/Makefile (pldd-modules): Define unconditionally.
7482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7489 Return ENOENT when name is empty.
7490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7500 Fix mlock in all cases except non-readable pages.
7501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7502 instead of VM_PROT_ALL as parameter to __vm_wire function.
7504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7505 (__mkdir): When path is `/', just fail with EEXIST.
7506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7511 <sys/uio.h> (for writev).
7512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7513 and <sys/param.h> (for MIN).
7515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7518 REQUESTED_TIME. Properly set the remaining time and return EINTR
7521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7524 Depend on against $(link-rpcuserlibs).
7526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7529 (__libc_stack_end): Do not use attribute_relro.
7530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
7532 to libthread-provided value.
7533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7539 * bits/libc-lock.h (__libc_once_get): New macro.
7540 * sysdeps/mach/bits/libc-lock.h: Likewise.
7541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7543 instead of using implementation details.
7545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7546 * libio/freopen.c: Likewise.
7547 * libio/freopen64.c: Likewise.
7548 * misc/syslog.c: Likewise.
7549 * nscd/connections.c: Likewise.
7550 * nscd/netgroupcache.c: Likewise.
7551 * sysdeps/posix/getcwd.c: Likewise.
7553 2012-05-10 Roland McGrath <roland@hack.frob.com>
7555 * math/w_ilogbf.c: Add #include <limits.h>.
7557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
7560 path instead of returning without unlocking.
7562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7563 immediate-write ioctls.
7564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7569 __builtin_frame_address instead of making assumptions about the
7570 location of the return address relative to DATA. Force early load of
7572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7573 __builtin_frame_address.
7576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7578 implement dup3 and do some further code clean-ups.
7579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7595 when handler == SIG_ERR, not when handler != SIG_ERR.
7597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7603 accept4 for GNU Hurd.
7604 * include/sys/socket.h (__libc_accept4): New prototype.
7605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7606 to implement __libc_accept4.
7607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
7620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
7622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7623 assertion on O_CLOEXEC flag.
7624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7625 * hurd/intern-fd.c: Likewise.
7626 * hurd/port2fd.c: Likewise.
7628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7631 * bits/in.h (IPV6_PKTINFO): Define new macro.
7632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7634 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7645 * math/libm-test.inc (logb_test) : Additional logb tests.
7647 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7648 Andreas Jaeger <aj@suse.de>
7650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7651 * configure: Regenerated.
7652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7653 * config.make.in (link-obsolete-rpc): New substituted variable.
7654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7658 so that libc.a contains the symbols.
7659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7661 * sunrpc/auth_none.c: Likewise.
7662 * sunrpc/auth_unix.c: Likewise.
7663 * sunrpc/authdes_prot.c: Likewise.
7664 * sunrpc/authuxprot.c: Likewise.
7665 * sunrpc/clnt_gen.c: Likewise.
7666 * sunrpc/clnt_perr.c: Likewise.
7667 * sunrpc/clnt_raw.c: Likewise.
7668 * sunrpc/clnt_simp.c: Likewise.
7669 * sunrpc/clnt_tcp.c: Likewise.
7670 * sunrpc/clnt_udp.c: Likewise.
7671 * sunrpc/clnt_unix.c: Likewise.
7672 * sunrpc/des_crypt.c: Likewise.
7673 * sunrpc/des_soft.c: Likewise.
7674 * sunrpc/get_myaddr.c: Likewise.
7675 * sunrpc/key_call.c: Likewise.
7676 * sunrpc/key_prot.c: Likewise.
7677 * sunrpc/netname.c: Likewise.
7678 * sunrpc/pm_getmaps.c: Likewise.
7679 * sunrpc/pm_getport.c: Likewise.
7680 * sunrpc/pmap_clnt.c: Likewise.
7681 * sunrpc/pmap_prot.c: Likewise.
7682 * sunrpc/pmap_prot2.c: Likewise.
7683 * sunrpc/pmap_rmt.c: Likewise.
7684 * sunrpc/publickey.c: Likewise.
7685 * sunrpc/rpc_cmsg.c: Likewise.
7686 * sunrpc/rpc_common.c: Likewise.
7687 * sunrpc/rpc_dtable.c: Likewise.
7688 * sunrpc/rpc_prot.c: Likewise.
7689 * sunrpc/rpc_thread.c: Likewise.
7690 * sunrpc/rtime.c: Likewise.
7691 * sunrpc/svc.c: Likewise.
7692 * sunrpc/svc_auth.c: Likewise.
7693 * sunrpc/svc_raw.c: Likewise.
7694 * sunrpc/svc_run.c: Likewise.
7695 * sunrpc/svc_tcp.c: Likewise.
7696 * sunrpc/svc_udp.c: Likewise.
7697 * sunrpc/svc_unix.c: Likewise.
7698 * sunrpc/svcauth_des.c: Likewise.
7699 * sunrpc/xcrypt.c: Likewise.
7700 * sunrpc/xdr.c: Likewise.
7701 * sunrpc/xdr_array.c: Likewise.
7702 * sunrpc/xdr_float.c: Likewise.
7703 * sunrpc/xdr_intXX_t.c: Likewise.
7704 * sunrpc/xdr_mem.c: Likewise.
7705 * sunrpc/xdr_rec.c: Likewise.
7706 * sunrpc/xdr_ref.c: Likewise.
7707 * sunrpc/xdr_sizeof.c: Likewise.
7708 * sunrpc/xdr_stdio.c: Likewise.
7710 2012-05-10 Roland McGrath <roland@hack.frob.com>
7712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7713 change. Update copyright years.
7715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7719 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7720 Joseph Myers <joseph@codesourcery.com>
7721 Paul Pluzhnikov <ppluzhnikov@google.com>
7724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7726 [cross-compiling] (extra-libs): Likewise.
7727 [cross-compiling] (extra-libs-others): Likewise.
7728 [cross-compiling] (librpcsvc-routines): Likewise.
7729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7730 [cross-compiling] (omit-deps): Likewise.
7731 (sunrpc-CPPFLAGS): New variable.
7732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7734 (cross-rpcgen-objs): New variable.
7735 (extra-objs): Append $(cross-rpcgen-objs).
7736 ($(cross-rpcgen-objs)): New rule.
7737 ($(objpfx)cross-rpcgen): Likewise.
7738 (rpcgen-cmd): Define to use $(built-program-file). Expand
7740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7741 ($(objpfx)x%.stmp): Likewise.
7742 * sunrpc/proto.h [IS_IN_build] (_): Define.
7743 [IS_IN_build] (_libc_intl_domainname): Likewise.
7745 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7749 and R_X86_64_TPOFF64.
7751 2012-05-10 Joseph Myers <joseph@codesourcery.com>
7753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7754 sysdeps/unix/sysv/syscalls.list.
7757 * sysdeps/unix/sysv/syscalls.list: Remove file.
7759 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7765 (__LC_IDENTIFICATION): Make these macros useful in #if
7766 expressions, as required by C99.
7768 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7774 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7776 * stdlib/longlong.h: Updated from GCC.
7778 2012-05-09 Andreas Jaeger <aj@suse.de>
7780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7781 default is first entry.
7782 (run_mode): Set type.
7783 (main): Remove informal message about syslog.
7784 (options): Fix typo.
7787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
7790 (llrintf): Likewise.
7794 (nearbyint): Likewise.
7795 (nearbyintf): Likewise.
7797 2012-05-09 Andreas Jaeger <aj@suse.de>
7798 Pedro Alves <palves@redhat.com>
7800 * nscd/nscd.c (run_mode): Use enum.
7801 (main): Cleanup coding style issue.
7803 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
7804 Andreas Jaeger <aj@suse.de>
7806 * nscd/nscd.c (go_background): Replaced with...
7807 (run_mode): ... this.
7808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
7809 (options): Add -F --foreground.
7810 (main): Implement it.
7811 (parse_opt): Parse it.
7813 2012-05-09 Andreas Jaeger <aj@suse.de>
7816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7818 -Wconversion warning.
7819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7822 2012-05-09 Joseph Myers <joseph@codesourcery.com>
7824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7826 (LC_ALL): Use macro-int-constant.
7827 (LC_COLLATE): Likewise.
7828 (LC_CTYPE): Likewise.
7829 (LC_MESSAGES): Likewise.
7830 (LC_MONETARY): Likewise.
7831 (LC_NUMERIC): Likewise.
7832 (LC_TIME): Likewise.
7833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7838 [C99-based standards] (float_t): Expect type.
7839 [C99-based standards] (double_t): Expect type.
7840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7842 [C99-based standards] (HUGE_VALL): Likewise.
7843 [C99-based standards] (INFINITY): Likewise.
7844 [C99-based standards] (NAN): Likewise.
7845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7846 [C99-based standards] (FP_NAN): Likewise.
7847 [C99-based standards] (FP_NORMAL): Likewise.
7848 [C99-based standards] (FP_SUBNORMAL): Likewise.
7849 [C99-based standards] (FP_ZERO): Likewise.
7850 [C99-based standards] (FP_FAST_FMA): Use
7851 optional-macro-int-constant. Specify type. Require == 1.
7852 [C99-based standards] (FP_FAST_FMAF): Likewise.
7853 [C99-based standards] (FP_FAST_FMAL): Likewise.
7854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7855 [C99-based standards] (FP_ILOGBNAN): Likewise.
7856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7859 [C99-based standards] (math_errhandling): Specify type.
7860 [ISO99 || ISO11] (signgam): Do not allow.
7861 [non-C99-based standards] (copysignf): Do not allow.
7862 [non-C99-based standards] (exp2f): Likewise.
7863 [non-C99-based standards] (log2f): Likewise.
7864 [non-C99-based standards] (modff): Allow.
7865 [non-C99-based standards] (erff): Do not allow.
7866 [non-C99-based standards] (erfcf): Likewise.
7867 [non-C99-based standards] (gammaf): Likewise.
7868 [non-C99-based standards] (hypotf): Likewise.
7869 [non-C99-based standards] (j0f): Likewise.
7870 [non-C99-based standards] (j1f): Likewise.
7871 [non-C99-based standards] (jnf): Likewise.
7872 [non-C99-based standards] (lgammaf): Likewise.
7873 [non-C99-based standards] (tgammaf): Likewise.
7874 [non-C99-based standards] (y0f): Likewise.
7875 [non-C99-based standards] (y1f): Likewise.
7876 [non-C99-based standards] (ynf): Likewise.
7877 [non-C99-based standards] (isnanf): Likewise.
7878 [non-C99-based standards] (acoshf): Likewise.
7879 [non-C99-based standards] (asinhf): Likewise.
7880 [non-C99-based standards] (atanhf): Likewise.
7881 [non-C99-based standards] (cbrtf): Likewise.
7882 [non-C99-based standards] (expm1f): Likewise.
7883 [non-C99-based standards] (ilogbf): Likewise.
7884 [non-C99-based standards] (log1pf): Likewise.
7885 [non-C99-based standards] (logbf): Likewise.
7886 [non-C99-based standards] (nextafterf): Likewise.
7887 [non-C99-based standards] (remainderf): Likewise.
7888 [non-C99-based standards] (rintf): Likewise.
7889 [non-C99-based standards] (scalbf): Likewise.
7890 [non-C99-based standards] (copysignl): Likewise.
7891 [non-C99-based standards] (exp2l): Likewise.
7892 [non-C99-based standards] (log2l): Likewise.
7893 [non-C99-based standards] (modfl): Allow.
7894 [non-C99-based standards] (erfl): Do not allow.
7895 [non-C99-based standards] (erfcl): Likewise.
7896 [non-C99-based standards] (gammal): Likewise.
7897 [non-C99-based standards] (hypotl): Likewise.
7898 [non-C99-based standards] (j0l): Likewise.
7899 [non-C99-based standards] (j1l): Likewise.
7900 [non-C99-based standards] (jnl): Likewise.
7901 [non-C99-based standards] (lgammal): Likewise.
7902 [non-C99-based standards] (tgammal): Likewise.
7903 [non-C99-based standards] (y0l): Likewise.
7904 [non-C99-based standards] (y1l): Likewise.
7905 [non-C99-based standards] (ynl): Likewise.
7906 [non-C99-based standards] (isnanl): Likewise.
7907 [non-C99-based standards] (acoshl): Likewise.
7908 [non-C99-based standards] (asinhl): Likewise.
7909 [non-C99-based standards] (atanhl): Likewise.
7910 [non-C99-based standards] (cbrtl): Likewise.
7911 [non-C99-based standards] (expm1l): Likewise.
7912 [non-C99-based standards] (ilogbl): Likewise.
7913 [non-C99-based standards] (log1pl): Likewise.
7914 [non-C99-based standards] (logbl): Likewise.
7915 [non-C99-based standards] (nextafterl): Likewise.
7916 [non-C99-based standards] (remainderl): Likewise.
7917 [non-C99-based standards] (rintl): Likewise.
7918 [non-C99-based standards] (scalbl): Likewise.
7919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7920 [non-C99-based standards] (FP_*): Do not allow.
7921 [C99-based standards] (FP_*): Change to
7922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7926 (SIG_ERR): Likewise.
7927 [X/Open-based standards] (SIG_HOLD): Likewise.
7928 (SIG_IGN): Likewise.
7929 (SIGABRT): Use macro-int-constant. Specify type. Require
7934 (SIGSEGV): Likewise.
7936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7954 [X/Open-based standards] (SIGTRAP): Likewise.
7955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7962 2012-05-08 Ian Wienand <ianw@vmware.com>
7965 * time/tzset.c (__tzset_parse_tz): Update default rules for
7966 daylight time changes in the Energy Policy Act of 2005.
7968 2012-05-09 Andreas Jaeger <aj@suse.de>
7971 * elf/ldconfig.c (parse_conf): Change string to make clear that
7972 ldconfig only issued a warning if ld.so.conf does not exist.
7974 2012-05-08 David S. Miller <davem@davemloft.net>
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7977 movxtod instead of popping the value on the stack.
7979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7981 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7983 * config.h.in: Add HAVE_ARM_PCS_VFP.
7985 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
7988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7989 checking but the checks are disabled for any reason.
7991 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7994 and ELF64_R_TYPE with ELFW(R_TYPE).
7996 2012-05-08 Joseph Myers <joseph@codesourcery.com>
7998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
8001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8002 (settimeofday): Likewise.
8004 2012-05-08 Mike Frysinger <vapier@gentoo.org>
8006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8007 a struct th_u2 inside the union, and move tu_block/tu_code into
8008 a new th_u3 union of tu_block/tu_code inside of that. Move
8009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8013 (th_stuff): Change to th_u1.tu_stuff.
8015 (th_msg): Change to th_u1.th_u2.tu_data.
8017 2012-05-07 David S. Miller <davem@davemloft.net>
8019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8023 (SETUP_PIC_REG): Use it.
8024 (SETUP_PIC_REG_LEAF): Use it.
8026 2012-05-07 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8032 (EXPL_FINITE): Likewise.
8034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8039 (EXPL_FINITE): Likewise.
8041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8045 test of -max_value argument for long double.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049 2012-05-06 David S. Miller <davem@davemloft.net>
8051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8052 quad soft-float symbols whose references which are compiler
8054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8056 2012-05-06 Joseph Myers <joseph@codesourcery.com>
8060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8062 (EXPL_FINITE): Likewise.
8066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8067 Adjust comments for base varying.
8068 (__expl_finite): Change alias to EXPL_FINITE.
8069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8077 (EXPL_FINITE): Likewise.
8081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8082 Adjust comments for base varying.
8083 (__expl_finite): Change alias to EXPL_FINITE.
8084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8089 * math/libm-test.inc (check_float_internal): Correct ulp
8090 calculation for subnormal expected results.
8092 2012-05-06 Andreas Jaeger <aj@suse.de>
8094 * Makeconfig (+math-flags): New, set to -frounding-math.
8095 (+cflags): Add +math-flags so that all of glibc gets compiled with
8098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8100 2012-05-05 Joseph Myers <joseph@codesourcery.com>
8102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8109 (__ieee754_expl): Allow for and saturate large arguments.
8110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8111 (u_threshold): Likewise.
8112 (__exp): Call __ieee754_exp before checking for overflow and
8114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8115 (u_threshold): Likewise.
8116 (__expf): Call __ieee754_expf before checking for overflow and
8118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8119 (u_threshold): Likewise.
8120 (__expl): Call __ieee754_expl before checking for overflow and
8122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8123 (__ieee754_expl): Allow for and saturate large arguments.
8124 * math/libm-test.inc (exp_test): Add another test. Do not allow
8125 missing overflow exception on overflow.
8126 (expm1_test): Do not allow missing overflow exception on overflow.
8128 * sysdeps/i386/fpu/e_expl.c: Move to ...
8129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8130 rather than using inline asm.
8131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8145 sysdeps/unix/common/syscalls.list.
8148 (ftruncate): Likewise.
8149 (getrusage): Likewise.
8150 (gettimeofday): Likewise.
8151 (setpgid): Likewise.
8152 (setregid): Likewise.
8153 (setreuid): Likewise.
8154 (sigaction): Likewise.
8155 (truncate): Likewise.
8156 (vhangup): Likewise.
8157 * sysdeps/unix/common/syscalls.list: Remove file.
8158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8159 * sysdeps/unix/sysv/linux/Implies: Likewise.
8161 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8206 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8208 * sysdeps/unix/common/bits/dirent.h: Remove file.
8209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8214 * sysdeps/unix/bsd/isatty.c: Likewise.
8215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8219 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8223 long double comparison inaccuracies.
8224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8227 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8232 2012-05-04 Joseph Myers <joseph@codesourcery.com>
8235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8236 nonzero digits before rounding a hex value.
8237 * stdlib/tst-strtod.c (tests): Add another test.
8239 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8241 * sysdeps/s390/fpu/libm-test-ulps: Update.
8243 2012-05-03 Andreas Jaeger <aj@suse.de>
8245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8246 does not get optimized out.
8247 (malloc_opt_barrier): New.
8249 2012-05-03 Andreas Jaeger <aj@suse.de>
8250 Roland McGrath <roland@hack.frob.com>
8252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
8253 intermediate file deletion.
8254 (generated): Add .symlist files.
8256 2012-05-03 Joseph Myers <joseph@codesourcery.com>
8259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8260 Redirect under this condition.
8261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8262 [__USE_GNU] (__dprintf_chk): Not under this condition.
8263 [__USE_GNU] (__vdprintf_chk): Likewise.
8264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8265 under this condition.
8266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8268 [__USE_XOPEN2K8] (vdprintf): Likewise.
8269 [__USE_GNU] (__dprintf_chk): Not under this condition.
8270 [__USE_GNU] (__vdprintf_chk): Likewise.
8271 [__USE_GNU] (dprintf): Likewise.
8272 [__USE_GNU] (vdprintf): Likewise.
8274 2012-05-03 Roland McGrath <roland@hack.frob.com>
8276 * elf/Makefile (common-generated): Set this instead of generated for
8277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8278 $(all-built-dso)-derived lists.
8280 2012-05-03 Andreas Jaeger <aj@suse.de>
8282 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * scripts/gen-FAQ.pl: Likewise.
8287 * manual/install.texi (Installation): Point to online location of
8289 * Makefile (files-for-dist): Remove FAQ.
8292 2012-05-02 Allan McRae <allan@archlinux.org>
8294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8295 (LDFLAGS-reldepmod5.so): Likewise.
8296 (LDFLAGS-reldep6mod1.so): Likewise.
8297 (LDFLAGS-reldep6mod4.so): Likewise.
8298 (LDFLAGS-reldep8mod3.so): Likewise.
8299 (LDFLAGS-unload4mod1.so): Likewise.
8300 (LDFLAGS-unload4mod2.so): Likewise.
8301 (LDFLAGS-tst-initorder): Likewise.
8302 (LDFLAGS-tst-initordera2.so): Likewise.
8303 (LDFLAGS-tst-initordera3.so): Likewise.
8304 (LDFLAGS-tst-initordera4.so): Likewise.
8305 (LDFLAGS-tst-initorderb2.so): Likewise.
8306 (LDFLAGS-noload): Likewise.
8307 (LDFLAGS-next): Likewise.
8308 (LDFLAGS-order2mod1.so): Likewise.
8309 (LDFLAGS-order2mod2.so): Likewise.
8310 (LDFLAGS-tst-initorder2): Likewise.
8311 (LDFLAGS-tst-initorder2a.so): Likewise.
8312 (LDFLAGS-tst-initorder2b.so): Likewise.
8313 (LDFLAGS-tst-initorder2c.so): Likewise.
8314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8316 2012-05-02 David S. Miller <davem@davemloft.net>
8318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8320 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8325 2012-05-02 Andreas Jaeger <aj@suse.de>
8327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8328 since we manipulate rounding mode.
8329 (CPPFLAGS-test-idouble.c): Likewise.
8330 (CPPFLAGS-test-ifloat.c): Likewise.
8331 (CFLAGS-test-ldouble.c): Likewise.
8332 (CFLAGS-test-double.c): Likewise.
8333 (CFLAGS-test-float.c): Likewise.
8334 (CFLAGS-test-misc.c): Likewise.
8335 (CFLAGS-test-test-fenv.c): Likewise.
8337 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8342 comparisons to determine direction to adjust input.
8344 2012-05-01 Roland McGrath <roland@hack.frob.com>
8346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8347 output to the target.
8349 * scripts/localplt.awk: New file.
8350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8351 (check-localplt-CFLAGS): Variable removed.
8352 ($(all-built-dso:=.jmprel)): New static pattern rule.
8353 (generated): Add those targets.
8354 (localplt-built-dso): New variable.
8355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8357 * elf/check-localplt.c: File removed.
8359 * scripts/check-execstack.awk: New file.
8360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8361 (check-execstack-CFLAGS): Variable removed.
8362 ($(objpfx)check-execstack.h): Target removed.
8363 ($(objpfx)execstack-default): New target.
8364 (generated): Add that instead of check-execstack.h.
8365 ($(all-built-dso:=.phdr)): New static pattern rule.
8366 (generated): Add those targets.
8367 * elf/check-execstack.c: File removed.
8369 * scripts/check-textrel.awk: New file.
8370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8371 (check-textrel-CFLAGS): Variable removed.
8372 (all-built-dso): Use := to define.o
8373 ($(all-built-dso:=.dyn)): New static pattern rule.
8374 (generated): Add those targets.
8375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8376 * config.make.in (READELF): New substituted variable.
8377 * elf/check-textrel.c: File removed.
8379 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8383 * conform/data/ctype.h-data [C99-based standards] (isblank):
8385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8389 Specify type. Require positive value.
8392 [ISO || POSIX] (EILSEQ): Do not expect.
8393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8394 Specify type. Require positive value.
8395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8473 (FLT_ROUNDS): Expect as macro, not constant.
8474 (FLT_MANT_DIG): Use macro-int-constant.
8475 (DBL_MANT_DIG): Likewise.
8476 (LDBL_MANT_DIG): Likewise.
8477 (FLT_DIG): Likewise.
8478 (DBL_DIG): Likewise.
8479 (LDBL_DIG): Likewise.
8480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8481 (DBL_MIN_EXP): Likewise.
8482 (LDBL_MIN_EXP): Likewise.
8483 (FLT_MAX_EXP): Use macro-int-constant.
8484 (DBL_MAX_EXP): Likewise.
8485 (LDBL_MAX_EXP): Likewise.
8486 (FLT_MAX_10_EXP): Likewise.
8487 (DBL_MAX_10_EXP): Likewise.
8488 (LDBL_MAX_10_EXP): Likewise.
8489 (FLT_MAX): Use macro-constant.
8490 (DBL_MAX): Likewise.
8491 (LDBL_MAX): Likewise.
8492 (FLT_EPSILON): Use macro-constant. Give upper bound.
8493 (DBL_EPSILON): Likewise.
8494 (LDBL_EPSILON): Likewise.
8495 (FLT_MIN): Likewise.
8496 (DBL_MIN): Likewise.
8497 (LDBL_MIN): Likewise.
8498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8507 [ISO11] (FLT_TRUE_MIN): Likewise.
8508 [ISO11] (LDBL_TRUE_MIN): Likewise.
8509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8511 (SCHAR_MIN): Use macro-int-constant. Specify type.
8512 (SCHAR_MAX): Likewise.
8513 (UCHAR_MAX): Likewise.
8514 (CHAR_MIN): Likewise.
8515 (CHAR_MAX): Likewise.
8516 (MB_LEN_MAX): Use macro-int-constant.
8517 (SHRT_MIN): Use macro-int-constant. Specify type.
8518 (SHRT_MAX): Likewise.
8519 (USHRT_MAX): Likewise.
8520 (INT_MAX): Likewise.
8521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8528 bound negative. Suffix upper bound with "L".
8529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8533 [C99-based standards] (LLONG_MAX): Likewise.
8534 [C99-based standards] (ULLONG_MAX): Likewise.
8535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8537 [ISO11] (max_align_t): Require type.
8538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8541 from $CFLAGS, without defining away __attribute__ calls.
8542 (checknamespace): Use $CFLAGS_namespace.
8544 * conform/conformtest.pl (@keywords): Only include C99 keywords
8545 for standards based on C99 or C11.
8547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8553 usability of symbols in #if.
8555 * conform/conformtest.pl: If macro or constant types start
8556 "promoted:", expect the symbol to be of the following type
8557 promoted by the integer promotions.
8559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8560 in one place. Also handle "macro-constant".
8562 * conform/conformtest.pl: Only accept expected macro values with
8563 "==". Parse all "macro" lines in one place.
8564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8566 * conform/conformtest.pl: Handle braced types on "constant" lines
8567 instead of handling "typed-constant".
8568 * conform/data/signal.h-data: Use "constant" instead of
8571 * conform/conformtest.pl: Handle "optional-" at start of lines in
8572 one place rather than duplicating several cases. Handle each
8573 format of "macro" line with initial "optional-".
8575 * conform/conformtest.pl: Only accept expected constant or
8576 optional-constant values with "==". Parse all "constant" lines in
8577 one place. Parse all "optional-constant" lines in one place.
8578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8579 * conform/data/fmtmsg.h-data: Likewise.
8580 * conform/data/netinet/in.h-data: Likewise.
8581 * conform/data/tar.h-data: Likewise.
8582 * conform/data/limits.h-data: Use "==" form on "constant" and
8583 "optional-constant" lines.
8585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8586 Use -std=c99 for XOPEN2K.
8587 (@knownproblems): Remove.
8588 (newtoken): Don't check %isknown.
8590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8591 Do not expect macro.
8592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8622 [XPG3] (acosh): Likewise.
8623 [XPG3] (asinh): Likewise.
8624 [XPG3] (atanh): Likewise.
8625 [XPG3] (cbrt): Likewise.
8626 [XPG3] (expm1): Likewise.
8627 [XPG3] (ilogb): Likewise.
8628 [XPG3] (log1p): Likewise.
8629 [XPG3] (logb): Likewise.
8630 [XPG3] (nextafter): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8633 [XPG3] (remainder): Likewise.
8634 [XPG3] (rint): Likewise.
8635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8642 [UNIX98 || XOPEN2K] (scalb): Expect.
8643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8782 _XOPEN_SOURCE_EXTENDED for XPG4.
8784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8786 * Makeconfig (localtime): Remove variable.
8787 (inst_localtime-file): Likewise.
8789 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
8814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8815 comparisons to determine direction to adjust input.
8816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8829 * math/libm-test.inc (nexttoward_test): Add more tests.
8831 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8835 in version GLIBC_2.1, not GLIBC_2.0.
8836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8839 2012-04-30 Joseph Myers <joseph@codesourcery.com>
8842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8846 * math/libm-test.inc (acos_test): Add more tests.
8847 (asin_test): Likewise.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8856 * math/libm-test.inc (acos_test_tonearest): New function.
8857 (acos_test_towardzero): Likewise.
8858 (acos_test_downward): Likewise.
8859 (acos_test_upward): Likewise.
8860 (asin_test_tonearest): Likewise.
8861 (asin_test_towardzero): Likewise.
8862 (asin_test_downward): Likewise.
8863 (asin_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8870 * math/e_exp10.c: Include <float.h>.
8871 (__ieee754_exp10): Handle underflow here rather than multiplying
8872 large negative argument by M_LN10.
8873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8875 * math/e_exp10l.c: Include <float.h>.
8876 (__ieee754_exp10l): Handle underflow here rather than multiplying
8877 large negative argument by M_LN10l.
8878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8879 spurious overflow exception on underflow.
8881 2012-04-29 Marek Polacek <polacek@redhat.com>
8883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8884 (__fortify_function): New macro.
8885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8887 __extern_always_inline.
8888 * libio/bits/stdio2.h: Likewise.
8889 * libio/bits/stdio.h: Likewise.
8890 * string/string.h: Likewise.
8891 * string/bits/string3.h: Likewise.
8892 * include/stdio.h: Likewise.
8893 * stdlib/bits/stdlib.h: Likewise.
8894 * stdlib/stdlib.h: Likewise.
8895 * rt/bits/mqueue2.h: Likewise.
8896 * rt/mqueue.h: Likewise.
8897 * posix/bits/unistd.h: Likewise.
8898 * posix/unistd.h: Likewise.
8899 * io/bits/poll2.h: Likewise.
8900 * io/bits/fcntl2.h: Likewise.
8901 * io/fcntl.h: Likewise.
8902 * io/sys/poll.h: Likewise.
8903 * misc/bits/syslog.h: Likewise.
8904 * misc/bits/syslog-ldbl.h: Likewise.
8905 * misc/sys/syslog.h: Likewise.
8906 * socket/bits/socket2.h: Likewise.
8907 * socket/sys/socket.h: Likewise.
8908 * debug/tst-chk1.c: Likewise.
8909 * wcsmbs/bits/wchar2.h: Likewise.
8910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8911 * wcsmbs/wchar.h: Likewise.
8913 2012-04-29 Andreas Jaeger <aj@suse.de>
8915 * Makerules (tests): Remove enable-check-abi protection.
8916 (check-abi-warn): Remove.
8917 (check-abi-%): Remove check-abi-warn usage.
8919 * configure.in: Remove check-abi configure option.
8920 * configure: Regenerated.
8921 * config.make.in (enable-check-abi): Remove.
8923 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8927 double functions to double *_finite functions.
8930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8933 * stdio-common/Makefile (tests): Add tst-sprintf3.
8934 * stdio-common/tst-sprintf3.c: New file.
8936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8939 2012-04-28 Joseph Myers <joseph@codesourcery.com>
8941 * conform/conformtest.pl: Remove duplicate typed-constant
8944 2012-04-28 David S. Miller <davem@davemloft.net>
8946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8947 (check-abi-%): Remove AWK script prerequisite and explicit
8949 (check-abi): Rewrite to just diff the symlist with the abilist.
8950 (config-tls, config-abi-config): Delete, no longer used.
8951 (update-abi-%): Remove AWK script and explicit abilist directory.
8952 (update-abi): Rewrite to simply compare and conditionally copy the
8953 symlist and the sysdep abilist file. Remove update-abi-config
8955 * abilist/ld.abilist: Remove.
8956 * abilist/libBrokenLocale.abilist: Remove.
8957 * abilist/libanl.abilist: Remove.
8958 * abilist/libcrypt.abilist: Remove.
8959 * abilist/libdl.abilist: Remove.
8960 * abilist/librt.abilist: Remove.
8961 * abilist/libthread_db.abilist: Remove.
8962 * abilist/libutil.abilist: Remove.
8963 * scripts/extract-abilist.awk: Remove.
8964 * scripts/merge-abilist.awk: Remove.
8965 * sysdeps/generic/libcidn.abilist: New file.
8966 * sysdeps/generic/libnss_compat.abilist: New file.
8967 * sysdeps/generic/libnss_db.abilist: New file.
8968 * sysdeps/generic/libnss_dns.abilist: New file.
8969 * sysdeps/generic/libnss_files.abilist: New file.
8970 * sysdeps/generic/libnss_hesiod.abilist: New file.
8971 * sysdeps/generic/libnss_nis.abilist: New file.
8972 * sysdeps/generic/libnss_nisplus.abilist: New file.
8973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9171 2012-04-28 Joseph Myers <joseph@codesourcery.com>
9173 * conform/conformtest.pl: Fix typo in handling typed-constant from
9176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9178 * README: Cut down references to pre-2.6 Linux kernels and
9179 Linuxthreads. Update lists of configurations in libc and ports
9180 and sort alphabetically. Say "or newer" with Linux kernel version
9183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9185 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9188 * math/libm-test.inc (logb_test_downward): New test to expose
9189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9192 2012-04-27 Joseph Myers <joseph@codesourcery.com>
9195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9200 2012-04-26 Joseph Myers <joseph@codesourcery.com>
9202 * sysdeps/unix/i386/brk.S: Remove file.
9203 * sysdeps/unix/i386/dl-brk.S: Likewise.
9204 * sysdeps/unix/i386/pipe.S: Likewise.
9205 * sysdeps/unix/i386/sigreturn.S: Likewise.
9206 * sysdeps/unix/i386/syscall.S: Likewise.
9207 * sysdeps/unix/i386/vfork.S: Likewise.
9208 * sysdeps/unix/i386/wait.S: Likewise.
9210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9213 * configure.in (arm*-none*): Do not allow without
9214 --enable-hacker-mode.
9215 (netbsd*): Remove case setting base_os.
9216 (386bsd*): Likewise.
9217 (freebsd*): Likewise.
9221 (ultrix*): Likewise.
9222 (newsos*): Likewise.
9232 (solaris[2-9]*): Likewise.
9234 * configure: Regenerated.
9236 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9240 overflow or cancellation in calculating denominator.
9241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9243 down expression to avoid unexpected rounding in newer GCCs.
9244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9246 2012-04-26 David S. Miller <davem@davemloft.net>
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9249 long-double compat symbols.
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9264 2012-04-25 David S. Miller <davem@davemloft.net>
9266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9267 HWCAP_* values only after the memory barriers have been defined.
9268 (atomic_full_barrier): Define.
9269 (atomic_read_barrier): Define.
9270 (atomic_write_barrier): Define.
9272 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9274 * shlib-versions: Add libgcc_s version information.
9275 * sysdeps/generic/libgcc_s.h: Remove.
9276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9278 * sysdeps/gnu/unwind-resume.c: Likewise.
9279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9281 2012-04-25 David S. Miller <davem@davemloft.net>
9283 * sysdeps/unix/sparc/brk.S: Delete.
9284 * sysdeps/unix/sparc/dl-brk.S: Delete.
9285 * sysdeps/unix/sparc/pipe.S: Delete.
9286 * sysdeps/unix/sparc/sysdep.S: Delete.
9287 * sysdeps/unix/sparc/sysdep.h: Delete.
9288 * sysdeps/unix/sparc/vfork.S: Delete.
9289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9292 ret_ERRVAL, r0, r1, MOVE): Define.
9293 (JUMPTARGET): Remove.
9294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9295 sysdeps/unix/sparc/sysdep.h
9296 (ENTRY, END): Remove.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9299 2012-04-25 Joseph Myers <joseph@codesourcery.com>
9301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9305 * timezone/README: Update upstream location and email address for
9307 * timezone/zdump.c: Update from tzcode 2012b.
9308 * timezone/zic.c: Likewise.
9310 * configure.in (libc_cv_as_needed): Remove test.
9311 * configure: Regenerated.
9312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9313 conditional definition.
9314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9316 * config.make.in (have-as-needed): Remove variable.
9318 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9319 Paul Pluzhnikov <ppluzhnikov@google.com>
9321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9324 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9328 * sysdeps/sh/strlen.S: Likewise.
9330 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9332 * sysdeps/unix/fork.S: Remove file.
9333 * sysdeps/unix/i386/fork.S: Likewise.
9334 * sysdeps/unix/sparc/fork.S: Likewise.
9336 * sysdeps/unix/system.c: Remove file.
9337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9339 * sysdeps/unix/getegid.S: Remove file.
9340 * sysdeps/unix/geteuid.S: Likewise.
9342 2012-04-24 Roland McGrath <roland@hack.frob.com>
9344 * scripts/check-localplt.awk: New file.
9345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9347 * scripts/data/localplt-generic.data: Add a comment.
9349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9350 NODE when __dir_mkfile failed.
9351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9352 Reported by Ludovic Courtès <ludo@gnu.org>.
9354 2012-04-24 Andreas Jaeger <aj@suse.de>
9356 * Makerules (common-clean): Also remove gen-as-const-headers
9359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9361 * Makerules (native-compile): Do not change working directory for
9362 build. Use $(OUTPUT_OPTION) in command.
9363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9365 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9370 * math/libm-test.inc (floor_test): Add more tests.
9371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9373 2012-04-24 Joseph Myers <joseph@codesourcery.com>
9375 * sysdeps/unix/getdents.c: Remove file.
9376 * sysdeps/unix/sysv/getdents.c: Likewise.
9377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9380 sysdeps/unix/mman/syscalls.list.
9382 (mprotect): Likewise.
9385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9386 * sysdeps/unix/mman/syscalls.list: Remove.
9387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9391 * configure: Regenerated.
9392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9394 * config.make.in (libgcc_s_suffix): Remove variable.
9396 2012-04-23 Joseph Myers <joseph@codesourcery.com>
9398 * sysdeps/unix/sysv/gethostname.c: Move to ...
9399 * sysdeps/posix/gethostname.c: ... here.
9401 * sysdeps/unix/execve.S: Remove file.
9403 * sysdeps/unix/_exit.S: Remove file.
9405 2012-04-23 Andreas Jaeger <aj@suse.de>
9408 * manual/Makefile: Remove make dist support, there's no
9409 need for a stand-alone documentation tar ball.
9410 (TEXI2DVI): Define always, it's not in Makeconfig.
9414 (glibc-doc-$(edition).tar): Removed
9418 (ETAGS): Remove, it's in Makeconfig.
9419 (move-if-change): Remove, it's in Makeconfig.
9421 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9427 (strtod_l, strtof_l, strtold_l): Remove __wur.
9428 It is not necessarily an error to ignore strtol's return value.
9429 One can reliably look at the stored endptr to decide whether
9430 the number had valid syntax.
9432 2012-04-21 Andreas Jaeger <aj@suse.de>
9435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9437 2012-04-21 Joseph Myers <joseph@codesourcery.com>
9439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9440 * sysdeps/unix/sysv/Versions: Remove file.
9442 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9447 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
9450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9451 version from __vm86.
9453 2012-04-20 Joseph Myers <joseph@codesourcery.com>
9455 * sysdeps/unix/common/lxstat.c: Remove file.
9456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9458 * sysdeps/unix/sysv/Makefile: Remove file.
9460 * sysdeps/unix/sysv/direct.h: Remove file.
9462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9472 * sysdeps/unix/xmknod.c: Remove file.
9473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9477 * sysdeps/unix/sysv/i386/time.S: Remove file.
9479 * sysdeps/unix/fxstat.c: Remove file.
9480 * sysdeps/unix/xstat.c: Likewise.
9481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9483 * sysdeps/unix/sysv/sigaction.c: Remove file.
9485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9486 (sysdep_headers): Remove variable.
9487 [termio.h not in sysdep_headers] (generated): Likewise.
9488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9491 * sysdeps/unix/sysv/tcflow.c: Likewise.
9492 * sysdeps/unix/sysv/tcflush.c: Likewise.
9493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9499 * sysdeps/unix/siglist.c: Remove file.
9501 * sysdeps/unix/getppid.S: Remove file.
9503 * sysdeps/unix/mkdir.c: Remove file.
9504 * sysdeps/unix/rmdir.c: Likewise.
9506 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9511 errlist-compat value.
9513 2012-04-18 David S. Miller <davem@davemloft.net>
9515 * sysdeps/generic/memcopy.h (reg_char): Delete.
9516 * debug/strcat_chk.c: Use char, not reg_char.
9517 * debug/strcpy_chk.c: Likewise.
9518 * debug/strncat_chk.c: Likewise.
9519 * debug/strncpy_chk.c: Likewise.
9520 * string/memchr.c: Likewise.
9521 * string/memrchr.c: Likewise.
9522 * string/rawmemchr.c: Likewise.
9523 * string/strcat.c: Likewise.
9524 * string/strchr.c: Likewise.
9525 * string/strchrnul.c: Likewise.
9526 * string/strcmp.c: Likewise.
9527 * string/strcpy.c: Likewise.
9528 * string/strncat.c: Likewise.
9529 * string/strncmp.c: Likewise.
9530 * string/strncpy.c: Likewise.
9532 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9535 __builtin_memcopy is called when src and dest ranges are known to not
9538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9542 fwd_align_merge macro call.
9543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9544 bwd_align_merge macro call.
9545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9550 bwd_align_merge macros.
9551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9555 2012-04-18 David S. Miller <davem@davemloft.net>
9557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9559 2012-04-18 Andreas Jaeger <aj@suse.de>
9562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9572 Adjust for changed ldbl-128 files.
9574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9578 2012-04-17 David S. Miller <davem@davemloft.net>
9580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9582 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9591 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9595 * math/libm-test.inc: Add ilogb errno and exception tests.
9596 * math/w_ilogb.c: New file: ilogb wrapper.
9597 * math/w_ilogbf.c: New file: ilogbf wrapper.
9598 * math/w_ilogbl.c: New file: ilogbl wrapper.
9599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9602 exception being thrown with 0.0 as argument.
9603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9605 exception being thrown with 0.0 as argument.
9606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9608 exception being thrown with 0.0 as argument.
9609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9611 exception being thrown with 0.0 as argument.
9612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
9614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
9615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9622 2012-04-17 Petr Baudis <pasky@ucw.cz>
9624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9627 2012-04-16 Marek Polacek <polacek@redhat.com>
9629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9631 2012-04-16 Marek Polacek <polacek@redhat.com>
9633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9634 operands of fdivp instruction.
9636 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9639 * elf/tst-auditmod3b.c: Likewise.
9640 * elf/tst-auditmod4b.c: Likewise.
9641 * elf/tst-auditmod5b.c: Likewise.
9642 * elf/tst-auditmod6b.c: Likewise.
9643 * elf/tst-auditmod6c.c: Likewise.
9644 * elf/tst-auditmod7b.c: Likewise.
9645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9646 * sysdeps/x86_64/preconfigure.in: Likewise.
9647 * sysdeps/x86_64/preconfigure: Regenerated.
9649 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9654 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9659 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9662 * locale/iso-639.def: Fix gl language name. Spotted by
9665 2012-04-12 Roland McGrath <roland@hack.frob.com>
9668 * libio/libio.h (__io_write_fn): Update comment.
9670 2012-04-12 Petr Baudis <pasky@ucw.cz>
9673 * stdio.texi (Hook Functions): The user provided writer function
9674 is not allowed to return -1.
9676 2012-04-11 David S. Miller <davem@davemloft.net>
9678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9680 2012-04-11 Mike Frysinger <vapier@gentoo.org>
9682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9683 Add a leading slash to rtkaio.
9685 2012-04-11 Jim Meyering <meyering@redhat.com>
9688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9689 It is not necessarily an error to ignore fwrite's return
9690 value. One can reliably use ferror to test for errors after
9693 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9695 * bits/types.h (__snseconds_t): New type.
9696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9700 (__SNSECONDS_T_TYPE): Likewise.
9701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9702 (__SNSECONDS_T_TYPE): Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9704 (__SNSECONDS_T_TYPE): Likewise.
9706 2012-04-10 Andreas Jaeger <aj@suse.de>
9709 * manual/time.texi (Processor Time): Return type of times is
9710 elapsed real time since an arbitrary point in the past.
9711 (CPU Time): Move CLK_TCK from here...
9712 (Processor Time): ...to here. Correct description.
9713 * manual/conf.texi (Constants for Sysconf): Correct description of
9716 2012-04-10 David S. Miller <davem@davemloft.net>
9719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9720 where the is a gap between DT_REL(A) and DT_JMPREL.
9722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9728 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9732 (dl_main): Handle --inhibit-cache.
9733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9735 * elf/dl-load.c (_dl_map_object): Use it.
9736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9738 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9742 (__ieee754_powl): Saturate large exponents rather than testing for
9743 overflow of y*log2(x).
9744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9749 * math/s_ctan.c: Include <float.h>.
9750 (__ctan): Avoid internal overflow or cancellation in calculating
9752 * math/s_ctanf.c: Likewise.
9753 * math/s_ctanl.c: Likewise.
9754 * math/s_ctanh.c: Likewise.
9755 * math/s_ctanhf.c: Likewise.
9756 * math/s_ctanhl.c: Likewise.
9757 * math/libm-test.inc (ctan_test): Add more tests.
9758 (ctanh_test): Likewise.
9759 * sysdeps/i386/fpu/libm-test-ulps: Update.
9760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762 2012-04-09 Andreas Jaeger <aj@suse.de>
9765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9766 is an optional BSD extension.
9769 * manual/stdio.texi (Opening Streams): Document additional fopen
9772 2012-04-09 Roland McGrath <roland@hack.frob.com>
9774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9775 %eax without telling the compiler.
9777 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9780 * manual/install.texi: Use sourceware.org.
9782 2012-04-09 Joseph Myers <joseph@codesourcery.com>
9785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9786 (__ieee754_pow): Generate overflow and underflow using huge*huge
9787 and tiny*tiny rather than just returning constant infinity or zero
9788 for large exponents.
9789 * math/libm-test.inc (pow_test): Require overflow exceptions for
9790 applicable cases of large exponents.
9793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9794 (__ieee754_pow): Use iterative multiplication algorithm only for
9795 integer exponents with absolute value below 1024. Check for odd
9796 integer exponents when using algorithm for real exponents.
9797 * math/libm-test.inc (pow_test): Add more tests.
9798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9800 2012-04-08 Joseph Myers <joseph@codesourcery.com>
9803 * math/libm-test.inc (exp_test): Do not allow overflow exception
9806 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9810 instead of __kernel_standard_f.
9812 2012-04-08 Mike Frysinger <vapier@gentoo.org>
9814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9815 * sysdeps/x86_64/memset_chk.S: Likewise.
9817 2012-04-08 Andreas Jaeger <aj@suse.de>
9820 * manual/startup.texi (Environment Access): Describe return value
9821 for putenv and setenv.
9824 * manual/filesys.texi (Directory Entries): Add description for
9828 * manual/filesys.texi (Directory Entries): Clarify that it's file
9829 system not operating system in the description of DT_UNKNOWN.
9832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9834 2012-04-08 Stephen Compall <s11@member.fsf.org>
9837 * manual/llio.texi (Opening and Closing Files): Add cross
9838 reference to explain mode argument.
9840 2012-04-07 Mike Frysinger <vapier@gentoo.org>
9842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9843 * sysdeps/x86_64/memset_chk.S: Likewise.
9845 2012-04-07 David S. Miller <davem@davemloft.net>
9847 * elf/elf.h (R_SPARC_WDISP10): Define.
9848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9851 R_SPARC_SIZE64 and R_SPARC_H34.
9853 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9856 conditions and remove no longer applicable assertion.
9858 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9860 * bits/byteswap.h: Include <features.h>.
9861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9864 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9866 * bits/byteswap.h (__bswap_16): Removed.
9867 Include <bits/byteswap-16.h> to get __bswap_16.
9868 * sysdeps/i386/bits/byteswap.h: Likewise.
9869 * sysdeps/s390/bits/byteswap.h: Likewise.
9870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9871 * bits/byteswap-16.h: New file.
9872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9875 * string/Makefile (headers): Add bits/byteswap-16.h.
9877 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9883 * nss/tst-nss-static.c: New.
9885 2012-04-06 Robert Millan <rmh@gnu.org>
9888 * manual/llio.texi (File Position Primitive): lseek
9889 refers to WHENCE when it really means OFFSET.
9891 2012-04-06 Andreas Jaeger <aj@suse.de>
9893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9894 strncmp declarations.
9896 * abilist/libc.abilist: Add __poll and __ppoll.
9898 2012-04-05 David S. Miller <davem@davemloft.net>
9900 * scripts/check-local-headers.sh: Accept a host triplet in the
9901 path matched by the exclude regexp.
9903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9905 * sysdeps/powerpc/powerpc32/dl-machine.h
9906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9907 * sysdeps/s390/s390-32/dl-machine.h
9908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9909 * sysdeps/sparc/sparc32/dl-machine.h
9910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9911 * sysdeps/sparc/sparc64/dl-machine.h
9912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
9917 undefined symbol errors.
9919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9922 2012-04-05 Michael Matz <matz@suse.de>
9925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9927 2012-04-05 Andreas Jaeger <aj@suse.de>
9930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9936 which ROUND is no valid rounding mode.
9938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9944 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9947 an exception using FPU order intentionally.
9949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9956 2012-04-05 Simon Josefsson <simon@josefsson.org>
9959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9960 EINVAL when BUFLEN is too smal.
9962 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9968 2012-04-03 Andreas Jaeger <aj@suse.de>
9971 * manual/setjmp.texi (System V contexts): Fix sentence.
9974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9975 New macro for this case.
9976 [!__GNUC__] (__bswap_64): New inline function for this case.
9977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9978 * bits/byteswap.h: Likewise.
9979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9980 ull, guard with __GLIBC_HAVE_LONG_LONG.
9982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9983 __GLIBC_HAVE_LONG_LONG.
9985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9988 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9992 inptr and inend, rather than using last_ch.
9994 2012-04-02 David S. Miller <davem@davemloft.net>
9996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9997 * stdio-common/printf-parse.h (read_int): Change return type to
9998 'int', return -1 on INT_MAX overflow.
9999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10001 overflows INT_MAX. Check for overflow of in-format-string precision
10002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10003 SIZE_MAX not INT_MAX for integer overflow test.
10004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10005 skip the construct in the format string but do not record anything.
10006 * stdio-common/bug22.c: Adjust to test both width/prevision
10007 INT_MAX overflow as well as total length INT_MAX overflow. Check
10008 explicitly for proper errno values.
10010 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10014 * string/test-strcmp.c [! WIDE]: Likewise.
10015 * time/tst-mktime2.c: Likewise for INT_MAX.
10016 * string/test-string.h: #include <sys/param.h> for MIN.
10018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10019 * sysdeps/i386/init-first.c (init): Likewise.
10020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10022 * sysdeps/sh/init-first.c (init): Likewise.
10024 2012-04-01 Ulrich Drepper <drepper@gmail.com>
10026 * po/ru.po: Update from translation team.
10027 * po/vi.po: Likewise.
10029 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10031 * resolv/nss_dns/dns-host.c: Merge copyright years.
10033 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10036 Optimize memcpy with prefetch if
10037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10038 src, dst pointers have unequal 16 byte alignments.
10040 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10044 from a CNAME entry and return the minimum ttl for the query.
10045 (gaih_getanswer_slice): Likewise.
10047 2012-03-30 Jeff Law <law@redhat.com>
10049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10054 * resolv/nss_dns/dns-host.c: Update copyright year.
10056 2012-03-30 Ulrich Drepper <drepper@gmail.com>
10058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
10059 requests to save a system call. Fix check that all bytes are sent.
10061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10062 comments for sendmmsg.
10064 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10068 with only 1 character between 0x0041 and 0x01b0.
10069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10070 * wcsmbs/tst-mbsnrtowcs.c: New file.
10072 2012-03-29 David S. Miller <davem@davemloft.net>
10074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10075 small copies by hand.
10077 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10081 _nss_compat_initgroups_dyn): Fall back to malloc/free
10082 for large group memberships.
10084 2012-03-28 David S. Miller <davem@davemloft.net>
10086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10087 that branches into memcpy.
10088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10095 implementation too.
10096 * sysdeps/sparc/mempcpy.S: New file.
10098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10099 the IFUNC routine in the libc case.
10100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10112 loop to 256 bytes instead of 64 bytes and fix test signedness.
10114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10115 * sysdeps/sparc/sparc32/Makefile: rather than here...
10116 * sysdeps/sparc/sparc64/Makefile: and here.
10118 2012-03-28 Ulrich Drepper <drepper@gmail.com>
10120 * malloc/mallocbug.c: Avoid warnings about unused variables.
10122 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10126 in the right place. Discard and retry query if response is
10127 larger than input buffer size.
10129 2012-03-28 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10135 x for large integer exponent.
10136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10138 sign of result as needed afterwards.
10139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10141 result for underflowing pow the same as for overflow.
10142 (__kernel_standard_l): Handle powl overflow and underflow here
10143 rather than calling __kernel_standard.
10144 * math/libm-test.inc (pow_test): Add more tests.
10159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10161 (__kernel_standard_l): New function.
10162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10164 * math/w_acosl.c (__acosl): Likewise.
10165 * math/w_asinl.c (__asinl): Likewise.
10166 * math/w_atan2l.c (__atan2l): Likewise.
10167 * math/w_atanhl.c (__atanhl): Likewise.
10168 * math/w_coshl.c (__coshl): Likewise.
10169 * math/w_exp10l.c (__exp10l): Likewise.
10170 * math/w_exp2l.c (__exp2l): Likewise.
10171 * math/w_fmodl.c (__fmodl): Likewise.
10172 * math/w_hypotl.c (__hypotl): Likewise.
10173 * math/w_j0l.c (__j0l, __y0l): Likewise.
10174 * math/w_j1l.c (__j1l, __y1l): Likewise.
10175 * math/w_jnl.c (__jnl, __ynl): Likewise.
10176 * math/w_lgammal.c (__lgammal): Likewise.
10177 * math/w_log10l.c (__log10l): Likewise.
10178 * math/w_log2l.c (__log2l): Likewise.
10179 * math/w_logl.c (__logl): Likewise.
10180 * math/w_powl.c (__powl): Likewise.
10181 * math/w_remainderl.c (__remainderl): Likewise.
10182 * math/w_scalbl.c (sysv_scalbl): Likewise.
10183 * math/w_sinhl.c (__sinhl): Likewise.
10184 * math/w_sqrtl.c (__sqrtl): Likewise.
10185 * math/w_tgammal.c (__tgammal): Likewise.
10186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10188 * math/libm-test.inc (acos_test): Add more tests.
10189 (acosh_test): Likewise.
10190 (asin_test): Likewise.
10191 (atanh_test): Likewise.
10192 (exp_test): Likewise.
10193 (exp10_test): Likewise.
10194 (exp2_test): Likewise.
10195 (expm1_test): Likewise.
10196 (lgamma_test): Likewise.
10197 (log_test): Likewise.
10198 (log10_test): Likewise.
10199 (log1p_test): Likewise.
10200 (log2_test): Likewise.
10201 (pow_test): Do not allow some spurious overflow exceptions.
10202 (sqrt_test): Add more tests.
10203 (tgamma_test): Likewise.
10204 (y0_test): Likewise.
10205 (y1_test): Likewise.
10206 (yn_test): Likewise.
10208 2012-03-27 Anton Blanchard <anton@samba.org>
10210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10216 2012-03-27 David S. Miller <davem@davemloft.net>
10218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10221 have-as-vis3 check.
10223 2012-03-27 Andreas Jaeger <aj@suse.de>
10225 * sysdeps/x86_64/elf/configure.in: Moved to ...
10226 * sysdeps/x86_64/configure.in: ... here.
10227 * sysdeps/x86_64/elf/start.S: Moved to ...
10228 * sysdeps/x86_64/start.S: ... here.
10229 * sysdeps/x86_64/elf/configure: Delete.
10231 * sysdeps/x86_64/configure.in: Merge contents from
10232 sysdeps/i386/configure.in (without i686 check).
10234 * sysdeps/i386/elf/Versions: Merge into ...
10235 * sysdeps/i386/Versions: ... this.
10236 * sysdeps/i386/elf/Versions: Delete file.
10237 * sysdeps/i386/elf/start.S: Moved to ...
10238 * sysdeps/i386/start.S: ...here.
10239 * sysdeps/i386/elf/configure.in: Merge into...
10240 * sysdeps/i386/configure.in: ...here.
10241 * sysdeps/i386/elf/configure.in: Delete file.
10242 * sysdeps/i386/elf/configure: Delete file.
10244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10245 * debug/backtracesyms.c: ... here.
10246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10247 * debug/backtracesymsfd.c: ... here.
10248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10249 * sysdeps/generic/ifunc-sel.h: ... here.
10251 * sysdeps/unix/i386/start.c: Delete file.
10252 * sysdeps/unix/sparc/start.c: Delete file.
10253 * sysdeps/unix/start.c: Delete file.
10255 * sysdeps/sh/elf/configure.in: Moved to ...
10256 * sysdeps/sh/configure.in: ... here.
10257 * sysdeps/sh/elf/start.S: Moved to ...
10258 * sysdeps/sh/start.S: ... here.
10259 * sysdeps/sh/elf/configure: Delete file.
10261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10266 * sysdeps/powerpc/powerpc64/start.S: here.
10267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10276 * sysdeps/powerpc/powerpc32/start.S: ... here.
10277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10282 * sysdeps/powerpc/ifunc-sel.h: ... here.
10283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10286 * sysdeps/sparc/elf/configure.in: Moved to ...
10287 * sysdeps/sparc/configure.in: ... here.
10288 * sysdeps/sparc/elf/configure: Delete file.
10289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10290 * sysdeps/sparc/sparc32/start.S: ... here.
10291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10292 * sysdeps/sparc/sparc64/start.S: ... here.
10293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10294 * sysdeps/sparc/sparc32/Makefile: ... this.
10295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10296 * sysdeps/sparc/sparc64/Makefile: ... this.
10298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10303 * sysdeps/s390/s390-32/setjmp.S: ... here.
10304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10305 * sysdeps/s390/s390-32/configure.in: ... here.
10306 * sysdeps/s390/s390-32/elf/configure: Delete file.
10307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10308 * sysdeps/s390/s390-32/start.S: ... here.
10310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10315 * sysdeps/s390/s390-64/setjmp.S: ... here.
10316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10317 * sysdeps/s390/s390-64/configure.in: ... here
10318 * sysdeps/s390/s390-64/elf/configure: Delete file.
10319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10320 * sysdeps/s390/s390-64/start.S: ... here.
10321 * sysdeps/s390/s390-64/elf/configure: Delete.
10323 * configure.in: Remove support for elf directories in sysdeps.
10325 * configure: Regenerated.
10326 * sysdeps/i386/configure: Regenerated.
10327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10329 * sysdeps/s390/s390-32/configure: Regenerated.
10330 * sysdeps/s390/s390-64/configure: Regenerated.
10331 * sysdeps/sh/configure: Regenerated.
10332 * sysdeps/sparc/configure: Regenerated.
10333 * sysdeps/x86_64/configure: Regenerated.
10335 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10340 denormal result into account.
10342 2012-03-25 Roland McGrath <roland@hack.frob.com>
10344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10345 Reported by Allan McRae <allan@archlinux.org>.
10347 2012-03-23 Jeff Law <law@redhat.com>
10349 * nss/getnssent.c (__nss_getent): Fix typo.
10351 2012-03-23 David S. Miller <davem@davemloft.net>
10353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10355 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10358 to pad to uint64_t for each field.
10359 (dl_tls_index): Replace unsigned long with uint64_t.
10361 2012-03-23 Daniel Jacobowitz <dmj@google.com>
10362 Paul Pluzhnikov <ppluzhnikov@google.com>
10365 * grp/Makefile (otherlibs): Don't set it.
10366 * inet/Makefile (otherlibs): Likewise.
10367 * login/Makefile (otherlibs): Likewise.
10368 * nscd/Makefile (otherlibs): Likewise.
10369 * posix/Makefile (otherlibs): Likewise.
10370 * pwd/Makefile (otherlibs): Likewise.
10371 * rt/Makefile (otherlibs): Likewise.
10372 * sunrpc/Makefile (otherlibs): Likewise.
10373 * nss/Makefile (otherlibs): Likewise.
10374 Add libnss_files to routines and static-only-routines.
10375 ($(objpfx)getent): Remove rule.
10376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10377 static-only-routines.
10379 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10382 * math/s_cexp.c: Include <float.h>.
10383 (__cexp): Handle exp result overflowing not necessarily
10384 overflowing both real and imaginary parts of result.
10385 * math/s_cexpf.c: Likewise.
10386 * math/s_cexpl.c: Likewise.
10387 * math/libm-test.inc (cexp_test): Add more tests.
10388 * sysdeps/i386/fpu/libm-test-ulps: Update.
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10391 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10393 * include/link.h (ELFW): New macro.
10394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10397 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10406 (struct La_x32_retval): Likewise.
10408 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10410 * sysdeps/x86_64/preconfigure.in: New file.
10411 * sysdeps/x86_64/preconfigure: New generated file.
10413 2012-03-22 Joseph Myers <joseph@codesourcery.com>
10416 * math/e_exp2l.c: Include <float.h>.
10417 (__ieee754_exp2l): Handle overflow and underflow cases
10418 separately. Only pass fractional part of argument to
10420 * math/libm-test.inc (exp2_test): Add more tests.
10422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10423 negating x to take absolute value.
10424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10430 computing low part if x was negated.
10431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10436 la_x32_gnu_pltexit.
10437 (pltexit): Cast int_retval to ptrdiff_t.
10438 * elf/tst-auditmod3b.c: Likewise.
10439 * elf/tst-auditmod4b.c: Likewise.
10440 * elf/tst-auditmod5b.c: Likewise.
10441 * elf/tst-auditmod6b.c: Likewise.
10442 * elf/tst-auditmod6c.c: Likewise.
10443 * elf/tst-auditmod7b.c: Likewise.
10445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10446 and x32_gnu_pltexit.
10448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10449 __ELF_NATIVE_CLASS.
10450 (La_x32_regs): New macro.
10451 (La_x32_retval): Likewise.
10452 (la_x32_gnu_pltenter): New function prototype.
10453 (la_x32_gnu_pltexit): Likewise.
10455 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10462 * configure.in (libc_cv_cc_nofma): Check for option to disable
10463 generation of FMA instructions.
10464 * configure: Regenerate.
10465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10466 * sysdeps/ieee754/dbl-64/Makefile: New file.
10467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10468 Remove brandred-fma4.
10469 (CFLAGS-brandred-fma4.c): Remove.
10470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10476 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10479 LLONG_MAX != LONG_MAX.
10480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10481 (_fitoa_word): Likewise.
10482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10483 LLONG_MAX != LONG_MAX.
10484 * stdio-common/_itowa.h: Include <_itoa.h>.
10485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10488 only if not defined.
10489 (_ITOA_WORD_TYPE): Likewise.
10490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10493 2012-03-21 David S. Miller <davem@davemloft.net>
10495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10500 of x86_64 when setting libc_cv_slibdir, libdir and
10502 * sysdeps/unix/sysv/linux/configure: Regenerated.
10504 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10506 * manual/lang.texi (Old Varargs): Remove section.
10507 (How Variadic): Update menu.
10508 (va_start): Do not mention varargs.h.
10510 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10511 Joseph Myers <joseph@codesourcery.com>
10513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10515 * configure: Regenerated.
10517 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10523 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10526 * Makefile (files-for-dist): Remove NOTES.
10527 (NOTES): Remove rule.
10528 * README: Don't refer to NOTES.
10529 * manual/creature.texi: Don't include macros.texi.
10530 * manual/intro.texi (creature.texi): Remove comment referring to
10533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10535 * configure: Regenerated.
10536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10537 LIBC_TRY_CC_OPTION.
10538 (libc_cv_as_i686): Likewise.
10539 (libc_cv_cc_avx): Likewise.
10540 (libc_cv_cc_sse2avx): Likewise.
10541 (libc_cv_cc_fma4): Likewise.
10542 (libc_cv_cc_novzeroupper): Likewise.
10543 * sysdeps/i386/configure: Regenerated.
10546 * sysdeps/i386/fpu/s_cexp.S: Remove.
10547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10549 * math/libm-test.inc (cexp_test): Add more tests.
10550 * sysdeps/i386/fpu/libm-test-ulps: Update.
10551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10553 2012-03-21 Allan McRae <allan@archlinux.org>
10555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10557 2012-03-21 Joseph Myers <joseph@codesourcery.com>
10560 * math/w_exp2.c: Do not include <float.h>.
10561 (o_threshold, u_threshold): Remove.
10562 (__exp2): Calculate result before checking finiteness and calling
10564 * math/w_exp2f.c: Likewise.
10565 * math/w_exp2l.c: Likewise.
10566 * math/libm-test.inc (exp2_test): Require overflow exception for
10570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10571 range of signed 64-bit integers before using fistpll. Remove
10572 checks for whether integers fit in mantissa bits.
10573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10574 the range of signed 32-bit integers before using fistpl. Remove
10575 checks for whether integers fit in mantissa bits.
10576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10577 (__ieee754_powl): Test for y outside the range of signed 64-bit
10578 integers before using fistpll. Reduce 64-bit values to 63-bit
10580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10581 divide-by-zero is raised for zero to large negative powers.
10582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10583 (__ieee754_powl): Test for y outside the range of signed 64-bit
10584 integers before using fistpll. Reduce 64-bit values to 63-bit
10586 * math/libm-test.inc (pow_test): Add more tests.
10588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10591 <stdio-common/_itoa.h>.
10592 * debug/segfault.c: Likewise.
10593 * elf/dl-cache.c: Likewise.
10594 * elf/dl-minimal.c: Likewise.
10595 * elf/dl-misc.c: Likewise.
10596 * elf/dl-sysdep.c: Likewise.
10597 * elf/dl-version.c: Likewise.
10598 * elf/rtld.c: Likewise.
10599 * hurd/hurdsock.c: Likewise.
10600 * hurd/lookup-retry.c: Likewise.
10601 * malloc/malloc.c: Likewise.
10602 * malloc/mtrace.c: Likewise.
10603 * nscd/nscd_getgr_r.c: Likewise.
10604 * nscd/nscd_getpw_r.c: Likewise.
10605 * nscd/nscd_getserv_r.c: Likewise.
10606 * posix/getopt_init.c: Likewise.
10607 * posix/wordexp.c: Likewise.
10608 * stdio-common/_itoa.c: Likewise.
10609 * stdio-common/printf_fphex.c: Likewise.
10610 * stdio-common/vfprintf.c: Likewise.
10611 * string/_strerror.c: Likewise.
10612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10613 * sysdeps/i386/i686/hp-timing.h: Likewise.
10614 * sysdeps/mach/_strerror.c: Likewise.
10615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10616 * sysdeps/mach/hurd/sethostid.c: Likewise.
10617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10618 * sysdeps/mach/xpg-strerror.c: Likewise.
10619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10643 * stdio-common/_itoa.h: Moved to ...
10644 * sysdeps/generic/_itoa.h: Here.
10646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10649 instead of "_itoa.h" and "_itowa.h".
10650 * stdio-common/vfprintf.: Likewise.
10652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10657 (__signbit): Likwise.
10658 (llrintf): Likwise.
10661 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10666 2012-03-20 Joseph Myers <joseph@codesourcery.com>
10668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10669 OVERFLOW_EXCEPTION_OK.
10670 * math/libm-test.inc ("Philosophy"): Update comment about
10672 (OVERFLOW_EXCEPTION): Define.
10673 (OVERFLOW_EXCEPTION_OK): Likewise.
10674 (INVALID_EXCEPTION_OK): Renumber.
10675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10676 (IGNORE_ZERO_INF_SIGN): Likewise.
10677 (test_exceptions): Handle FE_OVERFLOW.
10678 (exp10_test): Expect overflow exceptions.
10679 (exp2_test): Likewise.
10680 (expm1_test): Likewise.
10681 (nextafter_test): Likewise.
10682 (pow_test): Likewise.
10683 (scalbn_test): Likewise.
10684 (scalbln_test): Likewise.
10686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10688 * sysdeps/x86_64/bits/atomic.h
10689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10691 (atomic_exchange_acq): Likewise.
10692 (__arch_exchange_and_add_body): Likewise.
10693 (__arch_add_body): Likewise.
10694 (atomic_add_negative): Likewise.
10695 (atomic_add_zero): Likewise.
10697 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
10700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10705 Check __x86_64__ instead of __WORDSIZE.
10707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10711 2012-03-19 David S. Miller <davem@davemloft.net>
10713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10715 * sysdeps/sparc/fpu/fenv_private.h: New file.
10716 * sysdeps/sparc/fpu/math_private.h: Use it.
10717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10720 (libc_feholdexcept_setroundl): Remove.
10721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10729 int64_t instead of long int.
10730 (INSERT_WORDS64): Likwise.
10732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10735 _Unwind_GetCFA return to _Unwind_Ptr first.
10737 2012-03-19 Joseph Myers <joseph@codesourcery.com>
10740 * math/s_clog.c: Include <float.h>.
10741 (__clog): Scale large or subnormal inputs.
10742 * math/s_clogf.c: Likewise.
10743 * math/s_clogl.c: Likewise.
10744 * math/s_clog10.c: Include <float.h>.
10745 (M_LOG10_2): Define.
10746 (__clog10): Scale large or subnormal inputs.
10747 * math/s_clog10f.c: Likewise.
10748 * math/s_clog10l.c: Likewise.
10749 * math/libm-test.inc (clog_test): Add more tests.
10750 (clog10_test): Likewise.
10751 * sysdeps/i386/fpu/libm-test-ulps: Update.
10752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10757 * math/libm-test.inc (atan2_test): Add another test.
10759 * Makerules (common-objdir-compile): Remove.
10760 * sysdeps/unix/Makefile (config-generated): Do not add
10761 $(unix-generated) to variable.
10762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10767 [generic bits/local_lim.h] (before-compile): Do not append to
10769 [generic bits/local_lim.h] (common-generated): Likewise.
10770 [generic sys/param.h] (before-compile): Do not append to variable.
10771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10778 [generic sys/param.h] ($(addprefix
10779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10780 [generic sys/param.h] (common-generated): Do not append to
10782 [generic sys/param.h] (sysdep_headers): Likewise.
10783 [generic bits/errno.h] (before-compile): Do not append to
10785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10790 [generic bits/errno.h] (common-generated): Do not append to
10792 [generic bits/ioctls.h] (before-compile): Do not append to
10794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10803 [generic bits/ioctls.h] (common-generated): Do not append to
10805 [generic sys/syscall.h] (syscall.h): Remove variable.
10806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10808 [generic sys/syscall.h] (before-compile): Do not append to
10810 [generic sys/syscall.h] (common-generated): Likewise.
10811 * sysdeps/unix/errnos-tmpl.c: Remove file.
10812 * sysdeps/unix/errnos.awk: Likewise.
10813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10814 * sysdeps/unix/ioctls.awk: Likewise.
10815 * sysdeps/unix/mk-local_lim.c: Likewise.
10816 * sysdeps/unix/snarf-ioctls: Likewise.
10818 2012-03-19 Richard Henderson <rth@twiddle.net>
10820 * sysdeps/i386/fpu/fenv_private.h: New file.
10821 * sysdeps/i386/fpu/math_private.h: Use it.
10822 (math_opt_barrier, math_force_eval): Remove.
10823 (libc_feholdexcept_setround_53bit): Remove.
10824 (libc_feupdateenv_53bit): Remove.
10825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10826 (math_opt_barrier, math_force_eval): Remove.
10827 (libc_feholdexcept): Remove.
10828 (libc_feholdexcept_setround): Remove.
10829 (libc_fetestexcept, libc_fesetenv): Remove.
10830 (libc_feupdateenv_test): Remove.
10831 (libc_feupdateenv, libc_feholdsetround): Remove.
10832 (libc_feresetround): Remove.
10834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10839 (libc_feupdateenv_testl): New.
10840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10841 (libc_feupdateenv_testf): New.
10842 (libc_feupdateenv): Use libc_feupdateenv_test.
10843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10849 (libc_feresetround_noex): New.
10850 (libc_feresetround_noexf): New.
10851 (libc_feresetround_noexl): New.
10852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10862 SET_RESTORE_ROUND_NOEX.
10863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10864 SET_RESTORE_ROUND_NOEXF.
10865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10867 (libc_feholdsetroundf): New.
10868 (libc_feresetround, libc_feresetroundf): New.
10870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10874 * sysdeps/generic/math_private.h: Include <fenv.h>.
10875 (default_libc_feholdexcept): New.
10876 (default_libc_feholdexcept_setround): New.
10877 (default_libc_fesetenv, default_libc_feupdateenv): New.
10878 (libc_feholdexcept): Only define if undefined.
10879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10881 (libc_feholdexcept_setroundl): Likewise.
10882 (libc_feholdexcept_setround_53bit): Likewise.
10883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10886 (libc_feupdateenv_53bit): Likewise.
10887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10888 (libc_feholdexcept): Convert from macro to inline function.
10889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10890 (libc_fesetenv, libc_feupdateenv): Likewise.
10892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10893 not previously defined.
10894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10898 * sysdeps/ieee754/flt-32/math_private.h: New file.
10899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10900 math_private.h below SET_FLOAT_WORD.
10901 (__isnan, __isinf_ns, __finite): Remove.
10902 (__isnanf, __isinf_nsf, __finitef): Remove.
10904 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10908 2012-03-17 David S. Miller <davem@davemloft.net>
10911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10914 2012-03-16 David S. Miller <davem@davemloft.net>
10916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10924 sysdep_routines when subdir is sysvipc.
10925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10926 __getshmlba helper.
10928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10930 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10939 (__lround): Renamed to ...
10940 (__llround): This. Replace long int with long long int.
10941 Define lround functions as aliases of llround functions.
10942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10944 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10948 adresses to uintptr_t. Replace "long int" and "unsigned long
10949 int" with "greg_t" on va_arg.
10951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10957 Move e_machine check before EI_CLASS check. Handle x32
10958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10960 SKIP_EM_IA_64 and include
10961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10965 (add_system_dir): New macro.
10967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10970 2012-03-16 Joseph Myers <joseph@codesourcery.com>
10981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10983 * math/w_j0f.c (j0f): Likewise.
10985 * math/w_j0l.c (__j0l): Likewise.
10987 * math/w_j1.c (j1): Likewise.
10989 * math/w_j1f.c (j1f): Likewise.
10991 * math/w_j1l.c (__j1l): Likewise.
10993 * math/w_jn.c (jn): Likewise.
10995 * math/w_jnf.c (jnf): Likewise.
10997 * math/w_jnl.c (__jnl): Likewise.
10999 * math/libm-test.inc (j0_test): Add more tests.
11000 (j1_test): Likewise.
11001 (jn_test): Likewise. Add trailing semicolon to existing test.
11002 (y0_test): Likewise.
11003 (y1_test): Likewise.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11013 (__tanl): Set errno for infinite argument.
11014 * sysdeps/i386/fpu/mptan.c: Remove.
11015 * sysdeps/i386/fpu/s_tan.S: Likewise.
11016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11019 * math/libm-test.inc (tan_test): Add more tests and enable more
11020 tests for double and long double.
11021 * sysdeps/i386/fpu/libm-test-ulps: Update.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11024 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11029 2012-03-16 Roland McGrath <roland@hack.frob.com>
11031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11032 * configure.in: Use it for both main tree and add-ons.
11033 * configure: Regenerated.
11035 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11039 2012-03-16 Joseph Myers <joseph@codesourcery.com>
11041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11053 != 0 for prec == 2.
11054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11065 * math/libm-test.inc (cos_test): Add more tests and enable more
11066 tests for long double.
11067 (sin_test): Likewise.
11068 (sincos_test): Likewise.
11069 * sysdeps/i386/fpu/libm-test-ulps: Update.
11070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11072 2012-03-16 David S. Miller <davem@davemloft.net>
11074 * sysdeps/sparc/fpu/math_private.h: New file.
11076 2012-03-15 David S. Miller <davem@davemloft.net>
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11095 * sysdeps/sparc/sparc-ifunc.h: New file.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11141 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11147 2012-03-15 Andreas Jaeger <aj@suse.de>
11150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11151 ieee754/flt-32 implementation for sin, cos and sincos.
11152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11157 ieee754/flt-32 implementation for tan.
11159 * math/libm-test.inc (cos_test): Enable some large input tests for
11161 (sin_test): Likewise.
11162 (sincos_test): Likewise.
11163 (tan_test): Add tests for large input.
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167 2012-03-15 Andreas Jaeger <aj@suse.de>
11170 * math/libm-test.inc (cos_test): Add more test cases.
11171 (sin_test): Likewise.
11172 (sincos_test): Likewise.
11174 2012-03-15 Andreas Jaeger <aj@suse.de>
11177 * math/libm-test.inc (cos_test): Add a test case for large input
11179 (sin_test): Likewise.
11180 (sincos_test): Likewise.
11182 2012-03-15 Andreas Jaeger <aj@suse.de>,
11183 Joseph Myers <joseph@codesourcery.com>
11186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
11187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11188 * sysdeps/i386/fpu/branred.c: Likewise.
11189 * sysdeps/i386/fpu/dosincos.c: Likewise.
11190 * sysdeps/i386/fpu/mpa.c: Likewise.
11191 * sysdeps/i386/fpu/s_cos.S: Likewise.
11192 * sysdeps/i386/fpu/s_sin.S: Likewise.
11193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11194 * sysdeps/i386/fpu/sincos32.c: Likewise.
11196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11198 (libc_feupdateenv_53bit): Define.
11199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11201 (libc_feupdateenv_53bit): Define.
11203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11204 53 bit (without extend i386 double precision).
11206 * math/libm-test.inc (sincos_test): Add tests for large input.
11210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11212 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11216 2012-03-15 David S. Miller <davem@davemloft.net>
11218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
11239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11246 fmin/fmax sysdep routines.
11247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11249 2012-03-14 David S. Miller <davem@davemloft.net>
11251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
11279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
11284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
11293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
11296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
11317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
11320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11328 * sysdeps/sparc/configure.in: New file.
11329 * sysdeps/sparc/configure: Generate.
11330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11331 * configure: Regenerate.
11332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11333 * config.make.in (have-as-vis3): New.
11334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11335 available use -Av9d instead of -Av9a.
11336 * sysdeps/sparc/sparc64/Makefile: Likewise.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
11338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11353 fzeros/fnegs to load 0x80000000 into a float register instead of
11355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11357 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11363 ($(inst_includedir)/bits/syscall.h): Remove rule.
11364 ($(objpfx)bits/syscall.d): Include instead of
11365 $(objpfx)syscall-list.d.
11366 (generated): Change syscall-list.h and syscall-list.d to
11367 bits/syscall.h and bits/syscall.d.
11369 2012-03-14 Roland McGrath <roland@hack.frob.com>
11372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11374 2012-03-14 Joseph Myers <joseph@codesourcery.com>
11377 * math/s_csqrt.c: Include <float.h>.
11378 (__csqrt): Scale large or subnormal inputs.
11379 * math/s_csqrtf.c: Likewise.
11380 * math/s_csqrtl.c: Likewise.
11381 * math/libm-test.inc (csqrt_test): Add more tests.
11382 * sysdeps/i386/fpu/libm-test-ulps: Update.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11386 * math/libm-test.inc (hypot_test): Add more tests.
11388 2012-03-13 David S. Miller <davem@davemloft.net>
11391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11392 double-precision for the calculation instead of scaling.
11394 2012-03-13 Joseph Myers <joseph@codesourcery.com>
11396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11397 manipulate bits before adding and subtracting TWO52[sx].
11398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11403 2012-03-13 David S. Miller <davem@davemloft.net>
11405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11408 rtld-global-offsets.h
11409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11417 'err' in the ifdef scope in which it is actually used.
11419 * nss/nss_db/db-init.c: Include string.h
11421 2012-03-12 David S. Miller <davem@davemloft.net>
11423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11424 masking out of the most significant byte of random value used.
11425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11426 Fix coding style in previous change.
11428 * sysdeps/unix/sysv/linux/kernel-features.h
11429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11435 2012-03-11 David S. Miller <davem@davemloft.net>
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11440 for 'resultvar' otherwise things get truncated on 64-bit.
11442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11443 Fix masking out of the most significant byte of random value used.
11445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11447 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11451 2012-03-09 David S. Miller <davem@davemloft.net>
11453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11454 variables with appropriate CPP guards.
11455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11456 frame pointer, not the stack pointer. Correct layout comments. Fix test
11457 on resulting framesize and the management of the outregs buffer for pltexit.
11458 Preserve floating point return values across _dl_call_pltexit call.
11459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11460 framesize and the management of the outregs buffer for pltexit.
11461 Preserve floating point return values across _dl_call_pltexit
11463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11465 (print_exit): Fix format string for return register value.
11467 2012-03-10 Joseph Myers <joseph@codesourcery.com>
11469 * sunrpc/Makefile (others): Add rpcgen.
11470 ($(objpfx)rpcgen): Remove special build rule and dependency on
11472 * sunrpc/rpcgen.c: New file.
11474 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11479 * sysdeps/i386/crti.S: Likewise.
11480 * sysdeps/i386/crtn.S: Likewise.
11481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11485 * sysdeps/sh/crti.S: Likewise.
11486 * sysdeps/sh/crtn.S: Likewise.
11487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11492 * locale/programs/locfile-kw.gperf: Likewise.
11493 * locale/programs/charmap-kw.h: Regenerated.
11494 * locale/programs/locfile-kw.h: Likewise.
11497 * intl/plural.y: Replace FSF snail mail address with URL.
11498 * intl/plural.c: Regenerated.
11500 2012-03-09 Richard Henderson <rth@twiddle.net>
11502 * include/math_private.h: Remove file.
11503 * math/math_private.h: Move file ...
11504 * sysdeps/generic/math_private.h: ... here.
11506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
11511 and <math_private.h>.
11512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11661 * sysdeps/ieee754/k_standard.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11822 * sysdeps/ieee754/s_lib_version.c: Likewise.
11823 * sysdeps/ieee754/s_matherr.c: Likewise.
11824 * sysdeps/ieee754/s_signgam.c: Likewise.
11825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11847 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11850 * sunrpc/rpc_main.c: Likewise.
11851 * sunrpc/rpc_svcout.c: Likewise.
11853 2012-03-09 David S. Miller <davem@davemloft.net>
11855 * include/math_private.h: New file.
11857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
11859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11862 from <bits/socket_type.h>.
11863 (enum __socket_type): Don't define here.
11864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11866 bits/socket_type.h.
11869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11870 checking __USE_GNU.
11872 * Makerules ($(inst_includedir)/%.h): New rule.
11873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11874 (install-others): Remove variable setting.
11875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11877 2012-03-08 Richard Henderson <rth@twiddle.net>
11879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11880 from macro to inline function; merge with the
11881 !__LIBC_INTERNAL_MATH_INLINES version.
11882 (__ieee754_sqrtf): Likewise.
11884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11885 to inline function.
11886 (__rintf, __floor, __floorf): Likewise.
11888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11889 macro to inline function.
11890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11893 not <math/math_private.h>.
11895 2012-03-08 David S. Miller <davem@davemloft.net>
11897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11901 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11908 2012-03-08 Ulrich Drepper <drepper@gmail.com>
11910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11911 be defined individually, they must be defined as a block. Define
11912 S for printing a string instead of hidint the different by using a
11913 macro for adding the 'l'.
11914 * stdio-common/tst-fphex-wide.c: Adjust.
11916 2012-03-07 Marek Polacek <polacek@redhat.com>
11918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11920 2012-03-08 Marek Polacek <polacek@redhat.com>
11923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11924 * stdio-common/tst-fphex.c: Define a few macros to make the
11925 test reusable. Use them.
11926 * stdio-common/tst-fphex-wide.c: New file.
11928 2012-03-08 Joseph Myers <joseph@codesourcery.com>
11931 * manual/macros.texi (gnusystems): New macro.
11932 (nongnusystems): Likewise.
11933 (gnulinuxhurdsystems): Likewise.
11934 (gnuhurdsystems): Likewise..
11935 (gnulinuxsystems): Likewise.
11936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11937 variants of the GNU system, not "GNU system".
11938 * manual/conf.texi: Likewise.
11939 * manual/errno.texi: Likewise. Update example of errno macro
11941 * manual/filesys.texi: Likewise.
11942 (getumask): Document as specific to GNU/Hurd.
11943 * manual/install.texi: Likewise. Reword some references to
11945 * manual/intro.texi: Likewise.
11946 * manual/io.texi: Likewise.
11947 (File Name Portability): Detail which constraints are inapplicable
11948 to all GNU systems and which are only inapplicable to GNU/Hurd.
11949 * manual/job.texi: Likewise.
11950 * manual/llio.texi: Likewise.
11951 (O_NOCTTY): Document as present on GNU/Linux.
11952 * manual/maint.texi: Likewise.
11953 * manual/memory.texi: Likewise.
11954 * manual/pattern.texi: Likewise.
11955 * manual/pipe.texi: Likewise.
11956 * manual/process.texi: Likewise.
11957 * manual/resource.texi: Likewise.
11958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11960 * manual/setjmp.texi: Likewise.
11961 * manual/signal.texi: Likewise.
11962 * manual/startup.texi: Likewise.
11963 * manual/stdio.texi: Likewise.
11964 * manual/terminal.texi: Likewise.
11965 (ONLCR): Document as POSIX.
11966 (OXTABS): Document availability on GNU/Linux as XTABS.
11967 (ONOEOT): Document availability separately from other bits.
11968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11969 * manual/time.texi: Likewise.
11970 * manual/users.texi: Likewise.
11971 * INSTALL: Regenerated.
11972 * sysdeps/gnu/errlist.c: Regenerated.
11974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11978 * configure: Regenerated.
11980 2012-03-07 Joseph Myers <joseph@codesourcery.com>
11982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11983 default includes instead of AC_HEADER_CHECK.
11984 * sysdeps/i386/configure: Regenerated.
11987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11988 * math/s_cacoshf.c (__cacoshf): Likewise.
11989 * math/s_cacoshl.c (__cacoshl): Likewise.
11990 * math/s_casinh.c (__casinh): Set signs of result from argument.
11991 * math/s_casinhf.c (__casinhf): Likewise.
11992 * math/s_casinhl.c (__casinhl): Likewise.
11993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11994 (casinh_test): Add more tests.
11995 * sysdeps/i386/fpu/libm-test-ulps: Update.
11996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998 2012-03-07 Ulrich Drepper <drepper@gmail.com>
12000 * po/zh_TW.po: Update from translation team.
12002 * login/Makefile (distribute): Remove variable.
12003 * catgets/Makefile: Likewise.
12004 * mach/Makefile: Likewise.
12005 * malloc/Makefile: Likewise.
12006 * misc/Makefile: Likewise.
12007 * iconv/Makefile: Likewise.
12008 * nscd/Makefile: Likewise.
12009 * hurd/Makefile: Likewise.
12010 * manual/Makefile: Likewise.
12011 * locale/Makefile: Likewise.
12012 * intl/Makefile: Likewise.
12013 * conform/Makefile: Likewise.
12014 * nss/Makefile: Likewise.
12015 * time/Makefile: Likewise.
12016 * soft-fp/Makefile: Likewise.
12017 * dirent/Makefile: Likewise.
12018 * gmon/Makefile: Likewise.
12019 * po/Makefile: Likewise.
12020 * rt/Makefile: Likewise.
12021 * socket/Makefile: Likewise.
12022 * math/Makefile: Likewise.
12023 * signal/Makefile: Likewise.
12024 * debug/Makefile: Likewise.
12025 * elf/Makefile: Likewise.
12026 * timezone/Makefile: Likewise.
12027 * stdlib/Makefile: Likewise.
12028 * iconvdata/Makefile: Likewise.
12029 * sunrpc/Makefile: Likewise.
12030 * io/Makefile: Likewise.
12031 * argp/Makefile: Likewise.
12032 * inet/Makefile: Likewise.
12033 * hesiod/Makefile: Likewise.
12034 * grp/Makefile: Likewise.
12035 * csu/Makefile: Likewise.
12036 * wctype/Makefile: Likewise.
12037 * crypt/Makefile: Likewise.
12038 * libio/Makefile: Likewise.
12039 * string/Makefile: Likewise.
12040 * nis/Makefile: Likewise.
12041 * resolv/Makefile: Likewise.
12042 * stdio-common/Makefile: Likewise.
12043 * wcsmbs/Makefile: Likewise.
12044 * dlfcn/Makefile: Likewise.
12045 * posix/Makefile: Likewise.
12048 * timezone/Makefile: Don't install timezone files, just the programs
12051 2012-03-06 Ulrich Drepper <drepper@gmail.com>
12053 * nss/databases.def: Add missing gshadow entry.
12055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12057 2012-03-06 Marek Polacek <polacek@redhat.com>
12060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12063 * stdio-common/tst-long-dbl-fphex.c: New file.
12065 2012-03-06 David S. Miller <davem@davemloft.net>
12067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12068 (set_obp_int): New function.
12069 (get_obp_int): New function.
12070 (__get_clockfreq_via_dev_openprom): Likewise.
12071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12072 Avoid unused variable warnings on 'val' and use builtin_expect.
12073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12075 (INLINE_CLONE_SYSCALL): Likewise.
12077 2012-03-05 David S. Miller <davem@davemloft.net>
12079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12081 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12086 only for |x| >= 40.
12087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12089 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
12091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12092 Replace gettimeofday with __vdso_gettimeofday.
12094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12096 __vdso_clock_gettime and __vdso_getcpu.
12098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12099 time with __vdso_time.
12101 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12103 * manual/lang.texi (size_t): Note types to which size_t may be
12104 equivalent with the GNU C Library, but do not describe when
12105 differences between them are significant.
12107 2012-03-05 Andreas Jaeger <aj@suse.de>
12109 * sysdeps/i386/fpu/libm-test-ulps: Update.
12111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12115 (__ieee754_pow): Save and restore rounding mode and use
12116 round-to-nearest for main computations.
12117 * math/libm-test.inc (pow_test_tonearest): New function.
12118 (pow_test_towardzero): Likewise.
12119 (pow_test_downward): Likewise.
12120 (pow_test_upward): Likewise.
12121 (main): Call the new functions.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12126 * math/libm-test.inc (cosh_test_tonearest): New function.
12127 (cosh_test_towardzero): Likewise.
12128 (cosh_test_downward): Likewise.
12129 (cosh_test_upward): Likewise.
12130 (sinh_test_tonearest): Likewise.
12131 (sinh_test_towardzero): Likewise.
12132 (sinh_test_downward): Likewise.
12133 (sinh_test_upward): Likewise.
12134 (main): Call the new functions.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138 2012-03-05 Tom de Vries <tom@codesourcery.com>
12140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12141 default stack guard is set in last bytes.
12142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12144 2012-03-05 Kees Cook <keescook@chromium.org>
12146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
12149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12150 possibly allocate from heap instead of stack.
12151 * stdio-common/bug-vfprintf-nargs.c: New file.
12152 * stdio-common/Makefile (tests): Add nargs overflow test.
12154 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12158 2012-03-03 Marek Polacek <polacek@redhat.com>
12160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12161 * math/math_private.h: Likewise.
12162 * stdlib/tst-strtod.c: Likewise.
12163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12164 * sysdeps/x86_64/bits/atomic.h: Likewise.
12166 2012-03-02 David S. Miller <davem@davemloft.net>
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12177 2012-03-02 Roland McGrath <roland@hack.frob.com>
12180 * manual/examples/README: New file, says the example source files
12181 can be used under GPL>=2.
12182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12183 line containing just "*/".
12184 * manual/examples/add.c: Add copyright header (GPL>=2).
12185 * manual/examples/argp-ex1.c: Likewise.
12186 * manual/examples/argp-ex2.c: Likewise.
12187 * manual/examples/argp-ex3.c: Likewise.
12188 * manual/examples/argp-ex4.c: Likewise.
12189 * manual/examples/atexit.c: Likewise.
12190 * manual/examples/db.c: Likewise.
12191 * manual/examples/dir.c: Likewise.
12192 * manual/examples/dir2.c: Likewise.
12193 * manual/examples/execinfo.c: Likewise.
12194 * manual/examples/filecli.c: Likewise.
12195 * manual/examples/filesrv.c: Likewise.
12196 * manual/examples/fmtmsgexpl.c: Likewise.
12197 * manual/examples/genpass.c: Likewise.
12198 * manual/examples/inetcli.c: Likewise.
12199 * manual/examples/inetsrv.c: Likewise.
12200 * manual/examples/isockad.c: Likewise.
12201 * manual/examples/longopt.c: Likewise.
12202 * manual/examples/memopen.c: Likewise.
12203 * manual/examples/memstrm.c: Likewise.
12204 * manual/examples/mkfsock.c: Likewise.
12205 * manual/examples/mkisock.c: Likewise.
12206 * manual/examples/mygetpass.c: Likewise.
12207 * manual/examples/pipe.c: Likewise.
12208 * manual/examples/popen.c: Likewise.
12209 * manual/examples/rprintf.c: Likewise.
12210 * manual/examples/search.c: Likewise.
12211 * manual/examples/select.c: Likewise.
12212 * manual/examples/setjmp.c: Likewise.
12213 * manual/examples/sigh1.c: Likewise.
12214 * manual/examples/sigusr.c: Likewise.
12215 * manual/examples/stpcpy.c: Likewise.
12216 * manual/examples/strdupa.c: Likewise.
12217 * manual/examples/strftim.c: Likewise.
12218 * manual/examples/strncat.c: Likewise.
12219 * manual/examples/subopt.c: Likewise.
12220 * manual/examples/swapcontext.c: Likewise.
12221 * manual/examples/termios.c: Likewise.
12222 * manual/examples/testopt.c: Likewise.
12223 * manual/examples/testpass.c: Likewise.
12224 * manual/examples/timeval_subtract.c: Likewise.
12227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12229 * manual/timeval_subtract.c.texi: ... here, new file.
12231 2012-03-02 David S. Miller <davem@davemloft.net>
12233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12235 2012-03-02 Joseph Myers <joseph@codesourcery.com>
12238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12239 (__sin): Save and restore rounding mode and use round-to-nearest
12240 for all computations.
12241 (__cos): Save and restore rounding mode and use round-to-nearest
12242 for all computations.
12243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12245 (tan): Save and restore rounding mode and use round-to-nearest for
12247 * math/libm-test.inc (cos_test_tonearest): New function.
12248 (cos_test_towardzero): Likewise.
12249 (cos_test_downward): Likewise.
12250 (cos_test_upward): Likewise.
12251 (sin_test_tonearest): Likewise.
12252 (sin_test_towardzero): Likewise.
12253 (sin_test_downward): Likewise.
12254 (sin_test_upward): Likewise.
12255 (tan_test_tonearest): Likewise.
12256 (tan_test_towardzero): Likewise.
12257 (tan_test_downward): Likewise.
12258 (tan_test_upward): Likewise.
12259 (main): Call the new functions.
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12265 small n, then large n, before computing and testing k+n.
12266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12279 * math/libm-test.inc (scalbn_test): Add more tests.
12280 (scalbln_test): Likewise.
12282 * manual/filesys.texi (mode_t): Describe constraints on size and
12283 signedness, not exact equivalence to a particular type.
12285 (ino64_t): Likewise.
12287 (nlink_t): Likewise.
12288 (blkcnt_t): Likewise.
12289 (blkcnt64_t): Likewise.
12290 * manual/llio.texi (off_t): Likewise.
12293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12294 (__ieee754_exp): Save and restore rounding mode and use
12295 round-to-nearest for all computations.
12296 * math/libm-test.inc (exp_test_tonearest): New function.
12297 (exp_test_towardzero): Likewise.
12298 (exp_test_downward): Likewise.
12299 (exp_test_upward): Likewise.
12300 (main): Call the new functions.
12301 * sysdeps/i386/fpu/libm-test-ulps: Update.
12302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12304 2012-03-01 Chris Demetriou <cgd@google.com>
12306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12307 have predictable order.
12309 2012-03-01 David S. Miller <davem@davemloft.net>
12311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12352 * sysdeps/sparc/elf/configure: Regenerated.
12354 2012-03-01 Joseph Myers <joseph@codesourcery.com>
12356 * configure.in (AS, LD): Require binutils 2.20 or later.
12357 * configure: Regenerated.
12358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12359 as required minimum version.
12360 * INSTALL: Regenerated.
12364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12365 before squaring exponent.
12366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12367 bottom long double and 27 bits of top long double before squaring
12369 * math/libm-test.inc (erfc_test): Add more tests.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12374 2012-03-01 Kai Tietz <ktietz@redhat.com>
12376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12378 containing bit-fields.
12379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12380 * soft-fp/single.h (_FP_UNION_S): Likewise.
12381 * soft-fp/double.h (_FP_UNION_D): Likewise.
12383 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12387 not include ../strcmp.S.
12388 [USE_AS_STRNCASECMP_L]: Likewise.
12389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12392 (__strncasecmp_l_ia32): Define as alias to
12393 __strncasecmp_l_nonascii.
12396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12397 * sysdeps/i386/fpu/libm-test-ulps: Update.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12403 2012-02-29 Jeff Law <law@redhat.com>
12405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12406 out of bounds read.
12408 2012-02-29 Marek Polacek <polacek@redhat.com>
12411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12412 * elf/Makefile: Add rules to run tst-unused-dep.out.
12414 2012-02-28 David S. Miller <davem@davemloft.net>
12416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12423 2012-02-29 Joseph Myers <joseph@codesourcery.com>
12425 * math/libm-test.inc (llround_test): Move one test from
12426 lround_test. Use TEST_f_L in moved test.
12427 (lround_test): Move misplaced test to llround_test. Add testcase
12430 2012-02-28 Ulrich Drepper <drepper@gmail.com>
12432 * sysdeps/x86_64/fpu/e_expf.S: New file.
12433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12435 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12439 of remain_len that may cause incomplete multi-byte character and
12441 * posix/bug-regex33.c: New file.
12442 * posix/Makefile (tests): Add bug-regex33.
12444 2012-02-28 Joseph Myers <joseph@codesourcery.com>
12446 * manual/macros.texi: New file.
12447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12448 * manual/libc.texinfo: Include macros.texi.
12449 * manual/creatute.texi: Likewise.
12450 * manual/install.texi: Likewise.
12451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12452 @glibcadj{} in references to the GNU C Library.
12453 * manual/charset.texi: Likewise.
12454 * manual/conf.texi: Likewise.
12455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12456 when not using those macros.
12457 * manual/creature.texi: Likewise.
12458 * manual/crypt.texi: Likewise.
12459 * manual/errno.texi: Likewise.
12460 * manual/filesys.texi: Likewise.
12461 * manual/header.texi: Likewise.
12462 * manual/install.texi: Likewise.
12463 * manual/intro.texi: Likewise.
12464 * manual/io.texi: Likewise.
12465 * manual/job.texi: Likewise.
12466 * manual/lang.texi: Likewise.
12467 * manual/libc.texiinfo: Likewise.
12468 * manual/llio.texi: Likewise.
12469 * manual/locale.texi: Likewise.
12470 * manual/maint.texi: Likewise.
12471 * manual/math.texi: Likewise.
12472 * manual/memory.texi: Likewise.
12473 * manual/message.texi: Likewise.
12474 * manual/nss.texi: Likewise.
12475 * manual/pattern.texi: Likewise.
12476 * manual/process.texi: Likewise.
12477 * manual/resource.texi: Likewise.
12478 * manual/search.texi: Likewise.
12479 * manual/setjmp.texi: Likewise.
12480 * manual/signal.texi: Likewise.
12481 * manual/socket.texi: Likewise.
12482 * manual/startup.texi: Likewise.
12483 * manual/stdio.texi: Likewise.
12484 * manual/string.texi: Likewise.
12485 * manual/sysinfo.texi: Likewise.
12486 * manual/syslog.texi: Likewise.
12487 * manual/terminal.texi: Likewise.
12488 * manual/time.texi: Likewise.
12489 * manual/users.texi: Likewise.
12490 * INSTALL: Regenerated.
12491 * NOTES: Regenerated.
12492 * sysdeps/gnu/errlist.c: Regenerated.
12494 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12496 * include/dirent.h: Include <dirstream.h> before
12499 2012-02-28 David S. Miller <davem@davemloft.net>
12501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12506 2012-02-27 David S. Miller <davem@davemloft.net>
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12514 frame pointer instead of stack pointer relative arg slot.
12515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12519 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12524 2012-02-27 David S. Miller <davem@davemloft.net>
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12535 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12538 later. Allow versions 5-9.
12539 * configure: Regenerated.
12540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12541 required minimum version and 4.6 as recommended version. Do not
12542 mention bugs in GCC 2.7 and 2.8.
12543 * INSTALL: Regenerated.
12545 2012-02-27 David S. Miller <davem@davemloft.net>
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12557 manipulate bits before adding and subtracting TWO112[sx].
12558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12560 2012-02-27 Roland McGrath <roland@hack.frob.com>
12563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12566 being in POSIX, because they are in 1003.1-2008.
12568 * rt/tst-aio.c: Include <fcntl.h>.
12569 * rt/tst-aio7.c: Likewise.
12570 * rt/tst-aio64.c: Likewise.
12572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12574 2012-02-27 Joseph Myers <joseph@codesourcery.com>
12576 * manual/install.texi (--with-headers): Describe headers as
12577 interface headers, not private headers.
12578 (Specific advice for GNU/Linux systems): Describe use of headers
12579 from "make headers_install", not private headers from older
12581 * INSTALL: Regenerated.
12582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12584 * sysdeps/unix/sysv/linux/configure: Regenerated.
12586 * manual/llio.texi (fclean): Remove documentation.
12588 * manual/Makefile (libc-texi-generated): New variable. Include
12590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12591 $(libc-texi-generated), not duplicated list of files.
12592 (version.texi, stamp-version): New rules.
12593 (realclean): Remove $(libc-texi-generated), not individual files
12594 from that list. Do not remove dir-add.texinfo.
12595 * manual/libc.texinfo: Comment out uses of edition numbers and
12596 references to printed manual. Remove last-updated dates.
12597 (EDITION): Comment out.
12599 (VERSION, UPDATED): Remove.
12600 (version.texi): Include.
12602 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12604 * sysdeps/posix/spawni.c: Include <signal.h>.
12605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12606 * sysdeps/pthread/aio_fsync.c: Likewise.
12608 2012-02-26 Ulrich Drepper <drepper@gmail.com>
12610 * conform/Makefile (tests): Run only when not cross-compiling and
12611 when fast-check is not defined.
12613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12614 * conform/data/limits.h-data: Fixes for POSIX2008.
12615 * conform/run-conformtest.sh: Run all tests.
12616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12618 * include/bits/dlfcn.h: Likewise.
12619 * include/langinfo.h: Likewise.
12620 * include/monetary.h: Likewise.
12621 * include/sys/poll.h: Likewise.
12623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12625 * posix/spawn.h: Define __need_sigset_t.
12626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12629 to get sigevent_t only.
12630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12631 only for __USE_GNU.
12632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12634 process_vm_writev only for __USE_GNU.
12635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
12637 * conform/Makefile: For now ignore errors from run-conformtest.
12638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12639 POSIX to avoid namespace pollution. Don't prepend headers.
12640 * conform/data/aio.h-data: Fixes for POSIX testing.
12641 * conform/data/fcntl.h-data: Likewise.
12642 * conform/data/glob.h-data: Likewise.
12643 * conform/data/grp.h-data: Likewise.
12644 * conform/data/pthread.h-data: Likewise.
12645 * conform/data/pwd.h-data: Likewise.
12646 * conform/data/signal.h-data: Likewise.
12647 * conform/data/spawn.h-data: Likewise.
12648 * conform/data/stdio.h-data: Likewise.
12649 * conform/data/stdlib.h-data: Likewise.
12650 * conform/data/stropts.h-data: Likewise.
12651 * conform/data/sys/mman.h-data: Likewise.
12652 * conform/data/sys/stat.h-data: Likewise.
12653 * conform/data/sys/types.h-data: Likewise.
12654 * conform/data/sys/wait.h-data: Likewise.
12655 * conform/data/time.h-data: Likewise.
12656 * conform/data/unistd.h-data: Likewise.
12657 * conform/data/utime.h-data: Likewise.
12659 * io/sys/stat.h: fchmod was always in POSIX.
12660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12662 * rt/aio.h: Define __need_timespec before including <time.h>.
12663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12664 struct. Add forward declaration of pthread_attr_t and use it in
12666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12669 always remove CLK_TCK definition.
12671 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12675 2012-02-25 Ulrich Drepper <drepper@gmail.com>
12677 * conform/run-conformtest.sh: New file.
12678 * conform/Makefile: Run run-conformtest for tests.
12679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12682 * conform/data/uchar.h-data: New file.
12683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12684 * conform/data/arpa/inet.h-data: Likewise.
12685 * conform/data/assert.h-data: Likewise.
12686 * conform/data/complex.h-data: Likewise.
12687 * conform/data/cpio.h-data: Likewise.
12688 * conform/data/ctype.h-data: Likewise.
12689 * conform/data/dirent.h-data: Likewise.
12690 * conform/data/dlfcn.h-data: Likewise.
12691 * conform/data/errno.h-data: Likewise.
12692 * conform/data/fcntl.h-data: Likewise.
12693 * conform/data/float.h-data: Likewise.
12694 * conform/data/fmtmsg.h-data: Likewise.
12695 * conform/data/fnmatch.h-data: Likewise.
12696 * conform/data/ftw.h-data: Likewise.
12697 * conform/data/glob.h-data: Likewise.
12698 * conform/data/grp.h-data: Likewise.
12699 * conform/data/iconv.h-data: Likewise.
12700 * conform/data/inttypes.h-data: Likewise.
12701 * conform/data/langinfo.h-data: Likewise.
12702 * conform/data/libgen.h-data: Likewise.
12703 * conform/data/limits.h-data: Likewise.
12704 * conform/data/locale.h-data: Likewise.
12705 * conform/data/math.h-data: Likewise.
12706 * conform/data/monetary.h-data: Likewise.
12707 * conform/data/mqueue.h-data: Likewise.
12708 * conform/data/ndbm.h-data: Likewise.
12709 * conform/data/net/if.h-data: Likewise.
12710 * conform/data/netdb.h-data: Likewise.
12711 * conform/data/netinet/in.h-data: Likewise.
12712 * conform/data/nl_types.h-data: Likewise.
12713 * conform/data/poll.h-data: Likewise.
12714 * conform/data/pthread.h-data: Likewise.
12715 * conform/data/pwd.h-data: Likewise.
12716 * conform/data/regex.h-data: Likewise.
12717 * conform/data/sched.h-data: Likewise.
12718 * conform/data/search.h-data: Likewise.
12719 * conform/data/semaphore.h-data: Likewise.
12720 * conform/data/setjmp.h-data: Likewise.
12721 * conform/data/signal.h-data: Likewise.
12722 * conform/data/spawn.h-data: Likewise.
12723 * conform/data/stdarg.h-data: Likewise.
12724 * conform/data/stdio.h-data: Likewise.
12725 * conform/data/stdlib.h-data: Likewise.
12726 * conform/data/string.h-data: Likewise.
12727 * conform/data/strings.h-data: Likewise.
12728 * conform/data/stropts.h-data: Likewise.
12729 * conform/data/sys/ipc.h-data: Likewise.
12730 * conform/data/sys/mman.h-data: Likewise.
12731 * conform/data/sys/msg.h-data: Likewise.
12732 * conform/data/sys/resource.h-data: Likewise.
12733 * conform/data/sys/select.h-data: Likewise.
12734 * conform/data/sys/sem.h-data: Likewise.
12735 * conform/data/sys/shm.h-data: Likewise.
12736 * conform/data/sys/socket.h-data: Likewise.
12737 * conform/data/sys/stat.h-data: Likewise.
12738 * conform/data/sys/statvfs.h-data: Likewise.
12739 * conform/data/sys/time.h-data: Likewise.
12740 * conform/data/sys/timeb.h-data: Likewise.
12741 * conform/data/sys/times.h-data: Likewise.
12742 * conform/data/sys/types.h-data: Likewise.
12743 * conform/data/sys/uio.h-data: Likewise.
12744 * conform/data/sys/un.h-data: Likewise.
12745 * conform/data/sys/utsname.h-data: Likewise.
12746 * conform/data/sys/wait.h-data: Likewise.
12747 * conform/data/syslog.h-data: Likewise.
12748 * conform/data/tar.h-data: Likewise.
12749 * conform/data/termios.h-data: Likewise.
12750 * conform/data/utime.h-data: Likewise.
12751 * conform/data/utmpx.h-data: Likewise.
12752 * conform/data/varargs.h-data: Likewise.
12753 * conform/data/wchar.h-data: Likewise.
12754 * conform/data/wctype.h-data: Likewise.
12755 * conform/data/wordexp.h-data: Likewise.
12757 * include/stropts.h: New file.
12758 * include/uchar.h: New file.
12759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12760 * include/assert.h: Likewise.
12761 * include/ctype.h: Likewise.
12762 * include/dirent.h: Likewise.
12763 * include/dlfcn.h: Likewise.
12764 * include/fcntl.h: Likewise.
12765 * include/fnmatch.h: Likewise.
12766 * include/glob.h: Likewise.
12767 * include/grp.h: Likewise.
12768 * include/libio.h: Likewise.
12769 * include/locale.h: Likewise.
12770 * include/math.h: Likewise.
12771 * include/net/if.h: Likewise.
12772 * include/netdb.h: Likewise.
12773 * include/netinet/in.h: Likewise.
12774 * include/pthread.h: Likewise.
12775 * include/pwd.h: Likewise.
12776 * include/regex.h: Likewise.
12777 * include/sched.h: Likewise.
12778 * include/search.h: Likewise.
12779 * include/setjmp.h: Likewise.
12780 * include/signal.h: Likewise.
12781 * include/stdio.h: Likewise.
12782 * include/stdlib.h: Likewise.
12783 * include/string.h: Likewise.
12784 * include/sys/cdefs.h: Likewise.
12785 * include/sys/mman.h: Likewise.
12786 * include/sys/msg.h: Likewise.
12787 * include/sys/resource.h: Likewise.
12788 * include/sys/select.h: Likewise.
12789 * include/sys/socket.h: Likewise.
12790 * include/sys/stat.h: Likewise.
12791 * include/sys/statvfs.h: Likewise.
12792 * include/sys/time.h: Likewise.
12793 * include/sys/times.h: Likewise.
12794 * include/sys/uio.h: Likewise.
12795 * include/sys/utsname.h: Likewise.
12796 * include/sys/wait.h: Likewise.
12797 * include/termios.h: Likewise.
12798 * include/time.h: Likewise.
12799 * include/ulimit.h: Likewise.
12800 * include/unistd.h: Likewise.
12801 * include/utime.h: Likewise.
12802 * include/wchar.h: Likewise.
12803 * include/wctype.h: Likewise.
12804 * include/wordexp.h: Likewise.
12806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12808 * time/time.h: TIME_UTC must be a macro.
12809 Make timespec_get available for ISO C11 only as well.
12811 2012-02-24 Ulrich Drepper <drepper@gmail.com>
12813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12818 * configure.in: Use -o not -a in test for unsupported multi-arch.
12820 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12822 * manual/texinfo.tex: Update to version 2012-01-19.16.
12824 2012-02-24 Joseph Myers <joseph@codesourcery.com>
12826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12828 2012-02-24 Roland McGrath <roland@hack.frob.com>
12831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12832 * manual/fdl-1.3.texi: New file.
12833 * manual/fdl-1.1.texi: File removed.
12836 * manual/libc.texinfo (FDL_VERSION): New @set.
12837 Use it for mention of FDL in cover text.
12838 (Documentation License): Use it in @include file name.
12840 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12841 Roland McGrath <roland@hack.frob.com>
12844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12845 not LONG_LONG_MAX and LONG_LONG_MIN.
12846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12856 manipulate bits before adding and subtracting TWO23[sx].
12857 * math/libm-test.inc (nearbyint_test): Add more tests.
12859 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12863 bits before adding and subtracting TWO23[sx].
12864 * math/libm-test.inc (rint_test): Add more tests.
12865 (rint_test_tonearest): Likewise.
12866 (rint_test_towardzero): Likewise.
12867 (rint_test_downward): Likewise.
12868 (rint_test_upward: Likewise.
12870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12873 * include/stdc-predef.h: New file. Extracted from features.h.
12874 * include/features.h: Include stdc-predef.h.
12875 * Makefile (headers): Add stdc-predef.h.
12876 * CONFORMANCE (Compiler limitations): Update.
12878 2012-02-22 Joseph Myers <joseph@codesourcery.com>
12880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12882 2012-02-21 David S. Miller <davem@davemloft.net>
12884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12887 2012-02-20 David S. Miller <davem@davemloft.net>
12889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12890 using a normal save/restore sequence, rather than allocating a
12891 dummy stack frame just to store a frame pointer and restore.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12896 * manual/install.texi: Fix stray word in line-wrapped comment.
12898 2012-02-20 David S. Miller <davem@davemloft.net>
12900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12901 both binutils and gcc support GOTDATA.
12903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12904 "rd %pc" in the PIC register setup sequences.
12906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12915 (SYSCALL_ERROR_HANDLER): Likewise.
12916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12919 (SYSCALL_ERROR_HANDLER): Likewise.
12921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12922 (HAVE_GCC_GOTDATA): New.
12923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12924 relocation support in both binutils and gcc.
12925 * sysdeps/sparc/elf/configure: Regenerate.
12927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12928 * sysdeps/sparc/sparc32/elf/configure: Delete.
12929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12930 * sysdeps/sparc/sparc64/elf/configure: Delete.
12931 * sysdeps/sparc/elf/configure.in: New file.
12932 * sysdeps/sparc/elf/configure: Generate.
12934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12942 * manual/install.texi: Do not mention specific glibc version
12944 * manual/libc.texinfo (VERSION, UPDATED): Update.
12945 (@copying): Use @copyright{} and range of years.
12947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
12950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12951 [crti.S not in sysdirs] (generated): Do not append.
12952 [crti.S not in sysdirs] (omit-deps): Likewise.
12953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12962 * csu/defs.awk: Remove file.
12963 * sysdeps/generic/initfini.c: Likewise.
12964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12979 (__EPOLL_PACKED): Define to empty if not defined by
12981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12985 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12996 2012-02-20 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13010 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13020 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13022 * math/w_acos.c: Use non-signaling floating-point comparisons.
13023 * math/w_acosf.c: Likewise.
13024 * math/w_acosh.c: Likewise.
13025 * math/w_acoshf.c: Likewise.
13026 * math/w_acoshl.c: Likewise.
13027 * math/w_acosl.c: Likewise.
13028 * math/w_asin.c: Likewise.
13029 * math/w_asinf.c: Likewise.
13030 * math/w_asinl.c: Likewise.
13031 * math/w_atanh.c: Likewise.
13032 * math/w_atanhf.c: Likewise.
13033 * math/w_atanhl.c: Likewise.
13034 * math/w_exp2.c: Likewise.
13035 * math/w_exp2f.c: Likewise.
13036 * math/w_exp2l.c: Likewise.
13037 * math/w_j0.c: Likewise.
13038 * math/w_j0f.c: Likewise.
13039 * math/w_j0l.c: Likewise.
13040 * math/w_j1.c: Likewise.
13041 * math/w_j1f.c: Likewise.
13042 * math/w_j1l.c: Likewise.
13043 * math/w_jn.c: Likewise.
13044 * math/w_jnf.c: Likewise.
13045 * math/w_log.c: Likewise.
13046 * math/w_log10.c: Likewise.
13047 * math/w_log10f.c: Likewise.
13048 * math/w_log10l.c: Likewise.
13049 * math/w_log2.c: Likewise.
13050 * math/w_log2f.c: Likewise.
13051 * math/w_log2l.c: Likewise.
13052 * math/w_logf.c: Likewise.
13053 * math/w_logl.c: Likewise.
13054 * math/w_sqrt.c: Likewise.
13055 * math/w_sqrtf.c: Likewise.
13056 * math/w_sqrtl.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13063 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13066 * manual/string.texi (strnlen): Use correct parameter name in
13067 equivalent expression.
13069 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13072 * manual/users.texi (seteuid): Consistently use neweuid for
13075 2012-02-19 Joseph Myers <joseph@codesourcery.com>
13078 * manual/nss.texi (Services in the NSS configuration): Correct
13079 list of services in example configuration file.
13081 2012-02-19 Nick Bowler <nbowler@draconx.ca>
13084 * manual/arith.texi: Remove statements about negative zero
13085 behaving identically to zero.
13087 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13090 * manual/install.texi: Do not document upgrading from libc5.
13092 2012-02-18 Joseph Myers <joseph@codesourcery.com>
13095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13097 2012-02-18 David S. Miller <davem@davemloft.net>
13099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13101 %o7 across the call.
13102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13105 SETUP_PIC_REG_LEAF.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13108 * sysdeps/sparc/crtn.S: Likewise.
13110 2012-02-17 Ulrich Drepper <drepper@gmail.com>
13112 * aout/Makefile: Remove.
13114 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13117 * manual/examples/argp-ex1.c (main): Format definition in GNU
13119 * manual/examples/argp-ex2.c (main): Likewise.
13120 * manual/examples/argp-ex3.c (main): Likewise.
13121 * manual/examples/argp-ex4.c (main): Likewise.
13122 * manual/examples/longopt.c (main): Use new-style prototype
13124 * manual/examples/strncat.c (main): Specify return type and use
13125 (void) for arguments.
13126 * manual/examples/subopt.c (main): Use char **argv argument.
13128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13134 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13137 * manual/string.texi (strchr): Change when strchrnul is
13140 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13143 * manual/locale.texi (setlocale): Document LOCPATH.
13145 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13148 * manual/process.texi (execle): Move @dots{} before last argument.
13150 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
13153 * manual/charset.texi (Generic Charset Conversion): Fix typo
13154 (LC_TYPE -> LC_CTYPE).
13156 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13160 (scalbnf): Likewise.
13161 (scalbnl): Likewise.
13162 (scalbln): Likewise.
13163 (scalblnf): Likewise.
13164 (scalblnl): Likewise.
13165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13166 (vwarnx): Likewise.
13169 * manual/filesys.texi (telldir): Use braces around return type.
13170 * manual/llio.texi (mmap): Add space after comma.
13171 (mmap64): Likewise.
13172 * manual/math.texi (jn): Use @var{} on parameter names.
13178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13183 (sched_get_priority_max): Likewise.
13184 * manual/signal.texi (sigvec): Add space after comma.
13185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13187 (if_indextoname): Likewise.
13188 (if_freenameindex): Likewise.
13189 (sendto): Use ',' instead of '.' in prototype.
13190 * manual/startup.texi (syscall): Use @dots{} instead of literal
13192 * manual/stdio.texi (__fpending): Separate initial words of
13193 paragraph from @deftypefun line.
13194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13196 (vsyslog): Use @var{} on parameter names.
13197 * manual/terminal.texi (stty): Use @var{} on parameter names.
13198 * manual/users.texi (getutmp): Use @var{} on parameter names.
13199 (getutmpx): Likewise.
13201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13204 * manual/stdio.texi (fopen): Fix typos in description of
13207 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13211 get clock_id definition.
13213 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
13216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13217 (madvise): Cast every argument to void on its own.
13219 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13222 * manual/startup.texi (Exit Status): Fix typo.
13224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
13227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13228 * manual/examples/argp-ex2.c: Likewise.
13229 * manual/examples/argp-ex3.c: Likewise.
13231 2012-02-16 Richard Henderson <rth@redhat.com>
13233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13234 * sysdeps/s390/s390-32/initfini.c: Remove.
13235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13236 * sysdeps/s390/s390-64/initfini.c: Remove.
13238 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13241 compiler output for sysdeps/generic/initfini.c.
13242 * sysdeps/sh/elf/initfini.c: Remove file.
13244 2012-02-16 David S. Miller <davem@davemloft.net>
13247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13250 * sysdeps/sparc/crti.S: New file.
13251 * sysdeps/sparc/crtn.S: New file.
13252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13253 * sysdeps/sparc/sparc64/Makefile: Likewise.
13255 2012-02-15 Mike Frysinger <vapier@gentoo.org>
13258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13260 2012-02-15 Roland McGrath <roland@hack.frob.com>
13263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13266 (write, read, close): Likewise.
13267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13269 2012-02-15 Joseph Myers <joseph@codesourcery.com>
13271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13280 2012-02-14 Marek Polacek <polacek@redhat.com>
13282 * sysdeps/x86_64/crti.S: New file.
13283 * sysdeps/x86_64/crtn.S: New file.
13284 * sysdeps/x86_64/elf/initfini.c: Remove file.
13286 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13297 2012-02-13 Joseph Myers <joseph@codesourcery.com>
13299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13308 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13311 __feraiseexcept instead of feraiseexcept.
13313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13314 nanosleep invocations.
13315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13316 strings, and add error checking for a nanosleep invocations.
13318 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13320 Replace FSF snail mail address with URLs, as per GNU coding standards.
13321 Most of the snail mail addresses were wrong anyway, and omitting
13322 them makes the source code easier to maintain. Almost all of the
13323 changes are to license notices and to locale LC_IDENTIFICATION
13324 addresses, except for this one:
13325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13326 not its snail mail address.
13328 2012-02-09 Richard Henderson <rth@twiddle.net>
13330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13331 of kernel-features.h.
13333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13335 2012-02-08 Marek Polacek <polacek@redhat.com>
13337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13339 * sysdeps/gnu/_G_config.h: Likewise.
13340 * sysdeps/generic/_G_config.h: Likewise.
13342 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348 * sysdeps/powerpc/powerpc32/crti.S: New file.
13349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13350 * sysdeps/powerpc/powerpc64/crti.S: New file.
13351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13353 * Makeconfig (have-initfini): Don't set.
13354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13355 * configure.in (nopic_initfini): Don't substitute.
13356 * config.h.in (HAVE_INITFINI): Don't #undef.
13357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13360 2012-02-08 Joseph Myers <joseph@codesourcery.com>
13362 Support crti.S and crtn.S provided directly by architectures.
13363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13364 [crti.S in sysdirs] (omit-deps): Likewise.
13365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13374 compiler output for sysdeps/generic/initfini.c.
13375 * sysdeps/i386/elf/Makefile: Remove file.
13376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13378 2012-02-07 Marek Polacek <polacek@redhat.com>
13380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13381 * sysdeps/gnu/_G_config.h: Likewise.
13382 * sysdeps/mach/hurd/_G_config.h: Likewise.
13384 2012-02-07 Marek Polacek <polacek@redhat.com>
13386 * math/Makefile (tests): Add tst-CMPLX2.
13387 * math/tst-CMPLX2.c: New file.
13389 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13393 * math/libm-test.inc (jn_test): Add missing L suffix.
13395 2012-02-06 Marek Polacek <polacek@redhat.com>
13397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13398 * sysdeps/i386/fpu/e_powf.S: Likewise.
13399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13402 * sysdeps/i386/fpu/e_pow.S: Likewise.
13403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13407 * sysdeps/i386/fpu/e_log2.S: Likewise.
13408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13410 * sysdeps/i386/fpu/e_powl.S: Likewise.
13411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13414 * sysdeps/i386/fpu/e_logl.S: Likewise.
13415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13421 * sysdeps/i386/fpu/e_log.S: Likewise.
13422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13425 * sysdeps/i386/fpu/e_logf.S: Likewise.
13426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13431 * sysdeps/i386/fpu/e_log10.S: Likewise.
13432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13438 * sysdeps/i386/asm-syntax.h: Likewise.
13439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13448 * sysdeps/powerpc/sysdep.h: Likewise.
13449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13452 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13457 2012-02-06 Joseph Myers <joseph@codesourcery.com>
13459 * sysdeps/i386/sysdep.h: Include <features.h>.
13460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13463 2012-02-05 Joseph Myers <joseph@codesourcery.com>
13465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13473 (SETUP_PIC_REG): Use GET_PC_THUNK.
13474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13480 for non-PIC compilation.
13481 (SETUP_PIC_REG): Add .p2align directive.
13482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13524 2012-02-03 Joseph Myers <joseph@codesourcery.com>
13526 * math/tst-CMPLX.c: Include <stdio.h>.
13528 2012-01-31 Joseph Myers <joseph@codesourcery.com>
13530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13533 * sysdeps/sparc/bits/mathdef.h: Likewise.
13535 2012-01-31 Marek Polacek <polacek@redhat.com>
13537 * libio/libio.h: Don't define _PARAMS.
13538 * locale/programs/config.h: Don't define PARAMS.
13539 * stdlib/strtol_l.c: Likewise.
13540 (__strtol_l): Remove PARAMS from the prototype.
13542 2012-01-31 Ulrich Drepper <drepper@gmail.com>
13544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13545 names. Just use the correct names. Remove unnecessary wrapper
13547 * malloc/arena.c: Likewise.
13548 * malloc/hooks.c: Likewise.
13550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13551 ARENA_TEST says not to. Simplify test for creation of a new arena.
13552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13554 2012-01-30 Ulrich Drepper <drepper@gmail.com>
13556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13558 (update_get_addr): New function.
13559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13560 GET_ADDR_MODULE parameter.
13562 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13564 * crypt/cert.c: Remove __STDC__ conditionals.
13565 * crypt/crypt-entry.c: Likewise.
13566 * crypt/crypt_util.c: Likewise.
13567 * libio/filedoalloc.c: Likewise.
13568 * libio/fileops.c: Likewise.
13569 * libio/genops.c: Likewise.
13570 * libio/iofclose.c: Likewise.
13571 * libio/iofdopen.c: Likewise.
13572 * libio/iofopen.c: Likewise.
13573 * libio/iofopen64.c: Likewise.
13574 * libio/iogetdelim.c: Likewise.
13575 * libio/iopopen.c: Likewise.
13576 * libio/obprintf.c: Likewise.
13577 * libio/oldfileops.c: Likewise.
13578 * libio/oldiofclose.c: Likewise.
13579 * libio/oldiofdopen.c: Likewise.
13580 * libio/oldiofopen.c: Likewise.
13581 * libio/oldiopopen.c: Likewise.
13582 * libio/wfiledoalloc.c: Likewise.
13583 * libio/wgenops.c: Likewise.
13584 * locale/programs/xmalloc.c: Likewise.
13585 * misc/syslog.c: Likewise.
13586 * stdio-common/xbug.c: Likewise.
13587 * string/memchr.c: Likewise.
13588 * string/memcmp.c: Likewise.
13589 * string/memrchr.c: Likewise.
13590 * string/rawmemchr.c: Likewise.
13591 * sysdeps/posix/getcwd.c: Likewise.
13592 * time/strftime_l.c: Likewise.
13594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
13596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
13597 * config.make.in (config-cflags-sse2avx): Define.
13598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13601 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13603 * scripts/config.guess: Update from upstream config git repository.
13604 * scripts/config.sub: Likewise.
13606 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13610 (R_TILEPRO_*, R_TILEGX_*): New macros.
13612 * scripts/firstversions.awk: Fix bug in version range handling.
13614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13618 * include/sys/epoll.h: New file.
13619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13622 2012-01-28 Ulrich Drepper <drepper@gmail.com>
13624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13625 Avoid unnecessary __WORDSIZE == 64 test.
13626 (fmaxf): Use VEX format if possible.
13631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13632 * math/math_private.h: Remove libc_fegetround* and
13634 * sysdeps/i386/configure.in: Check for -msse2avx.
13635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13636 also if SSE2AVX is defined.
13637 Remove libc_fegetround* and libc_fesetround*.
13638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13650 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13656 2012-01-27 Ulrich Drepper <drepper@gmail.com>
13659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13661 * Makeconfig (libm): Define.
13662 * elf/Makefile: Add rules to build and run tst-relsort1.
13663 * elf/tst-relsort1.c: New file.
13664 * elf/tst-relsort1mod1.c: New file.
13665 * elf/tst-relsort1mod2.c: New file.
13667 2012-01-27 Joseph Myers <joseph@codesourcery.com>
13669 * math/s_ldexp.c: Remove __STDC__ conditionals.
13670 * math/s_ldexpf.c: Likewise.
13671 * math/s_ldexpl.c: Likewise.
13672 * math/s_nextafter.c: Likewise.
13673 * math/s_nexttowardf.c: Likewise.
13674 * math/s_significand.c: Likewise.
13675 * math/s_significandf.c: Likewise.
13676 * math/s_significandl.c: Likewise.
13677 * math/w_jnl.c: Likewise.
13678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13718 * sysdeps/ieee754/k_standard.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13798 * sysdeps/ieee754/s_matherr.c: Likewise.
13799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13804 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13806 * crypt/md5.h: Remove __STDC__ conditionals.
13807 * libio/libioP.h: Likewise.
13808 * locale/programs/config.h: Likewise.
13809 * sysdeps/generic/sysdep.h: Likewise.
13810 * sysdeps/i386/asm-syntax.h: Likewise.
13811 * sysdeps/s390/asm-syntax.h: Likewise.
13812 * sysdeps/unix/sysdep.h: Likewise.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13816 2012-01-26 Joseph Myers <joseph@codesourcery.com>
13818 * libio/libio.h: Remove __STDC__ conditionals.
13819 * malloc/obstack.h: Likewise.
13820 * math/complex.h: Likewise.
13821 * math/math.h: Likewise.
13822 * sysdeps/generic/_G_config.h: Likewise.
13823 * sysdeps/gnu/_G_config.h: Likewise.
13824 * sysdeps/mach/hurd/_G_config.h: Likewise.
13825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13827 * sysdeps/sparc/bits/mathdef.h: Likewise.
13829 2012-01-26 Ulrich Drepper <drepper@gmail.com>
13832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
13833 Clean up HAS_* macros.
13834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
13835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13845 2012-01-25 Joseph Myers <joseph@codesourcery.com>
13847 * elf/tst-unique3.cc (gets): Remove declaration.
13848 * elf/tst-unique3lib.cc (gets): Likewise.
13849 * elf/tst-unique3lib2.cc (gets): Likewise.
13850 * elf/tst-unique4.cc (gets): Likewise.
13852 2012-01-24 Ulrich Drepper <drepper@gmail.com>
13854 * include/stdio.h: Add C++ protection. Add gets declarations and
13856 * debug/tst-chk1.c: Don't declare gets here.
13857 * stdio-common/tst-gets.c: Likewise.
13859 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13861 * posix/glob: Remove directory.
13863 2012-01-24 Joseph Myers <joseph@codesourcery.com>
13865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13867 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13870 of the non-standard EPFNOSUPPORT.
13872 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13878 2012-01-21 Ulrich Drepper <drepper@gmail.com>
13880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13882 2012-01-20 Ulrich Drepper <drepper@gmail.com>
13884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13886 * nscd/grpcache.c (cache_addgr): Likewise.
13887 * nscd/hstcache.c (cache_addhst): Likewise.
13888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13889 * nscd/pwdcache.c (cache_addpw): Likewise.
13890 * nscd/servicescache.c (cache_addserv): Likewise.
13892 2012-01-16 Ulrich Drepper <drepper@gmail.com>
13894 * malloc/malloc.c: Various cleanups.
13895 * malloc/hooks.c: Likewise.
13897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13898 * stdlib/bug-fmtmsg1.c: New file.
13900 * stdlib/fmtmsg.c (init): Add missing unlock.
13901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13903 2012-01-12 Marek Polacek <polacek@redhat.com>
13905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13908 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13912 macro to ensure uniqueness of label name.
13913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13916 2012-01-11 Ulrich Drepper <drepper@gmail.com>
13918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13925 2012-01-10 Ulrich Drepper <drepper@gmail.com>
13927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
13936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
13940 * math/bits/math-finite.h: Add ldexp support.
13942 2012-01-10 Marek Polacek <polacek@redhat.com>
13944 * locale/programs/localedef.h (show_archive_content): Add noreturn
13947 2012-01-09 Ulrich Drepper <drepper@gmail.com>
13949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13955 * io/Makefile (headers): Add bits/poll2.h.
13957 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13960 typo #include statement.
13962 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13964 * include/sys/cdefs.h: Define __attribute_alloc_size.
13965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13967 * elf/pldd.c: Likewise.
13968 * iconv/iconv_charmap.c: Likewise.
13969 * iconv/iconvconfig.c: Likewise.
13970 * iconv/strtab.c: Likewise.
13971 * locale/programs/locale.c: Likewise.
13972 * locale/programs/localedef.h: Likewise.
13973 * locale/programs/simple-hash.c: Likewise.
13974 * nscd/nscd.h: Likewise.
13975 * nss/makedb.c: Likewise.
13976 * sysdeps/generic/ldconfig.h: Likewise.
13977 * locale/programs/localedef.c: Remove xmalloc prototype.
13978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13980 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
13987 * math/Makefile (tests): Add tst-CMPLX.
13988 * math/tst-CMPLX.c: New file.
13990 * math/complex.h (CMPLXL): Fix typo.
13992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13995 * debug/tst-chk1.c: Add poll and ppoll tests.
13996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13997 * include/sys/poll.h: Add hidden proto for ppoll.
13998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13999 * sysdeps/mach/hurd/ppoll.c: Likewise.
14000 * io/ppoll.c: Likewise.
14001 * debug/poll_chk.c: New file.
14002 * debug/ppoll_chk.c: New file.
14003 * include/bits/poll2.h: New file.
14004 * io/bits/poll2.h: New file.
14007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14009 * configure.in: static is always set to yes. Remove.
14010 * config.make.in: Don't set build-static.
14011 * Makeconfig: Remove use of build-static.
14012 * dlfcn/Makefile: Likewise.
14013 * elf/Makefile: Likewise.
14014 * math/Makefile: Likewise.
14015 * misc/Makefile: Likewise.
14016 * nptl/Makefile: Likewise.
14017 * sysdeps/mach/hurd/Makefile: Likewise.
14019 * configure.in: PWD_P is not used anymore.
14020 * config.make.in: Remove PWD_P entry.
14022 * configure.in: Remove last remnants of RANLIB.
14023 No need to check for signed size_t anymore.
14024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14026 Remove __builtin_expect test because we require at least gcc 3.4.
14027 * aclocal.m4: Likewise.
14029 * wcsmbs/mbrtoc16.c: Implement using towc function.
14030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14031 * wcsmbs/wcsmbsload.c: Likewise.
14032 * iconv/gconv_simple.c: Likewise.
14033 * iconv/gconv_int.h: Likewise.
14034 * iconv/gconv_builtin.h: Likewise.
14035 * iconv/iconv_prog.c: Remove CHAR16 handling.
14037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14041 * configure.in: Remove --with-elf and --enable-bounded options.
14042 Dont set base_machine for ia64. More non-ELF conditions removed.
14043 Remove testing and setting of leading underscore information.
14044 * config.make.in (build-bounded): Set to no.
14045 * config.h.in: Remove NO_UNDERSCORES entry.
14046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14048 * csu/start.c: Remove !NO_UNDERSCORE code.
14049 * locale/localeinfo.h: Likewise.
14050 * sysdeps/generic/machine-gmon.h: Likewise.
14051 * sysdeps/generic/sysdep.h: Likewise.
14052 * sysdeps/i386/sysdep.h: Likewise.
14053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14054 * sysdeps/mach/sysdep.h: Likewise.
14055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14057 * sysdeps/sh/sysdep.h: Likewise.
14058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14059 * sysdeps/unix/i386/sysdep.S: Likewise.
14060 * sysdeps/unix/sparc/start.c: Likewise.
14061 * sysdeps/unix/sparc/sysdep.S: Likewise.
14062 * sysdeps/unix/sparc/sysdep.h: Likewise.
14063 * sysdeps/unix/start.c: Likewise.
14064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14065 * sysdeps/x86_64/sysdep.h: Likewise.
14067 2012-01-07 Ulrich Drepper <drepper@gmail.com>
14070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14072 * argp/argp-fmtstream.h: Use const instead __const.
14073 * argp/argp.h: Likewise.
14074 * assert/assert.h: Likewise.
14075 * bits/fenv.h: Likewise.
14076 * bits/sched.h: Likewise.
14077 * bits/sigset.h: Likewise.
14078 * bits/sigthread.h: Likewise.
14079 * catgets/nl_types.h: Likewise.
14080 * conform/data/pthread.h-data: Likewise.
14081 * crypt/crypt-private.h: Likewise.
14082 * crypt/crypt.h: Likewise.
14083 * crypt/crypt_util.c: Likewise.
14084 * ctype/ctype.h: Likewise.
14085 * debug/execinfo.h: Likewise.
14086 * debug/mbsnrtowcs_chk.c: Likewise.
14087 * debug/mbsrtowcs_chk.c: Likewise.
14088 * debug/wcsnrtombs_chk.c: Likewise.
14089 * debug/wcsrtombs_chk.c: Likewise.
14090 * debug/wcstombs_chk.c: Likewise.
14091 * dirent/dirent.h: Likewise.
14092 * dlfcn/dlfcn.h: Likewise.
14093 * elf/neededtest4.c: Likewise.
14094 * grp/grp.h: Likewise.
14095 * gshadow/gshadow.h: Likewise.
14096 * iconv/gconv.h: Likewise.
14097 * iconv/gconv_int.h: Likewise.
14098 * iconv/gconv_simple.c: Likewise.
14099 * iconv/iconv.h: Likewise.
14100 * iconv/loop.c: Likewise.
14101 * iconv/skeleton.c: Likewise.
14102 * include/aio.h: Likewise.
14103 * include/aliases.h: Likewise.
14104 * include/argz.h: Likewise.
14105 * include/arpa/inet.h: Likewise.
14106 * include/assert.h: Likewise.
14107 * include/dirent.h: Likewise.
14108 * include/dlfcn.h: Likewise.
14109 * include/execinfo.h: Likewise.
14110 * include/fcntl.h: Likewise.
14111 * include/fenv.h: Likewise.
14112 * include/glob.h: Likewise.
14113 * include/grp.h: Likewise.
14114 * include/libintl.h: Likewise.
14115 * include/mntent.h: Likewise.
14116 * include/netdb.h: Likewise.
14117 * include/pwd.h: Likewise.
14118 * include/rpc/netdb.h: Likewise.
14119 * include/sched.h: Likewise.
14120 * include/search.h: Likewise.
14121 * include/shadow.h: Likewise.
14122 * include/signal.h: Likewise.
14123 * include/stdio.h: Likewise.
14124 * include/stdlib.h: Likewise.
14125 * include/string.h: Likewise.
14126 * include/sys/socket.h: Likewise.
14127 * include/sys/stat.h: Likewise.
14128 * include/sys/statfs.h: Likewise.
14129 * include/sys/statvfs.h: Likewise.
14130 * include/sys/syslog.h: Likewise.
14131 * include/sys/time.h: Likewise.
14132 * include/sys/uio.h: Likewise.
14133 * include/time.h: Likewise.
14134 * include/unistd.h: Likewise.
14135 * include/utmp.h: Likewise.
14136 * include/wchar.h: Likewise.
14137 * include/wctype.h: Likewise.
14138 * inet/aliases.h: Likewise.
14139 * inet/arpa/inet.h: Likewise.
14140 * inet/netinet/ether.h: Likewise.
14141 * inet/netinet/in.h: Likewise.
14142 * intl/libintl.h: Likewise.
14143 * io/bits/fcntl2.h: Likewise.
14144 * io/fcntl.h: Likewise.
14145 * io/ftw.h: Likewise.
14146 * io/sys/poll.h: Likewise.
14147 * io/sys/stat.h: Likewise.
14148 * io/sys/statfs.h: Likewise.
14149 * io/sys/statvfs.h: Likewise.
14150 * io/utime.h: Likewise.
14151 * libio/bits/stdio.h: Likewise.
14152 * libio/bits/stdio2.h: Likewise.
14153 * libio/libio.h: Likewise.
14154 * libio/libioP.h: Likewise.
14155 * libio/stdio.h: Likewise.
14156 * locale/lc-ctype.c: Likewise.
14157 * locale/locale.h: Likewise.
14158 * login/utmp.h: Likewise.
14159 * malloc/arena.c: Likewise.
14160 * malloc/malloc.c: Likewise.
14161 * malloc/malloc.h: Likewise.
14162 * malloc/mcheck.c: Likewise.
14163 * malloc/mtrace.c: Likewise.
14164 * math/bits/mathcalls.h: Likewise.
14165 * math/fenv.h: Likewise.
14166 * math/math_private.h: Likewise.
14167 * misc/bits/error.h: Likewise.
14168 * misc/bits/syslog.h: Likewise.
14169 * misc/err.h: Likewise.
14170 * misc/error.h: Likewise.
14171 * misc/fstab.h: Likewise.
14172 * misc/mntent.h: Likewise.
14173 * misc/regexp.h: Likewise.
14174 * misc/search.h: Likewise.
14175 * misc/sgtty.h: Likewise.
14176 * misc/sys/mman.h: Likewise.
14177 * misc/sys/syslog.h: Likewise.
14178 * misc/sys/uio.h: Likewise.
14179 * misc/sys/xattr.h: Likewise.
14180 * misc/ttyent.h: Likewise.
14181 * nis/rpcsvc/ypclnt.h: Likewise.
14182 * nss/nss.h: Likewise.
14183 * posix/bits/unistd.h: Likewise.
14184 * posix/fnmatch.h: Likewise.
14185 * posix/glob.h: Likewise.
14186 * posix/sched.h: Likewise.
14187 * posix/spawn.h: Likewise.
14188 * posix/sys/wait.h: Likewise.
14189 * posix/unistd.h: Likewise.
14190 * posix/wordexp.h: Likewise.
14191 * pwd/pwd.h: Likewise.
14192 * resolv/netdb.h: Likewise.
14193 * resource/sys/resource.h: Likewise.
14194 * rt/aio.h: Likewise.
14195 * rt/bits/mqueue2.h: Likewise.
14196 * rt/mqueue.h: Likewise.
14197 * shadow/shadow.h: Likewise.
14198 * signal/signal.h: Likewise.
14199 * socket/send.c: Likewise.
14200 * socket/sendto.c: Likewise.
14201 * socket/sys/socket.h: Likewise.
14202 * stdio-common/printf.h: Likewise.
14203 * stdlib/bits/stdlib.h: Likewise.
14204 * stdlib/fmtmsg.h: Likewise.
14205 * stdlib/monetary.h: Likewise.
14206 * stdlib/stdlib.h: Likewise.
14207 * stdlib/ucontext.h: Likewise.
14208 * streams/stropts.h: Likewise.
14209 * string/argz.h: Likewise.
14210 * string/bits/string2.h: Likewise.
14211 * string/string.h: Likewise.
14212 * string/strings.h: Likewise.
14213 * sunrpc/rpc/auth.h: Likewise.
14214 * sunrpc/rpc/auth_des.h: Likewise.
14215 * sunrpc/rpc/clnt.h: Likewise.
14216 * sunrpc/rpc/netdb.h: Likewise.
14217 * sunrpc/rpc/pmap_clnt.h: Likewise.
14218 * sunrpc/rpc/xdr.h: Likewise.
14219 * sysdeps/generic/inttypes.h: Likewise.
14220 * sysdeps/generic/net/if.h: Likewise.
14221 * sysdeps/generic/sys/swap.h: Likewise.
14222 * sysdeps/gnu/net/if.h: Likewise.
14223 * sysdeps/gnu/utmpx.h: Likewise.
14224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14225 * sysdeps/i386/i486/bits/string.h: Likewise.
14226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14227 * sysdeps/s390/bits/string.h: Likewise.
14228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14259 * sysvipc/sys/ipc.h: Likewise.
14260 * sysvipc/sys/msg.h: Likewise.
14261 * sysvipc/sys/sem.h: Likewise.
14262 * sysvipc/sys/shm.h: Likewise.
14263 * termios/termios.h: Likewise.
14264 * time/sys/time.h: Likewise.
14265 * time/time.h: Likewise.
14266 * wcsmbs/bits/wchar2.h: Likewise.
14267 * wcsmbs/uchar.h: Likewise.
14268 * wcsmbs/wchar.h: Likewise.
14269 * wctype/wctype.h: Likewise.
14272 * Makeconfig: Remove all but ELF support including AIX support.
14273 * Makerules: Likewise.
14274 * config.h.in: Likewise.
14275 * config.make.in: Likewise.
14276 * configure: Likewise.
14277 * configure.in: Likewise.
14278 * csu/Makefile: Likewise.
14279 * csu/version.c: Likewise.
14280 * debug/Makefile: Likewise.
14281 * dlfcn/Makefile: Likewise.
14282 * elf/Makefile: Likewise.
14283 * extra-lib.mk: Likewise.
14284 * iconv/Makefile: Likewise.
14285 * include/libc-symbols.h: Likewise.
14286 * include/shlib-compat.h: Likewise.
14287 * resolv/Makefile: Likewise.
14288 * resolv/res_libc.c: Likewise.
14289 * rt/Makefile: Likewise.
14290 * sysdeps/i386/asm-syntax.h: Likewise.
14291 * sysdeps/i386/sysdep.h: Likewise.
14292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14293 * sysdeps/mach/sysdep.h: Likewise.
14294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14296 * sysdeps/s390/asm-syntax.h: Likewise.
14297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14299 * sysdeps/sh/sysdep.h: Likewise.
14300 * sysdeps/unix/sparc/sysdep.h: Likewise.
14301 * sysdeps/wordsize-32/divdi3.c: Likewise.
14302 * sysdeps/x86_64/sysdep.h: Likewise.
14304 * argp/Versions: Remove _argp_unlock_xxx.
14307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14308 * abilist/libBrokenLocale.abilist: Likewise.
14309 * abilist/libanl.abilist: Likewise.
14310 * abilist/libc.abilist: Likewise.
14311 * abilist/libcrypt.abilist: Likewise.
14312 * abilist/libdl.abilist: Likewise.
14313 * abilist/libm.abilist: Likewise.
14314 * abilist/libnsl.abilist: Likewise.
14315 * abilist/libpthread.abilist: Likewise.
14316 * abilist/libresolv.abilist: Likewise.
14317 * abilist/librt.abilist: Likewise.
14318 * abilist/libthread_db.abilist: Likewise.
14319 * abilist/libutil.abilist: Likewise.
14320 * abilist/libnss_db.abilist: New file.
14322 * scripts/abilist.awk: Add support for indirect functions.
14324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14328 * shlib-versions: Remove entries for ports architectures.
14330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14332 * elf/stackguard-macros.h: Remove support for IA-64.
14333 * elf/tst-auditmod1.c: Likewise.
14334 * sysdeps/generic/ldsodefs.h: Likewise.
14336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14341 * configure.in: Remove --enable-omitfp support.
14343 * config.make.in: Likewise.
14344 * Makeconfig: Likewise.
14345 * manual/install.texi: Likewise.
14347 In case anyone cares, the IA-64 architecture could move to ports.
14348 * sysdeps/ia64/*: Removed.
14349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
14350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
14353 * configure.in: Remove entries for unsupported architectures.
14356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14362 fall back to using wcrtomb.
14363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14367 * wcsmbs/tst-c16c32-1.c: New file.
14369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14374 * elf/tst-unique3.cc: Add explicit declaration of gets.
14375 * elf/tst-unique3lib.cc: Likewise.
14376 * elf/tst-unique3lib2.cc: Likewise.
14377 * elf/tst-unique4.cc: Likewise.
14379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14381 2012-01-06 Joseph Myers <joseph@codesourcery.com>
14384 * assert/assert.h (static_assert): Don't define for C++.
14385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14388 2012-01-03 Ulrich Drepper <drepper@gmail.com>
14390 * iconv/loop.c (single loop): Fix assertion in storing of
14393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14395 2012-01-01 Ulrich Drepper <drepper@gmail.com>
14397 * posix/getconf.c: Update copyright year.
14398 * nss/getent.c: Likewise.
14399 * nss/makedb.c: Likewise.
14400 * iconv/iconvconfig.c: Likewise.
14401 * iconv/iconv_prog.c: Likewise.
14402 * elf/ldconfig.c: Likewise.
14403 * elf/pldd.c: Likewise.
14404 * elf/sotruss.ksh: Likewise.
14405 * catgets/gencat.c: Likewise.
14406 * csu/version.c: Likewise.
14407 * elf/ldd.bash.in: Likewise.
14408 * elf/sprof.c (print_version): Likewise.
14409 * locale/programs/locale.c: Likewise.
14410 * locale/programs/localedef.c: Likewise.
14411 * login/programs/pt_chown.c: Likewise.
14412 * nscd/nscd.c (print_version): Likewise.
14413 * debug/xtrace.sh: Likewise.
14414 * malloc/memusage.sh: Likewise.
14415 * malloc/mtrace.pl: Likewise.
14416 * debug/catchsegv.sh: Likewise.
14418 2011-12-30 Jakub Jelinek <jakub@redhat.com>
14420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14423 2011-12-24 Ulrich Drepper <drepper@gmail.com>
14426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14429 * iconv/gconv_int.h: Likewise.
14430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14432 from libc for GLIBC_2.16.
14433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14435 * wcsmbs/uchar.h: Really define mbstate_t.
14436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14437 * wcsmbs/c16rtomb.c: New file.
14438 * wcsmbs/mbrtoc16.c: New file.
14439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14440 for C/POSIX locale.
14441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14444 * wcsmbs/wchar.h: Add missing __restrict.
14446 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14449 * time/Makefile (routines): Add timespec_get.
14450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14452 timespec for ISO C11.
14453 * time/timespec_get.c: New file.
14454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14459 * stdlib/stdlib.h: Declare aligned_alloc.
14460 * Versions.def: Add GLIBC_2.16 for libc.
14461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
14471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14474 * assert/assert.h (static_assert): Define.
14476 * version.h: Update for 2.16 development version.
14479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14482 * version.h (RELEASE): Bump for 2.15 release.
14483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14486 Patch by Marek Polacek <mpolacek@redhat.com>.
14488 * bits/byteswap.h: Protect long long constants with __extension__.
14489 * sysdeps/i386/bits/byteswap.h: Likewise.
14490 * sysdeps/ia64/bits/byteswap.h: Likewise.
14491 * sysdeps/s390/bits/byteswap.h: Likewise.
14492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14494 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14498 destination buffer.
14499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14501 2011-12-23 Marek Polacek <polacek@redhat.com>
14503 * elf/dl-addr.c (determine_info): Add inline keyword.
14504 * elf/tst-auditmod4b.c (check_avx): Likewise.
14505 * elf/tst-auditmod6b.c (check_avx): Likewise.
14506 * elf/tst-auditmod6c.c (check_avx): Likewise.
14507 * elf/tst-auditmod7b.c (check_avx): Likewise.
14509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
14511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14518 processing for last bytes.
14520 2011-08-06 Bruno Haible <bruno@clisp.org>
14523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14524 U+0385, not to U+1FEE.
14527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14528 entry for U+00A5 U+0301.
14530 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14534 buffer for the output is too small.
14536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14541 SSE flags if possible.
14543 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14547 processing for last bytes.
14549 2011-12-22 Joseph Myers <joseph@codesourcery.com>
14551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14552 (syscall-list-default-options, syscall-list-default-condition)
14553 (syscall-list-includes): Define.
14554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14555 list of ABIs and options and #if conditions for each ABI. Do not
14556 handle common syscalls between ABIs specially.
14557 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
14563 (syscall-list-variants, syscall-list-32bit-options)
14564 (syscall-list-32bit-condition, syscall-list-64bit-options)
14565 (syscall-list-64bit-condition): Define.
14566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14568 (syscall-list-variants, syscall-list-32bit-options)
14569 (syscall-list-32bit-condition, syscall-list-64bit-options)
14570 (syscall-list-64bit-condition): Define.
14571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14573 (syscall-list-variants, syscall-list-32bit-options)
14574 (syscall-list-32bit-condition, syscall-list-64bit-options)
14575 (syscall-list-64bit-condition): Define.
14577 2011-12-22 Ulrich Drepper <drepper@gmail.com>
14579 * locale/iso-639.def: Add brx entry.
14582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14586 __feraiseexcept_renamed.
14588 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14592 EPOLLET with unsigned values.
14593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14597 to large cancellation.
14598 * math/s_cacoshf.c: Likewise.
14599 * math/s_cacoshl.c: Likewise.
14601 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14606 * math/s_cacoshf.c: Likewise.
14607 * math/s_cacoshl.c: Likewise.
14609 2011-12-21 Ulrich Drepper <drepper@gmail.com>
14612 * iconv/gconv.h: Define __GCONV_SWAP.
14613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14614 * iconvdata/utf-16.c: Likewise.
14615 * iconvdata/utf-32.c: Likewise.
14617 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14621 numerator after shifting it by one limb.
14623 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14626 under [__USE_EXTERN_INLINES].
14628 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14633 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14642 for strncasecmp/strncasecmp_l compilation.
14643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14646 2011-12-08 Marek Polacek <mpolacek@redhat.com>
14649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14652 2011-12-17 Ulrich Drepper <drepper@gmail.com>
14655 * time/tzfile.c (__tzfile_read): Check values from file header.
14657 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14661 * powerpc/powerpc32/dl-start.S: Likewise.
14662 * powerpc/powerpc32/elf/start.S: Likewise.
14663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14676 * powerpc/powerpc32/memset.S: Likewise.
14677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14691 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693 * math/libm-test.inc: Added more nearbyint tests.
14694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14699 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14704 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14707 Add wcscpy-ssse3 wcscpy-c.
14708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14711 * sysdeps/x86_64/wcschr.S: New file.
14712 * sysdeps/x86_64/wcsrchr.S: New file.
14713 * string/test-strcmp.c: Remove checking of wcscmp function for
14715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14717 wcsrchr-sse2 wcsrchr-c.
14718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14727 * wcsmbc/wcschr.c (WCSCHR): New macro.
14729 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14732 * wcsmbs/test-wcsrchr.c: New file.
14733 * string/test-strrchr.c: Add wcsrchr support.
14735 * wcsmbs/test-wcscpy.c: New file.
14736 * string/test-strcpy.c: Add wcscpy support.
14739 2011-12-10 Ulrich Drepper <drepper@gmail.com>
14741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14744 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14749 2011-12-04 Ulrich Drepper <drepper@gmail.com>
14751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
14752 Minor optimizations.
14754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14758 2011-12-03 Ulrich Drepper <drepper@gmail.com>
14760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14763 for gcc to avoid warnings.
14764 * inet/Makefile (tests): Add tst-checks.
14765 * inet/tst-checks.c: New file.
14767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14778 2011-12-02 Ulrich Drepper <drepper@gmail.com>
14780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14785 2011-11-29 Joseph Myers <joseph@codesourcery.com>
14787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14788 conditional on GCC version.
14789 (__arch_compare_and_exchange_val_8_acq)
14790 (__arch_compare_and_exchange_val_16_acq)
14791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14795 2011-12-02 Joseph Myers <joseph@codesourcery.com>
14797 * sysdeps/sh/backtrace.c: New file.
14799 2011-12-02 Andreas Schwab <schwab@redhat.com>
14801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14804 2011-12-01 Andreas Schwab <schwab@redhat.com>
14806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14807 falling back to utime.
14809 2011-11-30 Andreas Schwab <schwab@redhat.com>
14811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14812 expectations for float.
14814 2011-11-29 Andreas Schwab <schwab@redhat.com>
14816 * locale/weight.h (findidx): Add parameter len.
14817 * locale/weightwc.h (findidx): Likewise.
14818 * posix/fnmatch_loop.c (FCT): Adjust caller.
14819 * posix/regcomp.c (build_equiv_class): Likewise.
14820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14821 * posix/regexec.c (check_node_accept_bytes): Likewise.
14822 * string/strcoll_l.c (STRCOLL): Likewise.
14823 * string/strxfrm_l.c (STRXFRM): Likewise.
14825 2011-11-17 Ulrich Drepper <drepper@gmail.com>
14827 * Makefile.in: Remove CVSOPT handling.
14828 * configure.in: Remove use of AC_REVISION.
14829 * iconvdata/Makefile (distribute): No need to filter out CVS.
14830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14833 2011-11-16 Andreas Schwab <schwab@redhat.com>
14835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14837 [USE_AS_STRNCASECMP_L]: Likewise.
14838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14839 NO_TLS_DIRECT_SEG_REFS.
14840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14841 Fix argument offsets for non-PIC.
14842 [USE_AS_STRNCASECMP_L]: Likewise.
14843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14844 NO_TLS_DIRECT_SEG_REFS.
14846 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
14850 * locale/loadlocale.c (_nl_load_locale): Likewise.
14852 2011-11-15 Andreas Schwab <schwab@redhat.com>
14854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14857 (SYSCALL_GETTIME): Set errno on error.
14859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14860 count references to noai6ai_cached.
14862 2011-11-15 Ulrich Drepper <drepper@gmail.com>
14864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14867 FD_CLOEXEC for /proc/self/maps.
14869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14870 FD_CLOEXEC for /proc/meminfo.
14872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14876 FD_CLOEXEC for given file.
14878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14881 FD_CLOEXEC for /etc/hosts.
14882 (_gethtent): Likewise.
14884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14887 cancellation and set FD_CLOEXEC for /etc/netgroup.
14889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14890 reading /etc/publickey.
14892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14893 allow cancellation when reading /etc/group.
14895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14900 when using data file.
14902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14905 (write_nis_obj): Use "c" and "e" in fopen.
14907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14925 file parsing and set FD_CLOEXEC.
14927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14931 2011-11-14 Andreas Schwab <schwab@redhat.com>
14933 * malloc/arena.c (arena_get2): Don't call reused_arena when
14934 _int_new_arena failed.
14936 2011-11-14 Ulrich Drepper <drepper@gmail.com>
14938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14944 to compile strcasecmp and strncasecmp.
14945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14950 2011-11-13 Ulrich Drepper <drepper@gmail.com>
14952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14953 locale-defines.sym to gen-as-const-headers.
14954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14957 to compile strcasecmp and strncasecmp.
14958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14959 strcasecmp_l and strncasecmp_l.
14960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14972 2011-11-12 Ulrich Drepper <drepper@gmail.com>
14974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14975 result of SYSDEP_GETTIME_CPU to retval.
14976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14977 parameter list to macro. Remove trailing semicolon. Adjust users.
14979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14987 from unused variable.
14989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14997 * sunrpc/rpc_prot.c (rejected): Fix case value.
14999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15000 unsigned long long int to avoid warnings in shift.
15002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15011 * nis/nis_table.c (nis_list): Use variable of correct type for
15012 result of __follow_path call.
15014 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15017 of math functions ceil, trunc, floor, round, and sqrt, when
15018 avaliable on the platform.
15019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15025 2011-10-30 Marek Polacek <mpolacek@redhat.com>
15027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15030 2011-11-11 Roland McGrath <roland@hack.frob.com>
15032 * include/unistd.h: Fix __readlink return type.
15033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15035 2011-11-11 Ulrich Drepper <drepper@gmail.com>
15037 * stdlib/ucontext.h: Undo last change for makecontext.
15039 2011-11-11 Andreas Schwab <schwab@redhat.com>
15041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15044 * setjmp/setjmp.h: Mark functions as non-leaf.
15045 * setjmp/bits/setjmp2.h: Likewise.
15046 * stdlib/ucontext.h: Likewise.
15048 2011-11-10 Andreas Schwab <schwab@redhat.com>
15050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15051 (reused_arena): Don't check arena limit.
15052 (arena_get2): Atomically check arena limit.
15054 2011-11-08 Ulrich Drepper <drepper@gmail.com>
15056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15062 2011-11-07 Andreas Schwab <schwab@redhat.com>
15064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15065 handler when locking.
15067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15068 Fix size of allocated buffer.
15070 2011-11-04 Andreas Schwab <schwab@redhat.com>
15073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15074 declarations for long double functions.
15075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15079 2011-11-03 Andreas Schwab <schwab@redhat.com>
15081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15087 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15091 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15093 * include/alloca.h (stackinfo_alloca_round): Define.
15094 (extend_alloca): Use it.
15095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15099 * scripts/check-local-headers.sh: Ignore libaudit.h.
15101 * nscd/Makefile (extra-objs): Make recursively expanded.
15103 2011-11-01 Ulrich Drepper <drepper@gmail.com>
15105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15109 * posix/tst-rfc3484-2.c: Likewise.
15110 * posix/tst-rfc3484-3.c: Likewise.
15112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15117 process_vm_writev from libc using GLIBC_2.15 version.
15119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15121 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15126 2011-10-31 Ulrich Drepper <drepper@gmail.com>
15129 * nss/getent.c (initgroups_keys): Show error message in case no group
15132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15134 __bump_nl_timestamp.
15135 * nscd/connections (nscd_init): When host database is served open
15136 netlink socket and request notification about configuration changes.
15137 (main_loop_poll): Track netlink file descriptor and bump timestamp
15138 in case data becomes available.
15139 (main_loop_epoll): Likewise.
15140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15141 (database_pers_head): Add extra_data fileds.
15142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15147 in6ai data, call __free_in6ai.
15148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15149 Add -DHAVE_NETLINK.
15150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15151 interface information. Reuse previous data if netlink timestamp
15153 (__bump_nl_timestamp): New function.
15154 (__free_in6ai): New function.
15156 2011-10-30 Ulrich Drepper <drepper@gmail.com>
15158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15159 close_not_cancel_no_status here.
15160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15162 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
15169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15172 2011-07-03 Andreas Jaeger <aj@suse.de>
15175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15177 * math/libm-test.inc (sin_test): Add test case.
15179 2011-10-29 Ulrich Drepper <drepper@gmail.com>
15182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15185 * elf/chroot_canon.c (chroot_canon): Cleanups.
15187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15193 * string/test-strchr.c: Make usable for strchrnul testing.
15194 * string/test-strchrnul.c: New file.
15195 * string/Makefile (strop-tests): Add strchrnul.
15197 * po/it.po: Update from translation team.
15198 * po/es.po: Likewise.
15200 2011-10-28 Ulrich Drepper <drepper@gmail.com>
15202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15203 the three constants needed as parameters. Drop the others.
15204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15205 __m128i_strloadu_tolower.
15206 Create and initialize variable zero and use it in all the places
15207 where _mm_setzero_si128 was used.
15209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15219 __mpranred, __mptan.
15220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15230 2011-10-28 Andreas Schwab <schwab@redhat.com>
15232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15233 redefine if SHARED.
15234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15237 wide char related routines to wcsmbs subdir.
15239 2011-10-27 Andreas Schwab <schwab@redhat.com>
15242 * misc/sys/cdefs.h (__THROWNL): Define.
15243 * posix/unistd.h: Use __THREADNL instead of __THREAD
15244 for memory synchronization functions.
15246 2011-10-26 Roland McGrath <roland@hack.frob.com>
15249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15251 * manual/stdio.texi (Obstack Streams): Node removed.
15253 2011-10-26 Andreas Schwab <schwab@redhat.com>
15255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15259 * math/math_private.h (math_force_eval): Allow non-addressable
15261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15263 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15266 file is not needed.
15268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15301 place. Use VEX encoding when compiling for AVX.
15303 2011-10-25 Andreas Schwab <schwab@redhat.com>
15305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15310 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
15313 useless if() expression.
15314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15336 2011-10-25 Andreas Schwab <schwab@redhat.com>
15338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
15344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15345 .text section. Avoid duplicate constants.
15346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15392 2011-10-24 Ulrich Drepper <drepper@gmail.com>
15394 * sysdeps/x86_64/dla.h: Move to ...
15395 * sysdeps/x86_64/fpu/dla.h: ...here.
15396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15397 situations. Use __builtin_fma only for gcc 4.6 and up.
15399 * config.make.in: Add have-mfma4 entry.
15400 * configure.in: Substitute libc_cv_cc_fma4.
15401 * math/Makefile (dbl-only-routines): Add sincostab.
15402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15403 Use __sincostab not sincos.
15404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15420 define aliases when function name is a macro.
15421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15422 sysdeps/ieee754/dbl-64/sincos.tbl.
15423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15424 fma4-enabled routines.
15425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15467 2011-10-24 Andreas Schwab <schwab@redhat.com>
15469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15471 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15480 Remove unused variable magic_bits.
15481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15483 * string/strnlen.c: Define and use STRNLEN macro.
15484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15487 * wcsmbs/wcslen.c: Define and use WCSLEN.
15488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15496 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15499 strnlen-sse2-no-bsf.
15500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15503 Add strnlen support.
15504 (USE_AS_STRNLEN): New macro.
15505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15508 * sysdeps/x86_64/wcslen.S: New file.
15510 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15513 XMM-moves are used for copying on small sizes.
15515 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15517 * wcsmbs/Makefile (strop-tests): Add wcschr.
15518 * wcsmbs/test-wcschr.c: New file.
15519 * string/test-strchr.c: Update.
15520 Add wcschr support.
15523 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15525 * wcsmbs/Makefile (strop-tests): Add wcslen.
15526 * wcsmbs/test-wcslen.c: New file.
15527 * string/test-strlen.c: Update.
15528 Add wcslen support.
15531 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15533 * po/it.po: Update from translation team.
15535 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15537 * sysdeps/x86_64/wcscmp.S: Update.
15538 Fix wrong comparison semantics.
15539 wcscmp shall use signed comparison not unsigned.
15540 Don't use substraction to avoid overflow bug.
15541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15542 * wcsmbc/wcscmp.c: Likewise.
15543 * string/test-strcmp.c: Likewise.
15544 Add new tests to check cases with negative values.
15546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
15548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15549 * sysdeps/x86_64/dla.h: ...here. New file.
15550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15560 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15563 __ynl_finite aliases.
15565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15571 [DLA_FMA] (EMULV): Use DLA_FMA.
15572 [DLA_FMA] (MUL12): Use EMULV.
15573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15574 that are not needed.
15575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15583 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15585 * math/s_nan.c: Undef __nan.
15586 * math/s_nanf.c: Undef __nanf.
15587 * math/s_nanl.c: Undef __nanl.
15588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
15593 * math/s_catan.c: Add branch predictions.
15594 * math/s_catanf.c: Likewise.
15595 * math/s_catanh.c: Likewise.
15596 * math/s_catanhf.c: Likewise.
15597 * math/s_catanhl.c: Likewise.
15598 * math/s_catanl.c: Likewise.
15599 * math/s_cexp.c: Likewise.
15600 * math/s_cexpf.c: Likewise.
15601 * math/s_cexpl.c: Likewise.
15602 * math/s_clog.c: Likewise.
15603 * math/s_clog10.c: Likewise.
15604 * math/s_clog10f.c: Likewise.
15605 * math/s_clog10l.c: Likewise.
15606 * math/s_clogf.c: Likewise.
15607 * math/s_clogl.c: Likewise.
15608 * math/s_csqrt.c: Likewise.
15609 * math/s_csqrtf.c: Likewise.
15610 * math/s_csqrtl.c: Likewise.
15611 * math/s_ctanf.c: Likewise.
15612 * math/s_ctanh.c: Likewise.
15613 * math/s_ctanhf.c: Likewise.
15614 * math/s_ctanhl.c: Likewise.
15615 * math/s_ctanl.c: Likewise.
15617 * math/math_private.h: Define __nan, __nanf, __nanl.
15618 * math/s_cacosh.c: Include <math_private.h>.
15619 * math/s_cacoshl.c: Likewise.
15620 * math/s_casinh.c: Likewise.
15621 * math/s_casinhf.c: Likewise.
15622 * math/s_casinhl.c: Likewise.
15623 * math/s_ccos.c: Rely entire on ccosh.
15624 * math/s_ccosf.c: Rely entire on ccoshf.
15625 * math/s_ccosl.c: Rely entirely on ccoshl.
15626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15627 Remove tests for FE_INVALID.
15628 * math/s_ccoshf.c: Likewise.
15629 * math/s_ccoshl.c: Likewise.
15630 * math/s_csin.c: Likewise.
15631 * math/s_csinf.c: Likewise.
15632 * math/s_csinh.c Likewise.
15633 * math/s_csinhf.c: Likewise.
15634 * math/s_csinhl.c: Likewise.
15635 * math/s_csinl.c: Likewise.
15636 * math/s_ctan.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15641 2011-10-21 Ulrich Drepper <drepper@gmail.com>
15643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15644 compilation problems.
15646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15649 2011-10-20 Ulrich Drepper <drepper@gmail.com>
15651 * sysdeps/i386/configure.in: Test for -mfma4 option.
15652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15654 COMMON_CPUID_INDEX_80000001.
15655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15657 use it if FMA3 is not supported.
15658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15663 2011-10-20 Andreas Schwab <schwab@redhat.com>
15666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15667 it would create a cycle with a link time dependency.
15669 2011-10-19 Ulrich Drepper <drepper@gmail.com>
15671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15673 * string/Makefile (strop-tests): Add rawmemchr.
15674 * string/test-rawmemchr.c: New file.
15676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15679 when compiling str{,n}casecmp and when AVX is available. Hook up
15680 new optimized code in initializers.
15682 2011-10-19 Andreas Schwab <schwab@redhat.com>
15684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15685 __feraiseexcept instead of feraiseexcept.
15687 2011-10-18 Ulrich Drepper <drepper@gmail.com>
15689 * math/math_private.h: Define defaults for libc_fetestexcept and
15691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15697 libc_fetestexcept and libc_feupdateenv.
15699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15703 libc_feholdexcept_setround.
15705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15706 Add s_nearbyint-c and s_nearbyintf-c.
15707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15708 nearbyintf inlines.
15709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15714 * math/math_private.h: Define defaults for libc_fegetround,
15715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15720 standard functions.
15721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15722 Remove comments and hacks for old compiler versions.
15723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15725 libc_feholdexceptl.
15727 2011-10-18 Andreas Schwab <schwab@redhat.com>
15729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
15730 (__feraiseexcept_renamed): Add __NTH.
15731 (feraiseexcept): Add __NTH. Rename local variables to fix
15732 namespace violations.
15734 2011-10-17 Ulrich Drepper <drepper@gmail.com>
15736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15741 recently added interfaces.
15742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15745 about macro parameter expansion.
15747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15748 __NO_MATH_INLINES is defined. Cleanups.
15750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15751 and __floorf is target has SSE4.1.
15752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15759 (floorf): Likewise.
15761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15763 2011-10-17 Andreas Schwab <schwab@redhat.com>
15765 * misc/sys/cdefs.h: Fix last change.
15767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15770 2011-10-16 Ulrich Drepper <drepper@gmail.com>
15772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15798 ceil, ceilf, floor, floorf.
15800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15801 Perform IRELATIVE relocations last.
15803 * elf/do-rel.h: Add another parameter nrelative, replacing the
15804 local variable with the same name. Change name of the function
15805 to end in Rel or Rela (uppercase).
15806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15808 elf_dynamic_do_##reloc function.
15810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15813 is sufficient, at least on modern CPUs.
15815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15822 * math/bits/math-finite.h: Add entries for exp.
15823 * math/e_expl.c: Add __*_finite alias.
15824 * sysdeps/i386/fpu/e_exp.S: Likewise.
15825 * sysdeps/i386/fpu/e_expf.S: Likewise.
15826 * sysdeps/i386/fpu/e_expl.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15836 is sufficient, at least on modern CPUs.
15838 * ctype/ctype-info.c (__ctype_init): Define.
15839 * include/ctype.h (__ctype_init): Declare.
15840 (__ctype_b_loc): The variable is always initialized.
15841 (__ctype_toupper_loc): Likewise.
15842 (__ctype_tolower_loc): Likewise.
15843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15846 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15850 * configure.in: Also look in $cxxmachine/include for C++ system
15853 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15860 (USE_AS_WMEMCMP): New macro.
15862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15873 (USE_AS_WMEMCMP): New macro.
15874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15875 * sysdeps/string/test-memcmp.c: Update.
15876 Fix simple_wmemcmp.
15878 * wcsmbs/wmemcmp.c: Update.
15879 (WMEMCMP): New macro.
15882 2011-10-12 Andreas Jaeger <aj@suse.de>
15885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
15889 * libio/iofwide.c (do_length): Avoid warning.
15891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15893 2011-10-14 Ulrich Drepper <drepper@gmail.com>
15895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15900 * sysdeps/i386/i686/fpu/e_log.S: New file.
15901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15904 * ctype/ctype.h: Add support for inlined isXXX functions when
15905 compiling C++ code.
15907 2011-10-14 Andreas Schwab <schwab@redhat.com>
15909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15913 2011-10-13 Roland McGrath <roland@hack.frob.com>
15916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15918 2011-10-13 Andreas Schwab <schwab@redhat.com>
15920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15924 * sysdeps/x86_64/memrchr.S: Check for zero size.
15926 * string/stratcliff.c: Add memrchr tests.
15928 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15932 rawmemchr-sse2 rawmemchr-sse2-bsf.
15933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15943 * string/memrchr.c (MEMRCHR): New macro.
15945 2011-10-12 Ulrich Drepper <drepper@gmail.com>
15947 Add integration with gcc's -ffinite-math-only and optimize wrapper
15949 * Versions.def: Define GLIBC_2.15 version for libm.
15950 * math/Makefile (headers): Add bits/math-finite.h.
15951 * math/bits/math-finite.h: New file.
15952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15954 * math/e_acoshl.c: Add __*_finite alias.
15955 * math/e_acosl.c: Likewise.
15956 * math/e_asinl.c: Likewise.
15957 * math/e_atan2l.c: Likewise.
15958 * math/e_atanhl.c: Likewise.
15959 * math/e_coshl.c: Likewise.
15960 * math/e_exp10.c: Likewise.
15961 * math/e_exp10f.c: Likewise.
15962 * math/e_exp10l.c: Likewise.
15963 * math/e_exp2l.c: Likewise.
15964 * math/e_fmodl.c: Likewise.
15965 * math/e_gammal_r.c: Likewise.
15966 * math/e_hypotl.c: Likewise.
15967 * math/e_j0l.c: Likewise.
15968 * math/e_j1l.c: Likewise.
15969 * math/e_jnl.c: Likewise.
15970 * math/e_lgammal_r.c: Likewise.
15971 * math/e_log10l.c: Likewise.
15972 * math/e_log2l.c: Likewise.
15973 * math/e_logl.c: Likewise.
15974 * math/e_powl.c: Likewise.
15975 * math/e_sinhl.c: Likewise.
15976 * math/e_sqrtl.c: Likewise.
15977 * math/e_scalb.c: Completely rewritten and optimized.
15978 * math/e_scalbf.c: Likewise.
15979 * math/e_scalbl.c: Likewise.
15980 * math/w_acos.c: Likewise.
15981 * math/w_acosf.c: Likewise.
15982 * math/w_acosl.c: Likewise.
15983 * math/w_acosh.c: Likewise.
15984 * math/w_acoshf.c: Likewise.
15985 * math/w_acoshl.c: Likewise.
15986 * math/w_asin.c: Likewise.
15987 * math/w_asinf.c: Likewise.
15988 * math/w_asinl.c: Likewise.
15989 * math/w_atan2.c: Likewise.
15990 * math/w_atan2f.c: Likewise.
15991 * math/w_atan2l.c: Likewise.
15992 * math/w_atanh.c: Likewise.
15993 * math/w_atanhf.c: Likewise.
15994 * math/w_atanhl.c: Likewise.
15995 * math/w_exp10.c: Likewise.
15996 * math/w_exp10f.c: Likewise.
15997 * math/w_exp10l.c: Likewise.
15998 * math/w_fmod.c: Likewise.
15999 * math/w_fmodf.c: Likewise.
16000 * math/w_fmodl.c: Likewise.
16001 * math/w_j0.c: Likewise.
16002 * math/w_j0f.c: Likewise.
16003 * math/w_j0l.c: Likewise.
16004 * math/w_j1.c: Likewise.
16005 * math/w_j1f.c: Likewise.
16006 * math/w_j1l.c: Likewise.
16007 * math/w_jn.c: Likewise.
16008 * math/w_jnf.c: Likewise.
16009 * math/w_log.c: Likewise.
16010 * math/w_logf.c: Likewise.
16011 * math/w_logl.c: Likewise.
16012 * math/w_log10.c: Likewise.
16013 * math/w_log10f.c: Likewise.
16014 * math/w_log10l.c: Likewise.
16015 * math/w_log2.c: Likewise.
16016 * math/w_log2f.c: Likewise.
16017 * math/w_log2l.c: Likewise.
16018 * math/w_pow.c: Likewise.
16019 * math/w_powf.c: Likewise.
16020 * math/w_powl.c: Likewise.
16021 * math/w_remainder.c: Likewise.
16022 * math/w_remainderf.c: Likewise.
16023 * math/w_remainderl.c: Likewise.
16024 * math/w_scalb.c: Likewise.
16025 * math/w_scalbf.c: Likewise.
16026 * math/w_scalbl.c: Likewise.
16027 * math/w_sqrt.c: Likewise.
16028 * math/w_sqrtf.c: Likewise.
16029 * math/w_sqrtl.c: Likewise.
16030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16033 * math/math_private.h: Declare __kernel_standard_f.
16034 * math/w_cosh.c: Remove cruft and optimize a bit.
16035 * math/w_coshf.c: Likewise.
16036 * math/w_coshl.c: Likewise.
16037 * math/w_exp2.c: Likewise.
16038 * math/w_exp2f.c: Likewise.
16039 * math/w_exp2l.c: Likewise.
16040 * math/w_hypot.c: Likewise.
16041 * math/w_hypotf.c: Likewise.
16042 * math/w_hypotl.c: Likewise.
16043 * math/w_lgamma.c: Likewise.
16044 * math/w_lgamma_r.c: Likewise.
16045 * math/w_lgammaf.c: Likewise.
16046 * math/w_lgammaf_r.c: Likewise.
16047 * math/w_lgammal.c: Likewise.
16048 * math/w_lgammal_r.c: Likewise.
16049 * math/w_sinh.c: Likewise.
16050 * math/w_sinhf.c: Likewise.
16051 * math/w_sinhl.c: Likewise.
16052 * math/w_tgamma.c: Likewise.
16053 * math/w_tgammaf.c: Likewise.
16054 * math/w_tgammal.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16058 Minor optimizations. Pretty printing. Remove cruft.
16059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16064 * sysdeps/i386/fpu/e_asin.S: Likewise.
16065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16083 * sysdeps/i386/fpu/e_log.S: Likewise.
16084 * sysdeps/i386/fpu/e_log10.S: Likewise.
16085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16087 * sysdeps/i386/fpu/e_log2.S: Likewise.
16088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16090 * sysdeps/i386/fpu/e_logf.S: Likewise.
16091 * sysdeps/i386/fpu/e_logl.S: Likewise.
16092 * sysdeps/i386/fpu/e_pow.S: Likewise.
16093 * sysdeps/i386/fpu/e_powf.S: Likewise.
16094 * sysdeps/i386/fpu/e_powl.S: Likewise.
16095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16217 (__isnanf): Likewise.
16218 (__isinf_ns): Likewise.
16219 (__isinf_nsf): Likewise.
16220 (__finite): Likewise.
16221 (__finitef): Likewise.
16222 (__ieee754_sqrt): Define as macro.
16223 (__ieee754_sqrtf): Define as macro.
16224 (__ieee754_sqrtl): Define as macro.
16225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16228 __FINITE_MATH_ONLY__ consistent.
16229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16231 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16238 2011-10-09 Ulrich Drepper <drepper@gmail.com>
16240 * po/ja.po: Update from translation team.
16242 2011-10-08 Roland McGrath <roland@hack.frob.com>
16244 * locale/programs/locarchive.c (prepare_address_space): New function.
16245 (create_archive, enlarge_archive, open_archive): Use it.
16247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16248 inside [SHARED], where it is used.
16250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16252 * nss/getent.c (netgroup_keys): Remove unused variable.
16253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16255 2011-10-08 Ulrich Drepper <drepper@gmail.com>
16257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16263 * math/Makefile (libm-calls): Add s_isinf_ns.
16264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16265 * math/multc3.c: Likewise.
16266 * math/s_casin.c: Likewise.
16267 * math/s_casinf.c: Likewise.
16268 * math/s_casinl.c: Likewise.
16269 * math/s_ccos.c: Likewise.
16270 * math/s_ccosf.c: Likewise.
16271 * math/s_ccosl.c: Likewise.
16272 * math/s_ctan.c: Likewise.
16273 * math/s_ctanf.c: Likewise.
16274 * math/s_ctanh.c: Likewise.
16275 * math/s_ctanhf.c: Likewise.
16276 * math/s_ctanhl.c: Likewise.
16277 * math/s_ctanl.c: Likewise.
16278 * math/w_fmod.c: Likewise.
16279 * math/w_fmodf.c: Likewise.
16280 * math/w_fmodl.c: Likewise.
16281 * math/w_remainder.c: Likewise.
16282 * math/w_remainderf.c: Likewise.
16283 * math/w_remainderl.c: Likewise.
16284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16295 * stdio-common/printf_fphex.c: Likewise.
16296 * stdio-common/printf_size.c: Likewise.
16298 * math/e_exp10.c: Include math_private.h using <...> not "...".
16299 * math/e_exp10f.c: Likewise.
16300 * math/e_exp10l.c: Likewise.
16301 * math/e_exp2l.c: Likewise.
16302 * math/e_j0l.c: Likewise.
16303 * math/e_j1l.c: Likewise.
16304 * math/e_jnl.c: Likewise.
16305 * math/e_lgammal_r.c: Likewise.
16306 * math/e_rem_pio2l.c: Likewise.
16307 * math/e_scalb.c: Likewise.
16308 * math/e_scalbf.c: Likewise.
16309 * math/e_scalbl.c: Likewise.
16310 * math/k_cosl.c: Likewise.
16311 * math/k_sinl.c: Likewise.
16312 * math/k_tanl.c: Likewise.
16313 * math/s_cacoshf.c: Likewise.
16314 * math/s_catan.c: Likewise.
16315 * math/s_catanf.c: Likewise.
16316 * math/s_catanh.c: Likewise.
16317 * math/s_catanhf.c: Likewise.
16318 * math/s_catanhl.c: Likewise.
16319 * math/s_catanl.c: Likewise.
16320 * math/s_ccosh.c: Likewise.
16321 * math/s_ccoshf.c: Likewise.
16322 * math/s_ccoshl.c: Likewise.
16323 * math/s_cexp.c: Likewise.
16324 * math/s_cexpf.c: Likewise.
16325 * math/s_cexpl.c: Likewise.
16326 * math/s_clog.c: Likewise.
16327 * math/s_clog10.c: Likewise.
16328 * math/s_clog10f.c: Likewise.
16329 * math/s_clog10l.c: Likewise.
16330 * math/s_clogf.c: Likewise.
16331 * math/s_clogl.c: Likewise.
16332 * math/s_csin.c: Likewise.
16333 * math/s_csinf.c: Likewise.
16334 * math/s_csinh.c: Likewise.
16335 * math/s_csinhf.c: Likewise.
16336 * math/s_csinhl.c: Likewise.
16337 * math/s_csinl.c: Likewise.
16338 * math/s_csqrt.c: Likewise.
16339 * math/s_csqrtf.c: Likewise.
16340 * math/s_csqrtl.c: Likewise.
16341 * math/s_ctan.c: Likewise.
16342 * math/s_ctanf.c: Likewise.
16343 * math/s_ctanh.c: Likewise.
16344 * math/s_ctanhf.c: Likewise.
16345 * math/s_ctanhl.c: Likewise.
16346 * math/s_ctanl.c: Likewise.
16347 * math/s_ldexp.c: Likewise.
16348 * math/s_ldexpf.c: Likewise.
16349 * math/s_ldexpl.c: Likewise.
16350 * math/s_significand.c: Likewise.
16351 * math/s_significandf.c: Likewise.
16352 * math/s_significandl.c: Likewise.
16353 * math/w_acos.c: Likewise.
16354 * math/w_acosf.c: Likewise.
16355 * math/w_acosh.c: Likewise.
16356 * math/w_acoshf.c: Likewise.
16357 * math/w_acoshl.c: Likewise.
16358 * math/w_acosl.c: Likewise.
16359 * math/w_asin.c: Likewise.
16360 * math/w_asinf.c: Likewise.
16361 * math/w_asinl.c: Likewise.
16362 * math/w_atan2.c: Likewise.
16363 * math/w_atan2f.c: Likewise.
16364 * math/w_atan2l.c: Likewise.
16365 * math/w_atanh.c: Likewise.
16366 * math/w_atanhf.c: Likewise.
16367 * math/w_atanhl.c: Likewise.
16368 * math/w_cosh.c: Likewise.
16369 * math/w_coshf.c: Likewise.
16370 * math/w_coshl.c: Likewise.
16371 * math/w_dremf.c: Likewise.
16372 * math/w_exp10.c: Likewise.
16373 * math/w_exp10f.c: Likewise.
16374 * math/w_exp10l.c: Likewise.
16375 * math/w_exp2.c: Likewise.
16376 * math/w_exp2f.c: Likewise.
16377 * math/w_fmod.c: Likewise.
16378 * math/w_fmodf.c: Likewise.
16379 * math/w_fmodl.c: Likewise.
16380 * math/w_hypot.c: Likewise.
16381 * math/w_hypotf.c: Likewise.
16382 * math/w_hypotl.c: Likewise.
16383 * math/w_j0.c: Likewise.
16384 * math/w_j0f.c: Likewise.
16385 * math/w_j0l.c: Likewise.
16386 * math/w_j1.c: Likewise.
16387 * math/w_j1f.c: Likewise.
16388 * math/w_j1l.c: Likewise.
16389 * math/w_jn.c: Likewise.
16390 * math/w_jnf.c: Likewise.
16391 * math/w_jnl.c: Likewise.
16392 * math/w_lgamma.c: Likewise.
16393 * math/w_lgamma_r.c: Likewise.
16394 * math/w_lgammaf.c: Likewise.
16395 * math/w_lgammaf_r.c: Likewise.
16396 * math/w_lgammal.c: Likewise.
16397 * math/w_lgammal_r.c: Likewise.
16398 * math/w_log.c: Likewise.
16399 * math/w_log10.c: Likewise.
16400 * math/w_log10f.c: Likewise.
16401 * math/w_log10l.c: Likewise.
16402 * math/w_log2.c: Likewise.
16403 * math/w_log2f.c: Likewise.
16404 * math/w_log2l.c: Likewise.
16405 * math/w_logf.c: Likewise.
16406 * math/w_logl.c: Likewise.
16407 * math/w_pow.c: Likewise.
16408 * math/w_powf.c: Likewise.
16409 * math/w_powl.c: Likewise.
16410 * math/w_remainder.c: Likewise.
16411 * math/w_remainderf.c: Likewise.
16412 * math/w_remainderl.c: Likewise.
16413 * math/w_scalb.c: Likewise.
16414 * math/w_scalbf.c: Likewise.
16415 * math/w_scalbl.c: Likewise.
16416 * math/w_sinh.c: Likewise.
16417 * math/w_sinhf.c: Likewise.
16418 * math/w_sinhl.c: Likewise.
16419 * math/w_sqrt.c: Likewise.
16420 * math/w_sqrtf.c: Likewise.
16421 * math/w_sqrtl.c: Likewise.
16422 * math/w_tgamma.c: Likewise.
16423 * math/w_tgammaf.c: Likewise.
16424 * math/w_tgammal.c: Likewise.
16426 * po/ja.po: Update from translation team.
16428 2011-09-29 Andreas Jaeger <aj@suse.de>
16431 * sunrpc/netname.c (netname2host): Fix logic.
16435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16437 * math/w_remainder.c (__remainder): Likewise.
16438 * math/w_remainderf.c (__remainderf): Likewise.
16439 * math/libm-test.inc (remainder_test): Add test cases.
16441 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16446 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16448 * string/test-memcmp.c: Avoid unncessary #defines.
16449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16451 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16454 Use new sse2 version for core i3 - i7 as it's faster
16455 than sse42 version.
16456 (bit_Prefer_PMINUB_for_stringop): New.
16457 * sysdeps/x86_64/rawmemchr.S: Update.
16458 Replace with faster SSE2 version.
16459 * sysdeps/x86_64/memrchr.S: New file.
16460 * sysdeps/x86_64/memchr.S: Update.
16461 Replace with faster SSE2 version.
16463 2011-09-12 Marek Polacek <mpolacek@redhat.com>
16465 * elf/dl-load.c (lose): Add cast to avoid warning.
16467 2011-10-07 Ulrich Drepper <drepper@gmail.com>
16469 * po/ca.po: Update from translation team.
16471 * inet/getnetgrent_r.c: Hook up nscd.
16472 * nscd/Makefile (routines): Add nscd_netgroup.
16473 (nscd-modules): Add netgroupcache.
16474 (CFLAGS-netgroupcache.c): Define.
16475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16476 (cache_search): Add const to second parameter.
16477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16479 (dbs): Add netgrdb entry.
16480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16481 (verify_persistent_db): Handle netgrdb.
16482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16485 (netgroup_response_header): Define.
16486 (innetgroup_response_header): Define.
16487 (datahead): Add netgroup_response_header and innetgroup_response_header
16489 * nscd/nscd.conf: Add entries for netgroup cache.
16490 * nscd/nscd.h (dbtype): Add netgrdb.
16491 (_PATH_NSCD_NETGROUP_DB): Define.
16492 (netgroup_iov_disabled): Declare.
16493 (xmalloc, xcalloc, xrealloc): Move declarations here.
16494 (cache_search): Adjust prototype.
16495 Add netgroup-related prototypes.
16496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16498 (__nscd_innetgr): Declare.
16499 * nscd/selinux.c (perms): Use access_vector_t as element type and
16500 add netgroup-related initializers.
16501 * nscd/netgroupcache.c: New file.
16502 * nscd/nscd_netgroup.c: New file.
16503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16505 For four parameters use innetgr.
16506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16511 * nscd/connections.c (register_traced_file): Don't register file
16512 for disabled databases.
16514 2011-10-06 Ulrich Drepper <drepper@gmail.com>
16516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16519 from tree and freeing node.
16521 2011-09-25 Jiri Olsa <jolsa@redhat.com>
16523 * nss/nsswitch.c (__nss_database_lookup): Handle
16524 nss_parse_service_list out of memory case.
16526 2011-09-15 Jiri Olsa <jolsa@redhat.com>
16528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16529 out of memory case.
16531 2011-10-04 Andreas Schwab <schwab@redhat.com>
16533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16537 elf_machine_rela, elf_machine_lazy_rel.
16538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16539 (ELF_DYNAMIC_DO_REL): Likewise.
16540 (ELF_DYNAMIC_DO_RELA): Likewise.
16541 (ELF_DYNAMIC_RELOCATE): Likewise.
16542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16543 to ELF_DYNAMIC_DO_REL.
16544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16549 skip_ifunc, don't call ifunc function if non-zero.
16550 (elf_machine_rela): Likewise.
16551 (elf_machine_lazy_rel): Likewise.
16552 (elf_machine_lazy_rela): Likewise.
16553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16554 (elf_machine_lazy_rel): Likewise.
16555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16557 (elf_machine_lazy_rel): Likewise.
16558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16560 (elf_machine_lazy_rel): Likewise.
16561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16562 (elf_machine_lazy_rel): Likewise.
16563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16564 (elf_machine_lazy_rel): Likewise.
16565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16566 (elf_machine_lazy_rel): Likewise.
16567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16568 (elf_machine_lazy_rel): Likewise.
16569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16570 (elf_machine_lazy_rel): Likewise.
16571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16572 (elf_machine_lazy_rel): Likewise.
16574 2011-09-28 Ulrich Drepper <drepper@gmail.com>
16576 * nss/nss_files/files-init.c (_nss_files_init): Use static
16577 initialization for all the *_traced_file variables.
16579 2011-09-28 Andreas Schwab <schwab@redhat.com>
16581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16583 2011-09-27 Roland McGrath <roland@hack.frob.com>
16586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16588 2011-09-27 Andreas Schwab <schwab@redhat.com>
16590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16591 Reread the line before reparsing it.
16593 2011-09-26 Andreas Schwab <schwab@redhat.com>
16595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16597 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16598 Maxim Kuvyrkov <maxim@codesourcery.com>
16599 Joseph Myers <joseph@codesourcery.com>
16601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16602 if needed for __stack_chk_guard.
16604 2011-09-19 Roland McGrath <roland@hack.frob.com>
16606 * sysdeps/posix/spawni.c (script_execute): Always define it.
16607 It will be optimized away if unused.
16608 (maybe_script_execute): New function.
16609 (__spawni): Call it.
16611 * Makerules: Don't include tls.make.
16612 (config-tls): Always set to thread.
16613 * tls.make.c: File removed.
16615 2011-09-19 Mike Frysinger <vapier@gentoo.org>
16617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16618 * config.make.in (CPPFLAGS-config): New substituted variable.
16620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16628 2011-09-15 Roland McGrath <roland@hack.frob.com>
16630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16633 (CALL_FAIL): Likewise.
16634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16635 (CALL_FAIL): Macro removed.
16636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16638 2011-09-15 Ulrich Drepper <drepper@gmail.com>
16640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16641 for __FINITE_MATH_ONLY__ == 1.
16643 2011-09-15 Andreas Schwab <schwab@redhat.com>
16645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16646 __ieee754_sqrt instead of sqrt.
16647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16648 __ieee754_sqrtf instead of sqrtf.
16649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16650 __floorf instead of floorf.
16651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16652 __floorf, __truncf instead of floorf, truncf.
16654 2011-09-14 Ulrich Drepper <drepper@gmail.com>
16656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16659 __extern_always_inline.
16660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16663 2011-09-14 Andreas Schwab <schwab@redhat.com>
16665 * elf/rtld.c (dl_main): Also relocate in dependency order when
16666 doing symbol dependency testing.
16668 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16671 Always define `refsym'.
16673 2011-09-13 Andreas Schwab <schwab@redhat.com>
16675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16676 (__FD_ELT): Renamed from __FDELT.
16677 * misc/bits/select2.h (__FD_ELT): Likewise.
16678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16679 __FD_MASK instead of __FDELT, __FDMASK.
16680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16685 * elf/Makefile (gen-ldd): Fix pattern.
16687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16688 (init_tls): Likewise.
16690 2011-09-12 Ulrich Drepper <drepper@gmail.com>
16692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16694 2011-09-12 Andreas Schwab <schwab@redhat.com>
16696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16697 `struct cmsghdr *' instead of `void *'.
16698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16706 ldd_rewrite_script.
16708 2011-09-11 Ulrich Drepper <drepper@gmail.com>
16710 * configure.in: Remove --with-tls option.
16711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16713 out in case it is missing.
16714 * sysdeps/ia64/elf/configure.in: Likewise.
16715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16719 * sysdeps/sh/elf/configure.in: Likewise.
16720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16722 * sysdeps/x86_64/elf/configure.in: Likewise.
16723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16724 * sysdeps/mach/hurd/tls.h: Likewise.
16727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16730 * configure.in: Fix use of AC_INIT.
16732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16734 2011-09-10 Ulrich Drepper <drepper@gmail.com>
16736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16738 * malloc/hooks.c: Likewise.
16741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16742 variables statically.
16743 (narenas): Initialize.
16744 (list_lock): Initialize.
16745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16746 initializtion of main_arena and list_lock. Small cleanups.
16747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16749 Add initializers to main_arena and mp_.
16750 (malloc_state): Remove pagesize member. Change all users to use
16753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16755 is always initialized.
16757 * malloc/malloc.c: Removed unused configurations and dead code.
16758 * malloc/arena.c: Likewise.
16759 * malloc/hooks.c: Likewise.
16760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
16762 * include/tls.h: Removed. USE___THREAD must always be defined.
16763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16764 * elf/dl-libc.c: Likewise.
16765 * elf/dl-tsd.c: Likewise.
16766 * include/errno.h: Likewise.
16767 * include/netdb.h: Likewise.
16768 * include/resolv.h: Likewise.
16769 * inet/herrno-loc.c: Likewise.
16770 * inet/herrno.c: Likewise.
16771 * malloc/arena.c: Likewise.
16772 * malloc/hooks.c: Likewise.
16773 * malloc/malloc.c: Likewise.
16774 * resolv/res-state.c: Likewise.
16775 * resolv/res_libc.c: Likewise.
16776 * sysdeps/i386/dl-machine.h: Likewise.
16777 * sysdeps/ia64/dl-machine.h: Likewise.
16778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16782 * sysdeps/sh/dl-machine.h: Likewise.
16783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16785 * sysdeps/unix/i386/sysdep.S: Likewise.
16786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16797 * sysdeps/x86_64/dl-machine.h: Likewise.
16798 * tls.make.c: Likewise.
16800 * configure.in: Remove --with-__thread option. Make tests for
16801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16802 tls_model attribute fail if no support is available. Remove
16804 * Makeconfig: Adjust for dropped configure option. All features are
16806 * Makerules: Likewise.
16807 * Versions.def: Likewise.
16808 * argp/argp-fmtstream.c: Likewise.
16809 * argp/argp-fmtstream.h: Likewise.
16810 * argp/argp-help.c: Likewise.
16811 * assert/assert.c: Likewise.
16812 * config.h.in: Likewise.
16813 * config.make.in: Likewise.
16814 * configure: Likewise.
16815 * configure.in: Likewise.
16816 * csu/Versions: Likewise.
16817 * csu/init.c: Likewise.
16818 * elf/tst-audit2.c: Likewise.
16819 * elf/tst-tls10.c: Likewise.
16820 * elf/tst-tls10.h: Likewise.
16821 * elf/tst-tls11.c: Likewise.
16822 * elf/tst-tls12.c: Likewise.
16823 * elf/tst-tls14.c: Likewise.
16824 * elf/tst-tlsmod11.c: Likewise.
16825 * elf/tst-tlsmod12.c: Likewise.
16826 * elf/tst-tlsmod13.c: Likewise.
16827 * elf/tst-tlsmod13a.c: Likewise.
16828 * elf/tst-tlsmod14a.c: Likewise.
16829 * elf/tst-tlsmod15b.c: Likewise.
16830 * elf/tst-tlsmod16a.c: Likewise.
16831 * elf/tst-tlsmod16b.c: Likewise.
16832 * elf/tst-tlsmod7.c: Likewise.
16833 * elf/tst-tlsmod8.c: Likewise.
16834 * elf/tst-tlsmod9.c: Likewise.
16835 * gmon/gmon.c: Likewise.
16836 * grp/fgetgrent_r.c: Likewise.
16837 * grp/putgrent.c: Likewise.
16838 * hurd/fopenport.c: Likewise.
16839 * include/libc-symbols.h: Likewise.
16840 * include/tls.h: Likewise.
16841 * intl/gettextP.h: Likewise.
16842 * intl/loadinfo.h: Likewise.
16843 * locale/global-locale.c: Likewise.
16844 * locale/localeinfo.h: Likewise.
16845 * mach/devstream.c: Likewise.
16846 * malloc/arena.c: Likewise.
16847 * malloc/set-freeres.c: Likewise.
16848 * misc/err.c: Likewise.
16849 * misc/getttyent.c: Likewise.
16850 * misc/mntent_r.c: Likewise.
16851 * posix/getopt.c: Likewise.
16852 * posix/wordexp.c: Likewise.
16853 * pwd/fgetpwent_r.c: Likewise.
16854 * resolv/Versions: Likewise.
16855 * resolv/res_hconf.c: Likewise.
16856 * shadow/fgetspent_r.c: Likewise.
16857 * shadow/putspent.c: Likewise.
16858 * stdio-common/printf_fphex.c: Likewise.
16859 * stdio-common/tmpfile.c: Likewise.
16860 * stdlib/abort.c: Likewise.
16861 * stdlib/fmtmsg.c: Likewise.
16862 * sunrpc/auth_unix.c: Likewise.
16863 * sunrpc/clnt_perr.c: Likewise.
16864 * sunrpc/clnt_tcp.c: Likewise.
16865 * sunrpc/clnt_udp.c: Likewise.
16866 * sunrpc/clnt_unix.c: Likewise.
16867 * sunrpc/openchild.c: Likewise.
16868 * sunrpc/svc_simple.c: Likewise.
16869 * sunrpc/svc_tcp.c: Likewise.
16870 * sunrpc/svc_udp.c: Likewise.
16871 * sunrpc/svc_unix.c: Likewise.
16872 * sunrpc/xdr.c: Likewise.
16873 * sunrpc/xdr_array.c: Likewise.
16874 * sunrpc/xdr_rec.c: Likewise.
16875 * sunrpc/xdr_ref.c: Likewise.
16876 * sunrpc/xdr_stdio.c: Likewise.
16878 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16882 2011-07-03 Andreas Jaeger <aj@suse.de>
16884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16886 regenerate with gen-libm-tests.pl.
16888 2010-05-12 Petr Baudis <pasky@suse.cz>
16891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16892 around j0() zero points by switching to j1().
16893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16905 Patch in part by Pavel Roskin <proski@gnu.org>.
16908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16911 Free memory block if necessary.
16914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16915 be NULL. Don't lock in this case.
16917 2011-09-09 Roland McGrath <roland@hack.frob.com>
16919 * elf/elf.h (ELFOSABI_GNU): New macro.
16920 (ELFOSABI_LINUX): Define to that.
16922 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16924 * string/strncat.c (strncat): Undef the symbol in case it has been
16925 defined in bits/string.h.
16927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
16929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
16934 2011-08-17 Andreas Jaeger <aj@suse.de>
16936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16938 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16939 Ian Lance Taylor <iant@google.com>
16941 * math/libm-test.inc (lround_test): New testcase.
16942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16944 2011-09-08 Ulrich Drepper <drepper@gmail.com>
16946 * Makefile: Remove support for automatic cvs check-ins.
16947 * Makerules: Likewise.
16948 * config.make.in: Likewise.
16949 * configure.in: Likewise.
16950 * intl/Makefile: Likewise.
16951 * locale/Makefile: Likewise.
16952 * po/Makefile: Likewise.
16953 * posix/Makefile: Likewise.
16954 * sysdeps/gnu/Makefile: Likewise.
16955 * sysdeps/mach/hurd/Makefile: Likewise.
16956 * sysdeps/sparc/sparc32/Makefile: Likewise.
16959 * posix/Makefile (bug-regex32-ENV): Define.
16960 Patch by John Stanley <jpsinthemix@verizon.net>.
16962 * misc/Makefile (headers): Add bits/select2.h.
16963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16964 * misc/bits/select2.h: New file.
16965 * include/bits/select2.h: New file.
16966 * debug/Makefile (routines): Add fdelt_chk.
16967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16970 * debug/fdelt_chk.c: New file.
16972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16973 * wcsmbs/test-wmemcmp.c: Likewise.
16974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
16975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
16977 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16979 * string/Makefile (strop-tests): Add memcmp.
16980 * string/test-wmemcmp.c: New file.
16981 * string/test-memcmp.c: Add wmemcmp support.
16983 2011-09-08 Roland McGrath <roland@hack.frob.com>
16986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16990 garbage value in a __mach_port_mod_refs call in the cases of the
16991 task-self and thread-self ports.
16993 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16997 2011-09-08 Andreas Schwab <schwab@redhat.com>
16999 * elf/dl-load.c (lose): Check for non-null L.
17001 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17005 * elf/dl-libc.c (dlerror_run): Pass back error code from
17009 * elf/dl-load.c (lose): Free l_origin if it is valid.
17011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17020 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17033 2011-08-15 Alan Modra <amodra@gmail.com>
17036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17039 ppc_mcount to static-only-routines.
17040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17045 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17048 for finite and infinity parameters.
17050 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17053 and add nop instructions for throughput optimization.
17054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17056 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17059 aligned copy for power7 with vector-scalar instructions.
17060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17062 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17067 2011-09-07 Andreas Schwab <schwab@redhat.com>
17070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17073 2011-09-07 Ulrich Drepper <drepper@gmail.com>
17075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17084 Forgot to demangle the pointer.
17086 * sysdeps/i386/sysdep.h: Define atom_text_section.
17087 * sysdeps/x86_64/sysdep.h: Likewise.
17088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17089 section with atom_text_section.
17090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17098 already be defined. Change to take two parameters and don't assign
17099 result to variable. Adjust all users.
17100 Define INTERNAL_GETTIME if not already defined.
17101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17104 HAVE_CLOCK_GETTIME_VSYSCALL.
17105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17108 gettimeofday vsyscall, just use time.
17110 2011-09-06 Andreas Schwab <schwab@redhat.com>
17112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17115 2011-09-06 Ulrich Drepper <drepper@gmail.com>
17117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17123 syscall if possible.
17125 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17128 e_ident. Don't pass to find_mapsXX.
17129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17131 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17135 * sysdeps/x86_64/multiarch/strchr.S: Update.
17136 Check bit_slow_BSF bit.
17137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17141 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17146 (tryshell): Define.
17147 (__spawni): Change last parameter to be flag. Test
17148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17151 * posix/spawni.c: Likewise.
17152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17153 * posix/spawnp.c: Likewise. Change normal version to use
17154 SPAWN_XFLAGS_USE_PATH.
17155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17156 SPAWN_XFLAGS_TRY_SHELL.
17159 * posix/glob.h: Remove gcc 1.x support.
17162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17164 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17176 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17178 * sysdeps/x86_64/wcscmp.S: New file.
17180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17181 wcscmp-c wcscmp-sse2
17182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17185 * wcsmbs/wcscmp.c: Allow renaming.
17187 2011-09-05 David S. Miller <davem@davemloft.net>
17189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17190 stack slot, rather than the struct return pointer slot.
17191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17196 2011-09-05 Ulrich Drepper <drepper@gmail.com>
17198 * po/ja.po: Update from translation team.
17201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17202 kernel in 64-bit binaries.
17204 2011-09-01 David S. Miller <davem@davemloft.net>
17206 * elf/elf.h (HWCAP_SPARC_*): Move to..
17207 * sysdeps/sparc/sysdep.h: this new file and add new values.
17208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17210 _DL_HWCAP_COUNT to 24.
17211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17217 instead of magic constants.
17218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17220 2011-08-31 David S. Miller <davem@davemloft.net>
17222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17224 Reimplement to do errno handling inline.
17225 (SYSCALL_ERROR_HANDLER): New macro.
17226 (__SYSCALL_STRING): Do not do errno handling in asm.
17227 (__CLONE_SYSCALL_STRING): Delete.
17228 (__INTERNAL_SYSCALL_STRING): Delete.
17229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17231 (PSEUDO): Reimplement to do errno handling inline.
17232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17233 (SYSCALL_ERROR_HANDLER): New macro.
17234 (__SYSCALL_STRING): Do not do errno handling in asm.
17235 (__CLONE_SYSCALL_STRING): Delete.
17236 (__INTERNAL_SYSCALL_STRING): Delete.
17237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17241 (inline_syscall*): Add 'err' argument.
17242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17250 2011-08-30 Andreas Schwab <schwab@redhat.com>
17252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17254 2011-08-29 Jiri Olsa <jolsa@redhat.com>
17256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17259 2011-08-24 David S. Miller <davem@davemloft.net>
17261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17263 2011-08-24 Andreas Schwab <schwab@redhat.com>
17265 * elf/Makefile: Add rules to build and run unload8 test.
17266 * elf/unload8.c: New file.
17267 * elf/unload8mod1.c: New file.
17268 * elf/unload8mod1x.c: New file.
17269 * elf/unload8mod2.c: New file.
17270 * elf/unload8mod3.c: New file.
17272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17275 2011-08-23 David S. Miller <davem@davemloft.net>
17277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17278 subtract stack bias.
17279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17280 %sp not %fp in calculations.
17281 (_JMPBUF_UNWINDS_ADJ): Likewise.
17283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17284 (aio_suspend): Call it to force an exception region around the
17285 AIO_MISC_WAIT() invocation.
17287 2011-08-23 Andreas Schwab <schwab@redhat.com>
17289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17292 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17297 and <dl-machine.h>.
17298 (Elf64_FuncDesc): Remove.
17300 2011-08-22 David S. Miller <davem@davemloft.net>
17302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17303 sigaltstack check, add missing cfi directives.
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17305 missing cfi directives, and sigaltstack handling.
17307 2011-08-16 Andreas Schwab <schwab@redhat.com>
17310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17311 object is seen twice.
17312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17314 * elf/Makefile (distribute): Add tst-initorder2.c.
17315 (tests): Add tst-initorder2.
17316 (modules-names): Add tst-initorder2a tst-initorder2b
17317 tst-initorder2c tst-initorder2d. Add rules to build them.
17318 ($(objpfx)tst-initorder2.out): New rule.
17319 * elf/tst-initorder2.c: New file.
17320 * elf/tst-initorder2.exp: New file.
17322 2011-08-22 Andreas Schwab <schwab@redhat.com>
17324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17327 dependencies back to end of function.
17329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17330 $(elfobjdir)/ld.so.
17332 2011-08-21 Ulrich Drepper <drepper@gmail.com>
17334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17339 of __vdso_gettimeofday.
17340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17343 (_libc_vdso_platform_setup): Remove initialization of
17344 __vdso_gettimeofday and __vdso_time.
17346 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17349 and fgetc_unlocked.
17350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17353 * elf/dl-open.c (add_to_global): Report additions to the global scope
17354 for LD_DEBUG=scopes.
17355 (dl_open_worker): Also print scope of newly loaded dependencies.
17356 (_dl_show_scope): Indicate if there is no scope.
17359 * stdio-common/Makefile (tests): Add bug24.
17360 * stdio-common/bug24.c: New file.
17362 2011-08-19 Andreas Jaeger <aj@suse.de>
17365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17366 non-existant file when using close-on-exec mode.
17368 2011-08-20 Ulrich Drepper <drepper@gmail.com>
17370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17371 the very first instruction.
17373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17374 the CFI state in the end.
17375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17376 inclusion of dl-trampoline.h.
17377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17379 2011-08-19 Andreas Schwab <schwab@redhat.com>
17381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17382 expectations for long double.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17387 2011-08-14 David S. Miller <davem@davemloft.net>
17389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17390 artificual limit depends upon the system page size.
17392 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17395 * resolv/Makefile: Define CFLAGS-libresolv.
17397 2011-08-17 Andreas Schwab <schwab@redhat.com>
17399 * nss/makedb.c (compute_tables): Make variables used in nested
17402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
17404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17406 if buffer was too small.
17408 * elf/pldd.c (main): Attach to all threads in the process.
17409 Rewrite /proc handling to use *at functions.
17411 2011-08-16 Ulrich Drepper <drepper@gmail.com>
17413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17414 specifies first scope to show.
17415 (dl_open_worker): Update callers. Move printing scope of new
17416 object to before the relocation.
17417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
17418 * sysdeps/generic/ldsodefs.h: Update declaration.
17420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17421 string for the scope number.
17423 2011-08-14 Ulrich Drepper <drepper@gmail.com>
17425 * nscd/servicescache.c (cache_addserv): Make sure written is always
17428 2011-08-14 Roland McGrath <roland@hack.frob.com>
17430 * sysdeps/i386/i486/bits/atomic.h
17431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17432 statement expression, so as to suppress "set but not used" warning.
17433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17435 * string/strncat.c (STRNCAT): Use prototype definition.
17437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17441 (localedef-modules): Add localedef.
17442 (locale-modules): Add locale.
17444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17446 to avoid a warning.
17448 2011-08-14 David S. Miller <davem@davemloft.net>
17450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17453 2011-08-13 Ulrich Drepper <drepper@gmail.com>
17455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
17456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17457 * elf/rtld.c (dl_main): Set l_name of vDSO.
17458 Call _dl_show_scope when DL_DEBUG_SCOPES.
17459 (process_dl_debug): Recognize scopes flag and also set it for all.
17460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17461 Declare _dl_show_scope.
17463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17464 (do_dlopen): Pass caller_dlopen to dl_open.
17465 (__libc_dlopen_mode): Initialize caller_dlopen.
17467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17468 of libc. Make tolower call locale-independent. Optimize a bit by
17469 using isdigit instead of isalnum.
17470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17472 2011-08-12 Ulrich Drepper <drepper@gmail.com>
17474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17475 was a dependency or dynamically loaded.
17477 2011-08-11 Ulrich Drepper <drepper@gmail.com>
17479 * intl/l10nflist.c: Allow architecture-specific pop function.
17480 * sysdeps/x86_64/l10nflist.c: New file.
17482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17485 2011-08-10 Andreas Schwab <schwab@redhat.com>
17487 * include/dirent.h: Add libc_hidden_proto for scandirat and
17488 scandirat64. Don't declare __scandirat64.
17489 * dirent/scandirat.c: Add libc_hidden_def.
17490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17493 2011-08-10 David S. Miller <davem@davemloft.net>
17495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17501 2011-08-09 Ulrich Drepper <drepper@gmail.com>
17503 * Versions.def [libc]: Add GLIBC_2.15.
17504 * dirent/Makefile (routines): Add scandirat and scandirat64.
17505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17507 * dirent/dirent.h: Declare scandirat and scandirat64.
17508 * dirent/scandirat.c: New file.
17509 * dirent/scandirat64.c: New file.
17510 * sysdeps/wordsize-64/scandirat.c: New file.
17511 * sysdeps/wordsize-64/scandirat64.c: New file.
17512 * dirent/opendir.c: Define opendirat.
17513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17515 * dirent/scandir64.c: Adjust for scandir.c change.
17516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17517 __scandirat64, and __scandir_cancel_handler.
17518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17519 additional parameter and use openat instead of open (outside of ld.so).
17520 Add new __opendir as wrapper around __opendirat.
17521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17522 here without requiring old scandirat implementation.
17524 2011-08-08 Ulrich Drepper <drepper@gmail.com>
17526 * dirent/scandir.c (cancel_handler): Renamed to
17527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17528 defined. Adjust users.
17529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17532 2011-08-04 Ulrich Drepper <drepper@gmail.com>
17534 * string/test-string.h (IMPL): Use __STRING to expand name and then
17537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17540 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17542 * string/Makefile: Update.
17543 (strop-tests): Append strncat.
17544 * string/test-wcscmp.c: New file.
17545 New comprehensive test for wcscmp.
17546 * string/test-strcmp.c: Update.
17547 (WIDE): New define.
17549 2011-07-22 Andreas Schwab <schwab@redhat.com>
17551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17554 2011-07-26 Andreas Schwab <schwab@redhat.com>
17556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17557 encoding to ACE if AI_IDN.
17559 2011-08-01 Jakub Jelinek <jakub@redhat.com>
17561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17564 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17567 Fix overflow bug in strncat.
17568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17570 * string/test-strncat.c: Update.
17571 Add new tests for checking overflow bugs.
17573 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17586 (USE_AS_STRCAT): Define.
17587 Add strcat and strncat support.
17588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17590 2011-07-25 Andreas Schwab <schwab@redhat.com>
17592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17593 __n bigger than INT_MAX+1.
17594 (__strncmp_g): Likewise.
17596 2011-07-23 Ulrich Drepper <drepper@gmail.com>
17598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17599 * libio/stido.h: Likewise.
17601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17618 (_dl_x86_64_save_sse): Likewise.
17620 2011-07-22 Ulrich Drepper <drepper@gmail.com>
17622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17624 (_dl_x86_64_save_sse): Likewise.
17626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17630 2011-07-21 Andreas Schwab <schwab@redhat.com>
17632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17634 (_dl_x86_64_save_sse): Use correct AVX check.
17636 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17639 bug in strncpy/strncat.
17640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17642 2011-07-21 Ulrich Drepper <drepper@gmail.com>
17644 * string/tester.c (test_strcat): Add tests for different alignments
17645 of source and destination.
17646 (test_strncat): Likewise.
17648 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17651 * posix/glob.c (glob): Check passed in values before using them in
17652 expressions to avoid some overflows.
17653 (glob_in_dir): Likewise.
17656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17657 check for AVX enablement so that we don't crash with old kernels and
17659 * elf/tst-audit4.c: Add same checks here.
17660 * elf/tst-audit6.c: Likewise.
17662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
17664 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
17670 * po/cs.po: Update from translation team.
17671 * po/bg.po: Likewise.
17673 2011-07-12 Marek Polacek <mpolacek@redhat.com>
17675 * misc/sys/cdefs.h: Add support for const attribute.
17676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17677 to gnu_dev_{major,minor,makedev} functions.
17679 2011-07-20 Marek Polacek <mpolacek@redhat.com>
17681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17683 2011-07-20 Andreas Schwab <schwab@redhat.com>
17685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17688 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17692 register in order to avoid conflicts with the soft frame pointer
17693 being held in r11 when necessary.
17694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17695 (INTERNAL_VSYSCALL_NCS): Likewise.
17697 2011-07-14 Marek Polacek <mpolacek@redhat.com>
17699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17700 * elf/dl-fini.c (_dl_fini): Adjust caller.
17701 * elf/dl-close.c (_dl_close_worker): Likewise.
17702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17704 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17707 "aux_cache->nlibs < 0".
17709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17710 in the reload-count case.
17712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17718 * sysdeps/x86_64/multiarch/strcat.S: New file.
17719 * sysdeps/x86_64/multiarch/strncat.S: New file.
17720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17725 (USE_AS_STRCAT): Define.
17726 Add strcat and strncat support.
17727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17730 * string/strncat.c: Update.
17731 (USE_AS_STRNCAT): Define.
17732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17735 * sysdeps/x86_64/multiarch/init-arch.h
17736 (bit_Prefer_PMINUB_for_stringop): New.
17737 (index_Prefer_PMINUB_for_stringop): Likewise.
17738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17739 bit_Prefer_PMINUB_for_stringop.
17741 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17746 of casting of buffer.
17747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17748 buffer32 and buffer64.
17749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17750 writes instead of casting of buffer.
17751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17756 2011-07-19 Andreas Schwab <schwab@redhat.com>
17758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17760 2011-07-19 Ulrich Drepper <drepper@gmail.com>
17762 * nscd/nscd.c (termination_handler): Don't do anything for a database
17763 if it has not yet been initialized.
17765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
17771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17773 2011-07-18 Ulrich Drepper <drepper@gmail.com>
17775 * po/nl.po: Update from translation team.
17776 * po/sv.po: Likewise.
17778 2011-07-16 Roland McGrath <roland@hack.frob.com>
17780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17781 now disallowed by GCC.
17783 * configure.in (use-default-link): Default to yes if a test -shared
17784 link meets our qualifications.
17785 * configure: Regenerated.
17787 * config.make.in (output-format): New variable.
17788 * configure.in: Check for ld --print-output-format support.
17789 * configure: Regenerated.
17790 * Makerules ($(common-objpfx)format.lds)
17791 [$(output-format) != unknown]: Just use $(output-format),
17792 instead of the linker-script munging.
17794 2011-07-14 Roland McGrath <roland@hack.frob.com>
17796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17797 of $(common-objpfx)shlib.lds.
17798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17803 * configure.in (-z relro check): Adjust test code to add a large
17804 writable data section after it.
17805 * configure: Regenerated.
17807 2011-07-11 Roland McGrath <roland@hack.frob.com>
17809 * configure.in (-z relro check): Fix test code to make the variable
17811 * configure: Regenerated.
17813 2011-07-11 Ulrich Drepper <drepper@gmail.com>
17815 * nscd/nscd.h (struct traced_file): Define.
17816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17817 elements. Add traced_files.
17818 (inotify_fd): Declare.
17819 (register_traced_file): Declare.
17820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17821 (inotify_fd): Export.
17822 (resolv_conf_descr): Remove.
17823 (nscd_init): Move inotify descriptor creation to main.
17824 Don't register files for notification here.
17825 (register_traced_file): New function.
17826 (invalidate_cache): Don't use reset_res to determine whether to call
17827 res_init, go through the list of registered files.
17828 (main_loop_poll): The inotify descriptors are now stored in the
17829 structures for the traced files.
17830 (main_loop_epoll): Likewise
17831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17832 to __nss_disable_nscd.
17833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17834 for a database anymore. Check the records for all the registered
17836 * nss/Makefile (libnss_files-routines): Add files-init.
17837 (libnss_db-routines): Add db-init.
17838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17840 * nss/nss_db/db-init.c: New file.
17841 * nss/nss_files/files-init.c: New file.
17842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17843 __nss_lookup_function.
17844 (__nss_lookup_function): Call nss_load_library.
17845 (nss_load_all_libraries): New function.
17846 (__nss_disable_nscd): Take parameter with callback function for files
17847 to register. Set is_nscd. Load all the DSOs for the NSS modules
17848 used for the cached services.
17849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17851 options for features to all the files in nscd.
17853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17855 2011-07-10 Roland McGrath <roland@hack.frob.com>
17857 * csu/elf-init.c (__libc_csu_init): Comment typo.
17859 2011-07-09 Ulrich Drepper <drepper@gmail.com>
17861 * po/pl.po: Update from translation team.
17862 * po/ja.po: Likewise.
17863 * po/ru.po: Likewise.
17864 * po/ko.po: Likewise.
17865 * po/fr.po: Likewise.
17867 2011-07-09 Roland McGrath <roland@hack.frob.com>
17869 * configure.in (.ctors/.dtors header and trailer check):
17870 Use an empirical test on a built program.
17871 * configure: Regenerated.
17873 * configure.in (-z relro check): Use an empirical test on a built DSO.
17874 Detect, but do not require, on ia64.
17875 * configure: Regenerated.
17877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17878 Update tests that use readelf to use $READELF instead.
17879 * configure: Regenerated.
17881 2011-07-08 Ulrich Drepper <drepper@gmail.com>
17883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17884 if the result is not used.
17886 2011-07-05 Andreas Jaeger <aj@suse.de>
17889 * stdlib/tst-strtod.c: Add testcase.
17891 2011-07-07 Ulrich Drepper <drepper@gmail.com>
17893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
17894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
17895 The latter has a higher limit. Take additional parameter to pass to
17897 (__pathconf): Pass file to __statfs_link_max.
17898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17908 (__statfs_filesize_max): Likewise.
17909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17911 2011-07-05 Andreas Jaeger <aj@suse.de>
17913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17915 2011-07-06 Marek Polacek <mpolacek@redhat.com>
17917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17922 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17924 * Makefile (strop-tests): Add strncat.
17925 * string/test-strncat.c: New file.
17927 2011-06-30 Marek Polacek <mpolacek@redhat.com>
17929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17931 2011-06-21 Andreas Jaeger <aj@suse.de>
17933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17934 Copy rule from iconvdata/Makefile.
17936 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17940 but no long options are defined, just return 'W'.
17942 2011-06-22 Marek Polacek <mpolacek@redhat.com>
17945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17947 2011-07-06 Ulrich Drepper <drepper@gmail.com>
17949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17951 (innetgr): Likewise.
17953 2011-07-05 Roland McGrath <roland@hack.frob.com>
17955 * config.make.in (install_root): Default to $(DESTDIR).
17957 2011-07-05 Ulrich Drepper <drepper@gmail.com>
17959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17961 2011-07-02 Roland McGrath <roland@hack.frob.com>
17963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17966 containing directory rather than embedding absolute directory names.
17968 * scripts/check-local-headers.sh: Rewritten using awk.
17969 Match by word, not by line. Print error messages for matches.
17970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17972 * Makerules [shlib-lds-flags empty]:
17973 ($(common-objpfx)libc_pic.opts): New target.
17974 ($(common-objpfx)libc_pic.os.clean): New target.
17975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17977 * config.make.in (OBJCOPY): New variable.
17978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17979 * configure: Regenerated.
17981 * config.make.in (use-default-link): New variable.
17982 * configure.in (use_default_link): Grok --with-default-link to set it.
17983 * configure: Regenerated.
17984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17985 (shlib-lds, shlib-lds-flags): Define to empty.
17987 * Makerules (shlib-lds): New variable.
17988 (shlib-lds-flags): New variable.
17989 (build-shlib, build-moduile, build-module-asneeded): Use it.
17990 ($(common-objpfx)libc.so): Use $(shlib-lds).
17991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17995 DT_FLAGS/DT_FLAGS_1 with zero flags.
17997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17998 linker script munging.
18000 2011-07-02 Ulrich Drepper <drepper@gmail.com>
18002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18004 * crypt/sha512.c (sha512_process_block): Perform total addition using
18005 128-bit if possible.
18006 (__sha512_finish_ctx): Likewise.
18007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18009 * crypt/sha256.c (SWAP64): Define.
18010 (sha256_process_block): Perform total addition using 64-bit if
18012 (__sha256_finish_ctx): Likewise.
18014 2011-07-01 Ulrich Drepper <drepper@gmail.com>
18016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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
18021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18023 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
18025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18027 * nscd/hstcache.c (cache_addhst): Likewise.
18028 * nscd/grpcache.c (cache_addgr): Likewise.
18029 * nscd/aicache.c (addhstaiX): Likewise
18031 2011-07-01 Andreas Schwab <schwab@redhat.com>
18033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18034 domain only when needed.
18036 2011-06-30 Andreas Schwab <schwab@redhat.com>
18038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18039 is always restored.
18041 2011-06-29 Ulrich Drepper <drepper@gmail.com>
18043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18044 are re-adding the entry.
18045 * nscd/servicescache.c (cache_addserv): Likewise.
18047 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18049 * sysdeps/generic/dl-irel.h: fix protection against multiple
18051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18053 2011-06-28 Ulrich Drepper <drepper@gmail.com>
18056 * malloc/memusage.sh: Fix quoting in message.
18057 * debug/xtrace.sh: Likewise.
18059 * configure.in: Remove support for --experimental-malloc option, make
18061 * config.make.in: Likewise.
18062 * malloc/Makefile: Likewise.
18064 2011-06-27 Andreas Schwab <schwab@redhat.com>
18066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18067 two-byte characters.
18069 2011-06-27 Roland McGrath <roland@hack.frob.com>
18071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18072 AC_CACHE_CHECK invocation.
18073 * configure: Regenerated.
18075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18077 2011-06-27 Ulrich Drepper <drepper@gmail.com>
18080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18081 bit from old_res_options.
18083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18086 value type for setfct.
18088 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18091 __gettimeofday instead of gettimeofday.
18093 2011-06-26 Ulrich Drepper <drepper@gmail.com>
18095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18097 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18104 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18108 strcpy-sse2-unaligned strncpy-sse2-unaligned
18109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18119 (STRCPY): Support SSE2 and SSSE3 versions.
18121 2011-06-24 Ulrich Drepper <drepper@gmail.com>
18124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18126 kernels which artificially limit size of requests.
18128 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18146 Enable unaligned load optimization for Intel Core i3, i5 and i7
18148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18150 (index_Fast_Unaligned_Load): Define.
18151 (HAS_FAST_UNALIGNED_LOAD): Define.
18153 2011-06-23 Marek Polacek <mpolacek@redhat.com>
18155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18157 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18161 until it is clear that the information is realy needed.
18162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18164 2011-06-22 Andreas Schwab <schwab@redhat.com>
18166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18168 2011-06-22 Ulrich Drepper <drepper@gmail.com>
18170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18171 /sys/devices/system/cpu/online if it is usable.
18173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18174 reading the information from the /proc filesystem to once a second.
18176 2011-06-21 Andreas Jaeger <aj@suse.de>
18178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18179 NULL after inclusion of kernel headers.
18181 2011-06-21 Ulrich Drepper <drepper@gmail.com>
18183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18184 calls to internal_setent.
18187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18188 addresses using gethostbyname4_r ignore IPv4 addresses.
18190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18195 2011-06-20 David S. Miller <davem@davemloft.net>
18197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18202 (elf_irel): Use it.
18203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18207 * sysdeps/x86_64/dl-irel.h: Likewise.
18209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18210 * elf/dl-sym.c: Likewise.
18212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18215 need to dereference resplen2.
18217 2011-06-14 Andreas Schwab <schwab@redhat.com>
18219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18221 2011-06-15 Ulrich Drepper <drepper@gmail.com>
18223 * Makeconfig: Define vardbdir and inst_vardbdir.
18224 * nss/Makefile: Add rules to install db-Makefile.
18226 * nss/nss_db/db-XXX.c: Cleanup.
18228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18232 * nss/makedb.c: Implement -g option to specify that value strings
18233 are generated and should not be added to table iterated over for
18235 * nss/nss_db/db-initgroups.c: New file.
18237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18241 (internal_getgrouplist): Adjust to name change.
18242 Update use_initgroups_entry if this is not the first call.
18243 * nss/databases.def: Add initgroups entry.
18245 * nss/makedb.c (compute_tables): Check result of multiple hash table
18246 sizes to minimize maximum chain length.
18248 2011-06-14 Ulrich Drepper <drepper@gmail.com>
18250 * Versions.def: Add entry for libnss_db.
18251 * shlib-versions: Likewise.
18252 * nss/Makefile: Add rules to build libnss_db.
18253 * nss/Versions: Add libnss_db information. Organize libnss_files
18255 * nss/db-Makefile: Add gshadow support. Change rules for the new
18256 makedb progra. Some minor improvements to generate smaller files.
18257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18259 * nss/makedb.c: ...here.
18260 Improve database format to be smaller and require less memory at
18262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18264 * nss/nss_db/db-netgrp.c: Likewise.
18265 * nss/nss_db/db-open.c: Likewise.
18266 * nss/nss_files/flies-XXX.x: Adjust comments.
18267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18268 * nss/nss_files/files-grp.c: Likewise.
18269 * nss/nss_files/files-hosts.c: Likewise.
18270 * nss/nss_files/files-network.c: Likewise.
18271 * nss/nss_files/files-proto.c: Likewise.
18272 * nss/nss_files/files-pwd.c: Likewise.
18273 * nss/nss_files/files-rpc.c: Likewise.
18274 * nss/nss_files/files-service.c: Likewise.
18275 * nss/nss_files/files-sgrp.c: Likewise.
18276 * nss/nss_files/files-spwd.c: Likewise.
18277 * nss/nss_db/db-alias.c: Removed.
18278 * nss/nss_db/dummy-db.h: Removed.
18280 2011-06-02 Ulrich Drepper <drepper@gmail.com>
18282 * nss/makedb.c: Rewritten to not use database library.
18283 * nss/Makefile: Update to build new makedb program.
18285 2011-06-14 Andreas Jaeger <aj@suse.de>
18287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18288 memset declaration.
18290 2011-06-10 Andreas Schwab <schwab@redhat.com>
18292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18295 2011-06-10 Roland McGrath <roland@hack.frob.com>
18297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18298 * elf/Makefile ($(objpfx)ld.so): Likewise.
18300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18301 Don't list ld.so twice in dependencies.
18303 * posix/bug-regex31.c: Include <stdlib.h>.
18305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18307 * nis/nss_compat/compat-spwd.c
18308 (getspent_next_nss_netgr): Remove unused variable.
18309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18312 nonmembers" output to use the right array.
18314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18320 * catgets/gencat.c (read_input_file): Likewise.
18321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18324 variable definition inside #if's controlling its use.
18326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18338 * configure: Regenerated.
18340 * Makerules: Revert last change.
18341 * elf/Makefile: Likewise.
18343 2011-06-09 Roland McGrath <roland@hack.frob.com>
18345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18347 (reloc-link): Likewise.
18349 2011-06-09 Ulrich Drepper <drepper@gmail.com>
18351 * elf/Makefile: Add rules to build pldd.
18352 * elf/pldd.c: New file.
18353 * elf/pldd-xx.c: New file.
18355 2011-06-07 Ulrich Drepper <drepper@gmail.com>
18357 * version.h: Update for 2.15 development version.
18359 2011-06-07 David S. Miller <davem@davemloft.net>
18361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18364 elf_machine_lazy_rel): Likewise.
18365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18367 elf_machine_lazy_rel): Likewise.
18368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18369 dl_hwcap via passed in argument.
18370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18373 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18377 2011-06-06 Roland McGrath <roland@hack.frob.com>
18380 * manual/fdl-1.1.texi: New file, verbatim from:
18381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18382 * manual/lgpl-2.1.texi: New file, verbatim from:
18383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18384 * manual/Makefile (licenses): New variable, list those new file names.
18386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18388 * manual/fdl.texi: File removed.
18389 * manual/lesser.texi: File removed.
18390 * manual/libc.texinfo (Copying, Documentation License):
18391 Use new @include file names, put @appendix directive before @include.
18393 2011-06-04 Jakub Jelinek <jakub@redhat.com>
18396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18398 (mq_open): Add __NTH.
18400 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18403 Assume Intel Core i3/i5/i7 processor if AVX is available.
18405 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18410 2011-05-31 Andreas Schwab <schwab@redhat.com>
18412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18413 memory. Use alloca_account. Fix memory leak when retrying.
18415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
18417 * version.h (RELEASE): Bump for 2.14 release.
18418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18420 * config.make.in (RANLIB): Remove entry.
18422 2011-05-30 Ulrich Drepper <drepper@gmail.com>
18424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18425 (libc.pot): Work around missing support for .ksh extension in xgettext.
18428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18429 if both request failed.
18430 (send_dg): In case of server errors clear resplen or *resplen2.
18433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18434 when there are multiple maps.
18435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18436 (_dl_fini): Remove test here.
18438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18440 2011-05-29 Ulrich Drepper <drepper@gmail.com>
18443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18444 bit from old_res_options.
18445 (gaih_inet): Likewise.
18448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
18451 * resolv/res_init.c (res_setoptions): Make the code more compact.
18454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18463 * malloc/malloc.h: Declare malloc hook variables as volatile.
18465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
18470 raise in the comment.
18471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
18475 2011-05-28 Ulrich Drepper <drepper@gmail.com>
18478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18479 grow the buffers more if it already has to be sufficient.
18480 (build_wcs_upper_buffer): Likewise.
18481 * posix/regexec.c (check_matching): Likewise.
18482 (clean_state_log_if_needed): Likewise.
18483 (extend_buffers): Don't enlarge buffers beyond size of the input
18485 Patches mostly by Emil Wojak <emil@wojak.eu>.
18486 * posix/bug-regex32.c: New file.
18487 * posix/Makefile (tests): Add bug-regex32.
18489 * locale/findlocale.c (_nl_find_locale): Return right away if
18490 _nl_explode_name failed.
18491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18495 * debug/xtrace.sh: Unify messages.
18496 * malloc/memusage.sh: Likewise.
18499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18500 time symbol from vDSO. Substitute with vsyscall if not available.
18501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18507 Add sendmmsg and internal_sendmmsg.
18508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18516 2011-05-27 Ulrich Drepper <drepper@gmail.com>
18519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18526 * iconvdata/Makefile (tests): Add bug-iconv9.
18527 * iconvdata/bug-iconv9.c: New file.
18529 2011-05-27 Andreas Schwab <schwab@redhat.com>
18532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18534 2011-05-25 Jakub Jelinek <jakub@redhat.com>
18536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18537 (struct user_regs_struct): Change intcs field back to cs.
18539 2011-05-25 Ulrich Drepper <drepper@gmail.com>
18541 * po/ja.po: Update from translation team.
18543 2011-05-23 Ulrich Drepper <drepper@gmail.com>
18546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18549 2011-05-20 Andreas Schwab <schwab@redhat.com>
18551 * stdlib/longlong.h: Update from GCC.
18553 2011-05-23 Andreas Schwab <schwab@redhat.com>
18555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18558 Add parameter name.
18559 (__sysconf): Pass it down.
18561 2011-05-22 Ulrich Drepper <drepper@gmail.com>
18564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18568 add in in __libc_use_alloca calls. Adjust callers.
18569 (glob): Use malloc in some situations.
18571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18575 2011-05-21 Ulrich Drepper <drepper@gmail.com>
18577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18578 and CLOCK_BOOTTIME_ALARM.
18581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18584 * string/_strerror.c (__strerror_r): Print negative errors as signed
18588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18592 * configure.in: Fix typo in redirection and correct removal of test
18593 files in two cases.
18596 * locale/setlocale.c (new_composite_name): Fix test to check for
18597 identical name of all categories.
18600 * libio/filedoalloc.c (local_isatty): New function.
18601 (_IO_file_doallocate): Use local_isatty.
18602 * stdio-common/perror.c (perror): In case a new stream is used
18603 forward the stream error.
18604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18607 2011-05-20 Ulrich Drepper <drepper@gmail.com>
18610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18612 * include/alloca.h (extend_alloca_account): Define.
18615 * posix/regex.h: Fix comments with documentation of user-accessible
18616 fields after compilation and describe correct free'ing of pattern
18617 after re_compile_pattern.
18618 Patch by Reuben Thomas <rrt@sc3d.org>.
18620 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18623 and -mno-altivec to prevent the compiler from using Altivec and/or
18624 VSX instructions when the corresponding registers are not available.
18626 2011-05-19 Andreas Schwab <schwab@redhat.com>
18628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18630 2011-05-19 Ulrich Drepper <drepper@gmail.com>
18632 * libio/freopen.c (freopen): Use __dup2, not dup2.
18633 * libio/freopen64.c (freopen64): Likewise.
18635 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18639 * math/Makefile (tests): Add test-powl.
18640 (CFLAGS-test-powl.c): Define.
18641 * math/test-powl.c: New file.
18643 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18647 2011-05-17 Ulrich Drepper <drepper@gmail.com>
18650 * iconvdata/gb18030.c: Update to GB18020-2005.
18652 2011-05-16 Ulrich Drepper <drepper@gmail.com>
18654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18656 Patch by Aharon Robbins <arnold@skeeve.com>.
18659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18664 through underflows.
18667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18668 point to strings before performing equality test for error_one_per_line
18672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18676 (struct user_fpregs_struct): Avoid __uint*_t types.
18679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18680 symbol info. Use it instead of calling _dl_addr locally.
18681 (lock_and_info): New function.
18682 (tr_freehook): Call lock_and_info and pass symbol info as additional
18683 parameter to tr_where.
18684 (tr_mallochook): Likewise.
18685 (tr_reallochook): Likewise.
18686 (tr_memalignhook): Likewise.
18688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18689 used and couldn't be at all thread-safe.
18691 2011-05-15 Ulrich Drepper <drepper@gmail.com>
18693 * libio/freopen.c (freopen): Don't close old file descriptor
18694 before the new one is opened. Instead dup the new file descriptor
18695 to the old one after the new stream is created.
18696 * libio/freopen64.c (freopen64): Likewise.
18697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18698 * libio/fileops.c (_IO_new_file_close_it): Handle new
18699 _IO_FLAGS2_NOCLOSE flag.
18700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18703 _IO_FLAGS2_NOCLOSE flag.
18704 * include/unistd.h: Add hidden_proto for dup3.
18705 Define __have_dup3.
18706 * io/dup3.c: Define hidden symbol.
18707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18711 when an incomplete long option is used.
18712 * posix/tst-getopt_long1.c: New file.
18713 * posix/Makefile (tests): Add tst-getopt_long1.
18716 * scripts/config.guess: Update from autoconf-2.68.
18717 * scripts/config.sub: Likewise.
18720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18722 (has_cpuclock): ...this. New function.
18723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18724 macro here based on has_cpuclock code.
18727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18728 First byte (not low byte) is now always NUL.
18729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18732 Use non-cancelable interfaces.
18735 * locale/iso-639.def: Add entry for Sorani.
18738 * include/stdlib.h: Move include protection to the right place.
18739 Define abort_msg_s. Declare __abort_msg with it.
18740 * stdlib/abort.c (__abort_msg): Adjust type.
18741 * assert/assert.c (__assert_fail_base): New function. Majority
18742 of code from __assert_fail. Allocate memory for __abort_msg with
18744 (__assert_fail): Now call __assert_fail_base.
18745 * assert/assert-perr.c: Remove bulk of implementation. Use
18746 __assert_fail_base.
18747 * include/assert.hL Declare __assert_fail_base.
18748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18752 2011-05-14 Ulrich Drepper <drepper@gmail.com>
18756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18757 until all modules are registered in the DTV.
18758 * elf/Makefile: Add rules to build and run tst-tls19.
18759 * elf/tst-tls19.c: New file.
18760 * elf/tst-tls19mod1.c: New file.
18761 * elf/tst-tls19mod2.c: New file.
18762 * elf/tst-tls19mod3.c: New file.
18763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18771 two-byte sequence errors.
18772 * iconvdata/Makefile (tests): Add bug-iconv8.
18773 * iconvdata/bug-iconv8.c: New file.
18776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18783 (dummy_getcfa): New function.
18784 (init): Get _Unwind_GetCFA address, use dummy if not found.
18785 (backtrace_helper): In recursion check, also check whether CFA changes.
18786 (__backtrace): Completely initialize arg.
18788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
18789 storing incomplete byte sequence in state object. Avoid testing for
18790 guaranteed too small input if we know there is enough data available.
18792 2011-05-11 Andreas Schwab <schwab@redhat.com>
18794 * Makeconfig (+link-pie): Indent.
18795 * Rules (binaries-pie): Define if $(have-fpie) and
18797 (binaries-shared): Also filter out $(binaries-pie).
18798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18799 * nscd/Makefile (others-pie): Add nscd.
18800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18801 ($(objpfx)nscd): Remove command override.
18802 * login/Makefile (others-pie): Add pt_chown.
18803 ($(objpfx)pt_chown): Remove command override.
18804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18805 remove command overrides.
18807 2011-05-13 Ulrich Drepper <drepper@gmail.com>
18809 * libio/tst_putwc.c: Fix error messages.
18812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18813 currently writing and seek to current position when not.
18814 * libio/Makefile (tests): Add bug-fclose1.
18815 * libio/bug-fclose1.c: New file.
18817 2011-05-12 Ulrich Drepper <drepper@gmail.com>
18820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18821 don't set DF_1_NODELETE here.
18822 (do_lookup_x): When entering new entry test for copy relocation
18823 and if necessary set DF_1_NODELETE flag.
18824 * elf/tst-unique4.cc: New file.
18825 * elf/tst-unique4.h: New file.
18826 * elf/tst-unique4lib.cc: New file.
18827 * elf/Makefile: Add rules to build and run tst-unique4.
18828 Patch by Piotr Bury <pbury@goahead.com>.
18830 2011-05-11 Ulrich Drepper <drepper@gmail.com>
18833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18836 * misc/mntent_r.c (addmntent): Flush the stream after the output
18839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18840 (is_trusted_path_normalize): Skip initial colon. Append slash
18841 to empty buffer. Duplicate is_trusted_path code but allow
18842 constructed patch to be prefix.
18843 (is_dst): Allow $ORIGIN followed by /.
18844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18845 Correct testing of result of is_trusted_path_normalize
18846 (decompose_rpath): Fix warning.
18848 2011-05-10 Ulrich Drepper <drepper@gmail.com>
18851 * grp/initgroups.c (internal_getgrouplist): When we found the service
18852 list through the initgroups entry in nsswitch.conf do not always
18853 continue on a successful lookup. Don't always use the
18854 __nss_group_database value if it is set.
18855 * nss/nsswitch.conf (initgroups): Change action for successful db
18856 lookup to continue for compatibility.
18858 2011-05-09 Ulrich Drepper <drepper@gmail.com>
18861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18865 * iconvdata/tst-tables.sh: Likewise.
18866 * iconvdata/cp770.c: New file.
18867 * iconvdata/cp771.c: New file.
18868 * iconvdata/cp772.c: New file.
18869 * iconvdata/cp773.c: New file.
18870 * iconvdata/cp774.c: New file.
18871 * iconvdata/testdata/CP770: New file.
18872 * iconvdata/testdata/CP770..UTF8: New file.
18873 * iconvdata/testdata/CP771: New file.
18874 * iconvdata/testdata/CP771..UTF8: New file.
18875 * iconvdata/testdata/CP772: New file.
18876 * iconvdata/testdata/CP772..UTF8: New file.
18877 * iconvdata/testdata/CP773: New file.
18878 * iconvdata/testdata/CP773..UTF8: New file.
18879 * iconvdata/testdata/CP774: New file.
18880 * iconvdata/testdata/CP774..UTF8: New file.
18882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18884 * iconvdata/gen-8bit-gap.sh: Likewise.
18885 * iconvdata/gen-8bit.sh: Likewise.
18887 * locale/iso-639.def: Add ary entry.
18890 * locale/C-translit.h.in: Add U20A1 transliteration.
18893 * locale/iso-639.def: Add wae entry.
18894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18901 * locale/C-translit.h.in: Add entry for U20B9.
18902 Patch by pravin.d.s@gmail.com.
18904 2011-05-08 Ulrich Drepper <drepper@gmail.com>
18907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18908 ENAMETOOLONG use generic getcwd.
18909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18910 in rtld. Use *stat64.
18911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
18912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
18913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
18914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18918 __fstatat64 macros.
18919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18920 * dirent/rewinddir.c: Add libc_hidden_def.
18921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
18922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
18924 * include/dirent.h (__alloc_dir): Add flags parameter.
18925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18929 from fdopendir if O_CLOEXEC is already set.
18931 2011-03-15 Alan Modra <amodra@gmail.com>
18933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18934 l_tls_firstbyte_offset non-zero. Save padding offset in
18935 l_tls_firstbyte_offset for later use.
18936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18937 freeing static tls block.
18939 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18942 where #ifdef was intended. The intent is to prevent ARG_MAX from
18943 being defined by the kernel headers.
18945 2011-05-07 Ulrich Drepper <drepper@gmail.com>
18948 * resolv/resolv.h: Define RES_NOTLDQUERY.
18949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18950 no-tld-query and set RES_NOTLDQUERY.
18951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18953 modern BIND to search name as TLD unless forbidden.
18955 2011-05-07 Petr Baudis <pasky@suse.cz>
18956 Ulrich Drepper <drepper@gmail.com>
18959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18960 (is_trusted_path): ...to here.
18961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
18962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
18963 using is_trusted_path_normalize() in setuid scripts.
18965 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18968 __BEGIN/__END_DECLS.
18970 2011-05-06 Ulrich Drepper <drepper@gmail.com>
18972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18973 NSS_STATUS_NOTFOUND if no record was found.
18975 2011-05-05 Andreas Schwab <schwab@redhat.com>
18977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18978 (headers-not-in-tirpc): Remove rpc/netdb.h
18979 * resolv/netdb.h: Revert last change.
18981 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18984 circular dependency between libgcc.a and libc.a.
18986 2011-05-05 Andreas Schwab <schwab@redhat.com>
18988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18989 * nis/Makefile: Don't install rpcsvc/*.
18990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18991 instead of <rpc/types.h>.
18992 (MAXHOSTNAMELEN): Define.
18994 2011-05-03 Andreas Schwab <schwab@redhat.com>
18996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18998 2011-04-28 Maciej Babinski <mbabinski@google.com>
19001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19002 gethostbyname4_r when IPv6 results are possible.
19004 2011-05-02 Ulrich Drepper <drepper@gmail.com>
19007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19008 _PC_PIPE_BUF handling.
19010 2011-04-30 Bruno Haible <bruno@clisp.org>
19013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19016 * inet/getnameinfo.c (getnameinfo): Likewise.
19018 2011-04-29 Ulrich Drepper <drepper@gmail.com>
19020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19021 to groups setting in database lookup.
19022 * nss/nsswitch.conf: Add initgroups entry.
19024 2011-04-22 Ulrich Drepper <drepper@gmail.com>
19027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19029 Patch by Eric Blake <eblake@redhat.com>.
19031 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19033 * sunrpc/Makefile (need-export-routines): Add svc_run.
19034 (routines): Remove svc_run.
19035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19037 * sunrpc/svc_run.c (svc_run): Likewise.
19038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19040 2011-04-21 Ulrich Drepper <drepper@gmail.com>
19042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19043 problem in reallocation in last patch.
19045 2011-04-20 Ulrich Drepper <drepper@gmail.com>
19047 * sunrpc/Makefile: Move inclusion of Rules.
19049 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19051 * nss/nss_files/files-initgroups.c: New file.
19052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19054 _nss_files_initgroups_dyn.
19056 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19058 * elf/elf.h (R_ARM_IRELATIVE): Define.
19060 2011-04-19 Ulrich Drepper <drepper@gmail.com>
19062 * po/ru.po: Update from translation team.
19064 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19069 2011-02-06 Mike Frysinger <vapier@gentoo.org>
19072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19078 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19086 2011-04-17 Ulrich Drepper <drepper@gmail.com>
19089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19091 * stdlib/bug-getcontext.c: New file.
19092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19094 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19097 instructions into .machine "z9-109".
19098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19101 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19104 between environment variables and auxiliary vector.
19106 2011-04-16 Ulrich Drepper <drepper@gmail.com>
19108 * Makefile: Add rules to build linkobj/libc.so.
19109 * include/libc-symbols.h: Define libc_hidden_nolink.
19110 * include/rpc/auth.h: Mark functions which are to be hidden.
19111 * include/rpc/auth_des.h: Likewise.
19112 * include/rpc/auth_unix.h: Likewise.
19113 * include/rpc/clnt.h: Likewise.
19114 * include/rpc/des_crypt.h: Likewise.
19115 * include/rpc/key_prot.h: Likewise.
19116 * include/rpc/pmap_clnt.h: Likewise.
19117 * include/rpc/pmap_prot.h: Likewise.
19118 * include/rpc/pmap_rmt.h: Likewise.
19119 * include/rpc/rpc_msg.h: Likewise.
19120 * include/rpc/svc.h: Likewise.
19121 * include/rpc/svc_auth.h: Likewise.
19122 * include/rpc/xdr.h: Likewise.
19123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19124 * nss/Makefile: Likewise.
19125 * sunrpc/Makefile: Don't install headers. Build library with normal
19126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19128 for the compat linking library. Remove use of INTDEF/INTUSE.
19129 * sunrpc/auth_none.c: Likewise.
19130 * sunrpc/auth_unix.c: Likewise.
19131 * sunrpc/authdes_prot.c: Likewise.
19132 * sunrpc/authuxprot.c: Likewise.
19133 * sunrpc/clnt_gen.c: Likewise.
19134 * sunrpc/clnt_perr.c: Likewise.
19135 * sunrpc/clnt_raw.c: Likewise.
19136 * sunrpc/clnt_simp.c: Likewise.
19137 * sunrpc/clnt_tcp.c: Likewise.
19138 * sunrpc/clnt_udp.c: Likewise.
19139 * sunrpc/clnt_unix.c: Likewise.
19140 * sunrpc/des_crypt.c: Likewise.
19141 * sunrpc/des_soft.c: Likewise.
19142 * sunrpc/get_myaddr.c: Likewise.
19143 * sunrpc/key_call.c: Likewise.
19144 * sunrpc/key_prot.c: Likewise.
19145 * sunrpc/netname.c: Likewise.
19146 * sunrpc/pm_getmaps.c: Likewise.
19147 * sunrpc/pm_getport.c: Likewise.
19148 * sunrpc/pmap_clnt.c: Likewise.
19149 * sunrpc/pmap_prot.c: Likewise.
19150 * sunrpc/pmap_prot2.c: Likewise.
19151 * sunrpc/pmap_rmt.c: Likewise.
19152 * sunrpc/publickey.c: Likewise.
19153 * sunrpc/rpc_cmsg.c: Likewise.
19154 * sunrpc/rpc_common.c: Likewise.
19155 * sunrpc/rpc_dtable.c: Likewise.
19156 * sunrpc/rpc_prot.c: Likewise.
19157 * sunrpc/rpc_thread.c: Likewise.
19158 * sunrpc/rtime.c: Likewise.
19159 * sunrpc/svc.c: Likewise.
19160 * sunrpc/svc_auth.c: Likewise.
19161 * sunrpc/svc_authux.c: Likewise.
19162 * sunrpc/svc_raw.c: Likewise.
19163 * sunrpc/svc_run.c: Likewise.
19164 * sunrpc/svc_simple.c: Likewise.
19165 * sunrpc/svc_tcp.c: Likewise.
19166 * sunrpc/svc_udp.c: Likewise.
19167 * sunrpc/svc_unix.c: Likewise.
19168 * sunrpc/svcauth_des.c: Likewise.
19169 * sunrpc/xcrypt.c: Likewise.
19170 * sunrpc/xdr.c: Likewise.
19171 * sunrpc/xdr_array.c: Likewise.
19172 * sunrpc/xdr_float.c: Likewise.
19173 * sunrpc/xdr_intXX_t.c: Likewise.
19174 * sunrpc/xdr_mem.c: Likewise.
19175 * sunrpc/xdr_rec.c: Likewise.
19176 * sunrpc/xdr_ref.c: Likewise.
19177 * sunrpc/xdr_sizeof.c: Likewise.
19178 * sunrpc/xdr_stdio.c: Likewise.
19180 2011-04-10 Ulrich Drepper <drepper@gmail.com>
19183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19184 * sysdeps/ia64/dl-tls.h: Likewise.
19185 * sysdeps/powerpc/dl-tls.h: Likewise.
19186 * sysdeps/s390/dl-tls.h: Likewise.
19187 * sysdeps/sh/dl-tls.h: Likewise.
19188 * sysdeps/sparc/dl-tls.h: Likewise.
19189 * sysdeps/x86_64/dl-tls.h: Likewise.
19190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19192 2011-03-14 Andreas Schwab <schwab@redhat.com>
19194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19195 rpath element also skip the following colon.
19196 (expand_dynamic_string_token): Add is_path parameter and pass
19197 down to DL_DST_REQUIRED and _dl_dst_substitute.
19198 (decompose_rpath): Call expand_dynamic_string_token with
19199 non-zero is_path. Ignore empty rpaths.
19200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19203 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19208 2011-04-09 Ulrich Drepper <drepper@gmail.com>
19211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19212 Patch by Filipe David Manana <fdmanana@apache.org>.
19214 2011-04-07 Andreas Schwab <schwab@redhat.com>
19216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19217 Maintain aligned stack.
19218 (CHECK_RSP): Remove unused macro.
19220 2011-04-03 Ulrich Drepper <drepper@gmail.com>
19222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19225 2011-04-02 Ulrich Drepper <drepper@gmail.com>
19227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
19231 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19236 * sysdeps/x86_64/memmove.c: New file.
19237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19238 (memcpy): Renamed to ...
19239 (__new_memcpy): This.
19240 (memcpy): Provide GLIBC_2_14 memcpy.
19241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19242 (memcpy): Provide GLIBC_2_2_5 memcpy.
19244 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19249 2011-03-30 Andreas Schwab <schwab@redhat.com>
19251 * misc/syncfs.c: New file.
19252 * misc/Makefile (routines): Add syncfs.
19253 * posix/unistd.h: Declare syncfs.
19254 * sysdeps/unix/syscalls.list: Add syncfs.
19256 2011-04-01 Andreas Schwab <schwab@redhat.com>
19258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19268 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19279 sync_file_range.c with -fexceptions.
19280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
19287 sync_file_range as cancellation point
19288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19289 now a wrapper around __call_sync_file_range with cancellation handling.
19290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19292 function name to __call_sync_file_range.
19293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19294 Add call_sync_file_range.
19296 2011-04-01 Andreas Schwab <schwab@redhat.com>
19298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19301 2011-04-01 Ulrich Drepper <drepper@gmail.com>
19303 * iconv/iconv.h: Fix typo in comment.
19304 * io/fcntl.h: Likewise.
19305 * libio/stdio.h: Likewise.
19306 * posix/spawn.h: Likewise.
19307 * posix/unistd.h: Likewise.
19308 * stdlib/stdlib.h: Likewise.
19309 * time/time.h: Likewise.
19310 * wcsmbs/wchar.h: Likewise.
19312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19313 open_by_handle): Add.
19314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19316 Augment a few comments.
19317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19325 * io/fcntl.h (AT_EMPTY_PATH): Define.
19327 2011-03-30 Ulrich Drepper <drepper@gmail.com>
19329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
19334 * Versions.def: Add GLIBC_2.14.
19335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19338 2011-03-22 Ulrich Drepper <drepper@gmail.com>
19340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19344 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19347 * string/test-strncmp.c (do_page_test): New function.
19348 (check2): Likewise.
19349 (test_main): Call check2.
19350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19352 2011-03-20 Ulrich Drepper <drepper@gmail.com>
19355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19356 Handle cache information in CPU leaf 4.
19357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19359 2011-03-18 Ulrich Drepper <drepper@gmail.com>
19362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19363 character representation.
19364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19366 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19369 END(__isnan) to END(__isnanf) to match function entry point/label
19370 EALIGN(__isnanf,...).
19372 2011-03-10 Jakub Jelinek <jakub@redhat.com>
19374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19376 2011-03-10 Ulrich Drepper <drepper@gmail.com>
19379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19380 copy from the symbol referenced in the relocation to initialize the
19382 Patch by Piotr Bury <pbury@goahead.com>.
19383 * elf/Makefile: Add rules to build and tst-unique3.
19384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19385 * elf/tst-unique3.cc: New file.
19386 * elf/tst-unique3.h: New file.
19387 * elf/tst-unique3lib.cc: New file.
19388 * elf/tst-unique3lib2.cc: New file.
19390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19392 2011-03-10 Mike Frysinger <vapier@gentoo.org>
19394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19398 2011-03-06 Ulrich Drepper <drepper@gmail.com>
19400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19401 to-be-loaded object along a path to loader is ld.so.
19403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19404 Ulrich Drepper <drepper@gmail.com>
19406 * sysdeps/x86_64/memset.S: After aligning destination, code
19407 branches to different locations depending on the value of
19408 misalignment, when multiarch is enabled. Fix this.
19410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19413 Set _x86_64_preferred_memory_instruction for AMD processsors.
19414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19415 Set bit_Prefer_SSE_for_memop for AMD processors.
19417 2011-03-04 Ulrich Drepper <drepper@gmail.com>
19419 * libio/fmemopen.c (fmemopen): Optimize a bit.
19421 2011-03-03 Andreas Schwab <schwab@redhat.com>
19423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19425 2011-03-03 Roland McGrath <roland@redhat.com>
19427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19429 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
19432 __bzero_ultra1 instead of __memset_ultra1.
19434 2011-02-23 Andreas Schwab <schwab@redhat.com>
19435 Ulrich Drepper <drepper@gmail.com>
19438 * include/link.h (struct link_map): Add l_orig_initfini.
19439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19440 returning unsuccessfully.
19441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19442 close of a file loaded at startup, restore the original l_initfini
19444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19445 list, store the pointer.
19446 * elf/Makefile ($(objpfx)noload-mem): New rule.
19447 (noload-ENV): Define.
19448 (tests): Add $(objpfx)noload-mem.
19449 * elf/noload.c: Include <memcheck.h>.
19450 (main): Call mtrace. Close all opened handles.
19452 2011-02-17 Andreas Schwab <schwab@redhat.com>
19455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19456 dependencies are missing.
19458 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19460 Fix __if_freereq crash: Unlike the generic version which uses free,
19462 * sysdeps/mach/hurd/ifreq.h: New file.
19464 2011-01-27 Petr Baudis <pasky@suse.cz>
19465 Ulrich Drepper <drepper@gmail.com>
19468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19469 to extend_alloca().
19470 * stdio-common/bug23.c: New file.
19471 * stdio-common/Makefile (tests): Add bug23.
19473 2010-09-28 Andreas Schwab <schwab@redhat.com>
19474 Ulrich Drepper <drepper@gmail.com>
19477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19478 before performing relro protection. At old place add assertion
19479 to make sure nothing changed.
19481 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19482 Glauber de Oliveira Costa <glommer@gmail.com>
19484 * elf/elf.h: Add new ARM TLS relocs.
19486 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19493 * sysdeps/wordsize-64/tst-writev.c: New file.
19495 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19499 insns in _dl_start to prevent a TOC reference before relocs are
19502 2011-02-15 Ulrich Drepper <drepper@gmail.com>
19505 * Makeconfig: Remove RANLIB definition.
19506 * Makerules: Don't use RANLIB.
19507 * aclocal.m4: Remove ranlib test.
19508 * configure.in: No need to check for ranlib.
19509 * elf/rtld-Rules: Don't use RANLIB.
19511 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19516 inclusion protection macro.
19518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19519 SIGRTMIN and SIGRTMAX and print information in that case only when
19520 SIGRTMIN is defined.
19522 2011-02-11 Jakub Jelinek <jakub@redhat.com>
19524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19525 arginfo fn returning -1.
19527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19528 and thousands string is zero terminated.
19530 2011-02-03 Andreas Schwab <schwab@redhat.com>
19532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19533 sysdeps/unix/sysv/linux/bits/socket.h.
19535 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19538 (__CPU_COUNT): Remove old macros.
19539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19541 (__CPU_ALLOC, __CPU_FREE): Add macros.
19542 (__sched_cpualloc, __sched_cpufree): Add declarations.
19544 2011-02-05 Ulrich Drepper <drepper@gmail.com>
19546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19549 (readdhstai): Return value of addhstaiX call.
19550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19551 (addgrbyX): Return value returned by cache_addgr.
19552 (readdgrbyname): Return value returned by addgrbyX.
19553 (readdgrbygid): Likewise.
19554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19555 (addpwbyX): Return value returned by cache_addpw.
19556 (readdpwbyname): Return value returned by addhstbyX.
19557 (readdpwbyuid): Likewise.
19558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19559 (addservbyX): Return value returned by cache_addserv.
19560 (readdservbyname): Return value returned by addservbyX:
19561 (readdservbyport): Likewise.
19562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19563 (addhstbyX): Return value returned by cache_addhst.
19564 (readdhstbyname): Return value returned by addhstbyX.
19565 (readdhstbyaddr): Likewise.
19566 (readdhstbynamev6): Likewise.
19567 (readdhstbyaddrv6): Likewise.
19568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19569 (readdinitgroups): Return value returned by addinitgroupsX.
19570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19571 (prune_cache): Keep track of timeout value of re-added entries.
19572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19573 * nscd/nscd.h: Adjust prototypes of readd* functions.
19575 2011-02-04 Roland McGrath <roland@redhat.com>
19577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19578 (nis_stats): Likewise.
19579 * nis/nis_modify.c (nis_modify): Likewise.
19580 * nis/nis_remove.c (nis_remove): Likewise.
19581 * nis/nis_add.c (nis_add): Likewise.
19583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19585 * posix/fnmatch_loop.c: Add some consts.
19587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19589 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19592 * config.make.in (config-cflags-novzeroupper): Define.
19593 * configure.in: Substitute libc_cv_cc_novzeroupper.
19594 * elf/Makefile (AVX-CFLAGS): Define.
19595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19596 (CFLAGS-tst-auditmod4a.c): Likewise.
19597 (CFLAGS-tst-auditmod4b.c): Likewise.
19598 (CFLAGS-tst-auditmod6b.c): Likewise.
19599 (CFLAGS-tst-auditmod6c.c): Likewise.
19600 (CFLAGS-tst-auditmod7b.c): Likewise.
19601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19603 2011-02-02 Ulrich Drepper <drepper@gmail.com>
19605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19606 function to the callback.
19607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19609 2011-02-02 Andreas Schwab <schwab@redhat.com>
19611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19614 2011-01-19 Ulrich Drepper <drepper@gmail.com>
19617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19624 * elf/Makefile: Add rules to build and run new test.
19625 * elf/tst-initorder.c: New file.
19626 * elf/tst-initorder.exp: New file.
19627 * elf/tst-initordera1.c: New file.
19628 * elf/tst-initordera2.c: New file.
19629 * elf/tst-initordera3.c: New file.
19630 * elf/tst-initordera4.c: New file.
19631 * elf/tst-initorderb1.c: New file.
19632 * elf/tst-initorderb2.c: New file.
19633 * elf/tst-order-a1.c: New file.
19634 * elf/tst-order-a2.c: New file.
19635 * elf/tst-order-a3.c: New file.
19636 * elf/tst-order-a4.c: New file.
19637 * elf/tst-order-b1.c: New file.
19638 * elf/tst-order-b2.c: New file.
19639 * elf/tst-order-main.c: New file.
19640 New test case by George Gensure <werkt0@gmail.com>.
19642 2010-10-01 Andreas Schwab <schwab@redhat.com>
19644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19645 decoding ACE if AI_CANONIDN.
19647 2011-01-18 Ulrich Drepper <drepper@gmail.com>
19649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19651 2011-01-17 Ulrich Drepper <drepper@gmail.com>
19653 * version.h (RELEASE): Bump for 2.13 release.
19654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19667 * posix/getconf.c: Update copyright year.
19668 * catgets/gencat.c: Likewise.
19669 * csu/version.c: Likewise.
19670 * debug/catchsegv.sh: Likewise.
19671 * debug/xtrace.sh: Likewise.
19672 * elf/ldconfig.c: Likewise.
19673 * elf/ldd.bash.in: Likewise.
19674 * elf/sprof.c (print_version): Likewise.
19675 * iconv/iconv_prog.c: Likewise.
19676 * iconv/iconvconfig.c: Likewise.
19677 * locale/programs/locale.c: Likewise.
19678 * locale/programs/localedef.c: Likewise.
19679 * malloc/memusage.sh: Likewise.
19680 * malloc/mtrace.pl: Likewise.
19681 * nscd/nscd.c (print_version): Likewise.
19682 * nss/getent.c: Likewise.
19684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19685 PF_CAIF, and PF_ALG.
19686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19688 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19691 (modules-names): Use them.
19692 (ifunc-test-modules, ifunc-pie-tests): Define.
19693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19695 (test-extras): Likewise.
19696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19697 $(compile-command.c).
19698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19699 (all-built-dso): Define.
19700 (check-textrel.out, check-execstack.out): Depend on it.
19702 * configure.in: Don't override --enable-multi-arch.
19704 2011-01-15 Ulrich Drepper <drepper@gmail.com>
19707 * nscd/hstcache.c (tryagain): Define.
19708 (cache_addhst): Return tryagain not notfound for temporary errors.
19709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19712 2011-01-14 Ulrich Drepper <drepper@gmail.com>
19715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19716 to make the syscall.
19717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19721 and fall back to matching as normal character if the string ends before
19722 the matching ']' is found. This is what POSIX requires.
19723 * posix/testfnm.c: Adjust test result.
19724 * posix/globtest.sh: Adjust test result. Add new test.
19725 * posix/tst-fnmatch.input: Likewise.
19726 * posix/tst-fnmatch2.c: Add new test.
19728 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19730 * elf/Makefile (check-execstack): Revert last change. Depend on
19732 (check-execstack.h): New target.
19733 (generated): Add check-execstack.h.
19734 * elf/check-execstack.c: Include "check-execstack.h".
19735 (main): Revert last change.
19736 (handle_file): Return zero if GNU_STACK is absent and
19737 DEFAULT_STACK_PERMS doesn't include PF_X.
19739 2011-01-13 Ulrich Drepper <drepper@gmail.com>
19741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19742 in child fails because the descriptor is already closed.
19743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
19748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19753 temporary buffer used to handle multi lookups locally.
19754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
19756 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19761 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19764 alignment for SSE2.
19766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
19769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19770 characters. When rounding increased number of integer digits recompute
19772 * stdio-common/tst-grouping.c: New file.
19773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19775 2011-01-09 Ulrich Drepper <drepper@gmail.com>
19777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19782 * bits/select.h: Likewise.
19784 2011-01-08 Ulrich Drepper <drepper@gmail.com>
19786 * po/ja.po: Update from translation team.
19788 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
19791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19792 implementation just like for lxstat, fxstatat, et al.
19794 2010-12-27 Jim Meyering <meyering@redhat.com>
19797 * posix/regexec.c (build_trtable): Return failure indication upon
19798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19800 2010-12-25 Ulrich Drepper <drepper@gmail.com>
19803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19815 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19819 script has SORT_BY_INIT_PRIORITY.
19820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19821 NO_CTORS_DTORS_SECTIONS is defined.
19822 * elf/soinit.c: Likewise.
19823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19824 NO_CTORS_DTORS_SECTIONS is defined.
19825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19827 * sysdeps/sh/init-first.c: Likewise.
19828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19830 2010-12-24 Ulrich Drepper <drepper@gmail.com>
19832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19833 always use the slow path.
19835 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19838 similar rule which adds the sysdep directories to the header search in
19839 order to pick up the correct platform stackinfo.h.
19840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19841 perform test if it is, otherwise return successfully without testing.
19842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19843 DEFAULT_STACK_PERMS define in stackinfo.h.
19844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19845 defined in stackinfo.h.
19846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19847 DEFAULT_STACK_PERMS defined in stackinfo.h.
19848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19849 * sysdeps/ia64/stackinfo.h: Likewise.
19850 * sysdeps/s390/stackinfo.h: Likewise.
19851 * sysdeps/sh/stackinfo.h: Likewise.
19852 * sysdeps/sparc/stackinfo.h: Likewise.
19853 * sysdeps/x86_64/stackinfo.h: Likewise.
19854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19855 PF_X for powerpc64. Retain PF_X for powerpc32.
19857 2010-12-19 Ulrich Drepper <drepper@gmail.com>
19859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19862 GETDENTS_64BIT_ALIGNED.
19864 2010-12-14 Ulrich Drepper <dreper@gmail.com>
19866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
19868 2010-12-10 Andreas Schwab <schwab@redhat.com>
19870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19879 2010-12-09 Ulrich Drepper <drepper@gmail.com>
19882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19885 2010-12-09 Jakub Jelinek <jakub@redhat.com>
19887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19889 2010-12-03 Ulrich Drepper <drepper@gmail.com>
19891 * po/it.po: Update from translation team.
19893 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19898 2010-11-30 Ulrich Drepper <drepper@gmail.com>
19900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19902 2010-11-24 Andreas Schwab <schwab@redhat.com>
19904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19906 (gaih_getanswer_slice): Likewise.
19908 2010-10-20 Jakub Jelinek <jakub@redhat.com>
19910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19912 2010-05-31 Petr Baudis <pasky@suse.cz>
19915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19916 silently even in the chroot mode.
19918 2010-11-22 Ulrich Drepper <drepper@gmail.com>
19920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19921 last patch a bit. Pretty printing
19923 2010-05-31 Petr Baudis <pasky@suse.cz>
19926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19927 initialization of skip_initgroups_dyn.
19929 2010-11-19 Ulrich Drepper <drepper@gmail.com>
19931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19934 2010-11-16 Ulrich Drepper <drepper@gmail.com>
19936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19938 2010-11-11 Andreas Schwab <schwab@redhat.com>
19940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19943 ($(objpfx)tst-fnmatch-mem): New rule.
19944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19945 * posix/tst-fnmatch.c (main): Call mtrace.
19947 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19950 Support Intel processor model 6 and model 0x2c.
19952 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
19954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19957 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19960 * string/test-strncasecmp.c (check_result): New function.
19961 (do_one_test): Use it.
19962 (check1): New function.
19963 (test_main): Use it.
19964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19965 Support strcasecmp and strncasecmp.
19967 2010-11-08 Ulrich Drepper <drepper@gmail.com>
19970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19973 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19979 * sysdeps/x86_64/multiarch/bzero.S: New file.
19980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19982 * sysdeps/x86_64/multiarch/memset.S: New file.
19983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19985 Set bit_Prefer_SSE_for_memop for Intel processors.
19986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19988 (index_Prefer_SSE_for_memop): Define.
19989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19991 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
19993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19996 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20000 (__x86_64_raw_data_cache_size_half): Likewise.
20001 (__x86_64_raw_shared_cache_size): Likewise.
20002 (__x86_64_raw_shared_cache_size_half): Likewise.
20004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20005 (__x86_64_raw_data_cache_size_half): Likewise.
20006 (__x86_64_raw_shared_cache_size): Likewise.
20007 (__x86_64_raw_shared_cache_size_half): Likewise.
20008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20010 and __x86_64_raw_shared_cache_size_half. Round
20011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20013 to multiple of 256 bytes.
20015 2010-11-03 Ulrich Drepper <drepper@gmail.com>
20018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20019 of inacessible symlinks. Verify result of symlink before returning it.
20020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20023 2010-10-28 Erich Ritz <erichritz@gmail.com>
20025 * math/math.h (isinf): Fix typo in comment.
20027 2010-11-01 Ulrich Drepper <drepper@gmail.com>
20029 * po/da.po: Update from translation team.
20031 2010-10-26 Ulrich Drepper <drepper@gmail.com>
20033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20034 is added to the list.
20036 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20037 Ulrich Drepper <drepper@gmail.com>
20039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20040 the global list here. Move code to...
20041 (_dl_add_to_namespace_list): ...here. New function.
20042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20044 * elf/dl-load.c (lose): Don't remove the element from the list.
20045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20046 (_dl_map_object): Likewise.
20048 2010-10-25 Ulrich Drepper <drepper@gmail.com>
20051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20052 into all bytes of SSE register.
20053 Patch by Richard Li <richardpku@gmail.com>.
20055 2010-10-24 Ulrich Drepper <drepper@gmail.com>
20058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20061 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20071 2010-10-22 Andreas Schwab <schwab@redhat.com>
20073 * include/dlfcn.h (__RTLD_SECURE): Define.
20074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20075 mode & __RTLD_SECURE instead.
20076 (open_path): Rename preloaded parameter to secure.
20077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20079 * elf/dl-deps.c (openaux): Likewise.
20080 * elf/rtld.c (struct map_args): Remove is_preloaded.
20081 (map_doit): Don't use it.
20082 (dl_main): Likewise.
20083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20086 2010-09-09 Andreas Schwab <schwab@redhat.com>
20088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20089 (sysd-rules-targets): Remove duplicates.
20090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20091 rtld-%.$o dependency.
20093 2010-10-18 Andreas Schwab <schwab@redhat.com>
20095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20096 _dl_map_object do it.
20098 2010-10-19 Ulrich Drepper <drepper@gmail.com>
20100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20101 fast fma builtins, define the macros in the C99 standard.
20102 (FP_FAST_FMAF): Likewise.
20103 (FP_FAST_FMAL): Likewise.
20104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20106 * bits/mathdef.h: Update copyright year.
20107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20109 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20112 builtins, define the macros in the C99 standard.
20113 (FP_FAST_FMAF): Likewise.
20114 (FP_FAST_FMAL): Likewise.
20115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20117 (FP_FAST_FMAF): Likewise.
20119 2010-10-15 Jakub Jelinek <jakub@redhat.com>
20122 * math/libm-test.inc (fma_test): Some new testcases.
20123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20125 y and infinite z. Do multiplication by C already in long double.
20126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20128 y and infinite z. Do bitwise or of inexact bit into u.d.
20129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20131 * sysdeps/i386/fpu/s_fma.S: Removed.
20132 * sysdeps/i386/fpu/s_fmal.S: Removed.
20134 2010-10-16 Jakub Jelinek <jakub@redhat.com>
20137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20139 computation is not scheduled after fetestexcept. Fix value
20140 of minimum denormal long double.
20142 2010-10-14 Jakub Jelinek <jakub@redhat.com>
20145 * math/libm-test.inc (fma_test): Add some more tests.
20146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20149 2010-10-15 Andreas Schwab <schwab@redhat.com>
20151 * scripts/data/localplt-s390-linux-gnu.data: New file.
20152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20154 2010-10-13 Jakub Jelinek <jakub@redhat.com>
20157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20164 if one of x and y is very large and the other is subnormal.
20165 * sysdeps/s390/fpu/s_fmaf.c: New file.
20166 * sysdeps/s390/fpu/s_fma.c: New file.
20167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20168 * sysdeps/powerpc/fpu/s_fma.S: New file.
20169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20173 2010-10-12 Jakub Jelinek <jakub@redhat.com>
20176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20186 2010-10-12 Ulrich Drepper <drepper@redhat.com>
20189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20190 * posix/bug-regex31.input: Add test case.
20192 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20195 * posix/bug-regex31.input: New file.
20198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20199 (parse_sub_exp): Fix last change, use postorder.
20201 * posix/bug-regex31.c: New file.
20202 * posix/Makefile: Add rules to build and run bug-regex31.
20204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20211 to have entries in sys_siglist.
20214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20217 2010-10-07 Jakub Jelinek <jakub@redhat.com>
20220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20233 * math/ftestexcept.c (fetestexcept): Likewise.
20234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
20245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20248 2010-10-06 Ulrich Drepper <drepper@gmail.com>
20250 * string/bug-strstr1.c: New file.
20251 * string/Makefile: Add rules to build and run bug-strstr1.
20253 2010-10-05 Eric Blake <eblake@redhat.com>
20256 * string/str-two-way.h (two_way_long_needle): Always clear memory
20257 when skipping input due to the shift table.
20259 2010-10-03 Ulrich Drepper <drepper@gmail.com>
20262 * malloc/mcheck.c: Handle large requests.
20265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20266 for strncmp and strncasecmp.
20267 * string/stratcliff.c: Add tests for strcmp and strncmp.
20268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20270 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20275 2010-09-30 Andreas Jaeger <aj@suse.de>
20277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20278 (CGROUP_SUPER_MAGIC): Define.
20279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20280 Handle btrfs and cgroup file systems.
20281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20284 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
20286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20289 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20293 trying to locate the ELF header.
20295 2010-09-27 Andreas Schwab <schwab@redhat.com>
20298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20299 Mask out sign-bit copies when constructing f_fsid.
20301 2010-09-24 Petr Baudis <pasky@suse.cz>
20303 * debug/stack_chk_fail_local.c: Add missing licence exception.
20304 * debug/warning-nop.c: Likewise.
20306 2010-09-15 Joseph Myers <joseph@codesourcery.com>
20308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20309 implementing getdents64 using getdents syscall, set d_type if
20310 __ASSUME_GETDENTS32_D_TYPE.
20312 2010-09-16 Andreas Schwab <schwab@redhat.com>
20314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20317 2010-09-21 Ulrich Drepper <drepper@redhat.com>
20320 * posix/unistd.h: Undo change of feature selection for ftruncate from
20323 2010-09-20 Ulrich Drepper <drepper@redhat.com>
20325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
20328 2010-09-20 Andreas Schwab <schwab@redhat.com>
20330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20334 2010-09-14 Andreas Schwab <schwab@redhat.com>
20336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20337 variables after CHECK_SP call.
20338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20340 2010-09-13 Andreas Schwab <schwab@redhat.com>
20341 Ulrich Drepper <drepper@redhat.com>
20343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20344 re-relocationg ld.so.
20345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20346 _dl_init_paths call.
20347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20350 2010-09-14 Ulrich Drepper <drepper@redhat.com>
20352 * resolv/res_init.c (__res_vinit): Count the default server we added.
20354 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20355 Ulrich Drepper <drepper@redhat.com>
20358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20359 (____longjmp_chk): Use %ebx for saving value across system call.
20362 2010-09-06 Andreas Schwab <schwab@redhat.com>
20364 * manual/Makefile: Don't mix pattern rules with normal rules.
20366 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20377 2010-09-04 Ulrich Drepper <drepper@redhat.com>
20380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20383 2010-09-02 Ulrich Drepper <drepper@redhat.com>
20385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20386 * sysdeps/x86_64/addmul_1.S: Likewise.
20387 * sysdeps/x86_64/lshift.S: Likewise.
20388 * sysdeps/x86_64/mul_1.S: Likewise.
20389 * sysdeps/x86_64/rshift.S: Likewise.
20390 * sysdeps/x86_64/sub_n.S: Likewise.
20391 * sysdeps/x86_64/submul_1.S: Likewise.
20393 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20396 Define __sched_param instead of SCHED_* and sched_param when
20397 <bits/sched.h> is included with __need_schedparam defined.
20398 * bits/sched.h [__need_schedparam]
20399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
20400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20401 (__defined_schedparam): Define to 1.
20402 (__sched_param): New structure, identical to sched_param.
20403 (__need_schedparam): Undefine.
20405 2010-08-31 Mike Frysinger <vapier@gentoo.org>
20407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20408 (epoll_create1): Declare.
20410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20412 2010-08-31 Andreas Schwab <schwab@redhat.com>
20415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20416 shifting retval into place.
20418 2010-09-01 Ulrich Drepper <drepper@redhat.com>
20420 * nis/rpcsvc/nis.h: Update copyright notice.
20421 * nis/rpcsvc/nis.x: Likewise.
20422 * nis/rpcsvc/nis_callback.h: Likewise.
20423 * nis/rpcsvc/nis_callback.x: Likewise.
20424 * nis/rpcsvc/nis_object.x: Likewise.
20425 * nis/rpcsvc/nis_tags.h: Likewise.
20426 * nis/rpcsvc/yp.h: Likewise.
20427 * nis/rpcsvc/yp.x: Likewise.
20428 * nis/rpcsvc/ypupd.h: Likewise.
20429 * nis/yp_xdr.c: Likewise.
20430 * nis/ypupdate_xdr.c: Likewise.
20432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20433 mainly the body of pmap_getport. Add parameters to specify timeouts.
20434 (pmap_getport): Use __libc_rpc_getport.
20435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20439 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20444 2010-08-27 Roland McGrath <roland@redhat.com>
20446 * sysdeps/i386/i686/multiarch/Makefile
20447 (CFLAGS-varshift.c): New variable.
20449 2010-08-27 Ulrich Drepper <drepper@redhat.com>
20451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20458 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20460 * sysdeps/x86_64/strlen.S: Unroll the loop.
20461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20462 strlen-sse2 strlen-sse2-bsf.
20463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20464 __strlen_no_bsf if bit_Slow_BSF is set.
20465 (__strlen_sse42): Removed.
20466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20469 2010-08-25 Roland McGrath <roland@redhat.com>
20471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20472 * sysdeps/x86_64/multiarch/varshift.c: New file.
20473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20478 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20481 strlen-sse2 strlen-sse2-bsf.
20482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20484 (__strlen_sse2): Removed.
20485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20488 bit_Slow_BSF for Atom.
20489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20490 (index_Slow_BSF): Define.
20491 (HAS_SLOW_BSF): Define.
20493 2010-08-25 Ulrich Drepper <drepper@redhat.com>
20496 * resolv/res_init.c (__res_vinit): When no server address at all
20497 is given default to loopback.
20499 2010-08-24 Roland McGrath <roland@redhat.com>
20501 * configure.in: Remove config-name.h generation.
20502 * configure: Regenerated.
20503 * config-name.in: File removed.
20504 * scripts/config-uname.sh: New file.
20505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20506 ($(objdir)config-name.h): New target.
20508 * sunrpc/rpc_parse.h: Avoid nested comment.
20510 2010-08-24 Richard Henderson <rth@redhat.com>
20511 Ulrich Drepper <drepper@redhat.com>
20512 H.J. Lu <hongjiu.lu@intel.com>
20514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20518 _mm_alignr_epi8 with _mm_loadu_si128.
20519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20521 (__m128i_shift_right): Removed.
20522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20524 * sysdeps/x86_64/multiarch/varshift.h: New file.
20525 * sysdeps/x86_64/multiarch/varshift.S: New file.
20527 2010-08-21 Mike Frysinger <vapier@gentoo.org>
20529 * configure.in: Move assembler checks to before sysdep dir checking.
20531 2010-08-20 Petr Baudis <pasky@suse.cz>
20533 * LICENSES: Sync the sunrpc license.
20535 2010-08-19 Ulrich Drepper <drepper@redhat.com>
20537 * sunrpc/auth_des.c: Update copyright notice once again.
20538 * sunrpc/auth_none.c: Likewise.
20539 * sunrpc/auth_unix.c: Likewise.
20540 * sunrpc/authdes_prot.c: Likewise.
20541 * sunrpc/authuxprot.c: Likewise.
20542 * sunrpc/bindrsvprt.c: Likewise.
20543 * sunrpc/clnt_gen.c: Likewise.
20544 * sunrpc/clnt_perr.c: Likewise.
20545 * sunrpc/clnt_raw.c: Likewise.
20546 * sunrpc/clnt_simp.c: Likewise.
20547 * sunrpc/clnt_tcp.c: Likewise.
20548 * sunrpc/clnt_udp.c: Likewise.
20549 * sunrpc/clnt_unix.c: Likewise.
20550 * sunrpc/des_crypt.c: Likewise.
20551 * sunrpc/des_soft.c: Likewise.
20552 * sunrpc/get_myaddr.c: Likewise.
20553 * sunrpc/getrpcport.c: Likewise.
20554 * sunrpc/key_call.c: Likewise.
20555 * sunrpc/key_prot.c: Likewise.
20556 * sunrpc/openchild.c: Likewise.
20557 * sunrpc/pm_getmaps.c: Likewise.
20558 * sunrpc/pm_getport.c: Likewise.
20559 * sunrpc/pmap_clnt.c: Likewise.
20560 * sunrpc/pmap_prot.c: Likewise.
20561 * sunrpc/pmap_prot2.c: Likewise.
20562 * sunrpc/pmap_rmt.c: Likewise.
20563 * sunrpc/rpc/auth.h: Likewise.
20564 * sunrpc/rpc/auth_unix.h: Likewise.
20565 * sunrpc/rpc/clnt.h: Likewise.
20566 * sunrpc/rpc/des_crypt.h: Likewise.
20567 * sunrpc/rpc/key_prot.h: Likewise.
20568 * sunrpc/rpc/netdb.h: Likewise.
20569 * sunrpc/rpc/pmap_clnt.h: Likewise.
20570 * sunrpc/rpc/pmap_prot.h: Likewise.
20571 * sunrpc/rpc/pmap_rmt.h: Likewise.
20572 * sunrpc/rpc/rpc.h: Likewise.
20573 * sunrpc/rpc/rpc_des.h: Likewise.
20574 * sunrpc/rpc/rpc_msg.h: Likewise.
20575 * sunrpc/rpc/svc.h: Likewise.
20576 * sunrpc/rpc/svc_auth.h: Likewise.
20577 * sunrpc/rpc/types.h: Likewise.
20578 * sunrpc/rpc/xdr.h: Likewise.
20579 * sunrpc/rpc_clntout.c: Likewise.
20580 * sunrpc/rpc_cmsg.c: Likewise.
20581 * sunrpc/rpc_common.c: Likewise.
20582 * sunrpc/rpc_cout.c: Likewise.
20583 * sunrpc/rpc_dtable.c: Likewise.
20584 * sunrpc/rpc_hout.c: Likewise.
20585 * sunrpc/rpc_main.c: Likewise.
20586 * sunrpc/rpc_parse.c: Likewise.
20587 * sunrpc/rpc_parse.h: Likewise.
20588 * sunrpc/rpc_prot.c: Likewise.
20589 * sunrpc/rpc_sample.c: Likewise.
20590 * sunrpc/rpc_scan.c: Likewise.
20591 * sunrpc/rpc_scan.h: Likewise.
20592 * sunrpc/rpc_svcout.c: Likewise.
20593 * sunrpc/rpc_tblout.c: Likewise.
20594 * sunrpc/rpc_util.c: Likewise.
20595 * sunrpc/rpc_util.h: Likewise.
20596 * sunrpc/rpcinfo.c: Likewise.
20597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20598 * sunrpc/rpcsvc/key_prot.x: Likewise.
20599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20600 * sunrpc/rpcsvc/mount.x: Likewise.
20601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20603 * sunrpc/rpcsvc/rex.x: Likewise.
20604 * sunrpc/rpcsvc/rstat.x: Likewise.
20605 * sunrpc/rpcsvc/rusers.x: Likewise.
20606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20607 * sunrpc/rpcsvc/spray.x: Likewise.
20608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20609 * sunrpc/rtime.c: Likewise.
20610 * sunrpc/svc.c: Likewise.
20611 * sunrpc/svc_auth.c: Likewise.
20612 * sunrpc/svc_authux.c: Likewise.
20613 * sunrpc/svc_raw.c: Likewise.
20614 * sunrpc/svc_run.c: Likewise.
20615 * sunrpc/svc_simple.c: Likewise.
20616 * sunrpc/svc_tcp.c: Likewise.
20617 * sunrpc/svc_udp.c: Likewise.
20618 * sunrpc/svc_unix.c: Likewise.
20619 * sunrpc/svcauth_des.c: Likewise.
20620 * sunrpc/xcrypt.c: Likewise.
20621 * sunrpc/xdr.c: Likewise.
20622 * sunrpc/xdr_array.c: Likewise.
20623 * sunrpc/xdr_float.c: Likewise.
20624 * sunrpc/xdr_mem.c: Likewise.
20625 * sunrpc/xdr_rec.c: Likewise.
20626 * sunrpc/xdr_ref.c: Likewise.
20627 * sunrpc/xdr_sizeof.c: Likewise.
20628 * sunrpc/xdr_stdio.c: Likewise.
20630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20633 2010-08-19 Andreas Schwab <schwab@redhat.com>
20635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20637 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
20639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20654 2010-07-26 Anton Blanchard <anton@samba.org>
20656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20657 * malloc/arena.c (heap_trim): Likewise.
20659 2010-08-16 Ulrich Drepper <drepper@redhat.com>
20661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20666 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20668 * sysdeps/i386/elf/Makefile: New file.
20670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20673 from fanotify_init.
20674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20677 2010-08-15 Ulrich Drepper <drepper@redhat.com>
20679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20681 * sysdeps/multiarch/strcmp.S: Likewise.
20683 2010-08-14 Ulrich Drepper <drepper@redhat.com>
20685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20686 strncase_l-nonascii.
20687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20688 Add strncase_l-ssse3.
20689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20690 * sysdeps/x86_64/strcmp.S: Likewise.
20691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20693 * sysdeps/x86_64/strncase.S: New file.
20694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20695 * sysdeps/x86_64/strncase_l.S: New file.
20696 * string/Makefile (strop-tests): Add strncasecmp.
20697 * string/test-strncasecmp.c: New file.
20699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20705 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20709 2010-08-12 Ulrich Drepper <drepper@redhat.com>
20711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20715 2010-05-01 Alan Modra <amodra@gmail.com>
20717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20722 tidying. Don't tail-call __sigjmp_save for static lib.
20723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20726 (CALL_MCOUNT): Add eh info, and nop after bl.
20727 (TAIL_CALL_SYSCALL_ERROR): New macro.
20728 (PSEUDO_RET): Use it.
20729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20730 Correct save location of integer regs and cr.
20731 (_dl_profile_resolve): Correct cr save location. Delete nops
20732 after bl when SHARED. Reduce cfi size a little by better
20733 placement of cfi directives.
20734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20735 make a stack frame. Instead use parm save area as a temp.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20739 Don't make a stack frame for parent, use parm save area.
20740 Increase child stack frame to 112 bytes. Don't save unused reg,
20741 and adjust reg usage. Set up cfi on error recovery and
20742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20744 (__makecontext): Add dummy nop after jump to exit.
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20746 Use correct parm save area and cr save, reduce stack frame.
20747 Correct cfi for possible PSEUDO_RET frame setup.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20749 Branch to local label emitted by PSEUDO_RET rather than
20752 2010-08-12 Andreas Schwab <schwab@redhat.com>
20755 * locale/programs/locale.c (print_assignment): New function.
20756 (show_locale_vars): Use it.
20758 2010-08-11 Ulrich Drepper <drepper@redhat.com>
20760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20762 (struct statfs64): Likewise.
20763 (_STATFS_F_FLAGS): Define.
20764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20767 (ST_VALID): Define locally.
20768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20769 __statvfs_getflags, use the provided value.
20770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20771 __ASSUME_STATFS_F_FLAGS.
20773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20776 Add sys/fanotify.h.
20777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20778 fanotify_mask for GLIBC_2.13.
20779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20780 fanotify_init and fanotify_mark.
20781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20787 prlimit64 for GLIBC_2.13.
20788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20804 * nss/Makefile: Add rules to build and run tst-nss-test1.
20805 * shlib-versions: Add entry for libnss_test1.
20806 * nss/nss_test1.c: New file.
20807 * nss/tst-nss-test1.c: New file.
20809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20810 (__nss_configure_lookup): Set appropriate entry in
20811 __nss_configure_lookup to true.
20812 * nss/nsswitch.h: Define enum with indeces of databases in
20813 databases and __nss_database_custom arrays. Declare
20814 __nss_database_custom.
20815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20816 to avoid using nscd when custom rules are installed.
20817 * nss/getXXbyYY_r.c: Likewise.
20818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20820 * nss/nss_files/files-parse.c: Whitespace fixes.
20822 2010-08-09 Ulrich Drepper <drepper@redhat.com>
20825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20826 * posix/fnmatch_loop.c: Likewise.
20828 2010-07-17 Andi Kleen <ak@linux.intel.com>
20830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20833 * Versions.def [GLIBC_2.13]: Add.
20835 2010-08-06 Ulrich Drepper <drepper@redhat.com>
20837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20838 Also fail if tpwd after pwuid call is NULL.
20840 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20843 when converting to ms.
20845 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20848 EOPNOTSUPP errors with ENOTTY.
20849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20850 EOPNOTSUPP errors with ENOTTY.
20852 2010-07-31 Ulrich Drepper <drepper@redhat.com>
20854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20855 Add strcasecmp_l-ssse3.
20856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20862 2010-07-30 Ulrich Drepper <drepper@redhat.com>
20864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20866 * string/Makefile (strop-tests): Add strcasecmp.
20867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20868 strcasecmp_l-nonascii.
20869 (gen-as-const-headers): Add locale-defines.sym.
20870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20871 * sysdeps/x86_64/strcasecmp.S: New file.
20872 * sysdeps/x86_64/strcasecmp_l.S: New file.
20873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20874 * sysdeps/x86_64/locale-defines.sym: New file.
20875 * string/test-strcasecmp.c: New file.
20877 * string/test-strcasestr.c: Test both ends of the range of characters.
20878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20880 2010-07-29 Roland McGrath <roland@redhat.com>
20883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20885 2010-07-27 Ulrich Drepper <drepper@redhat.com>
20887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20890 2010-07-27 Andreas Schwab <schwab@redhat.com>
20892 * manual/memory.texi (Malloc Tunable Parameters): Document
20895 2010-07-26 Roland McGrath <roland@redhat.com>
20898 * configure.in (-fgnu89-inline check): Set and substitute
20899 gnu89_inline, not libc_cv_gnu89_inline.
20900 * configure: Regenerated.
20901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20903 2010-07-26 Ulrich Drepper <drepper@redhat.com>
20905 * string/test-strnlen.c: New file.
20906 * string/Makefile (strop-tests): Add strnlen.
20907 * string/tester.c (test_strnlen): Add a few more test cases.
20908 * string/tst-strlen.c: Better error reporting.
20910 * sysdeps/x86_64/strnlen.S: New file.
20912 2010-07-24 Ulrich Drepper <drepper@redhat.com>
20914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20915 lower-latency instructions.
20917 2010-07-23 Ulrich Drepper <drepper@redhat.com>
20919 * string/test-strcasestr.c: New file.
20920 * string/test-strstr.c: New file.
20921 * string/Makefile (strop-tests): Add strstr and strcasestr.
20922 * string/str-two-way.h: Don't undefine MAX.
20923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20925 2010-07-21 Andreas Schwab <schwab@redhat.com>
20927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20928 strcasestr-nonascii.
20929 (CFLAGS-strcasestr-nonascii.c): Define.
20930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20932 Remove unused attribute.
20934 2010-07-20 Roland McGrath <roland@redhat.com>
20936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20938 ld.so.cache was broken. With it, there is no way to disable dsocaps
20939 like LD_HWCAP_MASK can disable hwcaps.
20941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20945 2010-07-16 Ulrich Drepper <drepper@redhat.com>
20947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20948 call in strcasestr.
20949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20950 __strcasestr_sse42_nonascii.
20951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20952 strcasestr-nonascii.c.
20953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20955 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
20957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20962 2010-07-09 Ulrich Drepper <drepper@redhat.com>
20964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20967 2010-07-06 Andreas Schwab <schwab@redhat.com>
20970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20973 2010-07-06 Ulrich Drepper <drepper@redhat.com>
20975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20976 _PC_PIPE_BUF using F_GETPIPE_SZ.
20978 2010-07-05 Roland McGrath <roland@redhat.com>
20980 * manual/arith.texi (Rounding Functions): Fix rint description
20981 implicit in round description.
20983 2010-07-02 Ulrich Drepper <drepper@redhat.com>
20985 * elf/Makefile: Fix linking for a few tests to make recent linker
20988 2010-06-30 Andreas Schwab <schwab@redhat.com>
20990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20991 $(common-objpfx)libc_nonshared.a.
20993 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
20995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21044 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21048 * string/memmove.c (memmove): Renamed to ...
21049 (MEMMOVE): ...this. Default to memmove.
21050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21055 mempcpy-ssse3-back memmove-ssse3-back.
21056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21063 * sysdeps/x86_64/multiarch/memmove.c: New file.
21064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21071 (index_Fast_Copy_Backward): Define.
21072 (HAS_ARCH_FEATURE): Define.
21073 (HAS_FAST_REP_STRING): Define.
21074 (HAS_FAST_COPY_BACKWARD): Define.
21076 2010-06-21 Andreas Schwab <schwab@redhat.com>
21078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21079 Restore proper fallback handling.
21081 2010-06-19 Ulrich Drepper <drepper@redhat.com>
21084 * posix/group_member.c (__group_member): Correct checking loop.
21086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21087 OOM in getpwuid_r correctly. Return error number when the caller
21088 should return, otherwise -1.
21089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21090 call returning > 0 value.
21091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21093 2010-06-07 Andreas Schwab <schwab@redhat.com>
21095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21096 libc_nonshared.a from targets in modules-names.
21098 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21103 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
21105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21110 2010-06-02 Andreas Schwab <schwab@redhat.com>
21112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21114 2010-06-14 Ulrich Drepper <drepper@redhat.com>
21116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21125 2010-06-14 Roland McGrath <roland@redhat.com>
21127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21129 2010-06-07 Jakub Jelinek <jakub@redhat.com>
21131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21132 __REDIRECT followed by __THROW.
21133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21134 * posix/getopt.h (getopt): Likewise.
21136 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21145 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
21147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21149 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21153 Properly check family and model.
21155 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21159 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
21161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21163 2010-05-21 Ulrich Drepper <drepper@redhat.com>
21165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21168 2010-05-19 Andreas Schwab <schwab@redhat.com>
21170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21173 2010-05-21 Andreas Schwab <schwab@redhat.com>
21175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21176 and internal_recvmmsg.
21177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21186 2010-05-20 Andreas Schwab <schwab@redhat.com>
21188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21190 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
21192 POWER7 optimizations.
21193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21196 2010-05-19 Ulrich Drepper <drepper@redhat.com>
21198 * version.h: Update for 2.13 development version.
21200 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
21202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21203 exceptions. Return 0.
21205 2010-05-07 Roland McGrath <roland@redhat.com>
21207 * elf/ldconfig.c (main): Add a const.
21209 2010-05-06 Ulrich Drepper <drepper@redhat.com>
21211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21212 (args_options): Add no-idn option.
21213 (ahosts_keys_int): Add idn_flags to ai_flags.
21214 (parse_option): Handle 'i' option to clear idn_flags.
21216 * malloc/malloc.c (_int_free): Possible race in the most recently
21217 added check. Only act on the data if no current modification
21220 See ChangeLog.17 for earlier changes.